Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN
[glibc.git] / ChangeLog
blob8fc12f4c532bbddbb81b6ea835c4596bbc406160
1 2015-08-21  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/unix/sysdep.h (INLINE_SYSCALL_RETURN): New.
4         (INLINE_SYSCALL_ERROR_RETURN): Likewise.
5         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
6         INLINE_SYSCALL_RETURN and INLINE_SYSCALL_ERROR_RETURN.
7         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
8         Likewise.
9         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
11         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
14         * sysdeps/unix/sysv/linux/fstatfs64.c (__fstatfs64): Likewise.
15         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Likewise.
16         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
17         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Likewise.
21         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24         Likewise.
25         * sysdeps/unix/sysv/linux/getpriority.c (__getpriority): Likewise.
26         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Likewise.
27         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
32         * sysdeps/unix/sysv/linux/mq_close.c (mq_close): Likewise.
33         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
34         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
35         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
36         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
37         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
38         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
39         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
40         * sysdeps/unix/sysv/linux/reboot.c (reboot): Likewise.
41         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
42         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
43         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
44         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
45         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
46         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
47         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
48         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
49         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
50         * sysdeps/unix/sysv/linux/sigprocmask.c ( __sigprocmask): Likewise.
51         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
53         * sysdeps/unix/sysv/linux/statfs64.c (__statfs64): Likewise.
54         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55         * sysdeps/unix/sysv/linux/tcsendbrk.c (tcsendbreak): Likewise.
56         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
57         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
58         Likewise.
59         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
60         Likewise.
61         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
62         Likewise.
63         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
64         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
65         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
66         * sysdeps/unix/sysv/linux/utimes.c (__utimes): Likewise.
67         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
68         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
69         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
72         (__xstat64_conv): Likewise.
73         (__xstat32_conv): Likewise.
74         * sysdeps/unix/sysv/linux/sched_getaffinity.c
75         (__sched_getaffinity_new): Add libc_hidden_proto and
76         libc_hidden_def.  Use INLINE_SYSCALL_ERROR_RETURN.
78 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
80         * timezone/Makefile (CFLAGS-zdump.c): Remove
81         -Wno-strict-prototypes.
82         (CFLAGS-zic.c): Likewise.
83         (CFLAGS-ialloc.c): Likewise.
84         (CFLAGS-scheck.c): Likewise.
86         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
87         -Wno-error=undef.
89 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
91         * i386/i686/multiarch/strcasestr-c.c: Removed.
92         * x86_64/multiarch/strcasestr.c: Likewise.
93         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
94         Remove strcasestr.
96 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
98         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
100         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
101         variables for high and low parts before possibly modifying them.
103 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
105         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
106         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
107         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
108         of "multiarch/init-arch.h".
109         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
110         * sysdeps/x86/init-arch.h: This.
112 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
114         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
115         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
117 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
119         [BZ #17787]
120         * manual/macros.texi: Add twoexp macro.
121         * manual/filesys.texi: Fix exponents.
122         * manual/llio.texi: Likewise.
123         * manual/stdio.texi: Likewise.
125 2015-08-20  Florian Weimer  <fweimer@redhat.com>
127         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
128         incorrect use.
130 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
132         [BZ #18370]
133         * math/s_csqrt.c (__csqrt): Force underflow exception for results
134         whose real or imaginary part has small absolute value.
135         * math/s_csqrtf.c (__csqrtf): Likewise.
136         * math/s_csqrtl.c (__csqrtl): Likewise.
137         * math/auto-libm-test-in: Add more tests of csqrt.
138         * math/auto-libm-test-out: Regenerated.
139         * sysdeps/i386/fpu/libm-test-ulps: Update.
141 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
143         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
144         __ppc_set_ppr_very_low): New functions.
145         * manual/platform.texi: Add documentation about
146         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
148 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
150         * string/stpncpy.c (stpncpy): Improve performance using
151         __strnlen/memcpy/memset.
153 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
155         [BZ #18796]
156         * scripts/test-installation.pl: Don't add -lmvec to build options if
157         libmvec wasn't built.
159 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
161         [BZ #14341]
162         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
163         case when there is a gap between DT_REL and DT_JMPREL sections.
164         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
165         (LDFLAGS-tst-split-dynreloc): New.
166         (tst-split-dynreloc-ENV): Likewise.
167         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
168         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
170 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
172         [BZ #18822]
173         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
174         attribute_hidden.
175         (__xstat64_conv): Likewise.
176         (__xstat32_conv): Likewise.
178 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
180         [BZ #18822]
181         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
182         Don't load %ebx when calling __setcontext.  Call __setcontext
183         with HIDDEN_JUMPTARGET.
184         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
185         libc_hidden_def.
187 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
189         * sysdeps/i386/i686/Makefile
190         [$(subdir) == string] (sysdep_routines): Moved to ...
191         * sysdeps/i386/Makefile: Here.
192         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
193         * sysdeps/i386/cacheinfo.c: Here.
194         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
195         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
196         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
197         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
199 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
201         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
202         __i586__ is defined.
203         (HAS_I686): Defined to 1 if __i686__ is defined.
205 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
207         * elf/Makefile [$(have-z-execstack) = yes]
208         (CPPFLAGS-tst-execstack.c): New variable.
210         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
211         conditional to [defined UTMPX || _HAVE_UT_TYPE].
212         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
213         UTMPX || _HAVE_UT_TV].
214         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
215         UTMPX || _HAVE_UT_TV - 0].
217 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
219         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
220         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
221         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
223 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
225         * sysdeps/powerpc/dl-procinfo.c:
226         (_dl_powerpc_cap_flags): Added missing strings for some
227         hwcap features.
228         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
230 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
232         Port the 0x7efe...feff pattern to GCC 6.
233         See Steve Ellcey's bug report in:
234         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
235         * string/memrchr.c (MEMRCHR):
236         * string/rawmemchr.c (RAWMEMCHR):
237         * string/strchr.c (strchr):
238         * string/strchrnul.c (STRCHRNUL):
239         Rewrite code to avoid issues with signed shift overflow.
241 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
243         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
244         whether cpuid is available only if HAS_CPUID is 0.
245         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
246         (HAS_I586): Likewise.
247         (HAS_I686): Likewise.
249 2015-08-18  Zack Weinberg  <zackw@panix.com>
251         * misc/Versions (libc): Add GLIBC_2.23.
253 2015-08-18  Alan Modra  <amodra@gmail.com>
255         [BZ #18421]
256         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
257         .Lp__global.
258         (_start): Load %dp via .Lp__global.
259         [!SHARED]: Use .section .rodata.
261 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
263         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
264         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
266 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
268         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
269         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
271 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
273         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
274         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
276 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
278         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
279         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
281 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
283         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
284         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
286 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
288         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
289         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
291 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
293         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
295 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
297         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
298         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
299         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
300         (__ASSUME_LWS_CAS): Delete.
302 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
304         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
305         * sysdeps/hppa/configure: Regenerated.
306         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
307         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
308         * sysdeps/hppa/nptl/tls.h: Likewise.
310 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
312         [BZ #18823]
313         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
314         for scaling up small arguments.
315         * math/s_csqrtf.c (__csqrtf): Likewise.
316         * math/s_csqrtl.c (__csqrtl): Likewise.
317         * math/auto-libm-test-in: Add more tests of csqrt.
318         * math/auto-libm-test-out: Regenerated.
320 2015-08-17  Andreas Schwab  <schwab@suse.de>
322         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
323         version set GLIBC_2.19.
325 2015-08-16  Zack Weinberg  <zackw@panix.com>
327         [BZ #18681]
328         * misc/regexp.h: This interface is no longer supported.
329         Remove all contents, leaving only an #error directive.
330         * misc/regexp.c (loc1, loc2, locs, step, advance):
331         Demote to compatibility symbols.
333 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
335         [BZ #18084]
336         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
337         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
338         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
339         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
340         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
341         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
342         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
343         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
344         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
346 2015-08-15  Zack Weinberg  <zackw@panix.com>
348         [BZ #18795]
349         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
350         buffer length is known to be too large, not if it's known to be
351         small enough.
352         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
353         overflow at runtime, involving a length parameter, twice: once
354         with a compile-time constant length parameter, once without.
356 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
358         [BZ #18824]
359         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
360         scaling x * y up instead of down.
361         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
362         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
363         * math/auto-libm-test-in: Add more tests of fma.
364         * math/auto-libm-test-out: Regenerated.
366 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
368         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
370 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
372         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
373         unnecessary movq.
374         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
375         Likewise.
377 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
379         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
380         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
381         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
382         and tgamma.
383         * math/auto-libm-test-out: Regenerated.
384         * sysdeps/i386/fpu/libm-test-ulps: Update.
385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
387         [BZ #16520]
388         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
389         (__tanh): Force underflow exception for arguments with small
390         absolute value.
391         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
392         (__tanhf): Force underflow exception for arguments with small
393         absolute value.
394         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
395         (__tanhl): Force underflow exception for arguments with small
396         absolute value.
397         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
398         (__tanhl): Force underflow exception for arguments with small
399         absolute value.
400         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
401         (__tanhl): Force underflow exception for arguments with small
402         absolute value.
403         * math/auto-libm-test-in: Add more tests of tanh.
404         * math/auto-libm-test-out: Regenerated.
405         * sysdeps/i386/fpu/libm-test-ulps: Update.
407 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
409         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
410         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
412 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
414         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
415         <cpuid.h>.
417 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
419         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
420         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
422 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
424         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
425         Remove $(objpfx)init-arch.o.
426         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
427         init-arch.
428         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
429         (INIT_ARCH_EXT): Defined as empty.
430         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
431         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
432         __init_cpu_features call.  Replace HAS_XXX with
433         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
434         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
435         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
436         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
437         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
438         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
439         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
440         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
441         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
442         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
443         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
444         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
445         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
446         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
447         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
448         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
449         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
450         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
451         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
452         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
453         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
454         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
455         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
456         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
457         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
458         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
459         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
460         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
461         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
462         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
463         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
464         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
465         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
466         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
467         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
468         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
470 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
472         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
473         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
474         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
475         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
476         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
477         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
478         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
479         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
480         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
481         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
482         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
483         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
484         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
485         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
486         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
487         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
488         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
489         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
490         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
491         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
492         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
493         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
494         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
495         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
496         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
497         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
498         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
499         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
500         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
501         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
502         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
503         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
504         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
505         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
506         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
507         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
508         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
509         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
510         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
511         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
512         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
513         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
514         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
516 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
518         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
519         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
520         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
521         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
522         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
523         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
524         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
525         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
526         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
527         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
528         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
529         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
530         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
531         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
532         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
533         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
534         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
535         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
536         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
537         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
538         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
539         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
540         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
541         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
542         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
543         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
544         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
545         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
546         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
547         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
548         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
549         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
550         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
551         * sysdeps/x86_64/multiarch/memset.S: Likewise.
552         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
553         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
554         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
555         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
556         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
557         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
558         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
559         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
560         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
562 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
564         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
565         (dl_platform_init): Call init_cpu_features.
566         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
567         * sysdeps/i386/i686/cacheinfo.c
568         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
569         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
570         * sysdeps/i386/i686/multiarch/Versions: Removed.
571         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
572         Removed.
573         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
574         * sysdeps/unix/sysv/linux/x86/Makefile
575         (libpthread-sysdep_routines): Remove init-arch.
576         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
577         <sysdeps/x86_64/dl-procinfo.c> instead of
578         sysdeps/generic/dl-procinfo.c>.
579         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
580         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
581         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
582         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
583         [$(subdir) == elf] (tests-static): Add
584         tst-get-cpu-features-static.
585         * sysdeps/x86/Versions: New file.
586         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
587         * sysdeps/x86/cpu-features.c: Likewise.
588         * sysdeps/x86/cpu-features.h: Likewise.
589         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
590         * sysdeps/x86/libc-start.c: Likewise.
591         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
592         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
593         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
594         * sysdeps/x86_64/dl-procinfo.c: Likewise.
595         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
596         Assume USE_MULTIARCH is defined and don't check it.
597         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
598         (is_amd): Likewise.
599         (max_cpuid): Likewise.
600         (intel_check_word): Likewise.
601         (__cache_sysconf): Don't call __init_cpu_features.
602         (__x86_preferred_memory_instruction): Removed.
603         (init_cacheinfo): Don't call __init_cpu_features. Replace
604         __cpu_features with GLRO(dl_x86_cpu_features).
605         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
606         (dl_platform_init): Call init_cpu_features.
607         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
608         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
609         * sysdeps/x86_64/multiarch/Versions: Removed.
610         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
611         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
612         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
613         Removed.
614         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
616 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
618         [BZ #18820]
619         * libio/Makefile (test-fmemopen-mem): New test.
620         * libio/test-fmemopen.c (do_bz18820): New test.
621         * libio/fmemopen.c (__fmemopen): Fix memory leak.
622         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
624 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
626         [BZ #16734]
627         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
628         (FREE_BUF): Delete.
629         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
630         * libio/genops.c (_IO_setb): Use malloc and free directly.
631         (_IO_default_doallocate, _IO_default_finish): Likewise.
632         ( _IO_unbuffer_all): Likewise.
633         ( libc_freeres_fn): Likewise.
634         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
635         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
636         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
637         (_IO_wdefault_doallocate): Likewise.
639 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
641         [BZ #18086]
642         * sysdeps/posix/nice.c (nice): Restore old errno.
643         * posix/tst-nice.c (do_test): Add test for BZ #18086.
645 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
647         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
649 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
651         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
652         __bcopy and add a weak_alias to bcopy.
653         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
654         for static build.
656         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
657         cleanup macro usage.
658         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
659         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
660         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
661         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
662         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
663         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
664         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
665         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
666         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
667         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
668         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
669         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
670         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
671         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
672         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
673         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
674         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
675         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
676         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
678         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
679         libc_hidden_def.
680         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
682         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
683         (sysdep_routines): Add strstr-ppc64.
684         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
686 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
688         [BZ #18778]
689         * elf/Makefile (tests): Add Add tst-nodelete2.
690         (modules-names): Add tst-nodelete2mod.
691         (tst-nodelete2mod.so-no-z-defs): New.
692         ($(objpfx)tst-nodelete2): Likewise.
693         ($(objpfx)tst-nodelete2.out): Likewise.
694         (LDFLAGS-tst-nodelete2): Likewise.
695         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
696         out of loop through all loaded libraries.
697         * elf/tst-nodelete2.c: New file.
698         * elf/tst-nodelete2mod.c: Likewise.
700 2015-08-11  Andreas Schwab  <schwab@suse.de>
702         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
703         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
704         (__openat64_nocancel): Likewise.
706 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
708         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
709         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
710         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
711         * math/auto-libm-test-out: Regenerated.
712         * sysdeps/i386/fpu/libm-test-ulps: Update.
713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
715 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
717         [BZ #18790]
718         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
719         threshold for returning +/- 1.
720         * math/auto-libm-test-in: Add more tests of tanh.
721         * math/auto-libm-test-out: Regenerated.
722         * sysdeps/i386/fpu/libm-test-ulps: Update.
724 2015-08-10  Andreas Schwab  <schwab@suse.de>
726         [BZ #18781]
727         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
728         MORE_OFLAGS to oflag.
729         * io/test-lfs.c (do_test): Test openat64.
731 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
733         [BZ #18789]
734         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
735         smaller threshold for returning the argument.
736         * math/auto-libm-test-in: Add more tests of sinh.
737         * math/auto-libm-test-out: Regenerated.
738         * sysdeps/i386/fpu/libm-test-ulps: Update.
740 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
742         [BZ #18674]
743         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
744         break.
746 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
748         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
749         (generated): Don't add $(addprefix z.,$(tzfiles)).
751 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
753         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
754         * scripts/sysd-rules.awk: Likewise.
756 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
758         * iconvdata/tst-tables.sh: Change echo -n to printf.
759         * nss/db-Makefile: Likewise.
760         * posix/tst-getconf.sh: Likewise.
761         * stdio-common/tst-unbputc.sh: Likewise.
763 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
765         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
766         MADV_*_PAGES defines behind this feature check.
768 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
770         [BZ #18480]
771         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
772         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
773         Define.
774         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
775         LOAD_REGS_5, LOAD_REGS_6): Update.
776         (INTERNAL_SYSCALL): Update using new LOAD defines.
777         (INTERNAL_SYSCALL_NCS): Likewise.
778         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
780 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
782         [BZ #16734]
783         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
785 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
787         [BZ #17905]
788         * catgets/Makefile (tst-catgets-mem): New test.
789         * catgets/catgets.c (catopen): Don't use unbounded alloca.
790         * catgets/open_catalog.c (__open_catalog): Likewise.
791         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
793 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
795         [BZ #18787]
796         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
797         clobber registers.
798         (atomic_compare_and_exchange_val_acq): Use register asms to assign
799         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
800         Cast return to __typeof (oldval).
802 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
804         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
805         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
806         and delete sys/syscall.h include.
808 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
810         [BZ #16517]
811         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
812         (tan): Force underflow exception for arguments with small absolute
813         value.
814         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
815         (__kernel_tanf): Force underflow exception for arguments with
816         small absolute value.
817         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
818         (__kernel_tanl): Force underflow exception for arguments with
819         small absolute value.
820         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
821         (__kernel_tanl): Force underflow exception for arguments with
822         small absolute value.
823         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
824         (__kernel_tanl): Force underflow exception for arguments with
825         small absolute value.
826         * math/auto-libm-test-in: Add more tests of tan.
827         * math/auto-libm-test-out: Regenerated.
829 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
831         Fix sysdeps/i386/fpu/s_scalbn.S build
833         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
835 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
837         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
839 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
841         Fix gcrt0.o compilation
843         When static-start-installed-name is different from
844         start-installed-name, we must not use the shared objects.
846         * csu/Makefile
847         (extra-objs): Add gmon-start.o when building shared library and
848         $(static-start-installed-name) is different from
849         $(start-installed-name).
850         $(objpfx)g$(static-start-installed-name): When building shared
851         library and $(static-start-installed-name) is different from
852         $(static-start-installed-name), revert to non-shared rule,
853         i.e. using $(objpfx)% and gmon-start.o.
855 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
857         [BZ #16519]
858         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
859         (__ieee754_sinh): Force underflow exception for arguments with
860         small absolute value.
861         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
862         (__ieee754_sinhf): Force underflow exception for arguments with
863         small absolute value.
864         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
865         (__ieee754_sinhl): Force underflow exception for arguments with
866         small absolute value.
867         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
868         (__ieee754_sinhl): Force underflow exception for arguments with
869         small absolute value.
870         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
871         (__ieee754_sinhl): Force underflow exception for arguments with
872         small absolute value.
873         * math/auto-libm-test-in: Add more tests of sinh.
874         * math/auto-libm-test-out: Regenerated.
875         * sysdeps/i386/fpu/libm-test-ulps: Update.
877 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
879         * libio/oldfileops.c: Include unistd.h.
881 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
883         * stdlib/isomac.c: Include ctype.h.
885 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
887         * dirent/tst-seekdir.c (main): Converted to ...
888         (do_test): ... this.
889         (TEST_FUNCTION): New macro.
890         Include test-skeleton.c.
891         * elf/tst-dlmodcount.c (main): Converted to ...
892         (do_test): ... this.
893         (TEST_FUNCTION): New macro.
894         Include test-skeleton.c.
895         * elf/tst-order-main.c (main): Converted to ...
896         (do_test): ... this.
897         (TEST_FUNCTION): New macro.
898         Include test-skeleton.c.
899         * elf/tst-pie2.c (main): Converted to ...
900         (do_test): ... this.
901         (TEST_FUNCTION): New macro.
902         Include test-skeleton.c.
903         * inet/tst-ether_aton.c (main): Converted to ...
904         (do_test): ... this.
905         (TEST_FUNCTION): New macro.
906         Include test-skeleton.c.
907         * misc/tst-mntent.c (main): Converted to ...
908         (do_test): ... this.
909         (TEST_FUNCTION): New macro.
910         Include test-skeleton.c.
911         * misc/tst-tsearch.c (main): Converted to ...
912         (do_test): ... this.
913         (TEST_FUNCTION): New macro.
914         Include test-skeleton.c.
915         * posix/tst-regexloc.c (main): Converted to ...
916         (do_test): ... this.
917         (TEST_FUNCTION): New macro.
918         Include test-skeleton.c.
919         * resolv/tst-aton.c (main): Converted to ...
920         (do_test): ... this.
921         (TEST_FUNCTION): New macro.
922         Include test-skeleton.c.
923         * stdio-common/test-fwrite.c (main): Converted to ...
924         (do_test): ... this.
925         (TEST_FUNCTION): New macro.
926         Include test-skeleton.c.
927         * stdio-common/tst-ferror.c (main): Converted to ...
928         (do_test): ... this.
929         (TEST_FUNCTION): New macro.
930         Include test-skeleton.c.
931         * stdio-common/tst-printf.c (main): Converted to ...
932         (do_test): ... this.
933         (TEST_FUNCTION): New macro.
934         Include test-skeleton.c.
935         * stdio-common/tst-printfsz.c (main): Converted to ...
936         (do_test): ... this.
937         (TEST_FUNCTION): New macro.
938         Include test-skeleton.c.
939         * stdlib/tst-strtod.c (main): Converted to ...
940         (do_test): ... this.
941         (TEST_FUNCTION): New macro.
942         Include test-skeleton.c.
943         * string/tst-strlen.c (main): Converted to ...
944         (do_test): ... this.
945         (TEST_FUNCTION): New macro.
946         Include test-skeleton.c.
947         * string/tst-svc.c (main): Converted to ...
948         (do_test): ... this.
949         (TEST_FUNCTION): New macro.
950         Include test-skeleton.c.
951         * time/tst-strptime.c (main): Converted to ...
952         (do_test): ... this.
953         (TEST_FUNCTION): New macro.
954         Include test-skeleton.c.
955         * timezone/tst-timezone.c (main): Converted to ...
956         (do_test): ... this.
957         (TEST_FUNCTION): New macro.
958         Include test-skeleton.c.
960 2015-08-05  Zack Weinberg  <zackw@panix.com>
962         * misc/regexp.h: Update comments.
964 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
966         [BZ #18635]
967         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
968         before return label.
970 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
972         [BZ #18661]
973         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
974         when calling __errno_location.
975         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
976         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
978 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
980         [BZ #18661]
981         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
982         (__lll_timedwait_tid): Align stack to 16 bytes when calling
983         __gettimeofday.
985 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
987         [BZ #18661]
988         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
989         (__start_context): Don't use pop to restore %rdi so that stack
990         is aligned to 16 bytes when calling __setcontext.
992 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
994         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
995         only for libc.
996         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
998 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1000         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1001         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1002         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1004 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1006         * string/memccpy.c (memccpy):
1007         Improve performance by using memchr/memcpy/__mempcpy.
1009 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1011         * string/strncpy.c (strncpy):
1012         Improve performance by using __strnlen/memcpy.
1014 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1016         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1017         Optimize to avoid an unnecessary FPCR read.
1019 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1021         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1022         Optimize to reduce FPCR/FPSR accesses.
1024 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1026         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1027         dead->data[category] != NULL.
1029 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1031         [BZ #18647]
1032         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1033         and |x| close to 1, use absolute value of x when computing log.
1034         * math/auto-libm-test-in: Add more tests of pow.
1035         * math/auto-libm-test-out: Regenerated.
1037 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1039         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1040         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1041         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1043 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1045         [BZ #18525]
1046         * locales/km_KH: Remove timezone definition.
1047         * locales/lo_LA: Likewise.
1048         * locales/my_MM: Likewise.
1049         * locales/nan_TW@latin: Likewise.
1050         * locales/th_TH: Likewise.
1051         * locales/uk_UA: Likewise.
1053 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1055         [BZ #18265]
1056         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1057         (wcsncat): Likewise.
1058         (wcscmp): Likewise.
1059         (wcsncmp): Likewise.
1061 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1063         * test-skeleton.c (usage): New function.
1064         (main): Call usage when opt is '?'.
1066 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1068         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1069         before first use.
1071 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1073         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1074         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1075         in there too.
1077 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1079         * version.h (RELEASE): Set to "development".
1080         (VERSION): Set to "2.22.90"
1082         * version.h (RELEASE): Set to "stable".
1083         (VERSION): Set to "2.22"
1084         * include/features.h (__GLIBC_MINOR__): Set to 22.
1086 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1088         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1089         Restructure macro to avoid "value computed is not used" warning.
1090         (atomic_compare_and_exchange_val_acq): Likewise.
1092 2015-08-04  Andreas Schwab  <schwab@suse.de>
1094         [BZ #18635]
1095         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1096         ret.
1097         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1099 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1101         * po/pl.po: Updated translation.
1102         * po/uk.po: Likewise.
1103         * po/fi.po: Likewise.
1104         * po/ko.po: Likewise.
1105         * po/ru.po: Likewise.
1106         * po/vi.po: Likewise.
1108 2015-07-31  Zack Weinberg  <zackw@panix.com>
1110         [BZ #18681]
1111         * regexp.h: Add unconditional #warning stating that this header
1112         will be removed soon.  Revise banner comment to match.
1113         (compile): Consistently use ERROR instead of RETURN to report
1114         errors (partial fix for bz#18681).
1115         * regexp.c: Don't include regexp.h. Remove some unnecessary
1116         declarations.
1118 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1120         * po/libc.pot: Regenerated.
1122 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1124         [BZ #18740]
1125         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1126         float-vlen4-arch-ext-cflags): Removed.
1127         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1128         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1130 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1132         [BZ #14113]
1133         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1134         aligned to __aligned__.
1135         (pthread_cond_t, pthread_rwlock_t): Likewise.
1137 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1139         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1141 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1143         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1144         (struct sigaction): Change sa_flags from a long to an int, and add
1145         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1147 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1149         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1150         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1151         sysdeps/generic/sysdep.h include.
1152         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1153         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1154         sysdeps/hppa/sysdep.h.
1155         (ENTRY, PSEUDO): Undefine before defining.
1157 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1159         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1160         from scratch to use INTERNAL_SYSCALL.
1162 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1164         [BZ #18078]
1165         * scripts/check-localplt.awk: Support alternate relocations.
1166         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1167         sections.
1168         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1169         malloc entries with + REL R_386_GLOB_DAT.
1170         * sysdeps/x86_64/localplt.data: New file.
1172 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1174         [BZ #18731]
1175         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1176         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1177         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1179 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1181         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1183 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1185         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1186         directly in terms of __sync_fetch_and_add and delete (int) cast.
1188 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1190         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1191         the -D_ASM_IA64_CURRENT_H flag.
1193 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1195         [BZ #18641]
1196         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1198 2015-07-27  Andreas Schwab  <schwab@suse.de>
1200         * conform/conformtest.pl (checknamespace): Filter out string
1201         literals while tokenizing.
1203 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1205         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1206         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1207         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1209 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1211         * nptl/tst-join7mod.c: Add #include <string.h>.
1213 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1215         * sysdeps/nios2/libm-test-ulps: Update.
1217 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1219         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1220         Fix order of arguments to the rt_sigprocmask syscall.
1221         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1222         Likewise.
1224 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1226         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1228 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1230         [BZ #18457]
1231         * nptl/Makefile (tests): New test case tst-join7.
1232         (modules-names): New test case module tst-join7mod.
1233         * nptl/tst-join7.c: New file.
1234         * nptl/tst-join7mod.c: New file.
1235         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1236         all translation units in libc.so, libpthread.so and rtld.
1238 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1242 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1244         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1245         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1246         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1247         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1248         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1249         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1250         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1251         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1252         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1253         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1254         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1255         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1256         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1257         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1258         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1259         implementation.
1261 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1263         [BZ #17711]
1264         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1265         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1266         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1267         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1268         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1269         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1271 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1273         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1274         instead of just saying load lock in the comments.
1276 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1278         * sysdeps/unix/Subdirs: Moved ...
1279         * sysdeps/posix/Subdirs: ... here.
1280         * login/pty.h (struct termios, struct winsize): Add forward decls.
1281         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1282         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1283         * sysdeps/arm/nacl/libc.abilist: Updated.
1284         * sysdeps/nacl/libutil.abilist: New file.
1286         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1287         (SIGWINCH): New macro.
1289         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1290         * sysdeps/arm/nacl/libc.abilist: Add it.
1292 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1294         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1296 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1298         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1299         Swap __glibc_reserved0 and sa_flags order.
1301 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1303         [BZ #18657]
1304         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1305         are pending TLS destructor calls.
1306         * include/link.h (struct link_map): Add concurrency note for
1307         L_TLS_DTOR_COUNT.
1308         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1309         Don't touch the link map flag.  Atomically increment
1310         l_tls_dtor_count.
1311         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1312         Avoid taking the load lock and don't touch the link map flag.
1313         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1314         * stdlib/Makefile (tests): Use it.
1315         * stdlib/tst-tls-atexit.c (do_test): dlopen
1316         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1317         to allow tst-tls-atexit-nodelete test case to use it.
1319 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1321         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1322         to bits/types.h.
1323         (msgqnum_t): New typedef.
1324         (msglen_t): Likewise.
1325         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1326         and msg_qbytes type to msglen_t.
1328 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1330         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1331         pad0 to __glibc_reserved0.
1332         (struct stat64): Likewise.
1334 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1336         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1337         Change sa_flags from a long to an int and add __glibc_reserved0 before
1338         it for padding.
1340 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1342         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1343         anonymous by deleting "siginfo" name.
1345 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1347         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1348         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1349         rather than __nacl_irt_filename.
1350         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1352         * NEWS: New item for arm-nacl port.
1353         * sysdeps/arm/nacl/libc.abilist: New file.
1354         * sysdeps/nacl/ld.abilist: New file.
1355         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1356         * sysdeps/nacl/libanl.abilist: New file.
1357         * sysdeps/nacl/libcrypt.abilist: New file.
1358         * sysdeps/nacl/libdl.abilist: New file.
1359         * sysdeps/nacl/libm.abilist: New file.
1360         * sysdeps/nacl/libpthread.abilist: New file.
1361         * sysdeps/nacl/libresolv.abilist: New file.
1362         * sysdeps/nacl/librt.abilist: New file.
1364 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1366         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1367         __startcontext to initialize the new context.
1368         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1369         up CFI directive to forbid further backtracing.
1371 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1373         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1374         reference.
1375         * charmaps/ANSI_X3.4-1968: Likewise.
1376         * charmaps/BS_4730: Likewise.
1377         * charmaps/BS_VIEWDATA: Likewise.
1378         * charmaps/CP1250: Likewise.
1379         * charmaps/CP1251: Likewise.
1380         * charmaps/CP1252: Likewise.
1381         * charmaps/CP1253: Likewise.
1382         * charmaps/CP1254: Likewise.
1383         * charmaps/CP1255: Likewise.
1384         * charmaps/CP1256: Likewise.
1385         * charmaps/CSN_369103: Likewise.
1386         * charmaps/EBCDIC-DK-NO: Likewise.
1387         * charmaps/GB_1988-80: Likewise.
1388         * charmaps/GREEK-CCITT: Likewise.
1389         * charmaps/GREEK7: Likewise.
1390         * charmaps/INIS-8: Likewise.
1391         * charmaps/ISIRI-3342: Likewise.
1392         * charmaps/ISO_2033-1983: Likewise.
1393         * charmaps/ISO_5427-EXT: Likewise.
1394         * locales/POSIX: Likewise.
1395         * locales/ar_SA: Likewise.
1396         * locales/be_BY: Likewise.
1397         * locales/be_BY@latin: Likewise.
1398         * locales/ca_ES: Likewise.
1399         * locales/cs_CZ: Likewise.
1400         * locales/da_DK: Likewise.
1401         * locales/de_BE: Likewise.
1402         * locales/de_CH: Likewise.
1403         * locales/de_LU: Likewise.
1404         * locales/en_AU: Likewise.
1405         * locales/en_BW: Likewise.
1406         * locales/en_CA: Likewise.
1407         * locales/en_DK: Likewise.
1408         * locales/en_GB: Likewise.
1409         * locales/en_IE: Likewise.
1410         * locales/en_NZ: Likewise.
1411         * locales/en_ZA: Likewise.
1412         * locales/en_ZW: Likewise.
1413         * locales/es_AR: Likewise.
1414         * locales/es_BO: Likewise.
1415         * locales/es_CL: Likewise.
1416         * locales/es_CO: Likewise.
1417         * locales/es_DO: Likewise.
1418         * locales/es_EC: Likewise.
1419         * locales/es_ES: Likewise.
1420         * locales/es_HN: Likewise.
1421         * locales/es_MX: Likewise.
1422         * locales/es_PA: Likewise.
1423         * locales/es_PE: Likewise.
1424         * locales/es_PY: Likewise.
1425         * locales/es_SV: Likewise.
1426         * locales/es_US: Likewise.
1427         * locales/es_UY: Likewise.
1428         * locales/es_VE: Likewise.
1429         * locales/et_EE: Likewise.
1430         * locales/fa_IR: Likewise.
1431         * locales/fo_FO: Likewise.
1432         * locales/fr_CA: Likewise.
1433         * locales/fr_CH: Likewise.
1434         * locales/gv_GB: Likewise.
1435         * locales/he_IL: Likewise.
1436         * locales/hr_HR: Likewise.
1437         * locales/id_ID: Likewise.
1438         * locales/is_IS: Likewise.
1439         * locales/it_CH: Likewise.
1440         * locales/iw_IL: Likewise.
1441         * locales/kl_GL: Likewise.
1442         * locales/ko_KR: Likewise.
1443         * locales/kw_GB: Likewise.
1444         * locales/lg_UG: Likewise.
1445         * locales/lt_LT: Likewise.
1446         * locales/lv_LV: Likewise.
1447         * locales/mi_NZ: Likewise.
1448         * locales/nhn_MX: Likewise.
1449         * locales/nl_BE: Likewise.
1450         * locales/pl_PL: Likewise.
1451         * locales/sk_SK: Likewise.
1452         * locales/sl_SI: Likewise.
1453         * locales/sv_FI: Likewise.
1454         * locales/tl_PH: Likewise.
1455         * locales/tr_TR: Likewise.
1456         * locales/vi_VN: Likewise.
1458 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1460         [BZ #17475]
1461         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1462         of tu_IN and bh_IN.
1464 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1466         [BZ #18694]
1467         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1468         bits/wordsize.h.
1469         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1471 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1473         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1474         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1475         (spawn_thread): New function.
1476         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1477         (do_test): ... here.  Use IS_LOADED to test for its
1478         availability.
1480 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1482         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1484 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1486         [BZ #18696]
1487         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1488         si_addr_bnd.
1489         (si_lower): New.
1490         (si_upper): Likewise.
1492 2015-07-16  David S. Miller  <davem@davemloft.net>
1494         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1496 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1498         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1499         buffer.
1500         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1501         fail output information.
1503 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1506         and strstr-ppc64..
1507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1508         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1509         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1510         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1511         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1513 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1515         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1516         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1517         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1518         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1520 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1522         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1523         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1524         rtld_hidden_proto.
1525         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1527 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1529         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1530         the test can fail.
1532         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1534         [BZ #18676]
1535         * elf/tst-nodelete-opened.c: New test case.
1536         * elf/tst-nodelete-opened-lib.c: New test case module.
1537         * elf/Makefile (tests, modules-names): Use them.
1538         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1539         early.
1541 2015-07-15  David S. Miller  <davem@davemloft.net>
1543         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1544         futex-intenal.h
1545         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1546         * sysdeps/sparc/sparc64/Makefile: Likewise.
1547         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1548         Remove space from macro define.
1549         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1551 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1553         [BZ #17475]
1554         * locale/iso-639.def: Update Bhili and Tulu language codes as
1555         per iso639-3.
1557 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1559         * elf/tst-leaks1.c (main): Converted to ...
1560         (do_test): ... this.
1561         (TEST_FUNCTION): New macro.
1562         Include test-skeleton.c.
1563         * localedata/tst-langinfo.c (main): Converted to ...
1564         (do_test): ... this.
1565         (TEST_FUNCTION): New macro.
1566         Include test-skeleton.c.
1567         * math/test-fpucw.c (main): Converted to ...
1568         (do_test): ... this.
1569         (TEST_FUNCTION): New macro.
1570         Include test-skeleton.c.
1571         * math/test-tgmath.c (main): Converted to ...
1572         (do_test): ... this.
1573         (TEST_FUNCTION): New macro.
1574         Include test-skeleton.c.
1575         * math/test-tgmath2.c (main): Converted to ...
1576         (do_test): ... this.
1577         (TEST_FUNCTION): New macro.
1578         Include test-skeleton.c.
1579         * setjmp/tst-setjmp.c (main): Converted to ...
1580         (do_test): ... this.
1581         (TEST_FUNCTION): New macro.
1582         Include test-skeleton.c.
1583         * stdio-common/tst-sscanf.c (main): Converted to ...
1584         (do_test): ... this.
1585         (TEST_FUNCTION): New macro.
1586         Include test-skeleton.c.
1587         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1588         (do_test): ... this.
1589         (TEST_FUNCTION): New macro.
1590         Include test-skeleton.c.
1592         * elf/tst-audit9.c (main): Converted to ...
1593         (do_test): ... this.
1594         (TEST_FUNCTION): New macro.
1595         Include test-skeleton.c.
1597 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1599         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1601 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1603         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1604         New variable.
1606 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1608         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1610 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1612         * sysdeps/generic/dl-fileid.h: New file.
1613         * sysdeps/posix/dl-fileid.h: New file.
1614         * sysdeps/nacl/dl-fileid.h: New file.
1615         * include/link.h: Include <dl-fileid.h>.
1616         (struct link_map): Replace l_dev and l_ino with l_file_id.
1617         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1618         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1619         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1621 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1623         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1625 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1627         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1628         Add iff $CXX is set.
1629         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1630         Likewise.
1631         (tst-nodelete-zmodiff): Likewise.
1632         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1634 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1636         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1638 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1640         * sysdeps/aarch64/fpu/math_private.h
1641         (define math_opt_barrier): Add AArch64 version.
1642         (math_force_eval): Likewise.
1644 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1646         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1648 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1650         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1651         %ld with %jd and cast to intmax_t.
1652         (do_test_length_zero): Likewise.
1654 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1656         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1658 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1660         * sysdeps/tile/libm-test-ulps: Regenerated.
1662         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1663         Comment out the whole function, not just its body.
1665 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1667         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1668         locks.
1670         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1672 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1674         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1675         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1677 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1679         * sysdeps/nptl/futex-internal.h: New file.
1680         * sysdeps/nacl/futex-internal.h: New file.
1681         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1682         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1683         error checking.
1684         (setxid_unmark_thread): Likewise.
1685         (__nptl_setxid): Likewise.
1686         (__wait_lookup_done): Likewise.
1687         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1688         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1689         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1690         * nptl/pthread_once.c (clear_once_control): Likewise.
1691         (__pthread_once_slow): Likewise.
1692         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1693         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1694         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1695         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1696         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1697         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1698         Likewise.
1699         (__pthread_rwlock_rdlock): Likewise.
1700         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1701         Likewise.
1702         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1703         Likewise.
1704         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1705         Likewise.
1706         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1707         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1708         Likewise.
1709         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1710         __ASSUME_PRIVATE_FUTEX check.
1711         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1712         Check that shared futexes are supported.
1713         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1714         wrappers with error checking.
1715         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1716         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1717         * nptl/pthread_barrierattr_setpshared.c
1718         (pthread_barrierattr_setpshared): Check that shared futexes are
1719         supported.
1720         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1721         Likewise.
1722         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1723         Likewise.
1724         * nptl/sem_init.c (futex_private_if_supported): Remove.
1725         (__new_sem_init): Adapt and check that shared futexes are supported.
1726         * nptl/sem_open.c (sem_open): Likewise.
1727         * nptl/sem_post.c (futex_wake): Remove.
1728         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1729         (do_futex_wait): Use futex wrappers with error checking.
1730         * nptl/sem_wait.c: Include lowlevellock.h.
1731         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1732         Use futex_supports_pshared.
1733         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1734         Use futex wrappers with error checking.
1735         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1736         Likewise.
1737         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1738         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1739         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1740         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1741         (futex_wake): Likewise.
1742         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1743         (do_futex_wait): Use futex wrappers with error checking.
1744         (__new_sem_wait_slow): Update EINTR handling.
1745         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1747 2015-07-09  Martin Sebor  <msebor@redhat.com>
1749         [BZ #18435]
1750         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1751         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1752         * nptl/Makefile (test-xfail-tst-once5): Define.
1754 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1756         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1757         * elf/dl-minimal.c: For readability, reorder some definitions and
1758         introduce more page breaks.  Include <stdio.h>.
1759         (__libc_fatal): New function.
1761         * include/unistd.h: Add rtld_hidden_proto for _exit.
1762         * posix/_exit.c: Add rtld_hidden_def.
1763         * sysdeps/mach/hurd/_exit.c: Likewise.
1764         * sysdeps/nacl/_exit.c: Likewise.
1765         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1766         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1768 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1770         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1771         bndmov encoding with zero displacement.
1773 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1774             H.J. Lu  <hongjiu.lu@intel.com>
1776         [BZ #18134]
1777         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1778         * sysdeps/i386/configure: Regenerated.
1779         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1780         (_dl_runtime_profile): Save and restore Intel MPX return bound
1781         registers when calling _dl_call_pltexit.  Add
1782         PRESERVE_BND_REGS_PREFIX before return.
1783         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1784         (LRV_BND1_OFFSET): Likewise.
1785         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1786         lrv_bnd1.
1787         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1788         typo in bndmov encoding.
1789         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1790         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1791         branch instructions to preserve bounds.
1793 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1796         [GLIBC_2.22]: Add fmemopen.
1798 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1800         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1801         returns an error, also try to use host port from __mach_host_self for
1802         the __vm_wire call.
1803         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1805 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1807         [BZ #18400]
1808         [BZ #18648]
1809         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1810         Fix pr_uid and pr_gid members.
1811         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1812         definition to elf_greg_t.
1814 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1816         [BZ #18383]
1817         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1818         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1819         * sysdeps/arm/configure: Regenerated.
1820         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1821         (test-xfail-tst-tlsalign-static): Variable removed.
1823         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1824         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1825         rather than explicit 'ln -s'.
1827         * resolv/rpc/netdb.h: New file.
1828         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1830 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1832         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1833         length buffers.
1834         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1835         test-skeleton.c.
1837         [BZ #6544]
1838         [BZ #11216]
1839         [BZ #12836]
1840         [BZ #13151]
1841         [BZ #13152]
1842         [BZ #14292]
1843         * include/stdio.h (fmemopen): Remove hidden prototype.
1844         (__fmemopen): Add new hidden prototype.
1845         * libio/Makefile: Add oldfmemopen object.
1846         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1847         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1848         compliance.
1849         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1850         symbol compatibility.
1851         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1852         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1853         fmemopen.
1854         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1855         on append and read mode.
1856         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1857         fmemopen.
1858         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1859         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1860         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1861         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1862         Likewise.
1863         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1864         [GLIBC_2.22]: Likewise.
1865         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1866         Likewise.
1867         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1868         Likewise.
1869         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1870         [GLIBC_2.22]: Likewise.
1871         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1872         [GLIBC_2.22]: Likewise.
1873         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1874         [GLIBC_2.22]: Likewise.
1875         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1876         [GLIBC_2.22]: Likewise.
1877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1878         [GLIBC_2.22]: Likewise.
1879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1880         [GLIBC_2.22]: Likewise.
1881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1882         [GLIBC_2.22]: Likewise.
1883         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1884         Likewise.
1885         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1886         Likewise.
1887         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1888         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1889         [GLIBC_2.22]: Likewise.
1890         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1891         [GLIBC_2.22]: Likewise.
1892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1893         [GLIBC_2.22]: Likewise.
1894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1895         [GLIBC_2.22]: Likewise.
1896         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1897         Likewise.
1898         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1899         Likewise.
1900         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1901         Likewise.
1902         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1903         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1905 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1907         [BZ #18643]
1908         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1909         IPV6_PATHMTU, and IPV6_DONTFRAG.
1911 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1913         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1914         and _IO_UNBUFFERED.
1915         * libio/oldfileops.c: Likewise.
1916         * libio/wfileops.c: Likewise.
1918 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1920         * nscd/selinux.c: Delete selinux/flask.h include.
1922 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1924         [BZ #18641]
1925         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1926         (putpwent): Likewise.
1927         (getpwnam): Likewise.
1928         (getpwent_r): Likewise.
1929         (getpwuid_r): Likewise.
1930         (getpwnam_r): Likewise.
1931         (fgetpwent_r): Likewise.
1933 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1935         [BZ #18557]
1936         * inet/rcmd.c (__validuser2_sa): Check user first to
1937         short-circuit host check.
1939 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1940             Mikhail Ilin  <m.ilin@samsung.com>
1942         [BZ #17833]
1943         * elf/Makefile (tests): Add tst-nodelete.
1944         (modules-names): Add tst-nodelete-uniquemod.
1945         (tst-nodelete-uniquemod.so-no-z-defs): New.
1946         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1947         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1948         ($(objpfx)tst-nodelete): Likewise.
1949         ($(objpfx)tst-nodelete.out): Likewise.
1950         (LDFLAGS-tst-nodelete): Likewise.
1951         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1952         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1953         implement forced object deletion.
1954         (_dl_close): Pass false to _dl_close_worker.
1955         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1956         * elf/tst-nodelete.cc: New file.
1957         * elf/tst-nodeletelib.cc: Likewise.
1958         * elf/tst-znodeletelib.cc: Likewise.
1959         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1961 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1963         [BZ #18508]
1964         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1965         Depend on $(libdl).
1966         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1967         is not called infinitely times.
1968         (backtrace_helper): New function.
1969         (trace_arg): New struct.
1970         (st1): Enlarge stack size.
1971         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1972         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1973         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1974         Likewise.
1976 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1978         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1980 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1982         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1983         Include sys/types.h instead of bits/types.h.
1984         Remove inclusion of bits/wordsize.h.
1986 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1988         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1989         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1990         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1991         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1992         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1993         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1995 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1997         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1998         link-defines.sym.
1999         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2000         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2001         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2002         and LR_SIZE.
2003         * sysdeps/i386/link-defines.sym: New file.
2005 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2007         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2008         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2009         ($(objpfx)tst-audit3): New rule.
2010         ($(objpfx)tst-audit3.out): Likewise.
2011         * sysdeps/i386/tst-audit3.c: New file.
2012         * sysdeps/i386/tst-audit3.h: Likewise.
2013         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2014         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2016 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2018         [BZ #18633]
2019         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2020         pointer in C code.
2021         (__strcat_c): Likewise.
2022         (__strcat_g): Likewise.
2024 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2026         [BZ #18592]
2027         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2029 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2031         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2032         New function.  (__ieee754_sqrtf): New function.
2033         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2034         New function.
2035         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2036         New function.
2038 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2040         * sysdeps/ieee754/support.c: Remove unused file.
2042 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2044         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2045         registers instead of d ones so the layout is kernel abi compatible.
2046         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2047         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2048         Likewise.
2050 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2052         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2054 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2056         [BZ #18619]
2057         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2058         and return argument in case of subnormal argument.
2060 2015-07-01  Martin Sebor  <msebor@redhat.com>
2062         [BZ #18435]
2063         * nptl/Makefile: Add tst-once5.cc.
2064         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2065         Remove macro redefinitions.
2066         * nptl/tst-once5.cc: New test.
2068 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2070         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2072         * sysdeps/arm/libm-test-ulps: Regenerated.
2074         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2075         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2077 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2079         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2080         lll_lock_wait_private and lll_futex_wake probes.
2082         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2083         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2084         Likewise.
2085         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2086         atomic_spin_nop.
2087         * sysdeps/x86_64/bits/atomic.h: Likewise.
2088         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2089         to atomic_spin_nop and move ...
2090         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2091         ... here and ...
2092         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2093         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2094         atomic_spin_nop instead of BUSY_WAIT_NOP.
2095         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2096         Likewise.
2097         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2098         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2099         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2100         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2101         instead of atomic_delay.
2103 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2105         [BZ #18613]
2106         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2107         X_ADJ not X when adjusting exponent.
2108         (__ieee754_gamma_r): Do intermediate computations in
2109         round-to-nearest then adjust overflowing and underflowing results
2110         as needed.
2111         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2112         of X_ADJ not X when adjusting exponent.
2113         (__ieee754_gammaf_r): Do intermediate computations in
2114         round-to-nearest then adjust overflowing and underflowing results
2115         as needed.
2116         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2117         log of X_ADJ not X when adjusting exponent.
2118         (__ieee754_gammal_r): Do intermediate computations in
2119         round-to-nearest then adjust overflowing and underflowing results
2120         as needed.  Use 1.0L not 1.0f as numerator of division.
2121         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2122         log of X_ADJ not X when adjusting exponent.
2123         (__ieee754_gammal_r): Do intermediate computations in
2124         round-to-nearest then adjust overflowing and underflowing results
2125         as needed.  Use 1.0L not 1.0f as numerator of division.
2126         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2127         of X_ADJ not X when adjusting exponent.
2128         (__ieee754_gammal_r): Do intermediate computations in
2129         round-to-nearest then adjust overflowing and underflowing results
2130         as needed.  Use 1.0L not 1.0f as numerator of division.
2131         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2132         to auto-libm-test-in.
2133         (tgamma_test): Use ALL_RM_TEST.
2134         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2135         tests of tgamma with spurious-overflow.
2136         * math/auto-libm-test-out: Regenerated.
2137         * math/gen-libm-have-vector-test.sh: Do not check for START.
2138         * sysdeps/i386/fpu/libm-test-ulps: Update.
2139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2141         [BZ #18612]
2142         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2143         arguments, just return 0.5 times the argument, with underflow
2144         forced as needed.
2145         * math/auto-libm-test-in: Add more tests of j1.
2146         * math/auto-libm-test-out: Regenerated.
2148         [BZ #16559]
2149         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2150         (__ieee754_j1): Force underflow exception for small results.
2151         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2152         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2153         (__ieee754_j1f): Force underflow exception for small results.
2154         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2155         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2156         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2157         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2158         (__ieee754_j1l): Force underflow exception for small results.
2159         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2160         * math/auto-libm-test-in: Add more tests of j1 and jn.
2161         * math/auto-libm-test-out: Regenerated.
2163         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2164         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2165         (PF_MPLS): Likewise.
2166         (AF_IB): Likewise.
2167         (AF_MPLS): Likewise.
2168         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2169         value and macro.
2170         (MS_RMT_MASK): Include MS_LAZYTIME.
2172 2015-06-26  Mel Gorman  <mgorman@suse.de>
2174         [BZ #18502]
2175         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2176         already minimal.
2178 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2180         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2181         (DT_MIPS_NUM): Update.
2182         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2183         DT_MIPS_RLD_MAP_REL.
2185 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2187         [BZ #16559]
2188         [BZ #18602]
2189         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2190         round-to-nearest internally then recompute results that
2191         underflowed to zero in the original rounding mode.
2192         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2193         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2194         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2195         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2196         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2197         * sysdeps/i386/fpu/libm-test-ulps: Update.
2198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2200 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2202         * NEWS: Fixed description of link with vector math library.
2204 2015-06-25  Andreas Schwab  <schwab@suse.de>
2206         [BZ #18549]
2207         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2208         * libio/test-fmemopen.c (do_test): Add test for it.
2210 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2212         [BZ #17841]
2213         * Makeconfig (no-pie-ldflag): New.
2214         (+link): Set to $(+link-pie) if default to PIE.
2215         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2216         * config.make.in (build-pie-default): New.
2217         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2218         is default.  AC_SUBST.
2219         * configure: Regenerated.
2220         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2222 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2224         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2225         to 'unsigned int'.
2227         * resolv/gai_misc.h (struct waitlist): Change type of field
2228         counterp to 'volatile unsigned int *'.
2229         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2230         FUTEXADDR and OLDVAL.
2231         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2232         Give local variable TOTAL type 'volatile unsigned int'.
2233         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2234         * resolv/gai_suspend.c (gai_suspend):
2235         Give local variable CNTR type 'unsigned int'.
2237         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2238         counterp to 'volatile unsigned int *'.
2239         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2240         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2241         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2242         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2243         Give local variable TOTAL type 'volatile unsigned int'.
2244         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2246 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2248         [BZ #18383]
2249         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2250         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2251         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2252         comment for i386/x86-64.
2253         (test-xfail-tst-tlsalign-extern-static): Removed.
2255 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2257         * math/test-double.h: New file.
2258         * math/test-float.h: Likewise.
2259         * math/test-ldouble.h: Likewise.
2260         * math/test-math-inline.h: Likewise.
2261         * math/test-math-no-inline.h: Likewise.
2262         * math/test-math-scalar.h: Likewise.
2263         * math/test-math-vector.h: Likewise.
2264         * math/test-vec-loop.h: Remove file.  Contents moved into
2265         test-math-vector.h.
2266         * math/libm-test.inc (MATHCONST): Do not document macro.
2267         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2268         and test-math-scalar.h.
2269         (FUNC): Remove macro.
2270         (FUNC_TEST): Likewise.
2271         (FLOAT): Likewise.
2272         (MATHCONST): Likewise.
2273         (PRINTF_EXPR): Likewise.
2274         (PRINTF_XEXPR): Likewise.
2275         (PRINTF_NEXPR): Likewise.
2276         (TEST_DOUBLE): Likewise.
2277         (TEST_MATHVEC): Likewise.
2278         (__NO_MATH_INLINES): Likewise.
2279         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2280         and test-math-scalar.h.
2281         (FUNC): Remove macro.
2282         (FUNC_TEST): Likewise.
2283         (FLOAT): Likewise.
2284         (MATHCONST): Likewise.
2285         (PRINTF_EXPR): Likewise.
2286         (PRINTF_XEXPR): Likewise.
2287         (PRINTF_NEXPR): Likewise.
2288         (TEST_FLOAT): Likewise.
2289         (TEST_MATHVEC): Likewise.
2290         (__NO_MATH_INLINES): Likewise.
2291         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2292         and test-math-scalar.h.
2293         (FUNC): Remove macro.
2294         (FUNC_TEST): Likewise.
2295         (FLOAT): Likewise.
2296         (MATHCONST): Likewise.
2297         (PRINTF_EXPR): Likewise.
2298         (PRINTF_XEXPR): Likewise.
2299         (PRINTF_NEXPR): Likewise.
2300         (TEST_DOUBLE): Likewise.
2301         (TEST_MATHVEC): Likewise.
2302         (TEST_INLINE): Likewise.
2303         (__NO_MATH_INLINES): Likewise.
2304         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2305         test-math-scalar.h.
2306         (FUNC): Remove macro.
2307         (FUNC_TEST): Likewise.
2308         (FLOAT): Likewise.
2309         (MATHCONST): Likewise.
2310         (PRINTF_EXPR): Likewise.
2311         (PRINTF_XEXPR): Likewise.
2312         (PRINTF_NEXPR): Likewise.
2313         (TEST_FLOAT): Likewise.
2314         (TEST_MATHVEC): Likewise.
2315         (TEST_INLINE): Likewise.
2316         (__NO_MATH_INLINES): Likewise.
2317         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2318         and test-math-scalar.h.
2319         (FUNC): Remove macro.
2320         (FUNC_TEST): Likewise.
2321         (FLOAT): Likewise.
2322         (MATHCONST): Likewise.
2323         (PRINTF_EXPR): Likewise.
2324         (PRINTF_XEXPR): Likewise.
2325         (PRINTF_NEXPR): Likewise.
2326         (TEST_LDOUBLE): Likewise.
2327         (TEST_MATHVEC): Likewise.
2328         (TEST_INLINE): Likewise.
2329         (__NO_MATH_INLINES): Likewise.
2330         * math/test-ldouble.c: Include test-ldouble.h,
2331         test-math-no-inline.h and test-math-scalar.h.
2332         (FUNC): Remove macro.
2333         (FUNC_TEST): Likewise.
2334         (FLOAT): Likewise.
2335         (MATHCONST): Likewise.
2336         (PRINTF_EXPR): Likewise.
2337         (PRINTF_XEXPR): Likewise.
2338         (PRINTF_NEXPR): Likewise.
2339         (TEST_LDOUBLE): Likewise.
2340         (TEST_MATHVEC): Likewise.
2341         (__NO_MATH_INLINES): Likewise.
2342         * math/test-double-vlen2.h: Include test-double.h,
2343         test-math-no-inline.h and test-math-vector.h.
2344         (FLOAT): Remove macro.
2345         (FUNC): Likewise.
2346         (MATHCONST): Likewise.
2347         (PRINTF_EXPR): Likewise.
2348         (PRINTF_XEXPR): Likewise.
2349         (PRINTF_NEXPR): Likewise.
2350         (TEST_DOUBLE): Likewise.
2351         (TEST_MATHVEC): Likewise.
2352         (__NO_MATH_INLINES): Likewise.
2353         (CNCT): Likewise.
2354         (CONCAT): Likewise.
2355         (WRAPPER_NAME): Likewise.
2356         (WRAPPER_DECL): Likewise.
2357         (WRAPPER_DECL_ff): Likewise.
2358         (WRAPPER_DECL_fFF): Likewise.
2359         (VECTOR_WRAPPER): Likewise.
2360         (VECTOR_WRAPPER_ff): Likewise.
2361         (VECTOR_WRAPPER_fFF): Likewise.
2362         (VEC_LEN): New macro.
2363         * math/test-double-vlen4.h: Include test-double.h,
2364         test-math-no-inline.h and test-math-vector.h.
2365         (FLOAT): Remove macro.
2366         (FUNC): Likewise.
2367         (MATHCONST): Likewise.
2368         (PRINTF_EXPR): Likewise.
2369         (PRINTF_XEXPR): Likewise.
2370         (PRINTF_NEXPR): Likewise.
2371         (TEST_DOUBLE): Likewise.
2372         (TEST_MATHVEC): Likewise.
2373         (__NO_MATH_INLINES): Likewise.
2374         (CNCT): Likewise.
2375         (CONCAT): Likewise.
2376         (WRAPPER_NAME): Likewise.
2377         (WRAPPER_DECL): Likewise.
2378         (WRAPPER_DECL_ff): Likewise.
2379         (WRAPPER_DECL_fFF): Likewise.
2380         (VECTOR_WRAPPER): Likewise.
2381         (VECTOR_WRAPPER_ff): Likewise.
2382         (VECTOR_WRAPPER_fFF): Likewise.
2383         (VEC_LEN): New macro.
2384         * math/test-double-vlen8.h: Include test-double.h,
2385         test-math-no-inline.h and test-math-vector.h.
2386         (FLOAT): Remove macro.
2387         (FUNC): Likewise.
2388         (MATHCONST): Likewise.
2389         (PRINTF_EXPR): Likewise.
2390         (PRINTF_XEXPR): Likewise.
2391         (PRINTF_NEXPR): Likewise.
2392         (TEST_DOUBLE): Likewise.
2393         (TEST_MATHVEC): Likewise.
2394         (__NO_MATH_INLINES): Likewise.
2395         (CNCT): Likewise.
2396         (CONCAT): Likewise.
2397         (WRAPPER_NAME): Likewise.
2398         (WRAPPER_DECL): Likewise.
2399         (WRAPPER_DECL_ff): Likewise.
2400         (WRAPPER_DECL_fFF): Likewise.
2401         (VECTOR_WRAPPER): Likewise.
2402         (VECTOR_WRAPPER_ff): Likewise.
2403         (VECTOR_WRAPPER_fFF): Likewise.
2404         (VEC_LEN): New macro.
2405         * math/test-float-vlen4.h: Include test-float.h,
2406         test-math-no-inline.h and test-math-vector.h.
2407         (FLOAT): Remove macro.
2408         (FUNC): Likewise.
2409         (MATHCONST): Likewise.
2410         (PRINTF_EXPR): Likewise.
2411         (PRINTF_XEXPR): Likewise.
2412         (PRINTF_NEXPR): Likewise.
2413         (TEST_FLOAT): Likewise.
2414         (TEST_MATHVEC): Likewise.
2415         (__NO_MATH_INLINES): Likewise.
2416         (CNCT): Likewise.
2417         (CONCAT): Likewise.
2418         (WRAPPER_NAME): Likewise.
2419         (WRAPPER_DECL): Likewise.
2420         (WRAPPER_DECL_ff): Likewise.
2421         (WRAPPER_DECL_fFF): Likewise.
2422         (VECTOR_WRAPPER): Likewise.
2423         (VECTOR_WRAPPER_ff): Likewise.
2424         (VECTOR_WRAPPER_fFF): Likewise.
2425         (VEC_LEN): New macro.
2426         * math/test-float-vlen8.h: Include test-float.h,
2427         test-math-no-inline.h and test-math-vector.h.
2428         (FLOAT): Remove macro.
2429         (FUNC): Likewise.
2430         (MATHCONST): Likewise.
2431         (PRINTF_EXPR): Likewise.
2432         (PRINTF_XEXPR): Likewise.
2433         (PRINTF_NEXPR): Likewise.
2434         (TEST_FLOAT): Likewise.
2435         (TEST_MATHVEC): Likewise.
2436         (__NO_MATH_INLINES): Likewise.
2437         (CNCT): Likewise.
2438         (CONCAT): Likewise.
2439         (WRAPPER_NAME): Likewise.
2440         (WRAPPER_DECL): Likewise.
2441         (WRAPPER_DECL_ff): Likewise.
2442         (WRAPPER_DECL_fFF): Likewise.
2443         (VECTOR_WRAPPER): Likewise.
2444         (VECTOR_WRAPPER_ff): Likewise.
2445         (VECTOR_WRAPPER_fFF): Likewise.
2446         (VEC_LEN): New macro.
2447         * math/test-float-vlen16.h: Include test-float.h,
2448         test-math-no-inline.h and test-math-vector.h.
2449         (FLOAT): Remove macro.
2450         (FUNC): Likewise.
2451         (MATHCONST): Likewise.
2452         (PRINTF_EXPR): Likewise.
2453         (PRINTF_XEXPR): Likewise.
2454         (PRINTF_NEXPR): Likewise.
2455         (TEST_FLOAT): Likewise.
2456         (TEST_MATHVEC): Likewise.
2457         (__NO_MATH_INLINES): Likewise.
2458         (CNCT): Likewise.
2459         (CONCAT): Likewise.
2460         (WRAPPER_NAME): Likewise.
2461         (WRAPPER_DECL): Likewise.
2462         (WRAPPER_DECL_ff): Likewise.
2463         (WRAPPER_DECL_fFF): Likewise.
2464         (VECTOR_WRAPPER): Likewise.
2465         (VECTOR_WRAPPER_ff): Likewise.
2466         (VECTOR_WRAPPER_fFF): Likewise.
2467         (VEC_LEN): New macro.
2468         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2469         test-vec-loop.h.
2470         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2471         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2472         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2473         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2474         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2475         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2476         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2478 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2480         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2481         (__getlogin_r): ... this.
2483 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2485         [BZ #18594]
2486         * math/s_ccosh.c (__ccosh): Compare with least normal value
2487         instead of comparing class with FP_SUBNORMAL.
2488         * math/s_ccoshf.c (__ccoshf): Likewise.
2489         * math/s_ccoshl.c (__ccoshl): Likewise.
2490         * math/s_cexp.c (__cexp): Likewise.
2491         * math/s_cexpf.c (__cexpf): Likewise.
2492         * math/s_cexpl.c (__cexpl): Likewise.
2493         * math/s_csin.c (__csin): Likewise.
2494         * math/s_csinf.c (__csinf): Likewise.
2495         * math/s_csinh.c (__csinh): Likewise.
2496         * math/s_csinhf.c (__csinhf): Likewise.
2497         * math/s_csinhl.c (__csinhl): Likewise.
2498         * math/s_csinl.c (__csinl): Likewise.
2499         * math/s_ctan.c (__ctan): Likewise.
2500         * math/s_ctanf.c (__ctanf): Likewise.
2501         * math/s_ctanh.c (__ctanh): Likewise.
2502         * math/s_ctanhf.c (__ctanhf): Likewise.
2503         * math/s_ctanhl.c (__ctanhl): Likewise.
2504         * math/s_ctanl.c (__ctanl): Likewise.
2505         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2506         csin, csinh, ctan and ctanh.
2507         * math/auto-libm-test-out: Regenerated.
2508         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2509         * sysdeps/i386/fpu/libm-test-ulps: Update.
2510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2512 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2514         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2515         return value is wrong, print the expected value too.
2517 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2519         [BZ #18585]
2520         * elf/readlib.c (is_gdb_python_file): New.
2521         (process_file): Don't issue errors on filenames with -gdb.py
2522         suffix.
2524 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2526         * math/auto-libm-test-in: Add more tests of csin and csinh.
2527         * math/auto-libm-test-out: Regenerated.
2528         * math/libm-test.inc (csin_test_data): Remove tests moved to
2529         auto-libm-test-in.
2530         (csinh_test_data): Likewise.
2532         [BZ #18593]
2533         * math/s_csin.c (__csin): Negate before rather than after possibly
2534         overflowing multiplication.
2535         * math/s_csinf.c (__csinf): Likewise.
2536         * math/s_csinh.c (__csinh): Likewise.
2537         * math/s_csinhf.c (__csinhf): Likewise.
2538         * math/s_csinhl.c (__csinhl): Likewise.
2539         * math/s_csinl.c (__csinl): Likewise.
2540         * math/auto-libm-test-in: Add some tests of csin and csinh.
2541         * math/auto-libm-test-out: Regenerated.
2542         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2543         (csinh_test_data): Likewise.
2544         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2546         [BZ #18586]
2547         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2548         underflow exception for small results.
2550 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2552         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2553         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2554         variable and included header.
2555         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2556         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2557         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2558         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2559         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2560         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2561         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2562         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2563         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2564         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2565         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2566         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2567         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2568         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2569         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2570         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2572 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2574         [BZ #16526]
2575         [BZ #16538]
2576         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2577         (__sin): Force underflow exception for arguments with small
2578         absolute value.
2579         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2580         (__kernel_sinf): Force underflow exception for arguments with
2581         small absolute value.
2582         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2583         (__kernel_sincosl): Force underflow exception for arguments with
2584         small absolute value.
2585         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2586         (__kernel_sinl): Force underflow exception for arguments with
2587         small absolute value.
2588         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2589         (__kernel_sincosl): Force underflow exception for arguments with
2590         small absolute value.
2591         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2592         (__kernel_sinl): Force underflow exception for arguments with
2593         small absolute value.
2594         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2595         (__kernel_sinl): Force underflow exception for arguments with
2596         small absolute value.
2597         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2598         (__kernel_sinf): Force underflow exception for arguments with
2599         small absolute value.
2600         * math/auto-libm-test-in: Add more tests of sin and sincos.
2601         * math/auto-libm-test-out: Regenerated.
2603         [BZ #18245]
2604         [BZ #18583]
2605         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2606         (__kernel_standard_l): Use feholdexcept and fesetenv around
2607         conversion to double instead of special-casing overflow and
2608         underflow.
2609         * math/libm-test.inc (fmod_test_data): Add more tests.
2610         (remainder_test_data): Likewise.
2611         (sqrt_test_data): Likewise.
2613 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2615         [BZ #17403]
2616         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2617         atomic_read_barrier, atomic_write_barrier): Define.
2618         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2619         atomic_read_barrier, atomic_write_barrier): Define.
2621 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2623         * math/Makefile [$(PERL) != no]
2624         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2625         dependency on libm-test.stmp below the inclusion of Rules.
2627 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2629         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2630         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2631         and included header.
2632         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2633         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2634         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2635         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2636         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2637         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2638         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2639         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2640         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2641         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2642         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2643         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2644         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2645         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2646         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2647         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2648         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2649         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2650         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2652 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2654         [BZ #18371]
2655         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2656         intermediate but not final result might underflow.
2657         * math/s_csqrtf.c (__csqrtf): Likewise.
2658         * math/s_csqrtl.c (__csqrtl): Likewise.
2659         * math/auto-libm-test-in: Add more tests of csqrt.
2660         * math/auto-libm-test-out: Regenerated.
2661         * sysdeps/i386/fpu/libm-test-ulps: Update.
2663         [BZ #18219]
2664         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2665         threshold on absolute value of exponent for which scaling is used.
2666         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2667         * math/auto-libm-test-in: Add more tests of exp2.
2668         * math/auto-libm-test-out: Regenerated.
2670 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2672         [BZ #17977]
2673         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2674         when initializing interface list, based on the bug analysis
2675         and the patch proposed by Eric Newton.
2676         * resolv/tst-res_hconf_reorder.c: New test.
2677         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2678         tst-res_hconf_reorder.
2679         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2680         and $(shared-thread-library).
2681         (tst-res_hconf_reorder-ENV): New variable.
2683         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2684         in comment.
2686 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2688         [BZ #16353]
2689         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2690         (__expm1): Force underflow exception for arguments with small
2691         absolute value.
2692         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2693         (__expm1f): Force underflow exception for arguments with small
2694         absolute value.
2695         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2696         (__expm1): Force underflow exception for arguments with small
2697         absolute value.
2698         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2699         (__expm1f): Force underflow exception for arguments with small
2700         absolute value.
2701         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2702         Check for small arguments before calling __expm1.
2703         * math/auto-libm-test-in: Do not mark underflow exceptions as
2704         possibly missing for bug 16353.
2705         * math/auto-libm-test-out: Regenerated.
2707 2015-06-22  Andreas Schwab  <schwab@suse.de>
2709         [BZ #18513]
2710         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2711         PTR queries.
2713 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2715         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2717         * string/strcoll_l.c: Remove unused struct element idxnow.
2719 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2721         [BZ #18569]
2722         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2723         underflow and return argument in case of subnormal argument.
2724         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2725         Likewise.
2726         * math/auto-libm-test-in: Add more tests of expm1.
2727         * math/auto-libm-test-out: Regenerated.
2729         [BZ #16361]
2730         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2731         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2732         tiny results.
2733         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2734         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2735         tiny results.
2736         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2737         mark underflow exceptions as possibly missing for bug 16361.
2738         * math/auto-libm-test-out: Regenerated.
2740 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2742         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2743         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2744         Remove variable.
2745         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2746         (test-xfail-XOPEN2K8/utmpx.h/conform).
2748         * conform/conformtest.pl ($xerrors): New variable.
2749         (note_error): New function.
2750         (compiletest): New argument $xfail.  Use not_error.
2751         (runtest): Likewise.
2752         (top level): Handle xfail- lines.  Update calls to compiletest and
2753         runtest.  Handle xfail- and optional- in headers listed with
2754         allow-header.
2755         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2756         (O_EXEC): Likewise.
2757         (O_SEARCH): Likewise.
2758         * conform/data/stropts.h-data (ioctl): Likewise.
2759         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2760         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2761         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2762         (msghdr.msg_controllen): Likewise.
2763         (cmsghdr.cmsg_len): Likewise.
2764         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2765         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2766         variable.
2767         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2768         (test-xfail-XPG4/stropts.h/conform): Likewise.
2769         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2770         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2771         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2772         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2773         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2774         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2775         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2776         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2777         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2778         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2779         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2780         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2781         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2782         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2783         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2784         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2785         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2786         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2787         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2789 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2791         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2792         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2793         definitions for proper unfolding of __MATHDECL_VEC.
2795 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2797         * benchtests/bench-strcoll.c:
2798         Include string.h.
2799         (main): Remove unused variable res.
2801 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2803         * timezone/Makefile (%/UTC %/Universal):
2804         Generate test-result files for UTC and Universal.
2806 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2808         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2810 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2812         [BZ #16350]
2813         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2814         for arguments with small absolute value.
2815         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2816         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2817         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2818         (__asinh): Force underflow exception for arguments with small
2819         absolute value.
2820         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2821         (__asinhf): Force underflow exception for arguments with small
2822         absolute value.
2823         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2824         (__asinhl): Force underflow exception for arguments with small
2825         absolute value.
2826         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2827         (__asinhl): Force underflow exception for arguments with small
2828         absolute value.
2829         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2830         (__asinhl): Force underflow exception for arguments with small
2831         absolute value.
2832         * math/auto-libm-test-in: Do not mark underflow exceptions as
2833         possibly missing for bug 16350.
2834         * math/auto-libm-test-out: Regenerated.
2836         * include/bits/ipc.h: Remove file.
2837         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2838         variable.
2839         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2840         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2841         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2842         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2843         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2844         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2845         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2846         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2847         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2849         * math/auto-libm-test-in: Remove spurious underflow allowance for
2850         tests of cexp.
2851         * math/auto-libm-test-out: Regenerated.
2853         [BZ #18558]
2854         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2855         unconditional definition.
2856         (MCAST_BLOCK_SOURCE): Likewise.
2857         (MCAST_UNBLOCK_SOURCE): Likewise.
2858         (MCAST_LEAVE_GROUP): Likewise.
2859         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2860         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2861         (MCAST_MSFILTER): Likewise.
2862         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2863         Remove variable.
2864         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2865         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2866         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2867         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2868         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2870 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2872         * NEWS: Mention addition of x86_64 vector sincosf.
2873         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2874         * math/test-float-vlen4.h: Likewise.
2875         * math/test-float-vlen8.h: Likewise.
2876         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2877         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2878         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2879         * sysdeps/x86_64/fpu/Versions: New versions added.
2880         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2881         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2882         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2883         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2884         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2885         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2886         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2887         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2888         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2889         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2890         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2891         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2892         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2893         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2894         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2895         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2896         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2897         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2898         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2899         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2900         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2901         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2902         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2903         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2905         * NEWS: Mention addition of x86_64 vector sincos.
2906         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2907         * math/math.h (__MATHDECL_VEC): New macro.
2908         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2909         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2910         declaration under condition.
2911         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2912         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2913         TEST_VEC_LOOP change.
2914         * math/test-double-vlen4.h: Likewise.
2915         * math/test-double-vlen8.h: Likewise.
2916         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2917         * math/test-float-vlen4.h: Likewise.
2918         * math/test-float-vlen8.h: Likewise.
2919         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2920         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2921         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2922         * sysdeps/x86_64/fpu/Versions: New versions added.
2923         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2924         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2925         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2926         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2927         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2928         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2929         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2930         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2931         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2932         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2933         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2934         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2935         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2936         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2937         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2938         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2939         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2940         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2941         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2942         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2943         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2944         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2945         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2946         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2948         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2949         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2950         redirections for powf.
2951         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2952         * sysdeps/x86_64/fpu/Versions: New versions added.
2953         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2954         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2955         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2956         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2957         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2958         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2959         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2960         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2961         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2962         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2963         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2964         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2965         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2966         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2967         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2968         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2969         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2970         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2971         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2972         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2973         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2974         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2975         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2976         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2977         * math/test-float-vlen16.h: Fixed 2 argument macro.
2978         * math/test-float-vlen4.h: Likewise.
2979         * math/test-float-vlen8.h: Likewise.
2980         * NEWS: Mention addition of x86_64 vector powf.
2982 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2984         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2985         and redefine.
2986         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2987         and redefine.
2988         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2989         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2990         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2992         [BZ #18553]
2993         * resource/getpriority.c (getpriority): Rename to __getpriority
2994         and define as weak alias of __getpriority.
2995         * resource/setpriority.c (setpriority): Rename to __setpriority
2996         and define as weak alias of __setpriority.
2997         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2998         __getpriority and define as weak alias of __getpriority.
2999         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3000         __setpriority and define as weak alias of __setpriority.
3001         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3002         strong name.
3003         (setpriority): Use __setpriority as strong name.
3004         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3005         __getpriority and define as weak alias of __getpriority.
3006         * include/sys/resource.h (__getpriority): Declare.  Use
3007         libc_hidden_proto.
3008         (__setpriority): Likewise.
3009         (getpriority): Don't use libc_hidden_proto.
3010         (setpriority): Likewise.
3011         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3012         getpriority.  Call __setpriority instead of setpriority.
3013         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3014         Remove variable.
3016         [BZ #18547]
3017         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3018         as weak alias of __getttynam.  Use prototype function definition.
3019         Call __setttyent, __getttyent and __endttyent instead of
3020         setttyent, getttyent and endttyent.
3021         (getttyent): Rename to __getttyent and define as weak alias of
3022         __getttyent.  Call __setttyent instead of setttyent.  Call
3023         __fgets_unlocked instead of fgets_unlocked.
3024         (setttyent): Rename to __setttyent and define as weak alias of
3025         __setttyent.
3026         (endttyent): Rename to __endttyent and define as weak alias of
3027         __endttyent.
3028         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3029         (__setttyent): Likewise.
3030         (__endttyent): Likewise.
3031         (getttyent): Don't use libc_hidden_proto.
3032         (setttyent): Likewise.
3033         (endttyent): Likewise.
3034         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3035         __endttyent instead of setttyent, getttyent and endttyent.
3036         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3037         Remove variable.
3039         [BZ #18546]
3040         * socket/recv.c (__recv): Use libc_hidden_def.
3041         * socket/socket.c (__socket): Likewise.
3042         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3043         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3044         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3045         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3046         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3047         libc_hidden_def.
3048         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3049         libc_hidden_weak.
3050         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3051         Use libc_hidden_proto.
3052         (__recv): Likewise.
3053         * socket/Versions (libc): Export __recv and __socket at version
3054         GLIBC_PRIVATE.
3055         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3056         instead of recv.
3057         (init_mq_netlink): Call __socket instead of socket.
3058         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3059         Remove variable.
3061         [BZ #18545]
3062         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3063         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3064         hidden_weak.
3065         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3066         define as alias of __mq_timedsend.  Use hidden_weak.
3067         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3068         __mq_timedsend as strong name.
3069         (mq_timedreceive): Use __mq_timedreceive as strong name.
3070         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3071         (__mq_timedreceive): Likewise.
3072         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3073         __mq_timedreceive instead of mq_timedreceive.
3074         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3075         instead of mq_timedsend.
3076         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3077         Remove variable.
3079         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3080         hidden_def and hidden_weak instead of libc_hidden_def and
3081         libc_hidden_weak.
3082         (top level): Refer to hidden_def in comment.
3083         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3084         macro.  Use it instead of libc_hidden_def.
3085         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3086         specify __GI_* name explicitly.
3087         (mq_timedreceive): Likewise.
3088         (mq_setattr): Likewise.
3090         [BZ #18544]
3091         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3092         __pthread_barrier_init and define as weak alias of
3093         __pthread_barrier_init.
3094         * sysdeps/sparc/nptl/pthread_barrier_init.c
3095         (pthread_barrier_init): Likewise.
3096         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3097         __pthread_barrier_wait and define as weak alias of
3098         __pthread_barrier_wait.
3099         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3100         (pthread_barrier_wait): Likewise.
3101         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3102         (pthread_barrier_wait): Likewise.
3103         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3104         (pthread_barrier_wait): Likewise.
3105         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3106         (pthread_barrier_wait): Likewise.
3107         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3108         __pthread_barrier_wait at version GLIBC_PRIVATE.
3109         * include/pthread.h (__pthread_barrier_init): Declare.
3110         (__pthread_barrier_wait): Likewise.
3111         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3112         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3113         (helper_thread): Likewise.
3114         (init_mq_netlink): Call __pthread_barrier_init instead of
3115         pthread_barrier_init.
3117         [BZ #18542]
3118         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3119         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3120         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3121         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3122         vswscanf.
3123         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3124         Remove variable.
3126         [BZ #18540]
3127         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3128         strong alias of _IO_fflush.  Use libc_hidden_def.
3129         * libio/iofflush_u.c (fflush_unlocked): Rename to
3130         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3131         Use libc_hidden_weak.
3132         * include/stdio.h (__fflush_unlocked): Declare.  Use
3133         libc_hidden_proto.
3134         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3135         fflush_unlocked.
3136         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3137         Remove variable.
3139         [BZ #18539]
3140         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3141         define as weak alias of __addseverity.
3142         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3143         Remove variable.
3144         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3145         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3146         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3148         [BZ #18536]
3149         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3150         (__tfind): Likewise.
3151         (__tdelete): Likewise.
3152         (__twalk): Likewise.
3153         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3154         __twalk to GLIBC_PRIVATE.
3155         * include/search.h (__tsearch): Use libc_hidden_proto.
3156         (__tfind): Likewise.
3157         (__tdelete): Likewise.
3158         (__twalk): Likewise.
3159         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3160         Call __tdelete instead of tdelete.
3161         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3162         tfind.  Call __tsearch instead of tsearch.
3163         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3164         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3165         Remove variable.
3166         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3168         [BZ #18534]
3169         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3170         (dprintf): Define as a weak alias of __dprintf, not a strong
3171         alias.
3172         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3173         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3174         dprintf.
3175         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3176         Remove variable.
3177         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3178         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3180         [BZ #18533]
3181         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3182         not a strong alias.
3183         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3184         Remove variable.
3186         [BZ #18532]
3187         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3188         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3189         (in6addr_loopback): Rename to __in6addr_loopback and define as
3190         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3191         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3192         libc_hidden_proto.
3193         (__in6addr_any): Likewise.
3194         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3195         in6addr_any.
3196         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3197         variable.
3198         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3200 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3202         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3203         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3204         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3205         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3206         redirections for pow.
3207         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3208         * sysdeps/x86_64/fpu/Versions: New versions added.
3209         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3210         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3211         build of SSE, AVX2 and AVX512 IFUNC versions.
3212         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3213         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3214         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3215         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3216         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3217         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3218         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3219         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3220         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3221         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3222         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3223         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3224         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3225         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3226         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3227         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3228         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3229         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3230         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3231         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3232         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3233         * NEWS: Mention addition of x86_64 vector pow.
3235         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3236         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3237         redirections for expf.
3238         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3239         * sysdeps/x86_64/fpu/Versions: New versions added.
3240         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3241         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3242         build of SSE, AVX2 and AVX512 IFUNC versions.
3243         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3244         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3245         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3246         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3247         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3248         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3249         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3250         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3251         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3252         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3253         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3254         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3255         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3256         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3257         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3258         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3259         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3260         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3261         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3262         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3263         * NEWS: Mention addition of x86_64 vector expf.
3265         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3266         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3267         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3268         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3269         redirections for exp.
3270         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3271         * sysdeps/x86_64/fpu/Versions: New versions added.
3272         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3273         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3274         build of SSE, AVX2 and AVX512 IFUNC versions.
3275         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3276         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3277         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3278         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3279         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3280         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3281         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3282         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3283         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3284         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3285         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3286         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3287         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3288         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3289         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3290         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3291         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3292         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3293         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3294         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3295         * NEWS: Mention addition of x86_64 vector exp.
3297         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3298         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3299         redirections for logf.
3300         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3301         * sysdeps/x86_64/fpu/Versions: New versions added.
3302         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3303         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3304         build of SSE, AVX2 and AVX512 IFUNC versions.
3305         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3306         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3307         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3308         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3309         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3310         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3311         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3312         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3313         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3314         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3315         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3316         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3317         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3318         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3319         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3320         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3321         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3322         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3323         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3324         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3325         * NEWS: Mention addition of x86_64 vector logf.
3327         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3328         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3329         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3330         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3331         redirections for log.
3332         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3333         * sysdeps/x86_64/fpu/Versions: New versions added.
3334         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3335         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3336         build of SSE, AVX2 and AVX512 IFUNC versions.
3337         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3338         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3339         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3340         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3341         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3342         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3343         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3344         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3345         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3346         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3347         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3348         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3349         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3350         test.
3351         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3352         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3353         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3354         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3355         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3356         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3357         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3358         * NEWS: Mention addition of x86_64 vector log.
3360 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3362         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3363         cfi_adjust_cfa_offset argument.
3364         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3365         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3367         [BZ #18034]
3368         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3369         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3370         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3371         ordering using ldar.
3372         (_dl_tlsdesc_dynamic): Likewise.
3373         (_dl_tlsdesc_return_lazy): Likewise.
3374         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3375         relaxed atomics instead of volatile and synchronize with release store.
3376         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3377         volatile.
3378         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3380 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3382         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3383         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3384         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3385         * sysdeps/x86_64/fpu/Versions: New versions added.
3386         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3387         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3388         build of SSE, AVX2 and AVX512 IFUNC versions.
3389         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3390         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3391         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3392         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3393         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3394         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3395         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3396         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3397         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3398         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3399         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3400         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3401         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3402         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3403         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3404         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3405         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3406         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3407         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3408         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3409         * NEWS: Mention addition of x86_64 vector sinf.
3411 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3413         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3414         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3415         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3416         Remove variable.
3417         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3418         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3420 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3422         [BZ #18530]
3423         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3424         strong alias of _IO_fputs.  Use libc_hidden_def.
3425         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3426         and define as weak alias of __fputs_unlocked.  Use
3427         libc_hidden_weak.
3428         * include/stdio.h (__fputs_unlocked): Declare.  Use
3429         libc_hidden_proto.
3430         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3431         fputs_unlocked.
3433         [BZ #18529]
3434         * resolv/netdb.h [__USE_POSIX]: Change condition to
3435         [__USE_XOPEN2K].
3436         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3437         not expect.
3438         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3439         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3440         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3441         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3442         [XPG4 || UNIX98] (AI_ALL): Likewise.
3443         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3444         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3445         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3446         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3447         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3448         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3449         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3450         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3451         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3452         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3453         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3454         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3455         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3456         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3457         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3458         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3459         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3460         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3461         [XPG4 || UNIX98] (gai_strerror): Likewise.
3462         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3463         [XPG4 || UNIX98] (getnameinfo): Likewise.
3465         [BZ #18528]
3466         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3467         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3468         __USE_XOPEN2K8].
3469         (getgrent): Likewise.
3470         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3471         expect.
3472         [XPG3 || POSIX2008] (endgrent): Likewise.
3473         [XPG3] (setgrent): Likewise.
3474         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3475         variable.
3476         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3478         [BZ #18527]
3479         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3480         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3481         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3482         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3483         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3484         * include/unistd.h (__getlogin_r): Declare.  Use
3485         libc_hidden_proto.
3486         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3487         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3488         variable.
3489         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3490         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3491         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3493 2015-06-12  Martin Sebor  <msebor@redhat.com>
3495         [BZ #18512]
3496         * Makerules (check-install-supported): New target.
3497         (install): Add check-install-supported as a dependency.
3498         * manual/install.texi (Installing the C Library): Document
3499         that overriding prefix and exec_prefix is not supported.
3500         Mention DESTDIR.
3501         * INSTALL: Regenerate from the above.
3503 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3505         [BZ #18519]
3506         * posix/Versions (libc): Export __libc_pread at version
3507         GLIBC_PRIVATE.
3508         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3509         instead of pread.
3510         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3511         variable.
3513         [BZ #18522]
3514         * misc/efgcvt_r.c
3515         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3516         (cvt_symbol): Use weak_alias instead of strong_alias.
3517         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3518         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3519         Remove variable.
3520         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3521         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3523         [BZ #18520]
3524         * inet/herrno.c (h_errno): Rename to __h_errno.
3525         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3526         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3527         to __h_errno instead of h_errno.
3528         * nptl/herrno.c (h_errno): Rename to __h_errno.
3529         (__h_errno_location): Refer to __h_errno not h_errno.
3530         * resolv/Versions (h_errno): Rename to __h_errno.
3531         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3532         Remove variable.
3533         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3535 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3537         * configure.ac: More strict check for AVX512 assembler support.
3538         * configure: Regenerated.
3540         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3541         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3542         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3543         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3544         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3545         * sysdeps/x86_64/fpu/Versions: New versions added.
3546         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3547         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3548         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3549         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3550         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3551         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3552         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3553         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3554         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3555         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3556         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3557         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3558         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3559         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3560         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3561         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3562         test.
3563         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3564         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3565         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3566         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3567         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3568         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3569         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3570         * NEWS: Mention addition of x86_64 vector sin.
3572 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3574         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3575         comment.
3577 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3579         [BZ #18479]
3580         * nptl/pt-interp.c: New file.
3581         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3582         Add pt-interp.
3583         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3584         $(common-objpfx)runtime-linker.h.
3586 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3588         * Makeconfig (+interp): Remove unused variable.
3589         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3590         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3591         $(elf-objpfx)runtime-linker.h.
3592         ($(elf-objpfx)runtime-linker.h): Rename to
3593         $(common-objpfx)runtime-linker.h and move ...
3594         * Makerules [$(build-shared) = yes]: ... here.
3595         * elf/interp.c: Include <runtime-linker.h> instead of
3596         <elf/runtime-linker.h>.
3598 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3600         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3601         (__gettimeofday_syscall): Remove vsyscall fallback.
3602         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3603         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3604         Add syscall fallback function.
3605         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3606         if vDSO is not present.
3607         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3608         fallback function.
3609         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3610         present.
3611         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3612         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3614 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3616         [BZ #18497]
3617         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3618         of wcscmp.
3619         (wcscmp): Define as weak alias of WCSCMP.
3620         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3621         wcscoll.
3622         (USE_HIDDEN_DEF): Define.
3623         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3624         __wcscoll.  Don't use libc_hidden_weak.
3625         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3626         wcscmp.
3627         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3628         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3629         __GI_wcscmp.
3630         (weak_alias): Undefine and redefine.
3631         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3632         __wcscmp and define as weak alias of __wcscmp.
3633         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3634         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3635         (__wcscoll): Likewise.
3636         (wcscmp): Don't use libc_hidden_proto.
3637         (wcscoll): Likewise.
3638         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3639         wcscoll.
3640         * posix/regexec.c (check_node_accept_bytes): Likewise.
3641         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3642         variable.
3643         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3644         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3646         [BZ #18507]
3647         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3648         __fstatvfs and define as weak alias of __fstatvfs.  Use
3649         libc_hidden_weak.
3650         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3651         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3652         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3653         Define as alias of __fstatvfs, not fstatvfs.
3654         (fstatvfs64): Likewise.
3655         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3656         Define as alias of __statvfs, not statvfs.
3657         (statvfs64): Likewise.
3658         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3659         Remove variable.
3661 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3664         (HAVE_GETCPU_VSYSCALL): Define.
3665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3666         (HAVE_GETCPU_VSYSCALL): Likewise.
3667         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3668         * sysdeps/unix/sysv/linux/sched_getcpu.c
3669         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3670         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3671         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3672         prototype.
3673         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3674         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3675         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3676         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3677         Define.
3678         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3679         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3680         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3681         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3683 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3685         * sysdeps/x86_64/fpu/Makefile: New file.
3686         * sysdeps/x86_64/fpu/Versions: New file.
3687         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3688         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3689         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3690         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3691         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3692         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3693         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3694         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3695         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3696         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3697         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3698         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3699         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3700         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3701         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3702         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3703         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3704         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3705         * sysdeps/x86_64/configure: Regenerated.
3706         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3707         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3708         * manual/install.texi (Configuring and compiling): Document
3709         --disable-mathvec.
3710         * INSTALL: Regenerated.
3711         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3713         * math/Makefile: Added rules for vector tests.
3714         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3715         declaration under condition.
3716         * math/test-double-vlen2.h: New file.
3717         * math/test-double-vlen4.h: New file.
3718         * math/test-double-vlen8.h: New file.
3719         * math/test-vec-loop.h: Added initialization macro.
3720         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3721         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3722         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3723         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3724         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3725         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3726         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3727         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3728         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3729         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3730         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3732         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3733         * sysdeps/x86_64/fpu/Versions: New versions added.
3734         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3735         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3736         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3737         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3738         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3739         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3740         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3741         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3742         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3743         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3744         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3745         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3746         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3747         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3748         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3749         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3750         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3751         * NEWS: Mention addition of x86_64 vector cosf.
3753         * math/Makefile: Added CFLAGS for new tests.
3754         * math/test-float-vlen16.h: New file.
3755         * math/test-float-vlen4.h: New file.
3756         * math/test-float-vlen8.h: New file.
3757         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3758         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3759         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3760         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3761         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3762         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3763         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3764         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3765         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3766         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3767         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3769 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3771         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3772         * locale/programs/ld-ctype.c: Likewise.
3774 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3776         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3777         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3778         bit_ZMM16_31_state): New macro.
3779         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3780         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3782 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3784         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3786 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3788         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3790 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3792         [BZ #18498]
3793         * libio/memstream.c (open_memstream): Rename to __open_memstream
3794         and define as weak alias of __open_memstream.
3795         * include/stdio.h (__open_memstream): Declare.  Use
3796         libc_hidden_proto.
3797         (open_memstream): Don't use libc_hidden_proto.
3798         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3799         open_memstream.
3800         * posix/getopt.c (_getopt_internal_r): Likewise.
3801         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3802         variable.
3803         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3804         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3805         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3807         [BZ #18496]
3808         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3809         instead of wcrtomb.
3811         [BZ #18483]
3812         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3813         [__USE_XOPEN2K8].  Remove redundant #endif.
3814         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3815         Remove redundant #if.
3816         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3817         Remove variable.
3818         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3819         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3821         [BZ #18495]
3822         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3823         (__iswlower): Likewise.
3824         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3825         (__iswlower): Likewise.
3826         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3827         instead of towlower.
3828         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3829         instead of iswlower.  Call __towupper instead of towupper.
3830         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3831         instead of iswalnum.
3833 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3835         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3836         errors to stderr.
3838 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3840         [BZ #15661]
3841         [BZ #17322]
3842         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3843         Check for overflow properly.  Check for O_APPEND.  Ignore large
3844         file system block sizes.  Add comments about problems.
3845         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3846         * manual/filesys.texi (Storage Allocation): New node.
3848 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3850         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3851         cancellable syscalls.
3852         (SYS_ify): Add guard to no redefine it.
3853         (INLINE_SYSCALL): Likewise.
3854         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3855         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3856         SYSCALL_CANCEL instead.
3857         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3858         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3859         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3860         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3861         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3862         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3863         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3864         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3865         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3866         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3867         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3868         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3869         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3870         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3871         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3872         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3873         Likewise.
3874         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3875         (__libc_pread64): Likewise.
3876         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3877         (__libc_preadv): Likewise.
3878         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3879         (__libc_readv64): Likewise.
3880         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3881         (__libc_pwrite): Likewise.
3882         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3883         (__libc_pwrite64): Likewise.
3884         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3885         (__libc_pwritev): Likewise.
3886         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3887         (__libc_pwritev64): Likewise.
3888         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3889         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3890         (sync_file_range): Likewise.
3891         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3892         Likewise.
3893         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3894         Likewise.
3895         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3896         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3897         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3898         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3899         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3900         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3901         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3902         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3904         Likewise.
3905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3906         (__libc_read64): Likewise.
3907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3908         Likewise.
3909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3910         Likewise.
3911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3912         Likewise.
3913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3914         Likewise.
3915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3916         (__libc_pread64): Likewise.
3917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3918         Likewise.
3919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3920         (__libc_pwrite64): Likewise.
3921         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3922         (sync_file_range): Likewise.
3923         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3924         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3925         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3926         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3927         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3928         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3929         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3930         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3931         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3932         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3933         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3934         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3935         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3936         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3937         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3938         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3939         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3940         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3941         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3942         Likewise.
3943         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3944         Likewise.
3945         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3946         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3947         Likewise.
3948         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3949         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3950         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3951         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3952         Likewise.
3953         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3954         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3955         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3956         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3957         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3959 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3961         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3962         Include dl-vdso.
3963         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3964         Use VDSO routines for gettimeofday, clock_gettime if
3965         available.
3966         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3967         Declare VDSO symbols.
3968         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3969         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3970         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3971         * sysdeps/unix/sysv/linux/arm/Versions: Add
3972         __vdso_clock_gettime.
3974 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3976         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3977         be an inline implementation regardless of library is built within.
3978         (open_not_cancel_2): Likewise.
3979         (__read_nocancel): Likewise.
3980         (__write_nocancel): Likewise.
3981         (openat_not_cancel): Likewise.
3982         (openat_not_cancel_3): Likewise.
3983         (openat64_not_cancel): Likewise.
3984         (openat64_not_cancel_3): Likewise.
3985         (__close_nocancel): Likewise.
3986         (pause_not_cancel): Likewise.
3987         (nanosleep_not_cancel): Likewise.
3988         (sigsuspend_not_cancel): Likewise.
3990 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3992         [BZ #14958]
3993         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3994         wake-up.
3995         (__pthread_rwlock_rdlock_slow): Likewise.
3996         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3997         Likewise.
3998         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3999         Likewise.
4000         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4001         * nptl/tst-rwlock16.c: New file.
4002         * nptl/Makefile (tests): Add new test.
4004 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4006         [BZ #18324]
4007         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4008         missing wake-up of readers.
4009         * nptl/tst-rwlock15.c: New file.
4010         * nptl/Makefile (tests): Add new test.
4012 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4014         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4015         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4016         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4017         and __nacl_supply_interface_rtld.
4018         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4019         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4020         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4021         Add __nacl_supply_interface_rtld.
4022         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4024 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4026         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4027         isfinite.
4028         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4029         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4031 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4033         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4034         __signbit* with standard C99 macros.
4035         * math/e_exp10l.c: Likewise.
4036         * math/e_exp2l.c: Likewise.
4037         * math/e_scalb.c: Likewise.
4038         * math/e_scalbf.c: Likewise.
4039         * math/e_scalbl.c: Likewise.
4040         * math/s_ldexp.c: Likewise.
4041         * math/s_ldexpf.c: Likewise.
4042         * math/s_ldexpl.c: Likewise.
4043         * math/w_atan2.c: Likewise.
4044         * math/w_atan2f.c: Likewise.
4045         * math/w_atan2l.c: Likewise.
4046         * math/w_cosh.c: Likewise.
4047         * math/w_coshf.c: Likewise.
4048         * math/w_coshl.c: Likewise.
4049         * math/w_exp10.c: Likewise.
4050         * math/w_exp10f.c: Likewise.
4051         * math/w_exp10l.c: Likewise.
4052         * math/w_exp2.c: Likewise.
4053         * math/w_exp2f.c: Likewise.
4054         * math/w_exp2l.c: Likewise.
4055         * math/w_fmod.c: Likewise.
4056         * math/w_fmodf.c: Likewise.
4057         * math/w_fmodl.c: Likewise.
4058         * math/w_hypot.c: Likewise.
4059         * math/w_hypotf.c: Likewise.
4060         * math/w_hypotl.c: Likewise.
4061         * math/w_jnl.c: Likewise.
4062         * math/w_lgamma.c: Likewise.
4063         * math/w_lgamma_r.c: Likewise.
4064         * math/w_lgammaf.c: Likewise.
4065         * math/w_lgammaf_r.c: Likewise.
4066         * math/w_lgammal.c: Likewise.
4067         * math/w_lgammal_r.c: Likewise.
4068         * math/w_pow.c: Likewise.
4069         * math/w_powf.c: Likewise.
4070         * math/w_powl.c: Likewise.
4071         * math/w_remainder.c: Likewise.
4072         * math/w_remainderf.c: Likewise.
4073         * math/w_remainderl.c: Likewise.
4074         * math/w_scalb.c: Likewise.
4075         * math/w_scalbf.c: Likewise.
4076         * math/w_scalbl.c: Likewise.
4077         * math/w_scalbln.c: Likewise.
4078         * math/w_scalblnf.c: Likewise.
4079         * math/w_scalblnl.c: Likewise.
4080         * math/w_sinh.c: Likewise.
4081         * math/w_sinhf.c: Likewise.
4082         * math/w_sinhl.c: Likewise.
4083         * math/w_tgamma.c: Likewise.
4084         * math/w_tgammaf.c: Likewise.
4085         * math/w_tgammal.c: Likewise.
4086         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4087         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4088         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4089         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4090         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4091         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4092         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4093         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4094         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4095         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4096         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4097         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4098         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4099         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4100         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4101         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4102         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4103         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4104         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4105         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4106         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4107         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4108         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4109         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4110         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4111         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4112         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4113         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4114         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4115         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4116         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4117         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4118         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4119         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4120         * stdio-common/printf_fp.c: Likewise.
4121         * stdio-common/printf_fphex.c: Likewise.
4122         * stdio-common/printf_size.c: Likewise.
4124 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4126         [BZ #18470]
4127         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4128         strnlen.
4129         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4130         Remove variable.
4131         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4132         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4133         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4134         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4135         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4136         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4137         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4138         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4139         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4140         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4142         [BZ #18468]
4143         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4144         weak alias of __wmemchr.  Use libc_hidden_weak.
4145         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4146         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4147         instead of wmemchr.
4149 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4151         [BZ #18383]
4152         * elf/tst-tlsalign-extern.c: New file.
4153         * elf/tst-tlsalign-extern-static.c: New file.
4154         * elf/tst-tlsalign-vars.c: New file.
4155         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4156         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4157         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4158         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4159         (test-xfail-tst-tlsalign-extern-static): New variable.
4161 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4163         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4164         Use variable name _sc_err instead of err.
4165         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4166         instead of ret.
4167         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4168         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4169         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4170         (INLINE_SYSCALL): Likewise.
4172         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4173         * include/string.h (__strnlen): Use libc_hidden_proto.
4174         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4175         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4176         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4177         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4178         (libc_hidden_def): Undefine and redefine.
4179         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4180         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4181         __GI_strnlen.
4182         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4183         libc_hidden_def.
4184         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4186         [BZ #18469]
4187         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4188         weak alias of __towlower.  Use libc_hidden_weak.
4189         (towupper): Rename to __towupper and define as weak alias of
4190         __towupper.  Use libc_hidden_weak.
4191         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4192         (__towupper): Likewise.
4193         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4194         __towlower instead of towlower.
4196 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4198         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4199         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4201 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4203         * sysdeps/aarch64/libm-test-ulps: Update.
4205 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4207         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4208         Define.
4209         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4210         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4211         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4212         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4213         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4214         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4215         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4217 2015-06-01  Martin Sebor  <msebor@redhat.com>
4219         [BZ #18116]
4220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4221         (__setcontext): Use extended four-operand version of mtsf whenever
4222         possible.
4223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4224         (__novec_swapcontext): Likewise.
4226 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4228         * benchtests/scripts/compare_bench.py: New file.
4229         * benchtests/scripts/import_bench.py (mean): New function.
4230         (split_list): Likewise.
4231         (do_for_all_timings): Likewise.
4232         (compress_timings): Likewise.
4234         * benchtests/scripts/import_bench.py: New file.
4235         * benchtests/scripts/validate_benchout.py: Import import_bench
4236         instead of jsonschema.
4237         (validate_bench): Remove function.
4238         (main): Use import_bench.
4240 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4242         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4243         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4245 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4249 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4251         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4252         set THREAD_SELF->tid to a magic value and futex-wake it.
4253         Pass its address to the thread_exit system call.
4254         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4255         bit is clear.
4256         * sysdeps/nacl/lowlevellock.h: New file.
4257         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4259         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4260         Add TIMEOUT to current time, don't subtract it.
4262 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4264         [BZ #2981]
4265         [BZ #18422]
4266         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4267         ($(objpfx)tst-audit2.out): Also depend on
4268         $(objpfx)tst-auditmod9b.so.
4269         * elf/tst-audit2.c: Include <dlfcn.h>.
4270         (calloc_called): New.
4271         (calloc): Allow to be called more than once.
4272         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4274 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4276         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4277         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4279 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4281         * stdlib/monetary.h: Fix comment.
4283 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4285         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4286         Avoid using variables in #defines that might cause shadowing.
4287         (INTERNAL_VSYSCALL_CALL): Likewise.
4289 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4291         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4293         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4294         * nptl/lll_timedlock_wait.c: ... to this new file.
4295         * nptl/Makefile (libpthread-routines): Add it.
4296         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4297         * nptl/lll_timedwait_tid.c: ... to this new file.
4298         * nptl/Makefile (libpthread-routines): Add it.
4299         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4300         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4301         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4302         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4303         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4304         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4305         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4306         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4307         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4308         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4310 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4312         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4313         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4314         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4315         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4316         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4317         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4318         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4319         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4320         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4321         * sysdeps/unix/sysv/linux/tile/sysdep.h
4322         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4323         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4324         using vDSO syscall macro.
4326 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4328         [BZ #17293]
4329         * uk_UA: Fix sorting order for Ukrainian locale
4331 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4333         * stdlib/monetary.h: Fix comment.
4335 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4337         [BZ #18234]
4338         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4339         st_mtim and st_ctim members.
4340         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4341         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4342         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4343         (struct stat64): Likewise.
4344         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4345         (struct stat64): Likewise.
4346         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4347         (struct stat64): Likewise.
4349 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4351         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4352         Define and include sysdep-vdso.h.
4353         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4354         Likewise.
4355         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4356         Likewise.
4357         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4358         Define with VDSO_SYMBOL and use PTR_MANGLE.
4359         (__vdso_clock_gettime): Likewise.
4360         (__vdso_clock_getres): Likewise.
4361         (_libc_vdso_platform_setup): Likewise.
4362         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4363         Likewise.
4364         (_libc_vdso_platform_setup): Likewise.
4365         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4366         Likewise.
4367         (__vdso_clock_gettime): Likewise.
4368         (__vdso_clock_getres): Likewise.
4369         (__vdso_get_tbfreq): Likewise.
4370         (__vdso_getcpu): Likewise.
4371         (__vdso_time): Likewise.
4372         (__vdso_sigtramp_rt64): Likewise.
4373         (__vdso_signtramp32): Likewise.
4374         (__vdso_sigtramp_rt32): Likewise.
4375         (_libc_vdso_platform_setup): Likewise.
4376         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4377         Likewise.
4378         (__vdso_clock_gettime): Likewise.
4379         (__vdso_clock_getres): Likewise.
4380         (_libc_vdso_platform_setup): Likewise.
4381         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4382         Likewise.
4383         (__vdso_clock_gettime): Likewise.
4384         (_libc_vdso_platform_setup): Likewise.
4385         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4386         Likewise.
4387         (__vdso_getcpu): Likewise.
4388         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4389         Use VDSO_SYMBOL macro to define.
4390         (__vdso_clock_gettime): Likewise.
4391         (__vdso_clock_getres): Likewise.
4392         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4393         Likewise.
4394         (__vdso_clock_gettime): Likewise.
4395         (__vdso_clock_getres): Likewise.
4396         (__vdso_get_tbfreq): Likewise.
4397         (__vdso_getcpu): Likewise.
4398         (__vdso_time): Likewise.
4399         (__vdso_sigtramp_rt64): Likewise.
4400         (__vdso_signtramp32): Likewise.
4401         (__vdso_sigtramp_rt32): Likewise.
4402         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4403         Likewise.
4404         (__vdso_clock_gettime): Likewise.
4405         (__vdso_clock_getres): Likewise.
4406         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4407         Likewise.
4408         (__vdso_clock_gettime): Likewise.
4409         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4410         Likewise.
4411         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4412         macro.
4413         (INTERNAL_VSYSCALL): Likewise.
4414         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4415         Remove macro.
4416         (INTERNAL_VSYSCALL): Likewise.
4417         (INTERNAL_VSYSCALL_NCS): Likewise.
4418         (INTERNAL_VSYSCALL_CALL): New macro.
4419         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4420         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4421         Likewise.
4422         (INTERNAL_VSYSCALL): Likewise.
4423         (INTERNAL_VSYSCALL_NCS): Likewise.
4424         (INTERNAL_VSYSCALL_CALL): New macro.
4425         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4427         (INLINE_VSYSCALL): Remove macro.
4428         (INTERNAL_VSYSCALL): Remove macro.
4429         (INTERNAL_VSYSCALL_NCS): Remove macro.
4430         (INTERNAL_VSYSCALL_CALL): New macro.
4431         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4432         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4433         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4434         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4435         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4437         (INLINE_VSYSCALL): Remove macro.
4438         (INTERNAL_VSYSCALL): Likewise.
4439         (INTERNAL_VSYSCALL_NCS): Likewise.
4440         (INTERNAL_VSYSCALL_CALL): New macro.
4441         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4442         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4443         PTR_DEMANGLE on vDSO pointer.
4444         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4445         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4446         macro.
4447         (INTERNAL_SYSCALL): Likewise.
4448         (INTERNAL_VSYSCALL_NCS): Remove macro.
4449         (INTERNAL_VSYSCALL_CALL): New macro.
4450         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4451         Remove macro.
4452         (INTERNAL_VSYSCALL): Likewise.
4453         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4454         sysdep-vdso.h instead of libc-vdso.h.
4455         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4456         definition.
4457         (INLINE_VSYSCALL): Likewise.
4458         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4459         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4460         definition.
4461         (INLINE_VSYSCALL): Likewise.
4462         (INTERNAL_VSYSCALL): Likewise.
4463         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4464         * sysdeps/unix/sysv/linux/timespec_get.c
4465         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4466         (timespec_get): Use ANSI prototype.
4467         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4468         and definition for Linux.
4470 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4472         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4473         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4475 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4477         [BZ #2981]
4478         [BZ #18410]
4479         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4480         for missing DT_PLTRELSZ.
4482 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4484         Remove obsolete aliases that broke 'locale -a'
4485         [BZ #18412]
4486         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4487         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4488         breaking some applications that use 'locale -a' output.
4489         Change the encoding of this file from Latin-1 to ASCII to avoid
4490         other potential problems with people grepping this file.
4492 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4494         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4495         -fasynchronous-unwind-tables.
4496         (CFLAGS-sendto.c): Likewise.
4497         (CFLAGS-sendmsg.c): Likewise.
4498         (CFLAGS-connect.c): Likewise.
4499         (CFLAGS-recvmsg.c): Likewise.
4500         (CFLAGS-recvfrom.c): Likewise.
4501         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4502         (SOCKETCALL): New macro: non-cancellable socketcall.
4503         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4504         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4505         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4506         * sysdeps/unix/sysv/linux/accept.c: New file.
4507         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4508         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4509         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4510         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4511         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4512         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4513         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4514         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4515         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4516         * sysdeps/unix/sysv/linux/send.c: Likewise.
4517         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4518         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4519         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4520         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4521         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4522         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4523         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4524         prototype.
4525         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4526         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4527         instead of __internal_xxx function.
4528         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4529         prototype.
4530         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4531         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4532         instead of __internal_xxx function.
4533         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4534         prototype.
4535         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4536         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4537         instead of __internal_xxx function.
4538         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4539         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4540         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4541         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4542         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4543         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4544         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4545         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4546         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4547         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4548         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4549         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4550         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4551         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4552         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4553         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4554         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4555         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4556         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4557         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4560         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4561         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4562         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4563         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4564         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4565         * sysdeps/unix/sysv/linux/send.S: Likewise.
4566         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4567         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4568         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4569         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4570         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4571         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4572         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4573         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4574         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4575         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4576         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4577         socketcall is implemented in GLIBC.
4579 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4581         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4582         (__fma): Ignore uninitialized warnings around packing.
4583         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4584         (__fmaf): Ignore uninitialized warnings around packing.
4585         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4586         (__fmal): Ignore uninitialized warnings around packing.
4588         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4589         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4590         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4591         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4593         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4594         switch statement into default case.
4595         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4597         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4598         a conditional in forcing "inexact".
4599         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4600         Likewise.
4602 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4604         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4605         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4606         for each INTERNAL_SYSCALL use.
4608 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4610         [BZ #438]
4611         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4612         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4613         variable.
4615         [BZ #18444]
4616         * string/basename.c (basename): Rename to __basename and define as
4617         weak alias of __basename.  Use libc_hidden_weak.
4618         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4619         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4620         __basename instead of basename.
4621         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4622         Remove variable.
4623         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4625 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4627         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4628         (_IO_JUMPS_FILE_plus): New.
4629         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4630         _IO_CAST_FIELD_ACCESS.
4631         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4632         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4633         * libio/freopen.c (freopen): Likewise.
4634         * libio/freopen64.c (freopen64): Likewise.
4635         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4636         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4637         * libio/iofwide.c (_IO_fwide): Likewise.
4638         * libio/memstream.c (open_memstream): Likewise.
4639         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4640         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4641         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4643 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4645         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4646         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4647         NADJ.
4648         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4649         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4650         NADJ.
4651         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4652         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4653         NADJ.
4655         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4656         (p == 4) case.
4658         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4659         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4660         Remove variable.
4661         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4662         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4663         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4665 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4667         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4668         Adjust jump table label generation macros.
4670 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4672         * stdio-common/vfprintf.c (vfprintf): Move local variables
4673         args_malloced, specs, specs_malloced, and the code after
4674         do_positional to the printf_positional function.
4675         (printf_positional): New function.
4677 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4679         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4680         function.
4681         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4682         STEP4_TABLE, process_arg): Move macro definitions
4683         out of the vfprintf function.  (Cosmetic change only.)
4685 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4687         * benchtests/Makefile (stdio-common-bench): Define.
4688         (benchset): Add stdio-common-bench.
4689         * sprintf-inputs: New file.
4690         * sprintf-source.c: New file.
4692 2015-05-21  Andreas Schwab  <schwab@suse.de>
4694         [BZ #13028]
4695         [BZ #17053]
4696         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4697         of struct __res_state.
4698         * resolv/res_send.c (__libc_res_nsend): Likewise.
4699         (get_nsaddr): New function.
4700         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4701         statp directly.
4703 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4705         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4706         -D_POSIX_C_SOURCE=199506L.
4708         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4710         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4711         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4712         Do not mention otherwise.
4713         [POSIX] (_XOPEN_VERSION): Do not expect.
4714         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4715         [POSIX] (_POSIX2_C_BIND): Likewise.
4716         [POSIX] (_POSIX2_VERSION): Likewise.
4717         [POSIX] (_XOPEN_XPG2): Likewise.
4718         [POSIX] (_XOPEN_XPG3): Likewise.
4719         [POSIX] (_XOPEN_XPG4): Likewise.
4720         [POSIX] (_XOPEN_UNIX): Likewise.
4721         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4722         [POSIX] (_POSIX_BARRIERS): Likewise.
4723         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4724         [POSIX] (_POSIX_CPUTIME): Likewise.
4725         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4726         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4727         [POSIX] (_POSIX_SHELL): Likewise.
4728         [POSIX] (_POSIX_SPAWN): Likewise.
4729         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4730         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4731         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4732         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4733         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4734         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4735         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4736         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4737         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4738         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4739         [POSIX] (_POSIX2_PBS): Likewise.
4740         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4741         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4742         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4743         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4744         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4745         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4746         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4747         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4748         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4749         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4750         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4751         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4752         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4753         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4754         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4755         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4756         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4757         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4758         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4759         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4760         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4761         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4762         [POSIX] (_SC_2_C_BIND): Likewise.
4763         [POSIX] (_SC_2_C_VERSION): Likewise.
4764         [POSIX] (_SC_2_PBS): Likewise.
4765         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4766         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4767         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4768         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4769         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4770         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4771         [POSIX] (_SC_BARRIERS): Likewise.
4772         [POSIX] (_SC_BASE): Likewise.
4773         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4774         [POSIX] (_SC_DEVICE_IO): Likewise.
4775         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4776         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4777         [POSIX] (_SC_FD_MGMT): Likewise.
4778         [POSIX] (_SC_FIFO): Likewise.
4779         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4780         [POSIX] (_SC_FILE_LOCKING): Likewise.
4781         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4782         [POSIX] (_SC_IOV_MAX): Likewise.
4783         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4784         [POSIX] (_SC_NETWORKING): Likewise.
4785         [POSIX] (_SC_PAGE_SIZE): Likewise.
4786         [POSIX] (_SC_PASS_MAX): Likewise.
4787         [POSIX] (_SC_PIPE): Likewise.
4788         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4789         [POSIX] (_SC_REGEXP): Likewise.
4790         [POSIX] (_SC_SHELL): Likewise.
4791         [POSIX] (_SC_SIGNALS): Likewise.
4792         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4793         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4794         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4795         [POSIX] (_SC_USER_GROUPS): Likewise.
4796         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4797         [POSIX] (_SC_STREAMS): Likewise.
4798         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4799         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4800         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4801         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4802         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4803         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4804         [POSIX] (_PC_FILESIZEBITS): Likewise.
4805         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4806         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4807         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4808         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4809         [POSIX] (uid_t): Likewise.
4810         [POSIX] (gid_t): Likewise.
4811         [POSIX] (off_t): Likewise.
4812         [POSIX] (pid_t): Likewise.
4813         [POSIX] (cuserid): Allow.
4814         (_SC_2_CHAR_TERM): Require constant.
4815         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4816         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4817         variable.
4819 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4821         * sysdeps/nacl/pthread-pids.h: New file.
4822         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4823         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4825         * nptl/pthread-pids.h: New file.
4826         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4827         * nptl/nptl-init.c: Include <pthread-pids.h>.
4828         (__pthread_initialize_minimal_internal):
4829         Call __pthread_initialize_pids instead of set_tid_address syscall.
4831         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4832         * sysdeps/posix/usleep.c: ... here.
4834 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4836         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4837         call_pselect6 object.
4838         [$(subdir) = io]: Remove call_sync_file_range object.
4839         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4840         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4841         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4842         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4844 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4846         * math/s_cproj.c: Add include "math_private.h".
4847         * math/s_cprojf.c: Likewise.
4848         * math/s_cprojl.c: Likewise.
4850 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4852         [BZ #18244]
4853         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4854         high mantissa bit when testing whether P is a NaN.
4855         * math/libm-test.inc (remainder_test_data): Add more tests.
4856         (remquo_test_data): Likewise.
4858         [BZ #18049]
4859         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4860         below -32, return the argument, with underflow if subnormal.
4861         * math/auto-libm-test-in: Add more tests of atanh.
4862         * math/auto-libm-test-out: Regenerated.
4864 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4866         [BZ #18434]
4867         * nptl/tst-sem15.c: New file.
4868         * nptl/Makefile (tests): Add it.
4869         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4870         s/<</>>/ to fix typo in EOVERFLOW check.
4871         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4873 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4875         * manual/strings.texi (envz_remove): Fix typo in safety
4876         annotations.
4878 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4879             Steve Ellcey  <sellcey@imgtec.com>
4881         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4882         in order to avoid strict alias warnings.
4883         (iruserok_af): Ditto for ra.
4885 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4887         [BZ #17581]
4888         * malloc/hooks.c
4889         (magicbyte): Convert to a function and avoid returning 0x01.
4890         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4891         (mem2chunk_check): Fix unsigned comparisons to zero.
4892         Hoist defs of sz and magic.
4894 2015-05-19  Richard Henderson  <rth@redhat.com>
4896         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4898         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4900 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4902         [BZ #16159]
4903         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4904         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4905         (reused_arena): Find a non-corrupt arena.
4906         (heap_trim): Pass arena to unlink.
4907         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4908         malloc_printerr.
4909         (top_check): Likewise.
4910         (free_check): Likewise.
4911         (realloc_check): Likewise.
4912         * malloc/malloc.c (malloc_printerr): Add arena argument.
4913         (unlink): Likewise.
4914         (munmap_chunk): Adjust.
4915         (ARENA_CORRUPTION_BIT): New macro.
4916         (arena_is_corrupt): Likewise.
4917         (set_arena_corrupt): Likewise.
4918         (sysmalloc): Use mmap if there are no usable arenas.
4919         (_int_malloc): Likewise.
4920         (__libc_malloc): Don't fail if arena_get returns NULL.
4921         (_mid_memalign): Likewise.
4922         (__libc_calloc): Likewise.
4923         (__libc_realloc): Adjust for additional argument to
4924         malloc_printerr.
4925         (_int_free): Likewise.
4926         (malloc_consolidate): Likewise.
4927         (_int_realloc): Likewise.
4928         (_int_memalign): Don't touch corrupt arenas.
4929         * malloc/tst-malloc-backtrace.c: New test case.
4931         * Makefile (summarize-tests): Fix return value on success.
4933         * manual/string.texi (Envz Functions): Add envz_remove.
4935 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4937         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4938         (invalid_name): New function, broken out of ...
4939         (__opendirat): ... here.  Call it.
4940         (need_isdir_precheck): New function, broken out of ...
4941         (__opendirat): ... here.  Call it.
4942         Use __fxstatat64, not __xstatat64.
4943         (opendir_oflags): New function, broken out of ...
4944         (__opendirat): ... here.  Call it.
4945         (opendir_tail): New function, broken out of ...
4946         (__opendirat): ... here.  Call it.
4947         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4948         opendir_tail, rather than punting to __opendirat.
4949         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4951 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4953         * .gitignore: Ignore generated *.pyc.
4955 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4957         * include/stdio.h: Define __need_wint_t.
4958         * test-skeleton.c: Avoid `for' loop initial declaration.
4959         * nptl/tst-initializers1.c: Use test-skeleton.c.
4961 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4963         [BZ #18418]
4964         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4966 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4968         [BZ #16352]
4969         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4970         (__ieee754_atanh): Force underflow exception for results with
4971         small absolute value.
4972         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4973         (__ieee754_atanhf): Force underflow exception for results with
4974         small absolute value.
4975         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4976         (__ieee754_atanh): Force underflow exception for results with
4977         small absolute value.
4978         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4979         (__ieee754_atanhf): Force underflow exception for results with
4980         small absolute value.
4981         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4982         (__ieee754_atanhl): Force underflow exception for results with
4983         small absolute value.
4984         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4985         (__ieee754_atanhl): Force underflow exception for results with
4986         small absolute value.
4987         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4988         (__ieee754_atanhl): Force underflow exception for results with
4989         small absolute value.
4990         * math/auto-libm-test-in: Do not allow missing underflow
4991         exceptions from atanh.
4992         * math/auto-libm-test-out: Regenerated.
4994         [BZ #18221]
4995         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4996         2**-28 as threshold for returning x or +/- 1/x.
4997         * math/auto-libm-test-in: Add more tests of tan.
4998         * math/auto-libm-test-out: Regenerated.
5000         [BZ #18220]
5001         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5002         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5003         * math/auto-libm-test-in: Add another test of lgamma.
5004         * math/auto-libm-test-out: Regenerated.
5006 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5008         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5009         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5010         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5011         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5012         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5013         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5014         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5015         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5016         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5017         (log1): Use fabs.  (my_log2): Use fabs.
5018         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5019         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5020         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5021         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5022         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5023         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5024         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5025         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5026         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5027         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5028         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5030 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5032         [BZ #18217]
5033         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5034         as threshold for returning 1 - x.
5035         * math/auto-libm-test-in: Add more tests of erfc.
5036         * math/auto-libm-test-out: Regenerated.
5038 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5040         [BZ #18196]
5041         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5042         threshold for large arguments.
5043         * math/auto-libm-test-in: Add another test of atan.
5044         * math/auto-libm-test-out: Regenerated.
5046         [BZ #16339]
5047         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5048         (__log1p): Force underflow exception for results with small
5049         absolute value.
5050         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5051         (__log1pf): Force underflow exception for results with small
5052         absolute value.
5053         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5054         (__log1p): Force underflow exception for results with small
5055         absolute value.
5056         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5057         (__log1pf): Force underflow exception for results with small
5058         absolute value.
5059         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5060         (__log1pl): Force underflow exception for results with small
5061         absolute value.
5062         * math/auto-libm-test-in: Do not allow missing underflow
5063         exceptions from log1p.
5064         * math/auto-libm-test-out: Regenerated.
5066 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5067             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5069         [BZ #16704]
5070         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5072 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5074         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5075         (libmvec): New variable.
5076         * configure.ac: Added option for mathvec build.
5077         * configure: Regenerated.
5078         * mathvec/Depend: New file.
5079         * mathvec/Makefile: New file.
5080         * shlib-versions: Added libmvec.
5081         * math/Makefile: Added rule for libm.so installation.
5083         * bits/math-vector.h: New file.
5084         * bits/libm-simd-decl-stubs.h: New header.
5085         * math/Makefile (headers): Added new header
5086         libm-simd-decl-stubs.h.
5087         * math/math.h (__MATHCALL_VEC): New macro.
5089         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5090         for conditions in testing functions.
5091         * math/Makefile: Added call of libm-have-vector-test.sh.
5092         * math/libm-test.inc (HAVE_VECTOR): New macros.
5094         * math/libm-test.inc: START refactored.
5095         * math/test-double.c (TEST_MATHVEC): Add define.
5096         * math/test-float.c: Likewise.
5097         * math/test-idouble.c: Likewise.
5098         * math/test-ifloat.c: Likewise.
5099         * math/test-ildoubl.c: Likewise.
5100         * math/test-ldouble.c: Likewise.
5101         * sysdeps/generic/math-tests-arch.h
5102         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5103         architecture check.
5105         * math/test-double.c (FUNC_TEST): New macro.
5106         * math/test-float.c: Likewise.
5107         * math/test-idouble.c: Likewise.
5108         * math/test-ifloat.c: Likewise.
5109         * math/test-ildoubl.c: Likewise.
5110         * math/test-ldouble.c: Likewise.
5111         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5113 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5115         * sysdeps/nacl/fdopendir.c: New file.
5117         * dirent/scandir-tail.c: New file.
5118         * dirent/scandir64-tail.c: New file.
5119         * dirent/Makefile (routines): Add them.
5120         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5121         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5122         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5123         [!SCANDIR] (SCANDIR_TAIL): New macro.
5124         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5125         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5126         (SCANDIRAT): Macro removed.
5127         (SCANDIR_TAIL): New macro.
5128         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5129         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5130         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5131         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5132         (READDIR): Macro removed.
5133         (SCANDIR_TAIL): New macro.
5134         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5135         (SCANDIR_TAIL): New macro.
5137         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5138         * dirent/scandir-cancel.c: ... to this new file.
5139         * dirent/Makefile (routines): Add it.
5140         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5141         * sysdeps/unix/sysv/linux/i386/scandir64.c
5142         (SKIP_SCANDIR_CANCEL): Macro removed.
5143         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5145         * dirent/tst-scandir.c: New file.
5146         * dirent/tst-scandir64.c: New file.
5147         * dirent/Makefile (tests): Add them.
5149 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5151         [BZ #18409]
5152         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5154 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5156         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5157         list.
5159 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5161         * benchtests/bench-strcoll.c: New benchmark.
5162         * benchtests/Makefile: Generate locales and run benchmark.
5163         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5164         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5165         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5166         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5167         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5168         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5169         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5170         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5171         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5172         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5173         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5174         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5175         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5176         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5177         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5178         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5179         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5180         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5181         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5182         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5183         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5184         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5185         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5186         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5188 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5190         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5191         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5193 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5195         * posix/uname-values.h: New file.
5196         * posix/uname.c: Include that instead of <config-name.h>.
5197         * sysdeps/nacl/uname-values.h: New file.
5198         * sysdeps/arm/nacl/uname-values.h: New file.
5200 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5202         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5203         splitting into fields.
5205 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5207         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5208         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5209         * locale/localeinfo.h: Add enum collation_encoding_type.
5210         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5211         * programs/ld-collate.c (collate_output): Add encoding type info.
5212         * string/strcoll_l.c (STRDIFF): New function.
5213         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5214         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5216 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5218         [BZ #18397]
5219         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5220         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5221         <fpu_control.h> instead of <math/fpu_control.c>.
5222         * sysdeps/mips/mips32/fpu/Makefile: New file.
5224 2015-05-11  Andreas Schwab  <schwab@suse.de>
5226         [BZ #18007]
5227         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5228         nss_endgrent.
5229         (_nss_compat_endgrent): Call nss_endgrent.
5230         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5231         nss_endpwent.
5232         (_nss_compat_endpwent): Call nss_endpwent.
5233         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5234         needent, call nss_setspent only if non-zero.
5235         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5236         (internal_endspent): Don't call nss_endspent.
5237         (_nss_compat_endspent): Call nss_endspent.
5238         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5239         Remove.  All uses removed.
5240         (internal_setent): Remove parameter stayopen, add parameter
5241         stream.  Use it instead of global variable.
5242         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5243         (internal_endent, internal_getent): Add parameter stream.  Use it
5244         instead of global variable.
5245         (CONCAT(_nss_files_end,ENTNAME))
5246         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5247         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5248         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5249         uses removed.
5250         (internal_setent, internal_endent): Add parameter stream.  Use it
5251         instead of global variable.
5252         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5253         stream.
5254         (get_next_alias): Add parameter stream.
5255         (_nss_files_getaliasent_r): Pass global stream.
5256         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5257         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5258         (_nss_files_gethostbyname4_r): Pass local stream to
5259         internal_setent, internal_getent and internal_endent.  Remove
5260         locking.
5262 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5264         * tst-strfmon1.c (tests): Update expected currency symbol.
5266 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5268         * sysdeps/nacl/gethostname.c: New file.
5270 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5272         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5273         and sinh.
5274         * math/auto-libm-test-out: Regenerated.
5275         * sysdeps/i386/fpu/libm-test-ulps: Update.
5276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5278 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5280         [BZ #18125]
5281         * stdlib/tst-setcontext3.c: New file.
5282         * stdlib/tst-setcontext3.sh: New file.
5283         * stdlib/Makefile (tests): Add tst-setcontext3.
5284         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5285         to verify test program created output file.
5286         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5287         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5288         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5289         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5291 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5293         [BZ #18383]
5294         * elf/tst-tlsalign.c: New file.
5295         * elf/tst-tlsalign-static.c: New file.
5296         * elf/tst-tlsalign-lib.c: New file.
5297         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5298         (tests-static): Add tst-tlsalign-static.
5299         (modules-names): Add tst-tlsalign-lib.
5300         (test-xfail-tst-tlsalign): New variable.
5301         (test-xfail-tst-tlsalign-static): New variable.
5303         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5304         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5306 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5308         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5309         csqrt, erfc, sin and sincos.
5310         * math/auto-libm-test-out: Regenerated.
5311         * sysdeps/i386/fpu/libm-test-ulps: Update.
5312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5314 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5316         * sysdeps/aarch64/libm-test-ulps: Update.
5318 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5320         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5321         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5322         * math/auto-libm-test-out: Regenerated.
5323         * sysdeps/i386/fpu/libm-test-ulps: Update.
5324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5326 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5328         [BZ #18265]
5329         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5330         (wcsncpy): Likewise.
5332 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5334         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5335         Assume __ASSUME_FALLOCATE is always true.
5336         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5337         (__posix_fallocate64_l64): Likweise.
5338         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5339         (posix_fallocate): Likewise.
5340         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5341         (__posix_fallocate64_l64): Likewise.
5342         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5343         [!__ASSUME_FALLOCATE]: Add comment.
5345 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5347         * sysdeps/unix/sysv/linux/i386/Makefile
5348         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5349         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5350         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5351         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5352         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5353         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5354         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5356 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5358         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5359         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5360         tgamma.
5361         * math/auto-libm-test-out: Regenerated.
5362         * sysdeps/i386/fpu/libm-test-ulps: Update.
5363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5365 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5367         * math/auto-libm-test-in: Add more tests of tgamma.
5368         * math/auto-libm-test-out: Regenerated.
5369         * sysdeps/i386/fpu/libm-test-ulps: Update.
5370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5372         * math/auto-libm-test-in: Add more tests of tanh.
5373         * math/auto-libm-test-out: Regenerated.
5374         * sysdeps/i386/fpu/libm-test-ulps: Update.
5375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5377         * math/auto-libm-test-in: Add more tests of tan.
5378         * math/auto-libm-test-out: Regenerated.
5379         * sysdeps/i386/fpu/libm-test-ulps: Update.
5380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5382         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5383         * math/auto-libm-test-out: Regenerated.
5384         * sysdeps/i386/fpu/libm-test-ulps: Update.
5385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5387         * math/auto-libm-test-in: Add another test of pow.
5388         * math/auto-libm-test-out: Regenerated.
5389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5391         * math/auto-libm-test-in: Add more tests of lgamma.
5392         * math/auto-libm-test-out: Regenerated.
5393         * sysdeps/i386/fpu/libm-test-ulps: Update.
5394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5396         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5397         log1p.
5398         * math/auto-libm-test-out: Regenerated.
5399         * sysdeps/i386/fpu/libm-test-ulps: Update.
5400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5402 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5404         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5405         Elf64_Chdr structs and ELFCOMPRESS constants.
5407 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5409         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5410         expm1.
5411         * math/auto-libm-test-out: Regenerated.
5412         * sysdeps/i386/fpu/libm-test-ulps: Update.
5413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5415         * math/auto-libm-test-in: Add more tests of erf and erfc.
5416         * math/auto-libm-test-out: Regenerated.
5417         * sysdeps/i386/fpu/libm-test-ulps: Update.
5418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5420 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5422         * config.h.in (HAVE_AARCH64_BE): Add.
5424 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5426         * math/auto-libm-test-in: Add more tests of csqrt.
5427         * math/auto-libm-test-out: Regenerated.
5428         * sysdeps/i386/fpu/libm-test-ulps: Update.
5429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5431         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5432         * math/auto-libm-test-out: Regenerated.
5433         * sysdeps/i386/fpu/libm-test-ulps: Update.
5434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5436         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5438 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5440         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5441         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5443         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5444         (euidaccess, eaccess): Define as weak aliases.
5446         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5447         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5448         but __suseconds_t is often 'long int' so some sources assume that
5449         type is being used (e.g. they use %ld to print tv_usec).
5451 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5453         [BZ #18007]
5454         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5455         (CVE-2014-8121)
5456         * nss/tst-nss-getpwent.c: New file.
5457         * nss/Makefile (tests): Add new test.
5459 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5461         [BZ #18346]
5462         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5463         exponents less than 48 as cases where high part of mantissa needs
5464         examining to determine whether argument is integral.
5465         * math/libm-test.inc (round_test_data): Add more tests.
5467 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5469         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5471 2015-04-27  David S. Miller  <davem@davemloft.net>
5473         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5474         __tls_get_addr.
5475         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5477 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5479         [BZ#18333]
5480         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5482 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5484         [BZ#18333]
5485         * time/tzset.c (parse_tzname): Return error on memory allocation
5486         failure.
5487         * test-skeleton.c (struct temp_name_list): Change type of name
5488         member to non-const.
5489         (add_temp_file): Create a copy of the file name.
5490         (delete_temp_files): Deallocate memory.
5491         (create_temp_file): Add comment.
5493 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5495         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5496         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5498 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5500         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5501         * sysdeps/arm/configure: Regenerated.
5503 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5505         [BZ #17715]
5506         * time/tzfile.c (__tzfile_read): Check for large values of
5507         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5508         * time/tzset.c (__tzstring_len): New function, based on the old
5509         __tzstring function.
5510         (__tzstring): Call __tzstring_len.
5511         (parse_tzname): New helper function extracted from
5512         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5513         the input string.
5514         (parse_offset): New helper function extracted from
5515         __tzset_parse_tz.  Replace switch with fallthrough with
5516         initialization before sscanf.
5517         (parse_rule): Likewise.
5518         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5519         new-style function definition.
5520         * timezone/Makefile (tests): Add tst-tzset.
5521         (tst-tzset.out): Dependencies on time zone files.
5522         (tst-tzset-ENV): Set TZDIR.
5523         (testdata/XT%): Copy crafted time zone files.
5524         * timezone/README: Mention crafted time zone files.
5525         * timezone/testdata/XT1, timezone/testdata/XT2,
5526         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5527         files.
5528         * timezone/tst-tzset.c: New test.
5530 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5532         * Makeconfig (+gccwarn): Remove -Winline.
5534 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5536         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5538 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5540         * NEWS: Mention sysconf() cache information support for s390.
5541         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5543 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5545         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5546         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5547         (__nearbyint): Likewise.
5548         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5549         (copysignl): Likewise.
5551 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5553         [BZ #18287]
5554         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5555         based on padding.  (CVE-2015-1781)
5557 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5559         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5560         libc-vdso.h.
5561         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5562         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5563         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5564         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5565         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5566         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5567         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5568         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5569         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5570         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5571         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5572         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5573         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5574         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5575         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5576         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5577         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5578         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5579         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5580         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5581         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5582         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5583         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5585 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5587         * stdlib/setenv.c (__add_to_environ):
5588         Dump core quickly if setenv (..., NULL, ...) is called.
5589         This time, do it the right way, and pacify GCC with a pragma.
5591 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5593         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5594         IMAP->l_prev cannot be null, and #if out the code for the contrary
5595         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5596         believe that NS (&_dl_ns[NSID]) could point outside the array.
5598         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5599         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5600         before using NSID as an index.
5602 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5604         [BZ #17825]
5605         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5606         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5607         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5609 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5611         Add preliminary port to Google Native Client on ARM.
5612         * abi-tags (.*-.*-nacl.*): New entry.
5613         * sysdeps/arm/nacl: New directory.
5614         * sysdeps/nacl: New directory.
5616 2015-04-16  David S. Miller  <davem@davemloft.net>
5618         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5619         lowlevellock-futex.h
5621 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5623         * sysdeps/tile/configure.ac: New file.
5624         * sysdeps/tile/configure: Regenerated.
5626 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5628         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5629         conditionals for weak_alias and libc_hidden_weak.
5630         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5631         libc_hidden_weak and weak_alias.
5632         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5633         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5634         and weak_alias for static one.
5636 2015-04-15  David S. Miller  <davem@davemloft.net>
5638         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5640 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5642         [BZ #18206]
5643         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5644           Use signed comparision instead of substraction to avoid
5645           overflow bug.
5646         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5647           Take the sign of ret.
5648         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5649           Do not expect precise return values. Only the sign matters.
5650         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5651         * wcsmbs/test-wcsncmp.c: New File.
5652         * string/test-strncmp.c: Add wcsncmp support.
5654 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5656         [BZ #6792]
5657         * math/w_log1p.c: New file.
5658         * math/w_log1pf.c: Likewise.
5659         * math/w_log1pl.c: Likewise.
5660         * math/Makefile (libm-calls): Add w_log1p.
5661         * math/s_log1pl.c (log1pl): Remove weak_alias.
5662         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5663         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5664         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5665         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5666         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5667         [NO_LONG_DOUBLE] (log1pl): Likewise.
5668         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5669         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5670         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5671         (log1p): Remove long_double_symbol.
5672         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5673         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5674         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5675         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5676         remove weak_alias for corresponding log1p function.
5677         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5678         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5679         * sysdeps/ia64/fpu/w_log1p.c: New file.
5680         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5681         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5682         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5684 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5686         [BZ #18247]
5687         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5688         decimal exponent by 1.
5689         * stdlib/tst-strtod-round-data: Add more tests.
5690         * stdlib/tst-strtod-round.c (tests): Regenerated.
5692 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5694         * math/auto-libm-test-in: Add more tests of clog and clog10.
5695         * math/auto-libm-test-out: Regenerated.
5696         * sysdeps/i386/fpu/libm-test-ulps: Update.
5697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5699 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5701         * Makeconfig (module-cppflags): Exclude all .v.i files.
5702         (skip-module-cppflags): Variable removed.
5704         * configure.ac (libc_config_ok): Initialize before reading
5705         preconfigure scripts, not after.
5706         * configure: Regenerated.
5708         * test-skeleton.c (TIMEOUT): Move #define to top level.
5709         (main): Grok environment variable TEST_DIRECT.  If set, print
5710         test expectation details into that file and then behave as if
5711         given --direct.
5713 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5715         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5716         warning on 32-bit.
5718 2015-04-08  David S. Miller  <davem@davemloft.net>
5720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5722 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5724         * math/auto-libm-test-in: Add more tests of atanh.
5725         * math/auto-libm-test-out: Regenerated.
5726         * sysdeps/i386/fpu/libm-test-ulps: Update.
5727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5729         * math/auto-libm-test-in: Add more tests of atan.
5730         * math/auto-libm-test-out: Regenerated.
5731         * sysdeps/i386/fpu/libm-test-ulps: Update.
5732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5734 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5736         * elf/pldd.c (main): Rewrite to use struct
5737         scratch_buffer instead of extend_alloca.
5738         * elf/pldd-xx.c (find_maps): Likewise.
5739         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5740         <alloca.h>.
5741         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5742         scratch_buffer instead of extend_alloca.
5743         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5744         grp/compat-initgroups.c.
5745         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5746         Rewrite to use struct scratch_buffer instead of extend_alloca.
5747         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5748         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5750 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5752         * math/auto-libm-test-in: Add more tests of cbrt.
5753         * math/auto-libm-test-out: Regenerated.
5754         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5756         * math/auto-libm-test-in: Add more tests of cabs.
5757         * math/auto-libm-test-out: Regenerated.
5758         * sysdeps/i386/fpu/libm-test-ulps: Update.
5759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5761         [BZ #18210]
5762         [BZ #18211]
5763         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5764         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5765         computations.
5766         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5767         clog10.
5768         * math/auto-libm-test-out: Regenerated.
5769         * sysdeps/i386/fpu/libm-test-ulps: Update.
5770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5772         [BZ #18197]
5773         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5774         (atan): Set FE_TONEAREST mode for internal computations.
5775         * math/auto-libm-test-in: Add more tests of atan.
5776         * math/auto-libm-test-out: Regenerated.
5778 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5780         [BZ #17930]
5781         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5783 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5785         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5787 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5789         * include/scratch_buffer.h: New file.
5790         * malloc/scratch_buffer_grow.c: Likewise.
5791         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5792         * malloc/scratch_buffer_set_array_size.c: Likewise.
5793         * malloc/tst-scratch_buffer.c: Likewise.
5794         * malloc/Makefile (routines): Add scratch_buffer_grow.
5795         (tests): Add test case.
5796         * malloc/Versions (GLIBC_PRIVATE): Export
5797         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5798         __libc_scratch_buffer_set_array_size.
5800 2015-04-06  Richard Henderson  <rth@redhat.com>
5802         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5803         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5805         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5806         unsigned int before printing.
5808 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5810         [BZ #17596]
5811         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5812         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5814 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5816         * include/libc-internal.h (libc_max_align_t): Define.
5818 2015-04-02  Andreas Schwab  <schwab@suse.de>
5820         [BZ #16850]
5821         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5823 2015-04-02  Mel Gorman  <mgorman@suse.de>
5825         [BZ #17195]
5826         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5827         as well as the main arena.
5829 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5831         [BZ #18185]
5832         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5833         sharing L2 cache to 2 for Silvermont/Knights Landing.
5835 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5837         [BZ #17711]
5838         * config.make.in (have-protected-data): New.
5839         * configure.ac: Check linker support for protected data symbol.
5840         * configure: Regenerated.
5841         * elf/Makefile (modules-names): Add tst-protected1moda and
5842         tst-protected1modb if $(have-protected-data) is yes.
5843         (tests): Add tst-protected1a and tst-protected1b if
5844         $(have-protected-data) is yes.
5845         ($(objpfx)tst-protected1a): New.
5846         ($(objpfx)tst-protected1b): Likewise.
5847         (tst-protected1modb.so-no-z-defs): Likewise.
5848         * elf/tst-protected1a.c: New file.
5849         * elf/tst-protected1b.c: Likewise.
5850         * elf/tst-protected1mod.h: Likewise.
5851         * elf/tst-protected1moda.c: Likewise.
5852         * elf/tst-protected1modb.c: Likewise.
5854 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5856         [BZ #17711]
5857         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5858         indicates it is called from do_lookup_x on relocation against
5859         protected data, skip the data definion in the executable from
5860         copy reloc.
5861         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5862         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5863         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5864         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5865         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5866         otherwise to 0.
5867         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5868         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5869         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5870         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5871         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5872         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5874 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5876         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5877         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5879 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5881         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5882         THREAD_SETMEM_NC.
5883         * sysdeps/x86_64/nptl/tls.h: Ditto.
5885 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5887         * dlfcn/tststatic.c (main): Converted to ...
5888         (do_test): ... this.
5889         (TEST_FUNCTION): New macro.
5890         Include test-skeleton.c.
5892 2015-03-26  Alan Modra  <amodra@gmail.com>
5894         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5895         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5896         zero for undefined weak.
5897         (elf_machine_plt_conflict): Similarly.
5899 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5901         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5902         atanh.
5903         * math/auto-libm-test-out: Regenerated.
5904         * sysdeps/i386/fpu/libm-test-ulps: Update.
5905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5907         * math/auto-libm-test-in: Add another test of asin.
5908         * math/auto-libm-test-out: Regenerated.
5909         * sysdeps/i386/fpu/libm-test-ulps: Update.
5910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5912         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5913         Remove macro.
5914         (LLL_EBX_REG): Likewise.
5915         (LLL_ENTER_KERNEL): Likewise.
5917         * math/auto-libm-test-in: Add more tests of asin.
5918         * math/auto-libm-test-out: Regenerated.
5919         * sysdeps/i386/fpu/libm-test-ulps: Update.
5920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5922         [BZ #18138]
5923         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5924         libc_do_syscall_args): New structure.
5925         (INTERNAL_SYSCALL_MAIN_0): New macro.
5926         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5927         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5928         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5929         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5930         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5931         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5932         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5933         Replace conditional definitions by conditional definitions of ....
5934         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5935         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5936         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5937         (libpthread-sysdep_routines): Add libc-do-syscall.
5938         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5939         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5940         to __NR_futex not 240.
5942 2015-03-25  Alan Modra  <amodra@gmail.com>
5944         * NEWS: Advertise TLS optimization.
5945         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5946         (DT_PPC_NUM): Increment.
5947         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5948         (CHECK_STATIC_TLS): Use here.
5949         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5950         TLS descriptors.
5951         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5952         * sysdeps/powerpc/dl-tls.c: New file.
5953         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5954         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5955         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5956         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5961 2015-03-25  Alan Modra  <amodra@gmail.com>
5963         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5964         for overlapping .opd entries" to "support...".
5965         * sysdeps/powerpc/powerpc64/configure: Regenerate
5967 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5969         * math/auto-libm-test-in: Add more tests of acos.
5970         * math/auto-libm-test-out: Regenerated.
5971         * sysdeps/i386/fpu/libm-test-ulps: Update.
5972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5974         * math/auto-libm-test-in: Add more tests of expm1.
5975         * math/auto-libm-test-out: Regenerated.
5976         * sysdeps/i386/fpu/libm-test-ulps: Update.
5977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5979 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5981         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5982         * math/auto-libm-test-out: Regenerated.
5983         * sysdeps/i386/fpu/libm-test-ulps: Update.
5984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5986         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5989         * math/auto-libm-test-in: Add more tests of log2.
5990         * math/auto-libm-test-out: Regenerated.
5991         * sysdeps/i386/fpu/libm-test-ulps: Update.
5992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5994 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5996         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5997         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5998         _IO_IS_APPENDING bit in READ_WRITE instead.
6000 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6002         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6003         (__determine_cpumask_size): Replace extend_alloca with a
6004         variable-length array.  Do not treat res == 0 as an error.
6006 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6008         [BZ #18100]
6009         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6010         and integer overflow.
6011         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6012         (main): Add integer overflow tests.
6013         * manual/pattern.texi (Calling Wordexp): Document additional use
6014         for WRDE_SYNTAX.
6016 2015-03-23  Alan Modra  <amodra@gmail.com>
6018         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6019         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6020         and false branch of conditional.
6021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6022         Likewise.
6024 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6026         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6027         libc-modules.h
6028         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6029         unused declaration of _hurd_intr_rpc_msg_in_trap.
6030         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6031         defined instead of whether it is non-zero.
6032         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6033         input constraint instead of both input and output constraint.  Use ecx
6034         clobber instead of %ecx.
6035         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6036         mutex_unlock): Use a statement expression instead of an expression list.
6037         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6038         type to vm_size_t instead of vm_address_t.
6039         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6040         defined instead of whether it is non-zero.
6041         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6042         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6043         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6044         comparisons with mapaddr.
6045         * nscd/nscd-client.h: Include <time.h>.
6046         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6047         9th parameter to __vm_region instead of int.
6048         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6049         * scripts/check-local-headers.sh (exclude): Add device/,
6050         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6051         cthreads.h.
6053 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6055         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6056         to account for alignment padding.
6057         * sysdeps/arm/memmove.S: Likewise.
6059 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6061         * sysdeps/unix/sysv/linux/generic/README: New file.
6063 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6065         [BZ #18138]
6066         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6067         (futex_abstimed_wait)
6068         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6069         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6070         of lll_futex_timed_wait.
6072 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6074         [BZ #17542]
6075         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6077 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6079         [BZ #17090]
6080         [BZ #17620]
6081         [BZ #17621]
6082         [BZ #17628]
6083         * NEWS: Update.
6084         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6085         entries with Static TLS too.  Skip entries past the end of the
6086         allocated DTV, from Alan Modra.
6087         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6088         Static TLS DTV entry set up from...
6089         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6090         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6091         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6092         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6093         for Static TLS.
6094         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6095         that the slot we find is associated with the given map before
6096         using its generation count.
6097         * nptl_db/db_info.c: Include ldsodefs.h.
6098         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6099         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6100         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6101         (link_map::l_tls_offset): New struct field.
6102         (dtv_t::counter): Likewise.
6103         (rtld_global): New struct.
6104         (_rtld_global): New rtld variable.
6105         (dl_tls_dtv_slotinfo_list): New rtld global field.
6106         (dtv_slotinfo_list): New struct.
6107         (dtv_slotinfo): Likewise.
6108         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6109         (td_lookup): Rename to...
6110         (td_mod_lookup): ... this.  Use new mod parameter instead of
6111         LIBPTHREAD_SO.
6112         * nptl_db/td_thr_tlsbase.c: Include link.h.
6113         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6114         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6115         addresses even if the DTV is out of date or missing them.
6116         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6117         index zero-length arrays.
6118         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6119         (td_lookup): Make it a macro implemented in terms of...
6120         (td_mod_lookup): ... this declaration.
6121         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6122         (DB_MAIN_VARIABLE): Likewise.
6124 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6126         [BZ #18134]
6127         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6129 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6131         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6133 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6135         [BZ #18128]
6136         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6137         (atomic_add, atomic_increment_and_test)
6138         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6140 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6142         * stdlib/setenv.c (__add_to_environ):
6143         Dump core quickly if setenv (..., NULL, ...) is called.
6145 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6147         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6148         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6149         all the necessary asm magic in one place.
6150         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6151         using those.
6153 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6155         [BZ #14906]
6156         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6157         traced file mtime. Use consistent log message.
6158         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6159         (register_traced_file): Call install_watches. Always set mtime.
6160         (invalidate_cache): Iterate over all trace files. Call install_watches.
6161         (inotify_check_files): Don't inline. Handle watching parent
6162         directories and configuration file movement in and out.
6163         (handle_inotify_events): New function.
6164         (main_loop_poll): Call handle_inotify_events.
6165         (main_loop_epoll): Likewise.
6166         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6167         (struct traced_file): Use array of inotify fds. Add parent directory,
6168         and basename.
6169         (struct database_dyn): Remove unused file_mtime.
6170         (init_traced_file): New inline function.
6171         (define_traced_file): New macro.
6172         * nss/nss_db/db-init.c: Use define_traced_file.
6173         (_nss_db_init): Use init_traced_file.
6174         * nss/nss_files/files-init.c: Use define_traced_file.
6175         (_nss_files_init): Use init_traced_file.
6177 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6179         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6180         [_LIBC]: Do not include <stdlib.h>.
6181         [!_LIBC] (abort): Remove declaration.
6182         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6183         _FP_STATIC_ASSERT instead of conditionally calling abort.
6184         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6185         (_FP_EXTEND_CNAN): Likewise.
6186         (FP_TRUNC): Likewise.
6187         (__FP_CLZ): Likewise.
6188         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6190 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6192         * manual/string.texi (XPG basename): Fix prototype.
6194 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6196         [BZ #18080]
6197         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6198         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6199         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6200         (__setcontext): Likewise.
6201         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6202         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6203         Call rt_sigprocmask syscall one time to set new signal mask
6204         and retrieve the current signal mask instead of two calls.
6205         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6206         (__swapcontext): Likewise.
6207         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6208         * stdlib/tst-setcontext2.c: New file.
6210 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6212         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6214 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6216         [BZ #18093]
6217         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6218         the wrong size.
6220 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6222         [BZ #18043]
6223         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6225 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6227         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6228         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6229         Remove define.
6230         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6231         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6232         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6233         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6234         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6235         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6236         define.
6237         * nptl_db/td_symbol_list.c (td_lookup): Remove
6238         HAVE_ASM_GLOBAL_DOT_NAME code.
6239         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6240         HAVE_ASM_GLOBAL_DOT_NAME check.
6241         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6242         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6243         (DOT_LABEL): Remove define.
6244         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6245         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6246         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6247         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6248         (__TLS_GET_ADDR): Likewise.
6249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6250         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6252 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6254         [BZ #18111]
6255         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6256         (_FPU_SETCW): Initialize cw from fpsr before storing.
6257         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6258         (fesetexceptflag): Rewrite using fpu_control.h.
6259         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6261 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6263         [BZ #18110]
6264         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6265         asms.
6266         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6268 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6270         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6271         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6272         abort.
6273         (_FP_FMA): Likewise.
6274         (_FP_DIV): Likewise.
6276 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6278         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6279         with 0 in that case.
6280         * Makefile (summarize-tests): New canned sequence, factored out of
6281         commands for targets tests and xtests.  Display summary lines that
6282         don't start with PASS: or XFAIL: rather than ones that do start with
6283         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6284         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6285         do start with ERROR: or FAIL:.
6286         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6287         (except for [$(build-shared) = yes]).
6288         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6289         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6290         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6291         * nptl/Makefile: Revert 2015-03-04 changes.
6292         [$(CXX) empty] (tests-unsupported): New variable.
6293         * debug/Makefile: Likewise.
6295         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6296         gnulib file.  Replace __attribute with __attribute__ throughout.
6298 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6300         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6302 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6304         [BZ #18104]
6305         * math/auto-libm-test-in: Add another test of pow.
6306         * math/auto-libm-test-out: Regenerated.
6308 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6310         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6311         $(config-cflags-nofma).
6313 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6315         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6316         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6317         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6318         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6319         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6320         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6321         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6322         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6323         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6324         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6325         Add comment on closing #endif.
6327 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6329         * posix/wordexp.c (CHAR_IN_SET): New macro.
6330         (parse_param): Use it.
6332 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6334         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6336 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6338         [BZ #18043]
6339         * posix/wordexp.c (parse_param): Fix buffer overflow.
6340         * posix/wordexp-test.c (test_case): Add test case.
6342 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6344         [BZ #18042]
6345         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6346         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6348 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6350         [BZ #18043]
6351         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6352         (do_bz18043): Delete.
6353         (at_page_end): New.
6354         (testit): Refactor to have words at the edge of unreadable page.
6356 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6358         [BZ #16734]
6359         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6360         Cleanup read-only streams as well.
6361         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6363 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6365         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6366         <bits/libc-lockP.h>
6368 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6370         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6371         on [__KERNEL__].
6372         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6373         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6374         * soft-fp/op-common.h (_FP_DECL): Likewise.
6376 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6378         * elf/ifuncdep2.c (global): Replace
6379         __attribute__((visibility("protected"))) with
6380         asm (".protected global").
6381         * elf/ifuncmod1.c (global): Likewise.
6382         * elf/ifuncmod5.c (global): Likewise.
6384 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6386         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6387         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6389 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6391         * manual/install.texi (Configuring and compiling):
6392         Document test-wrapper-env-only.
6393         * INSTALL: Regenerated.
6395 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6397         [BZ #18043]
6398         * posix/wordexp.c (parse_param): Fix buffer overflow.
6399         * posix/wordexp-test.c (do_bz18043): Add test case.
6401 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6403         * time/tst-strptime2.c (do_test): Ensure failing tests are
6404         reported correctly.
6405         * time/tst-strptime3.c (do_test): Likewise.
6407 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6409         Fix aio_error thread-safety.
6410         * sysdeps/pthread/aio_error.c: New file
6411         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6412         synchronization.
6414 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6416         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6417         (group_number, vfprintf): Use it.
6418         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6419         (JUMP, REF): Use it.
6420         (WORK_BUFFER_SIZE): New enum constant.
6421         (process_arg, vfprintf): Use it.
6423 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6425         * manual/errno.texi (Error Messages): Complete example function
6426         by adding missing #define.
6427         (program_invocation_name): Add statement indicating GNU
6428         extension and reference which header file declares the variable.
6429         (program_invocation_short_name): Likewise.
6431 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6433         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6434         compatibility note.
6436 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6438         * Makeconfig (test-wrapper-env-only): New variable.
6439         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6440         then use that with $(test-wrapper-env-only) rather than using
6441         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6443 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6445         [BZ #18082]
6446         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6447         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6448         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6449         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6450         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6451         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6452         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6453         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6454         Likewise.
6455         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6456         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6457         Likewise.
6458         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6459         Likewise.
6460         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6461         Likewise.
6462         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6463         Likewise.
6464         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6465         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6466         Likewise.
6467         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6468         Likewise.
6469         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6470         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6472 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6474         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6475         (ETH_ALEN): New macro.
6476         (struct ether_addr): Use it for length of ether_addr_octet.
6478         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6479         (setdb): Don't call __nss_configure_lookup for "rpc".
6480         (do_test): Don't call test_rpc.
6481         (output_rpcent, test_rpc): Functions moved ...
6482         * sunrpc/test-rpcent.c: ... to this new file.
6483         * sunrpc/Makefile (tests): Add it.
6485         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6486         __xpg_sigpause.
6487         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6488         * nptl/tst-signal6.c: Likewise.
6489         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6490         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6492         * configure.ac (libc_cv_cxx_link_ok): New check.
6493         Reset CXX to empty if it fails to link.
6494         * configure: Regenerated.
6495         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6496         bug-atexit3-lib only if $(CXX) is nonempty.
6497         * nptl/Makefile (tests): Likewise for tst-cancel24.
6498         (tests, tests-static): Likewise for tst-cancel24-static.
6499         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6500         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6501         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6502         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6504 2015-03-04  Andreas Schwab  <schwab@suse.de>
6506         [BZ #17631]
6507         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6508         for non-GCC compilers.
6509         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6510         Likewise.
6512 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6514         [BZ #17776]
6515         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6516         integer before bitwise and assembly operations.
6517         (feclearexcept): Likewise.
6518         * math/test-fenvinline.c: New file.
6519         * math/Makefile: Add test-fenvinline test.
6521 2015-03-03  Alan Modra  <amodra@gmail.com>
6523         [BZ #16512]
6524         * scripts/localplt.awk: Strip off symbol version.
6525         * NEWS: Mention bug fix.
6527 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6529         * sysdeps/pthread/timer_routines.c
6530         (timer_free_list, thread_free_list, thread_active_list): Make static.
6532 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6534         [BZ #17779]
6535         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6536         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6537         Undefine.
6538         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6539         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6540         Likewise.
6541         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6542         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6543         Likewise.
6545 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6547         [BZ #18036]
6548         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6549         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6551 2015-03-02  Andreas Schwab  <schwab@suse.de>
6553         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6554         variable name.
6556 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6558         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6559         Return error status.
6561 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6563         [BZ #15969]
6564         * locale/findlocale.c (_nl_find_locale): Introduce const
6565         version of loc_name and drop unsafe type casts.
6567 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6569         * dlfcn/tststatic2.c (main): Converted to ...
6570         (do_test): ... this.
6571         (TEST_FUNCTION): New macro.
6572         Include test-skeleton.c.
6574 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6576         [BZ #17711]
6577         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6578         (tests-pie): Add vismain.
6579         (CFLAGS-vismain.c): New.
6580         * elf/vismain.c: Add comments for PIE requirement.
6582 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6584         [BZ #18046]
6585         [BZ #18047]
6586         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6587         0x1p-56L as threshold for just returning the argument.
6588         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6589         0x1p-32L as threshold for just returning the argument.
6590         * math/auto-libm-test-in: Add more tests of atanh.
6591         * math/auto-libm-test-out: Regenerated.
6592         * sysdeps/i386/fpu/libm-test-ulps: Update.
6593         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6595 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6597         * string/bcopy.c (bcopy): Call memmove for performance.
6599 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6601         * string/bzero.c (__bzero): Call memset for performance.
6603 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6605         [BZ #18068]
6606         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6607         to 00100000.
6609 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6611         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6613 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6615         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6616         (__kernel_standard): Use CSTR macro when setting exc.name.
6617         * sysdeps/ieee754/Makefile [$(subdir) = math]
6618         (CFLAGS-k_standard.c): Remove variable.
6620         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6621         setting p and q from "else if" to "else".
6622         (qzero): Likewise.
6623         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6624         (qone): Likewise.
6625         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6626         (qzerof): Likewise.
6627         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6628         (qonef): Likewise.
6629         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6630         (qzero): Likewise.
6631         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6632         (qone): Likewise.
6634         [BZ #18038]
6635         [BZ #18039]
6636         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6637         return pi/2 for arguments below 0x1p-113L.
6638         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6639         return pi/2 for arguments below 0x1p-106L.
6640         * math/auto-libm-test-in: Add more tests of acos.
6641         * math/auto-libm-test-out: Regenerated.
6643         [BZ #16351]
6644         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6645         (MO): New macro.
6646         (__ieee754_asin): Force underflow exception for results with small
6647         absolute value.
6648         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6649         (MO): New macro.
6650         (__ieee754_asinf): Force underflow exception for results with
6651         small absolute value.
6652         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6653         (__ieee754_asin): Force underflow exception for results with small
6654         absolute value.
6655         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6656         (__ieee754_asinf): Force underflow exception for results with
6657         small absolute value.
6658         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6659         (__ieee754_asinl): Force underflow exception for results with
6660         small absolute value.
6661         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6662         (__ieee754_asinl): Force underflow exception for results with
6663         small absolute value.
6664         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6665         (__ieee754_asinl): Force underflow exception for results with
6666         small absolute value.
6667         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6668         Include <math.h>.
6669         * math/auto-libm-test-in: Do not mark underflow exceptions as
6670         possibly missing for bug 16351.
6671         * math/auto-libm-test-out: Regenerated.
6673         [BZ #18030]
6674         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6675         of power of 2 down when low part has opposite sign.
6676         * math/libm-test.inc (logb_test_data): Add more tests.
6678 2015-02-26  Andreas Schwab  <schwab@suse.de>
6680         [BZ #18032]
6681         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6682         over collating symbol inside a bracket expression.  Minor cleanup.
6683         * posix/tst-fnmatch3.c (do_test): Add test case.
6685 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6687         [BZ #18029]
6688         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6689         Adjust exponent of power of 2 down when low part has opposite
6690         sign.
6691         * math/libm-test.inc (ilogb_test_data): Add more tests.
6693 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6695         [BZ #15969]
6696         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6697         the previous change.
6699         [BZ #15969]
6700         * locale/findlocale.c (_nl_find_locale): Retry archive search
6701         after alias expansion.
6703 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6705         * iconv/tst-iconv3.c (main): Converted to ...
6706         (do_test): ... this.
6707         (TEST_FUNCTION): New macro.
6708         Include test-skeleton.c.
6710         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6711         (convert): Make function static.
6712         (test_unalign): Likewise.  Add const to argument pointee types.
6713         (main): Replace with static function do_test.
6714         Print "Succeeded." only if RET is zero.
6715         (TEST_FUNCTION): New macro.
6716         Include test-skeleton.c.
6718         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6719         returns a null pointer.
6721 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6723         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6724         to __memcpy_ppc only for static builds.
6726 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6728         [BZ #18020]
6729         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6730         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6731         * math/auto-libm-test-in: Add more tests of asinh.
6732         * math/auto-libm-test-out: Regenerated.
6733         * sysdeps/i386/fpu/libm-test-ulps: Update.
6734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6736 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6738         [BZ #15850]
6739         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6740         and ip6_mtuinfo definitions here.
6741         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6742         in this define too.  Update comment.
6744 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6746         * elf/sprof.c (load_shobj): Tweak error message to match others.
6748 2015-02-24  Kevin Easton  <kevin@guarana.org>
6750         [BZ #16145] (partial fix)
6751         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6752         to reduce lock contention.
6754 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6756         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6757         (struct timex): Update time comment.
6758         (ADJ_SETOFFSET): Define.
6760 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6762         [BZ #18019]
6763         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6764         2**56 not 2**28 as threshold for log (2x) formula.
6765         * math/auto-libm-test-in: Add more tests of acosh.
6766         * math/auto-libm-test-out: Regenerated.
6767         * sysdeps/i386/fpu/libm-test-ulps: Update.
6768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6770 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6772         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6773         parenthesis around the buf assignment.
6774         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6776 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6778         [BZ #16783]
6779         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6780         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6781         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6782         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6783         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6784         * math/libm-test.inc (scalb_test_data): Add more tests.
6786 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6788         [BZ #17916]
6789         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6790         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6792 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6794         [BZ #17523]
6795         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6796         * io/bits/fcntl2.h (open): Use it.
6797         (openat): Likewise.
6798         * io/open.c (__libc_open): Likewise.
6799         * io/open64.c (__libc_open64): Likewise.
6800         * io/open64_2.c (__open64_2): Likewise.
6801         * io/open_2.c (__open_2): Likewise.
6802         * io/openat.c (__openat): Likewise.
6803         * io/openat64.c (__openat64): Likewise.
6804         * io/openat64_2.c (__openat64_2): Likewise.
6805         * io/openat_2.c (__openat_2): Likewise.
6806         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6807         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6808         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6809         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6810         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6811         (__open_nocancel): Likewise.
6812         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6813         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6814         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6816 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6818         [BZ #14841]
6819         * resolv/gethnamaddr.c (getanswer): Skip logging if
6820         RES_USE_DNSSEC is set.
6821         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6823 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6825         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6827 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6829         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6830         201304L, for Unicode 7.
6832 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6834         [BZ #17836]
6835         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6836         shared library.  Add gmon-start.os otherwise.
6837         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6838         $(objpfx)gmon-start.os if builing shared library.
6839         ($(objpfx)g$(static-start-installed-name)): Likewise.
6841 2015-02-23  Andreas Schwab  <schwab@suse.de>
6843         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6845 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6847         [BZ #17269]
6848         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6849         (enlarge_userbuf): Likewise.
6851 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6853         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6854         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6855         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6856         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6858 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6860         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6861         expression inside statement expression.
6863 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6865         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6866         <sysdeps/nptl/lowlevellock.h> and remove macros and
6867         functions that are now defined there.
6868         (SYS_futex): Remove.
6869         (lll_compare_and_swap): Remove.
6870         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6872 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6874         [BZ #17999]
6875         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6876         instead of scandirat.
6877         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6878         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6879         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6880         __scandirat.
6881         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6882         (__scandirat): Declare.  Use libc_hidden_proto.
6883         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6884         Remove variable.
6885         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6887 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6889         [BZ #15319]
6890         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6891         (MO): New macro.
6892         (__ieee754_atan2): For results with small absolute value, force
6893         underflow exception and remove excess range and precision from
6894         return value.
6895         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6896         (MO): New macro.
6897         (__ieee754_atan2f): For results with small absolute value, force
6898         underflow exception and remove excess range and precision from
6899         return value.
6900         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6901         (MO): New macro.
6902         (__atan): For results with small absolute value, force underflow
6903         exception and remove excess range and precision from return value.
6904         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6905         (MO): New macro.
6906         (__atanf): For results with small absolute value, force underflow
6907         exception and remove excess range and precision from return value.
6908         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6909         <math.h>.
6910         (__ieee754_atan2): Force underflow exception for results with
6911         small absolute value.
6912         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6913         <math_private.h>.
6914         (atan): Force underflow exception for results with small absolute
6915         value.
6916         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6917         (__atanf): Force underflow exception for results with small
6918         absolute value.
6919         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6920         <math.h>.
6921         (__atanl): Force underflow exception for results with small
6922         absolute value.
6923         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6924         (__atanl): Force underflow exception for results with small
6925         absolute value.
6926         * sysdeps/x86/fpu/bits/mathinline.h
6927         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6928         (__ieee754_atan2): Only define inline for long double.
6929         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6930         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6931         * math/auto-libm-test-in: Do not mark underflow exceptions as
6932         possibly missing for bug 15319.  Add more tests of atan2.
6933         * math/auto-libm-test-out: Regenerated.
6934         * math/libm-test.inc (casin_test_data): Do not mark underflow
6935         exceptions as possibly missing for bug 15319.
6936         (casinh_test_data): Likewise.
6937         * sysdeps/i386/fpu/libm-test-ulps: Update.
6939 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6941         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6942         * sysdeps/mips/bits/endian.h: Fix comments.
6944 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6946         [BZ #17996]
6947         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6948         (hdestroy_r): Likewise.
6949         (hsearch_r): Likewise.
6950         (__hcreate_r): Declare and use libc_hidden_proto.
6951         (__hdestroy_r): Likewise.
6952         (__hsearch_r): Likewise.
6953         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6954         (hcreate): Call __hcreate_r instead of hcreate_r.
6955         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6956         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6957         as weak alias of __hcreate_r.
6958         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6959         __hdestroy_r.
6960         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6961         __hsearch_r.
6962         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6963         Remove variable.
6964         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6965         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6966         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6967         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6969 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6971         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6972         arena_lock into a single arena_get.
6974 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6976         * dl-reloc.c: Inlucde libc-internal.h.
6977         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6978         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6979         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6980         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6981         (grow_heap): Likewise.
6982         * malloc/malloc.c: Include libc-internal.h.
6983         (do_check_malloc): Call powerof2.
6984         (sysmalloc): Use pagesize. Call ALIGN_UP.
6985         (systrim): Use pagesize.
6986         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6987         (__libc_valloc): Use pagesize.
6988         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6990 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6992         [BZ #17991]
6993         * include/sys/resource.h (__getrlimit64): Declare.  Use
6994         libc_hidden_proto.
6995         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6996         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6997         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6998         getrlimit64.
6999         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7000         __getrlimit64.
7001         [!getrlimit64] (getrlimit64): Define as weak alias of
7002         __getrlimit64.  Use libc_hidden_weak.
7003         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7004         using __getrlimit64 not __new_getrlimit64.
7005         (__GI_getrlimit64): Likewise.
7006         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7007         Likewise.
7008         (__GI_getrlimit64): Likewise.
7009         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7011         (getrlimit): Add __getrlimit64 alias.
7012         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7013         Likewise.
7014         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7015         Remove variable.
7016         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7017         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7019 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7021         * libio/fileops.c: Add missing sys/mman.h
7022         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7024 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7026         * manual/math.texi (Errors in Math Functions): Clarify goals
7027         regarding inexact and underflow exceptions.
7029 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7031         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7032         * sysdeps/mips/memset.S: Ditto.
7034 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7036         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7038 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7040         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7041         (__v1longjmp): Remove versioned symbol.
7042         (__v1siglongjmp): Remove alias and versioned symbol.
7043         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7044         (__v2siglongjmp): Likewise.
7046 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7048         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7050 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7052         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7054 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7056         [BZ #17987]
7057         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7058         zero result does not depend on the sign resulting from
7059         subtraction.
7060         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7061         Likewise.
7062         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7063         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7064         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7065         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7066         * math/libm-test.inc (remquo_test_data): Add more tests.
7068 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7070         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7071         Problem reported by J William Piggott.
7073 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7075         [BZ #17978]
7076         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7077         products 4 * y and 2 * y where those would overflow.
7078         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7079         Likewise.
7080         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7081         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7082         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7083         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7084         * math/libm-test.inc (remquo_test_data): Add more tests.
7086         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7088         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7089         [defined _COMPILING_NEWLIB].
7090         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7091         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7093         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7094         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7096 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7098         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7099         acquired.
7101 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7103         [BZ #17792]
7104         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7105         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7106         HOST_STACK_END_ADDR): Likewise.
7108 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7110         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7111         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7112         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7114 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7116         * sysdeps/generic/c++-types.data: New file.
7117         * sysdeps/generic/ld.abilist: New file.
7118         * sysdeps/generic/libBrokenLocale.abilist: New file.
7119         * sysdeps/generic/libanl.abilist: New file.
7120         * sysdeps/generic/libc.abilist: New file.
7121         * sysdeps/generic/libcrypt.abilist: New file.
7122         * sysdeps/generic/libdl.abilist: New file.
7123         * sysdeps/generic/libm.abilist: New file.
7124         * sysdeps/generic/libpthread.abilist: New file.
7125         * sysdeps/generic/libresolv.abilist: New file.
7126         * sysdeps/generic/librt.abilist: New file.
7128 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7130         [BZ #17569]
7131         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7132         Compute absolute value of x as modified by fmod, not original
7133         value of x.
7134         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7135         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7136         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7137         RUN_TEST_ffI_f1_mod8.
7138         (remquo_test_data): Add more tests.
7140 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7142         * sysdeps/init_array/pt-crti.S: New file.
7144 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7146         [BZ #17967]
7147         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7148         __builtin_fmaf instead of relying on contraction of a * b + c.
7150 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7152         [BZ #17969]
7153         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7154         node.
7156 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7158         [BZ #17964]
7159         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7160         __builtin_fma instead of relying on contraction of a * b + c.
7162 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7164         * Makeconfig (ASFLAGS): Add -Werror=undef.
7165         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7166         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7167         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7169         * Makeconfig (after-link): New variable.
7170         (+link-pie, +link-pie-tests): Use it.
7171         (+link-static, +link-static-tests): Likewise.
7172         (+link, +link-tests): Likewise.
7173         * Makerules (build-module, build-module-asneeded): Likewise.
7174         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7175         Likewise.
7176         * elf/Makefile ($(objpfx)ld.so): Likewise.
7178 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7180         [BZ #17965]
7181         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7182         both struct timeval and struct timespec.
7184 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7186         [BZ #16560]
7187         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7188         and redefine.
7189         (__ieee754_exp2l): Do not multiply small fractional parts by
7190         M_LN2l.
7191         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7192         small argument.
7193         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7194         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7195         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7196         * math/auto-libm-test-in: Add more tests of exp2.
7197         * math/auto-libm-test-out: Regenerated.
7199 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7201         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7202         unaligned path.
7204 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7206         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7207         little endian.
7209 2015-02-12  Andreas Schwab  <schwab@suse.de>
7211         [BZ #15790]
7212         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7213         Filter out elision flags from value returned in kind.
7214         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7215         * nptl/tst-pthread-mutexattr.c: New file.
7217 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7219         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7220         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7221         into gnu-gnu, and update comment to refer to abi-tags.
7223 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7225         [BZ #15467]
7226         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7227         (__sincos): Set errno to EDOM for infinite argument.
7228         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7229         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7230         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7231         (__sincosl): Set errno to EDOM for infinite argument.
7232         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7233         (__sincosl): Set errno to EDOM for infinite argument.
7234         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7235         (__sincosl): Set errno to EDOM for infinite argument.
7236         * math/libm-test.inc (sincos_test_data): Test errno setting.
7238 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7240         * string/strxfrm_l.c: Remove #define STRCMP.
7241         * string/strcoll_l.c: Remove #define STRLEN.
7242         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7243         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7245 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7247         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7248         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7249         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7250         * sysdeps/mips/mips64/Makefile: ... here.
7251         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7252         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7253         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7254         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7255         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7256         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7257         * sysdeps/mips/mips64/n64/Implies: Likewise.
7259 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7261         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7262         <sys/time.h>, <string.h>, and <errno.h>.
7263         (dest_offset, dest_address, value, zero): Remove unused variables.
7264         (ldouble): Remove typedef.
7265         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7266         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7267         1).  Fix code style.
7268         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7269         (check): Function removed.
7270         (CHECK): New macro.
7271         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7272         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7273         Don't call set_sigaction_FP and remove_sigaction_FP here.
7274         (ldouble_test): Just use 'long double' as macro argument, no need for
7275         the 'ldouble' typedef.
7276         (do_test): Set up SIGFPE handler at start, using plain signal rather
7277         than sigaction.  Fix code style.
7279 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7281         [BZ #17949]
7282         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7283         jump label.
7285 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7287         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7288         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7290         * sysdeps/powerpc/configure.ac: Remove file.
7291         * sysdeps/powerpc/configure: Likewise.
7293         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7294         [sysdep_routines]: Remove wordcopy-power6 object.
7295         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7296         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7297         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7298         (__memmove_ppc32): Likewise.
7299         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7300         file.
7301         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7302         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7303         Remove preprocessor.
7305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7306         [sysdep_routines]: Remove wide chars objects.
7307         [wcsmbs]: New rule for wide char objects.
7309         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7310         Remove wordcopy-power6 obejct.
7311         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7312         Use local call for wordcopy and memcpy symbols.
7313         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7314         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7315         implementation for loader.
7316         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7318         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7319         Remove wordcopy-power7 object.
7320         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7321         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7322         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7323         (_wordcopy_fwd_dest_aligned): Likewise.
7324         (_wordcopy_bwd_aligned): Likewise.
7325         (_wordcopy_bwd_dest_aligned): Likewise.
7327         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7328         Rewrite to call __memmove_ppc instead of include default
7329         implementation.
7331         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7332         Remove wide chars objects.
7333         [wcsmbs]: New rule for wide char objects.
7335 2015-02-09  Andreas Schwab  <schwab@suse.de>
7337         [BZ #17912]
7338         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7339         in terms of __O_DIRECTORY.
7341 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7343         * time/getdate.c: Include <stdbool.h>.
7344         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7345         call PTR_MANGLE.
7346         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7347         PTR_DEMANGLE.
7349 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7351         Add ersatz _Static_assert on older C hosts
7352         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7353         pre-C11 C platform that is not known to support _Static_assert.
7355 2015-02-07  Richard Braun  <rbraun@sceen.net>
7357         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7358         sigstate.
7359         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7361 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7363         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7364         priority against unexistent AIO_PRIO_DELTA_MAX.
7365         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7366         instead of int.
7367         * misc/fchflags.c (fchflags): Likewise.
7368         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7369         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7370         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7371         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7372         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7373         Declare macros.
7374         [__USE_MISC] (chflags, fchflags): Declare functions.
7375         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7376         EINVAL when nfds is greater than FD_SETSIZE.
7377         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7378         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7379         45.
7380         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7381         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7382         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7383         MACH_RCV_TIMED_OUT.
7384         * hurd/hurd/signal.h (_hurd_self_sigstate,
7385         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7386         Explicit casts from void *.
7387         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7388         * abi-tags: Rename gnu-gnu os into gnu.
7390         [BZ #4719]
7391         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7392         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7393         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7394         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7395         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7396         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7398         [BZ #17944]
7399         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7400         duplicates ADDR->sun_path with sockaddr LEN limitation.
7401         * sysdeps/mach/hurd/connect.c: Include <string.h>
7402         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7403         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7404         * sysdeps/mach/hurd/sendto.c: Likewise.
7405         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7406         implementing it by hand.
7408 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7410         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7411         Use sfi_breg on ldr.
7412         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7413         Likewise.
7415         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7416         it's defined.
7417         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7418         Test SIGSETXID only if it's defined.
7420         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7422         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7423         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7425         * nptl/tst-align2.c: Moved ...
7426         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7427         * nptl/Makefile (tests): Remove tst-align2.
7428         * sysdeps/unix/sysv/linux/Makefile
7429         [$(subdir) = nptl] (tests): Add tst-align-clone.
7430         * nptl/tst-getpid1.c: Moved ...
7431         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7432         * nptl/tst-getpid2.c: Moved ...
7433         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7434         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7435         * sysdeps/unix/sysv/linux/Makefile
7436         [$(subdir) = nptl] (tests): ... here.
7437         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7438         * sysdeps/unix/sysv/linux/Makefile
7439         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7441         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7442         Drop trailing \n from perror argument.  Use return rather than exit.
7444         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7445         on [SA_SIGINFO].
7446         * nptl/tst-cancel21.c (do_test): Likewise.
7447         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7448         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7449         [!SA_SIGINFO]: Make it a stub test.
7451         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7452         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7454         * posix/tst-getlogin.c: Move to ...
7455         * login/tst-getlogin.c: ... here.
7456         * posix/Makefile (tests): Move tst-getlogin to ...
7457         * login/Makefile (tests): ... here.
7459         * libio/tst-atime.c (do_test): Move local variables SV and E
7460         inside [ST_NOATIME] conditional.
7462         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7464         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7466         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7467         (wait_code): New function replaces macro.
7468         Call nanosleep rather than syscall.
7470         * nptl/pt-system.c: Rewritten.  Put everything under
7471         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7472         Use IFUNC to redirect when possible.
7474         * nptl/pt-longjmp.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-fork.c: Rewritten.  Put everything under
7479         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7480         Use IFUNC to redirect when possible.
7481         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7483         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7484         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7485         unconditionally nowadays.  This included the only reference to
7486         __vdso_clock_gettime that appears outside libc proper.
7487         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7488         Remove version set (containing only __vdso_clock_gettime).
7489         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7490         Add attribute_hidden.
7491         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7492         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7493         libc_hidden_data_def.
7494         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7495         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7497         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7498         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7499         setrpcent, and getrpcport to ...
7500         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7501         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7502         getrpcbynumber_r, and getrpcent_r to ...
7503         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7504         * inet/getrpcbyname.c: Moved ...
7505         * sunrpc/getrpcbyname.c: ... here.
7506         * inet/getrpcbyname_r.c: Moved ...
7507         * sunrpc/getrpcbyname_r.c: ... here.
7508         * inet/getrpcbynumber.c: Moved ...
7509         * sunrpc/getrpcbynumber.c: ... here.
7510         * inet/getrpcbynumber_r.c: Moved ...
7511         * sunrpc/getrpcbynumber_r.c: ... here.
7512         * inet/getrpcent.c: Moved ...
7513         * sunrpc/getrpcent.c: ... here.
7514         * inet/getrpcent_r.c: Moved ...
7515         * sunrpc/getrpcent_r.c: ... here.
7516         * inet/Makefile (routines): Move those to ...
7517         * sunrpc/Makefile (routines): ... here.
7518         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7519         the $(subdirs) list.
7520         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7521         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7522         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7523         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7525         * elf/Makefile (routines): Include $(all-dl-routines), not just
7526         $(dl-routines).
7527         (rtld-routines): Likewise.  Use = rather than :=.
7528         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7529         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7530         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7531         * sysdeps/arm/Makefile: Likewise.
7532         * sysdeps/i386/Makefile: Likewise.
7533         * sysdeps/x86_64/Makefile: Likewise.
7534         * sysdeps/hppa/Makefile [$(subdir) = elf]
7535         (sysdep_routines, sysdep-rtld-routines): Don't add
7536         $(sysdep-dl-routines) to these.
7537         * sysdeps/ia64/Makefile: Likewise.
7538         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7539         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7540         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7541         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7542         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7543         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7544         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7545         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7546         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7547         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7548         these; sysdep-dl-routines alone is enough.
7550 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7552         [BZ #17932]
7553         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7554         where multiplication results in zero and third argument is finite
7555         and nonzero.
7556         * math/auto-libm-test-in: Add more tests of fma.
7557         * math/auto-libm-test-out: Regenerated.
7559         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7560         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7561         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7562         (_FP_CMP_EQ): Likewise.
7563         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7565         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7566         extra argument CHECK_NAN.  Redefine as wrapper around
7567         _FP_EXTEND_CNAN.
7569 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7571         * version.h (RELEASE): Set to "stable".
7572         (VERSION): Set to "2.21"
7573         * include/features.h (__GLIBC_MINOR__): Set to 21.
7575         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7577 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7578             Paul Eggert  <eggert@cs.ucla.edu>
7580         [BZ #16618]
7581         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7582         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7583         size in bytes. Store needed elements in wpmax. Use needed size
7584         in bytes for extend_alloca.
7586 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7588         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7589         binutls 2.25, and texinfo 5.2.
7590         * INSTALL: Regenerate.
7591         * sysdeps/nios2/configure: Regenerate.
7592         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7593         * manual/contrib.texi: Update.
7594         * po/be.po: Update.
7595         * po/bg.po: Update.
7596         * po/ca.po: Update.
7597         * po/cs.po: Update.
7598         * po/da.po: Update.
7599         * po/de.po: Update.
7600         * po/el.po: Update.
7601         * po/eo.po: Update.
7602         * po/es.po: Update.
7603         * po/fi.po: Update.
7604         * po/fr.po: Update.
7605         * po/gl.po: Update.
7606         * po/hr.po: Update.
7607         * po/hu.po: Update.
7608         * po/ia.po: Update.
7609         * po/id.po: Update.
7610         * po/it.po: Update.
7611         * po/ja.po: Update.
7612         * po/ko.po: Update.
7613         * po/lt.po: Update.
7614         * po/nb.po: Update.
7615         * po/nl.po: Update.
7616         * po/pl.po: Update.
7617         * po/pt_BR.po: Update.
7618         * po/ru.po: Update.
7619         * po/rw.po: Update.
7620         * po/sk.po: Update.
7621         * po/sl.po: Update.
7622         * po/sv.po: Update.
7623         * po/tr.po: Update.
7624         * po/uk.po: Update.
7625         * po/vi.po: Update.
7626         * po/zh_CN.po: Update.
7627         * po/zh_TW.po: Update.
7629         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7630         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7631         * sysdeps/hppa/dl-irel.h: Remove #warning.
7632         * sysdeps/hppa/entry.h: Provide prototype for
7633         __canonicalize_funcptr_for_compare and cast argument.
7634         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7635         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7636         * sysdeps/hppa/sotruss-lib.c: New file.
7637         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7638         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7639         (atomic_compare_and_exchange_bool_acq): Likewise.
7640         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7641         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7643         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7644         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7645         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7647 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7649         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7650         called function in non-PIC case.
7652 2015-01-31  David S. Miller  <davem@davemloft.net>
7654         * sysdeps/sparc/sparc32/bits/atomic.h
7655         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7656         unlock not after it.
7657         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7658         volatile register usage warnings from the compiler.
7660         * sysdeps/sparc/nptl/sem_init.c: Delete.
7661         * sysdeps/sparc/nptl/sem_post.c: Delete.
7662         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7663         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7664         * sysdeps/sparc/sparc32/sem_init.c: New file.
7665         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7666         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7667         padding explicitly initialized.
7668         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7669         padding for in-semaphore spinlock.
7670         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7671         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7672         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7673         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7674         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7675         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7676         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7677         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7678         version.
7679         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7680         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7682 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7684         [BZ #17801]
7685         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7686         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7687         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7688         New.
7689         (index_AVX_Fast_Unaligned_Load): Likewise.
7690         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7691         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7692         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7693         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7694         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7695         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7696         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7697         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7698         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7700 2015-01-29  Andreas Schwab  <schwab@suse.de>
7702         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7704 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7706         [BZ #17892]
7707         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7709 2015-01-28  Martin Sebor  <msebor@redhat.com>
7711         * math/README.libm-test: Clarify. Add "How to read the test output."
7713 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7715         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7716         Define to 0.
7718 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7720         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7721         (__HAVE_64B_ATOMICS): Define to 0.
7723 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7725         [BZ #17885]
7726         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7727         value to set as new flag.
7729         [BZ #16576]
7730         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7731         and use _ARCH_PPCSQ instead.
7732         (__ieee754_sqrt): Likewise.
7733         (__ieee754_sqrtf): Likewise.
7734         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7735         _ARCH_PPCSQ is defined.
7736         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7737         fsqrt instruction.
7738         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7739         _ARCH_PPCSQ is defined.
7740         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7741         fsqrts instruction.
7742         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7744 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7746         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7747         bug (GCC BZ #64739).
7749 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7751         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7752         Mark _retval as used.
7753         (lll_futex_wake_unlock): Likewise.
7754         (lll_futex_timed_wait_requeue_pi): Likewise.
7756         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7757         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7758         register variables.
7760         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7761         libm_hidden_def.
7763         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7764         (__bswap_64): Mark as __always_inline.
7766 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7768         [BZ #15378]
7769         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7770         when none of the search directories exist.
7772 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7774         [BZ #17869]
7775         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7776         power8 in .machine directive.
7778         [BZ #17868]
7779         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7780         set dependency from opd value.
7782 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7785         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7786         architecture.
7788 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7790         [BZ #17870]
7791         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7792         with uint64_t.
7793         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7794         (uint64_t) 1.
7795         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7796         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7797         Replace 1UL with (uint64_t) 1.
7798         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7799         int with uint64_t.
7801 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7803         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7804         (if_freenameindex): Likewise.
7806         * resource/getrlimit64.c: Add missing libc_hidden_def.
7808 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7810         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7811         __label__.
7812         (_FP_FMA): Likewise.
7813         (_FP_TO_INT_ROUND): Likewise.
7814         (_FP_FROM_INT): Likewise.
7816 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7818         [BZ #16418]
7819         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7820         Make code racy and cancel safe.
7822 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7824         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7825         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7826         attribution.
7828         * pwd/tst-getpw.c: Rewrite.
7830         [BZ #17702]
7831         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7832         (modules-names): Add moddummy1 and moddummy2.
7833         ($(objpfx)tst-rec-dlopen): Define.
7834         * dlfcn/moddummy1.c: New file.
7835         * dlfcn/moddummy2.c: New file.
7836         * dlfcn/tst-rec-dlopen.c: New file.
7837         * elf/dl-cache.c (_dl_load_cache_lookup):
7838         Return char*. Copy result with alloca/strcpy/strdup.
7839         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7840         returns char*. Free cached. If not saving realname
7841         free cached.
7842         * elf/dl-open.c (dl_open_worker): Do not assert that
7843         _r_debug->r_state is RT_CONSISTENT.
7844         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7845         returns char*.
7847 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7848             Carlos O'Donell  <carlos@redhat.com>
7850         [BZ #12674]
7851         * nptl/sem_waitcommon.c: New file.
7852         * nptl/sem_wait.c: Include sem_waitcommon.c.
7853         (__sem_wait_cleanup, do_futex_wait): Remove.
7854         (__new_sem_wait): Adapt.
7855         (__new_sem_trywait): New function.
7856         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7857         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7858         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7859         (sem_timedwait): Adapt.
7860         * nptl/sem_post.c (__new_sem_post): Adapt.
7861         (futex_wake): New function.
7862         (__old_sem_post): Add release MO fence.
7863         * nptl/sem_open.c (sem_open): Adapt.
7864         * nptl/sem_init.c (__new_sem_init): Adapt.
7865         (futex_private_if_supported): New function.
7866         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7867         (__old_sem_getvalue): Add using previous code.
7868         * sysdeps/nptl/internaltypes.h: Adapt.
7869         * nptl/tst-sem13.c (do_test): Adapt.
7870         * nptl/tst-sem11.c (main): Adapt.
7871         * nptl/sem_trywait.c: Remove.
7872         * nptl/DESIGN-sem.txt: Remove.
7873         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7874         (gen-as-const-headers): Remove structsem.sym.
7875         * nptl/structsem.sym: Remove.
7876         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7877         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7878         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7879         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7880         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7881         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7882         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7883         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7884         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7885         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7886         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7887         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7888         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7889         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7890         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7891         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7892         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7893         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7894         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7895         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7896         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7897         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7899 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7901         * INSTALL: Regenerated.
7903         * po/libc.pot: Regenerated.
7905 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7906             Sandra Loosemore  <sandra@codesourcery.com>
7907             Andrew Jenner  <andrew@codesourcery.com>
7908             Joseph Myers  <joseph@codesourcery.com>
7909             Nathan Sidwell  <nathan@codesourcery.com>
7911         * NEWS: Mention new Nios II port.
7912         * sysdeps/nios2/Implies: New file.
7913         * sysdeps/nios2/Makefile: New file.
7914         * sysdeps/nios2/Subdirs: New file.
7915         * sysdeps/nios2/Versions: New file.
7916         * sysdeps/nios2/__longjmp.S: New file.
7917         * sysdeps/nios2/abort-instr.h: New file.
7918         * sysdeps/nios2/backtrace.c: New file.
7919         * sysdeps/nios2/bits/endian.h: New file.
7920         * sysdeps/nios2/bits/fenv.h: New file.
7921         * sysdeps/nios2/bits/link.h: New file.
7922         * sysdeps/nios2/bits/setjmp.h: New file.
7923         * sysdeps/nios2/bsd-_setjmp.S: New file.
7924         * sysdeps/nios2/bsd-setjmp.S: New file.
7925         * sysdeps/nios2/configure: New generated file.
7926         * sysdeps/nios2/configure.ac: New file.
7927         * sysdeps/nios2/crti.S: New file.
7928         * sysdeps/nios2/crtn.S: New file.
7929         * sysdeps/nios2/dl-init.c: New file.
7930         * sysdeps/nios2/dl-machine.h: New file.
7931         * sysdeps/nios2/dl-sysdep.h: New file.
7932         * sysdeps/nios2/dl-tls.h: New file.
7933         * sysdeps/nios2/dl-trampoline.S: New file.
7934         * sysdeps/nios2/gccframe.h: New file.
7935         * sysdeps/nios2/gmp-mparam.h: New file.
7936         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7937         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7938         * sysdeps/nios2/ldsodefs.h: New file.
7939         * sysdeps/nios2/libc-tls.c: New file.
7940         * sysdeps/nios2/libm-test-ulps: New file.
7941         * sysdeps/nios2/machine-gmon.h: New file.
7942         * sysdeps/nios2/math-tests.h: New file.
7943         * sysdeps/nios2/math_private.h: New file.
7944         * sysdeps/nios2/memusage.h: New file.
7945         * sysdeps/nios2/nptl/Makefile: New file.
7946         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7947         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7948         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7949         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7950         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7951         * sysdeps/nios2/nptl/tls.h: New file.
7952         * sysdeps/nios2/preconfigure: New file.
7953         * sysdeps/nios2/s_fma.c: New file.
7954         * sysdeps/nios2/s_fmaf.c: New file.
7955         * sysdeps/nios2/setjmp.S: New file.
7956         * sysdeps/nios2/sfp-machine.h: New file.
7957         * sysdeps/nios2/sotruss-lib.c: New file.
7958         * sysdeps/nios2/stackguard-macros.h: New file.
7959         * sysdeps/nios2/stackinfo.h: New file.
7960         * sysdeps/nios2/start.S: New file.
7961         * sysdeps/nios2/sysdep.h: New file.
7962         * sysdeps/nios2/tls-macros.h: New file.
7963         * sysdeps/nios2/tst-audit.h: New file.
7964         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7965         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7966         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7967         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7968         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7969         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7970         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7971         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7972         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7973         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7974         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7975         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7976         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7977         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7978         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7979         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7980         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7981         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7982         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7983         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7984         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7985         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7986         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7987         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7988         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7989         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7990         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7991         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7992         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7993         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7994         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7995         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7996         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7997         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7998         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7999         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8000         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8001         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8002         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8003         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8004         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8005         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8006         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8007         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8009 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8011         [BZ #17844]
8012         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8013         (getutent): Use weak_alias in non SHARED case
8014         and default_symbol_version in SHARED case.
8015         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8016         (getutent_r, pututline): Likewise.
8017         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8018         (getutid): Likewise.
8019         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8020         (getutid_r): Likewise.
8021         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8022         (getutline): Likewise.
8023         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8024         (getutline_r): Likewise.
8025         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8026         (updwtmp): Likewise.
8028 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8030         [BZ #17848]
8031         * sysdeps/s390/s390-32/memcmp.S
8032         (memcmp_g5): Rename to __memcmp_g5.
8033         * sysdeps/s390/s390-32/memcpy.S
8034         (memcpy_g5): Rename to __memcpy_g5.
8035         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8036         (memcpy_mvcle) Rename to __memcpy_mvcle.
8037         * sysdeps/s390/s390-32/memset.S
8038         (memset_g5): Rename to __memset_g5.
8039         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8040         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8041         and use prefixed functions.
8042         * sysdeps/s390/s390-32/multiarch/memcmp.S
8043         (memcmp_z196): Rename to __memcmp_z196.
8044         (memcmp_z10): Rename to __memcmp_z10.
8045         (memcmp): Set alias to __memcmp_g5.
8046         (bcmp): Set alias to __memcmp_g5.
8047         * sysdeps/s390/s390-32/multiarch/memcpy.S
8048         (memcpy_z196): Rename to __memcpy_z196.
8049         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8050         (memcpy_z10): Rename to __memcpy_z10.
8051         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8052         (memcpy): Set alias to __memcpy_g5.
8053         * sysdeps/s390/s390-32/multiarch/memset.S
8054         (memset_z196): Rename to __memset_z196.
8055         Jump to __memset_mvcle instead of memset_mvcle.
8056         (memset_z10): Rename to __memset_z10.
8057         Jump to __memset_mvcle instead of memset_mvcle.
8058         (memset_mvcle) Rename to __memset_mvcle.
8059         (memset): Set alias to __memset_g5.
8060         * sysdeps/s390/s390-64/memcmp.S
8061         (memcmp_z900): Rename to __memcmp_z900.
8062         * sysdeps/s390/s390-64/memcpy.S
8063         (memcpy_z900): Rename to __memcpy_z900.
8064         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8065         (memcpy_mvcle) Rename to __memcpy_mvcle.
8066         * sysdeps/s390/s390-64/memset.S
8067         (memset_z900): Rename to __memset_z900.
8068         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8069         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8070         and use prefixed functions.
8071         * sysdeps/s390/s390-64/multiarch/memcmp.S
8072         (memcmp_z196): Rename to __memcmp_z196.
8073         (memcmp_z10): Rename to __memcmp_z10.
8074         (memcmp): Set alias to __memcmp_z900.
8075         (bcmp): Set alias to __memcmp_z900.
8076         * sysdeps/s390/s390-64/multiarch/memcpy.S
8077         (memcpy_z196): Rename to __memcpy_z196.
8078         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8079         (memcpy_z10): Rename to __memcpy_z10.
8080         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8081         (memcpy): Set alias to __memcpy_z900.
8082         * sysdeps/s390/s390-64/multiarch/memset.S
8083         (memset_z196): Rename to __memset_z196.
8084         Jump to __memset_mvcle instead of memset_mvcle.
8085         (memset_z10): Rename to __memset_z10.
8086         Jump to __memset_mvcle instead of memset_mvcle.
8087         (memset_mvcle) Rename to __memset_mvcle.
8088         (memset): Set alias to __memset_z900.
8090 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8092         [BZ #17748]
8093         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8094         __fesetenv instead of fesetenv.
8096 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8098         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8099         macro.
8101 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8103         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8104         regression on LE.
8106         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8107         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8108         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8109         strncmp-power8 object.
8110         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8111         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8112         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8113         * NEWS: Update.
8115 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8116             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8118         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8119         trailing byte check.
8121 2015-01-13  David S. Miller  <davem@davemloft.net>
8123         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8125 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8127         * login/logout.c (logout): Use memset rather than bzero.
8128         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8129         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8130         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8131         (_gethtbyaddr): Likewise.
8132         * locale/programs/simple-hash.c (bcopy): Macro removed.
8134 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8136         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8137         Add strcmp-power8 object.
8138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8139         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8140         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8141         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8142         __strcmp_power8 implementation.
8143         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8144         * NEWS: Update.
8146         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8147         Add strncpy-power8 and stpncpy-power8 objects.
8148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8149         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8150         implementations.
8151         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8152         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8153         __stpncpy_power8 implementation.
8154         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8155         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8156         __strncpy_power8 implementation.
8157         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8158         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8159         * NEWS: Update.
8161         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8162         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8163         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8165         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8166         strncat-power8 object.
8167         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8168         __strcat_power8 implementation.
8169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8170         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8171         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8172         optimized strcat for power8.
8174         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8175         strcpy-power8 and stpcpy-power8 objects.
8176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8177         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8178         implementations.
8179         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8180         multiarch stpcpy implementation for POWER8.
8181         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8182         multiarch strcpy implementation for POWER8.
8183         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8184         __strcpy_power8 function.
8185         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8186         stpcpy for POWER8.
8187         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8188         strcpy for POWER8.
8189         * NEWS: Update.
8191 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8193         [BZ #16009]
8194         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8195         weights and rules. Use do_xfrm_cached if data fits in cache,
8196         do_xfrm otherwise.  Moved former main loop to...
8197         * (do_xfrm_cached): New function.
8198         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8199         find_idx, find_position and stack_push.
8200         * (find_idx): New function.
8201         * (find_position): Likewise.
8202         * localedata/sort-test.sh: Added test run for do_xfrm.
8203         * localedata/xfrm-test.c (main): Added command line option
8204         -nocache to run the test with strings that are too large for
8205         the STRXFRM cache.
8207 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8209         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8210         variable to lll_futex_wake call, not the value itself.
8212 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8214         [BZ #17803]
8215         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8216         twom64.  Adjust value to 0x1p-64L.
8217         (__scalblnl): Only return standard underflowing result for K <=
8218         -64 not K <= -63; adjust exponent for underflowing result by 64
8219         not 63.
8220         * math/libm-test.inc (scalbn_test_data): Add more tests.
8221         (scalbln_test_data): Likewise.
8223         [BZ #17834]
8224         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8225         0x1p63L.
8226         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8227         not HX.
8228         * math/libm-test.inc (scalbn_test_data): Add more tests.
8229         (scalbln_test_data): Likewise.
8231 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8232             Stefani Seibold  <stefani@seibold.net>
8234         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8235         (sysdep_routines): Add dl-vdso here, ...
8236         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8237         (sysdep_routines): ... not here.
8238         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8239         fallback when vDSO is not presented.
8240         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8241         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8242         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8243         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8244         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8245         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8246         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8247         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8248         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8249         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8250         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8251         fallback configurable symbol when vDSO is not available.
8252         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8253         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8254         be able to redefine fallback symbol when vDSO is not available.
8255         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8256         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8258 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8260         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8261         (TLS_INIT_TP): Add tm_capable initialization.
8262         (TLS_DEFINE_INIT_TP): Likewise.
8263         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8264         TCB.
8265         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8266         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8267         calculation.
8268         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8269         transactoion is lock elision is built and TCB tm_capable is set.
8270         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8272         (INTERNAL_SYSCALL_NCS): Likewise.
8273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8274         (INTERNAL_SYSCALL_NCS): Likewise.
8275         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8277         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8278         for powerpc.
8279         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8280         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8281         and remove it for 32 bits case.
8282         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8283         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8284         initialization.
8285         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8286         Disable lock elision with rdlocks if elision is not available.
8288         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8289         (sysdep_routines): Add lock elision objects.
8290         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8291         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8292         [pthread_mutex_t] (__elision): Add field.
8293         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8294         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8295         elision definitions for powerpc.
8296         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8297         implementation of lock elision for powerpc.
8298         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8299         implementation of timed lock elision for powerpc.
8300         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8301         implementation of trylock with lock elision for powerpc.
8302         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8303         implementaion of unlock for lock elision for powerpc.
8304         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8305         automatic enable lock elision for mutexes.
8306         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8307         transaction execution definitions for powerpc.
8308         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8309         definitions.
8310         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8311         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8312         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8313         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8314         * NEWS: Update.
8316 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8318         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8319         for #include of <shm-directory.h>.
8321 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8323         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8324         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8326 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8328         [BZ #17791]
8329         * NEWS: Mention bug fix.
8330         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8331         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8332         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8334 2015-01-09  Torvald Riegel <triegel@redhat.com>
8336         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8338 2015-01-09  Torvald Riegel <triegel@redhat.com>
8340         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8342 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8344         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8345         pointer and cast to uintptr_t.
8347 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8349         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8350         removed.
8351         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8353 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8355         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8356         of 0.
8358 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8360         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8361         <nptl/pthreadP.h> instead.
8362         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8364         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8365         already defined.
8366         [__SIGRTMIN] (init): Function removed.
8367         [__SIGRTMIN] (initialized): Variable removed.
8368         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8369         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8370         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8371         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8372         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8373         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8374         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8375         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8376         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8377         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8378         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8379         * sysdeps/nptl/allocrtsig.c: New file.
8380         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8381         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8382         * sysdeps/generic/testrtsig.h: File removed.
8384         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8385         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8387         * nptl/nptl-init.c (pthread_functions): Conditionalize
8388         .ptr__nptl_setxid initialization on [SIGSETXID].
8390         * sysdeps/nptl/sys/procfs.h: New file.
8391         * nptl_db/Makefile (headers): Add it.
8392         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8394         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8395         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8396         * nptl/pthread_attr_setaffinity.c: Include it.
8397         * nptl/pthread_setattr_default_np.c: Likewise.
8398         * nptl/check-cpuset.h: New file.
8400 2015-01-08  Richard Henderson  <rth@redhat.com>
8402         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8403         (CFLAGS-tst-execstack-prog.c): Likewise.
8404         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8406 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8407             Sandra Loosemore  <sandra@codesourcery.com>
8408             Andrew Jenner  <andrew@codesourcery.com>
8409             Joseph Myers  <joseph@codesourcery.com>
8410             Nathan Sidwell  <nathan@codesourcery.com>
8412         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8413         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8414         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8415         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8416         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8417         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8418         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8419         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8420         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8421         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8422         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8423         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8424         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8425         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8426         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8427         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8428         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8430 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8432         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8433         timespec struct member in syscall macro.
8434         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8435         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8436         first timeval struct member in syscall macro.
8437         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8439 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8441         [BZ #17748]
8442         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8443         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8444         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8445         __feupdateenv and define as weak alias of __feupdateenv.  Use
8446         libm_hidden_weak.
8447         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8448         libm_hidden_def.
8449         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8450         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8451         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8452         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8453         libm_hidden_def.
8454         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8455         __feupdateenv and define as weak alias of __feupdateenv.  Use
8456         libm_hidden_weak.
8457         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8458         libm_hidden_def.
8459         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8460         __feupdateenv and define as weak alias of __feupdateenv.  Use
8461         libm_hidden_weak.
8462         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8463         libm_hidden_def.
8464         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8465         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8466         (__feupdateenv): Likewise.
8467         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8468         __feupdateenv and define as weak alias of __feupdateenv.  Use
8469         libm_hidden_weak.
8470         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8471         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8472         libm_hidden_def.
8473         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8474         function.
8475         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8476         libm_hidden_def.
8477         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8478         __feupdateenv instead of feupdateenv.
8479         (default_libc_feupdateenv_test): Likewise.
8480         (libc_feresetround_ctx): Likewise.
8482 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8484         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8485         prototype.
8487 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8489         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8490         COLL_SYM in a couple of places to avoid uninitialized variable
8491         wanings on tilegx gcc 4.8.2.
8493 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8495         * sysdeps/aarch64/strcpy.S: New file.
8496         * sysdeps/aarch64/stpcpy.S: New file.
8497         * NEWS: Updated.
8499 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8501         * sysdeps/aarch64/strrchr.S: New file.
8502         * NEWS: Updated.
8504 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8506         [BZ #17658]
8507         * stdlib/setenv.c: Fix memory leak when setting large,
8508         duplicate string.
8510 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8512         [BZ #17273]
8513         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8514         and tabs from buffer before parsing fstab entry.
8515         * misc/tst-mntent.c (main): Add test for mount entry with
8516         trailing spaces and tabs.
8518 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8520         [BZ #17748]
8521         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8522         * math/fesetround.c (fesetround): Rename to __fesetround and
8523         define as weak alias of __fesetround.  Use libm_hidden_weak.
8524         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8525         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8526         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8527         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8528         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8529         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8530         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8531         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8532         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8533         __fesetround_inline.
8534         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8535         __fesetround_inline instead of __fesetround.
8536         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8537         __fesetround and define as weak alias of __fesetround.  Use
8538         libm_hidden_weak.  Call __fesetround_inline instead of
8539         __fesetround.
8540         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8541         __fesetround and define as weak alias of __fesetround.  Use
8542         libm_hidden_weak.
8543         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8544         Likewise.
8545         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8546         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8547         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8548         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8549         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8550         __fesetround and define as weak alias of __fesetround.  Use
8551         libm_hidden_weak.
8552         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8553         __fesetround instead of fesetround.
8554         (default_libc_feholdexcept_setround): Likewise.
8555         (libc_feholdsetround_ctx): Likewise.
8556         (libc_feholdsetround_noex_ctx): Likewise.
8558         [BZ #17748]
8559         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8560         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8561         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8562         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8563         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8564         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8565         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8566         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8567         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8568         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8569         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8570         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8571         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8572         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8573         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8574         libm_hidden_def.
8575         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8576         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8577         Likewise.
8578         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8579         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8580         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8581         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8582         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8583         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8584         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8585         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8586         __fesetenv instead of fesetenv.
8587         (libc_feresetround_noex_ctx): Likewise.
8588         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8589         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8590         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8591         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8592         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8593         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8594         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8595         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8596         (__feupdateenv): Likewise.
8597         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8598         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8599         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8600         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8602 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8604         [BZ #17806]
8605         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8606         addresses have been freed.
8608 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8610         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8611         and nservall.
8613 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8615         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8616         Clean up check_pf allocation pattern. addresses
8618 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8620         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8621         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8622         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8623         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8624         * nptl/pthread_join.c (pthread_join): Likewise.
8625         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8626         * sysdeps/posix/waitid.c (__waitid): Likewise.
8627         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8628         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8629         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8630         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8631         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8632         Likewise.
8633         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8634         (__libc_pread64): Likewise.
8635         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8636         (__libc_pwrite): Likewise.
8637         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8638         (__libc_pwrite64): Likewsie.
8639         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8640         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8641         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8642         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8643         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8644         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8645         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8647         Likewise.
8648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8649         (__libc_pread64): Likewise.
8650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8651         Likewise.
8652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8653         (__libc_pwrite64): Likewise.
8654         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8655         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8656         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8657         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8658         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8659         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8660         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8661         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8662         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8663         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8664         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8665         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8666         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8667         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8668         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8669         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8670         Likewise.
8672 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8674         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8675         (CFLAGS-test-double.c): Likewise.
8676         (CFLAGS-test-ldouble.c): Likewise.
8677         (CPPFLAGS-test-ifloat.c): Likewise.
8678         (CPPFLAGS-test-idouble.c): Likewise.
8679         (CPPFLAGS-test-ildoubl.c): Likewise.
8680         (CFLAGS-test-test-fenv.c): Remove variable.
8681         (CFLAGS-test-misc.c): Likewise.
8683 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8685         [BZ #17797]
8686         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8687         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8688         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8689         CLOCKS_PER_SEC == 1000000.
8690         * time/clocktest.c (main): Replace %ld with %jd and cast to
8691         intmax_t.
8693 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8695         * sysdeps/generic/unwind-resume.h: New file.
8696         * sysdeps/gnu/unwind-resume.c: Include it.
8697         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8698         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8699         argument list.
8700         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8701         global rather than static.
8702         (_Unwind_Resume): Update user.
8703         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8704         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8705         rather than static.  Add __attribute__ ((cold)).
8706         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8707         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8708         * sysdeps/arm/arm-unwind-resume.S: New file.
8709         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8710         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8711         * sysdeps/arm/Makefile [$(subdir) = csu]
8712         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8713         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8714         Add rt-arm-unwind-resume.
8715         [$(subdir) = nptl]
8716         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8717         Add pt-arm-unwind-resume.
8718         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8719         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8721 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8723         [BZ #17748]
8724         * include/fenv.h (__feholdexcept): Declare.  Use
8725         libm_hidden_proto.
8726         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8727         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8728         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8729         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8730         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8731         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8732         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8733         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8734         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8735         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8736         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8737         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8738         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8739         (feholdexcept): Likewise.
8740         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8741         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8742         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8743         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8744         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8745         __feholdexcept instead of feholdexcept.
8746         (default_libc_feholdexcept_setround): Likewise.
8748 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8750         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8751         to avoid using stl/str to align destination.
8753 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8755         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8757 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8759         [BZ #17796]
8760         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8761         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8762         Define as weak alias not strong alias.
8764 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8766         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8767         bltzal with addiupc.
8768         (RTLD_START): Ditto.
8770 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8772         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8773         for __vdso_* functions in declarations.
8774         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8775         definitions.
8776         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8777         INTERNAL_VSYSCALL): Use struct return types to check for error.
8779         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8780         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8781         function with cast from llround().
8782         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8783         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8784         Define.
8786 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8788         [BZ #17793]
8789         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8790         Define as weak alias not strong alias.
8792         [BZ #17635]
8793         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8794         ...
8795         * ctype/ctype-extn.c: ... here.
8796         (__isblank_l): Move to ...
8797         * ctype/ctype-c99_l.c: ... here.  New file.
8798         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8799         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8800         Remove variable.
8801         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8802         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8803         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8804         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8805         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8807         [BZ #17777]
8808         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8809         (posix_fadvise64): Define as weak alias not strong alias.
8810         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8811         (posix_fallocate64): Likewise.
8812         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8813         Remove variable.
8814         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8815         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8816         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8817         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8818         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8820 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8822         [BZ #16191]
8823         * NEWS: Mention bug fix.
8824         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8825         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8826         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8827         (HOST_STACK_END_ADDR): Likewise.
8829 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8831         [BZ #17748]
8832         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8833         * math/fegetround.c (fegetround): Rename to __fegetround and
8834         define as weak alias of __fegetround.  Use libm_hidden_weak.
8835         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8836         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8837         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8838         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8839         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8840         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8841         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8842         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8843         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8844         Undefine after rather than before function definition; use
8845         parentheses around function name in definition.
8846         (__fegetround): Also undefine macro after function definition.
8847         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8848         __fegetround and define as weak alias of __fegetround.  Use
8849         libm_hidden_weak.  Do not undefine as macro.
8850         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8851         Likewise.
8852         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8853         __fegetround and define as weak alias of __fegetround.  Use
8854         libm_hidden_weak.
8855         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8856         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8857         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8858         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8859         __fegetround and define as weak alias of __fegetround.  Use
8860         libm_hidden_weak.
8861         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8862         __fegetround instead of fegetround.
8864         [BZ #17782]
8865         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8866         Condition macro definition on [__USE_MISC].
8868         [BZ #17781]
8869         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8870         (struct sigaction): Change type of sa_flags field to int.
8872         [BZ #17780]
8873         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8874         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8875         __glibc_reserved0.
8877         * nptl/version.c (banner): Use single year in copyright notice.
8879         * NEWS: Update copyright dates.
8880         * catgets/gencat.c (print_version): Likewise.
8881         * csu/version.c (banner): Likewise.
8882         * debug/catchsegv.sh: Likewise.
8883         * debug/pcprofiledump.c (print_version): Likewise.
8884         * debug/xtrace.sh (do_version): Likewise.
8885         * elf/ldconfig.c (print_version): Likewise.
8886         * elf/ldd.bash.in: Likewise.
8887         * elf/pldd.c (print_version): Likewise.
8888         * elf/sotruss.sh: Likewise.
8889         * elf/sprof.c (print_version): Likewise.
8890         * iconv/iconv_prog.c (print_version): Likewise.
8891         * iconv/iconvconfig.c (print_version): Likewise.
8892         * locale/programs/locale.c (print_version): Likewise.
8893         * locale/programs/localedef.c (print_version): Likewise.
8894         * login/programs/pt_chown.c (print_version): Likewise.
8895         * malloc/memusage.sh (do_version): Likewise.
8896         * malloc/memusagestat.c (print_version): Likewise.
8897         * malloc/mtrace.pl: Likewise.
8898         * manual/libc.texinfo: Likewise.
8899         * nptl/version.c (banner): Likewise.
8900         * nscd/nscd.c (print_version): Likewise.
8901         * nss/getent.c (print_version): Likewise.
8902         * nss/makedb.c (print_version): Likewise.
8903         * posix/getconf.c (main): Likewise.
8904         * scripts/test-installation.pl: Likewise.
8905         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8907 2015-01-02  Will Newton  <will.newton@linaro.org>
8909         * sysdeps/arm/armv7/configure: Removed.
8910         * sysdeps/arm/armv7/configure.ac: Likewise.
8912 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8914         * All files with FSF copyright notices: Update copyright dates
8915         using scripts/update-copyrights.
8916         * intl/plural.c: Regenerated.
8917         * locale/programs/charmap-kw.h: Likewise.
8918         * locale/programs/locfile-kw.h: Likewise.
8920 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8922         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8924 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8926         [BZ #17748]
8927         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8928         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8929         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8930         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8931         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8932         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8933         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8934         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8935         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8936         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8937         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8938         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8939         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8940         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8941         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8942         libm_hidden_def.
8943         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8944         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8945         Likewise.
8946         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8947         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8948         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8949         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8950         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8951         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8952         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8953         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8954         __fegetenv instead of fegetenv.
8955         (libc_feholdsetround_noex_ctx): Likewise.
8957 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8959         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8960         (Elf_MIPS_ABIFlags_v0): New structure.
8961         (EF_MIPS_FP64): Define.
8962         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8963         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8964         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8965         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8966         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8967         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8968         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8969         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8970         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8971         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8972         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8973         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8974         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8975         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8976         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8977         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8978         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8979         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8980         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8981         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8982         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8983         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8984         field.
8985         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8986         EF_MIPS_FP64.
8987         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8988         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8989         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8990         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8991         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8992         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8993         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8994         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8995         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8996         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8997         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8998         record the current FP ABI extension.
8999         (mips-mode-switch): Define to show if kernel headers support mode
9000         switching.
9001         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9002         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9003         supported SYSV ABI version to 3.
9004         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9005         feature.
9007 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9008             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9010         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9011         path.
9012         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9014 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9016         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9017         __fegetround and redefine to call __fegetround.  Remove condition
9018         on [!__NO_MATH_INLINES].
9019         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9020         function.
9021         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9022         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9023         Remove macro.
9024         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9025         instead of <fenv_libc.h>.
9026         (__llrintl): Call fegetround instead of __fegetround.
9027         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9028         instead of <fenv_libc.h>.
9029         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9030         (__lrintl): Call fegetround instead of __fegetround.
9031         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9032         instead of <fenv_libc.h>.
9033         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9034         (__rintl): Call fegetround instead of __fegetround.
9036 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9038         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9039         arrays.
9041 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9043         [BZ #17775]
9044         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9045         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9046         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9048 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9050         * sysdeps/i386/tls-macros.h: Include <features.h>.
9051         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9052         (TLS_IE): Likewise.
9053         (TLS_LD): Likewise.
9054         (TLS_GD): Likewise.
9055         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9056         define for GCC >= 5.0.
9058 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9060         * math/test-fenv.c (test_single_exception, set_single_exc,
9061         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9062         feexcp_mask_test, feenable_test, fe_single_test): Add
9063         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9064         case where they are not used.
9065         * math/libm-test.inc: Likewise.
9066         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9067         unused in the absence of FP rounding/exception support.
9068         * stdio-common/tst-printf-round.c: Likewise.
9069         * stdlib/tst-strtod-round.c: Likewise.
9070         * stdlib/tst-strtod-underflow.c: Likewise.
9072 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9074         [BZ #17723]
9075         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9076         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9077         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9078         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9079         libm_hidden_weak.
9080         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9081         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9082         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9083         libm_hidden_def.
9084         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9085         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9086         libm_hidden_weak.
9087         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9088         Likewise.
9089         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9090         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9091         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9092         libm_hidden_weak.
9093         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9094         libm_hidden_def.
9095         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9096         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9097         (__feraiseexcept): Likewise.
9098         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9099         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9100         libm_hidden_weak.
9101         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9102         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9103         libm_hidden_def.
9104         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9105         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9106         Use libm_hidden_def.
9107         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9108         libm_hidden_def.
9109         (feraiseexcept): Define as weak not strong alias.  Use
9110         libm_hidden_weak.
9111         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9112         New inline function.  Factored out of ...
9113         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9114         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9115         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9116         feraiseexcept.
9117         * math/w_acos.c (__acos): Likewise.
9118         * math/w_asin.c (__asin): Likewise.
9119         * math/w_ilogb.c (__ilogb): Likewise.
9120         * math/w_j0.c (y0): Likewise.
9121         * math/w_j1.c (y1): Likewise.
9122         * math/w_jn.c (yn): Likewise.
9123         * math/w_log.c (__log): Likewise.
9124         * math/w_log10.c (__log10): Likewise.
9125         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9126         * sysdeps/aarch64/fpu/math_private.h
9127         (libc_feupdateenv_test_aarch64): Likewise.
9128         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9129         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9130         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9131         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9132         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9133         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9134         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9135         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9136         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9137         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9139 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9141         [BZ #17732]
9142         * io/test-utime.c (main): Replace %ld with %jd and cast to
9143         intmax_t.
9144         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9145         * nptl/tst-mutex5.c: Include <stdint.h>.
9146         (do_test): Replace %ld with %jd and cast to intmax_t.
9147         * posix/tst-regex.c (run_test): Likewise.
9148         (run_test_backwards): Likewise.
9149         * rt/tst-clock.c: Include <stdint.h>.
9150         (clock_test): Replace %ld with %jd and cast to intmax_t.
9151         * rt/tst-cpuclock1.c: Include <stdint.h>.
9152         (do_test): Replace %lu with %ju and cast to uintmax_t.
9153         * rt/tst-cpuclock2.c: Include <stdint.h>.
9154         (do_test): Replace %lu with %ju and cast to uintmax_t.
9155         * rt/tst-mqueue1.c: Include <stdint.h>.
9156         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9157         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9158         intmax_t.
9159         * rt/tst-mqueue4.c (do_test): Likewise.
9160         * rt/tst-timer4.c: Include <stdint.h>.
9161         (check_ts): Replace %ld with %jd and cast to intmax_t.
9162         (do_test): Likewise.
9163         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9164         and cast to intmax_t.
9165         * sysdeps/pthread/tst-timer.c (main): Likewise.
9166         * time/clocktest.c (main): Likewise.
9167         * time/tst-posixtz.c (do_test): Likewise.
9168         * timezone/tst-timezone.c (main): Likewise.
9170 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9171             H.J. Lu  <hongjiu.lu@intel.com>
9173         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9174         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9175         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9176         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9177         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9178         version if bit_Fast_Unaligned_Load is set.
9179         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9180         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9181         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9182         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9183         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9184         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9185         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9186         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9187         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9188         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9189         to 4.
9190         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9191         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9192         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9193         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9195 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9197         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9198         instead of #if to avoid a Wundef warning.
9199         * stdlib/tst-limits.c (do_test): Likewise.
9201         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9202         parallel other exception macros.
9203         (fegetenv): Convert from macro to extern inline so that it applies
9204         retroactively to inline functions already seen by the compiler.
9205         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9207         * posix/Makefile (before-compile): Use $(objpfx) for
9208         posix-conf-vars-def.h.
9210 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9212         * posix/getconf.c (main): Use size_t for type of I.
9213         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9214         NSPEC.
9216         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9217         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9218         * posix/posix-envs.def: Likewise.
9219         * sysdeps/posix/sysconf.c: Likewise.
9220         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9221         (specs): Remove array.
9222         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9223         array.
9225         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9226         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9227         (__sysconf): Use CONF_IS_* macros.
9229         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9230         ($(objpfx)posix-conf-vars-def.h): New target.
9231         * posix/posix-conf-vars.list: New file.
9232         * posix/posix-conf-vars.h: New file.
9233         * posix/confstr.c: Include posix-conf-vars.h.
9234         (confstr): Use CONF_IS_* macros.
9235         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9236         CONF_IS_* macros.
9237         * scripts/gen-posix-conf-vars.awk: New file.
9239 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9241         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9242         fegetround): Add no-op macros to avoid linknamespace issues.
9244         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9245         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9247         * sysdeps/unix/sysv/linux/tile/sysdep.h
9248         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9249         assembly-specific section to avoid a redefinition warning.
9251         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9252         long before casting to pointer to avoid a cast warning.
9254 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9256         * sysdeps/tile/tilegx/Implies: New file.
9258 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9260         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9262 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9264         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9266 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9268         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9269         not define.
9270         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9271         <kernel-features.h>.
9272         (__utimes) [__NR_utimes]: Make code unconditional.
9273         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9274         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9275         (__ASSUME_UTIMES): Do not undefine.
9276         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9277         (__ASSUME_UTIMES): Likewise.
9278         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9279         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9280         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9281         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9283 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9285         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9287 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9289         [BZ #17747]
9290         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9291         alias to weak alias for j0l, y0l.
9292         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9293         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9295         [BZ #17746]
9296         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9297         conversion.
9299 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9301         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9302         to zero if not already defined.
9304 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9306         [BZ #17724]
9307         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9308         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9309         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9310         (char *) casts added.
9311         * sysdeps/ieee754/k_standardf.c: New file.
9312         * sysdeps/ieee754/k_standardl.c: Likewise.
9313         * math/Makefile (libm-support): Remove k_standard.
9314         (libm-calls): Add k_standard.
9316 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9318         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9319         Optimize to avoid an unnecessary FPCR read.
9321 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9323         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9324         Optimize to reduce FPCR/FPSR accesses.
9326 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9328         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9329         Call libc_fetestexcept_aarch64.
9331 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9333         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9334         Call libc_fesetround_aarch64.
9336 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9338         [BZ #17733]
9339         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9340         (__bind): Do not define as weak alias.
9341         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9342         define.
9343         (__getsockname): Do not define as weak alias.
9345 2014-12-22  Will Newton  <will.newton@linaro.org>
9347         * manual/install.texi: Document that we require bison 2.7
9348         or above.
9349         * INSTALL: Regenerate.
9350         * configure.ac: Use AC_CHECK_PROG_VER instead of
9351         AC_PATH_PROG when checking for bison and check for
9352         version 2.7 or above.
9353         * configure: Regenerate.
9355 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9357         [BZ #17745]
9358         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9359         * sysdeps/tile/ffsll.c (ffsll): To here.
9361         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9363 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9365         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9366         if not defined.
9367         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9368         definition.
9369         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9370         hidden ___tls_get_addr.
9371         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9372         hidden __tls_get_addr.
9373         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9374         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9375         Likewise.
9377 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9379         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9380         _dl_init call.
9382 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9384         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9385         from "call _dl_init@PLT".
9386         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9388 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9390         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9391         guarantees.
9393 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9395         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9397 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9399         [BZ #17744]
9400         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9401         strnlen.
9403 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9405         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9406         of multu on MIPSr6.
9407         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9408         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9409         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9410         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9411         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9413 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9415         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9416         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9417         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9418         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9419         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9420         mips32r6/mips64r6.
9421         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9423 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9425         * string/strncat.c (STRNCAT): Simplify implementation.
9427 2014-12-19  David S. Miller  <davem@davemloft.net>
9429         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9430         access the quad as both a long double and as a series of 4 words.
9432         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9433         link_map->l_info array access.
9435 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9437         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9439         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9440         * math/atest-exp2.c (TIMEOUT): Likewise.
9441         * math/atest-sincos.c (TIMEOUT): Likewise.
9443 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9445         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9446         -Wno-error with -fno-builtin-lround.
9448 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9450         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9451         Contains futex constants and functions moved over from ...
9452         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9453         <lowlevellock-futex.h>.
9454         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9455         (lll_timedwait_tid): Add comments and parentheses around macro
9456         arguments.
9458 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9460         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9461         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9462         (__lll_private_flag): Remove.
9463         (lll_futex_wait): Likewise.
9464         (lll_futex_timed_wait): Likewise.
9465         (lll_futex_wake): Likewise.
9466         (lll_futex_requeue): Likewise.
9467         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9468         (__lll_timedwait_tid): Spell out argument names.
9469         (lll_timedwait_tid): Add comments and parentheses around macro
9470         arguments.
9471         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9472         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9474 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9476         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9477         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9478         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9479         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9480         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9481         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9482         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9483         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9484         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9485         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9486         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9487         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9488         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9489         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9490         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9491         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9492         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9493         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9494         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9496 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9498         * sysdeps/x86_64/x32/Makefile: New file.
9500 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9502         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9503         1L with (mp_limb_t) 1.
9505 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9507         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9508         * nptl/libc_pthread_init.c: ... here.
9509         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9510         * nptl/register-atfork.c: ... here.
9512         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9513         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9514         Use assert_perror to check its return value.
9515         (__gai_create_helper_thread): Likewise.
9517         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9519         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9521 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9523         [BZ #17725]
9524         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9525         __profil_counter.
9526         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9527         Likewise.
9528         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9529         Likewise.
9530         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9531         Likewise.
9532         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9533         (profil_counter): Likewise.
9534         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9535         (profil_counter): Likewise.
9536         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9537         Likewise.
9538         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9539         Likewise.
9540         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9541         (profil_counter): Likewise.
9542         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9543         Likewise.
9544         [!__profil_counter] (profil_counter): Define as weak alias of
9545         __profil_counter.
9546         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9547         (profil_counter): Rename to __profil_counter.
9548         [!__profil_counter] (profil_counter): Define as weak alias of
9549         __profil_counter.
9550         * sysdeps/unix/sysv/linux/sparc/sparc64/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/posix/profil.c: Update comment referring to
9555         profil_counter.
9556         (__profil): Use __profil_counter instead of profil_counter.
9557         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9558         __profil_counter.  Use __profil_counter_ushort and
9559         __profil_counter_uint in definitions.
9560         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9561         instead of profil_counter_uint and profil_counter_ushort.
9563         [BZ #17722]
9564         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9565         define as weak alias of __inet_makeaddr.
9566         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9567         as weak alias of __inet_addr.
9568         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9569         as weak alias of __inet_pton.  Use libc_hidden_weak.
9570         * include/arpa/inet.h (__inet_pton): Declare.  Use
9571         libc_hidden_proto.
9572         (inet_makeaddr): Don't use libc_hidden_proto.
9573         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9574         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9575         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9576         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9577         Remove variable.
9578         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9579         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9581 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9583         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9585 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9587         * stdio-common/bug-vfprintf-nargs.c (do_test):
9588         Cast value to intptr_t to avoid format warning
9589         for usage with PRIdPTR printing macro.
9591 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9593         * libio/tst-widetext.c (do_test):
9594         Use format type %td instead of %Zd for ptrdiff_t
9595         in order to avoid format warning.
9597 2014-12-17  Andreas Schwab  <schwab@suse.de>
9599         * nscd/mem.c (gc): Add size_t cast to match printf format.
9601 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9603         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9604         (init): Apply PTR_MANGLE to pointers before storing them.
9605         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9606         before using them.
9608 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9610         [BZ #17719]
9611         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9612         define as weak alias of __memrchr.
9613         (__memrchr): Do not define as strong alias of memrchr.
9614         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9615         Remove variable.
9616         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9617         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9618         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9620         [BZ #17717]
9621         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9622         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9623         (if_indextoname): Rename to __if_indextoname and define as weak
9624         alias of __if_indextoname.  Use libc_hidden_weak.
9625         (if_freenameindex): Rename to __if_freenameindex and define as
9626         weak alias of __if_freenameindex.
9627         (if_nameindex): Rename to __if_nameindex and define as weak alias
9628         of __if_nameindex.
9629         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9630         __if_nametoindex and define as weak alias of __if_nametoindex.
9631         Use libc_hidden_weak.
9632         (if_freenameindex): Rename to __if_freenameindex and define as
9633         weak alias of __if_freenameindex.
9634         (if_nameindex): Rename to __if_nameindex and define as weak alias
9635         of __if_nameindex.
9636         (if_indextoname): Rename to __if_indextoname and define as weak
9637         alias of __if_indextoname.  Use libc_hidden_weak.
9638         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9639         __if_nametoindex and define as weak alias of __if_nametoindex.
9640         Use libc_hidden_weak.
9641         (if_freenameindex): Rename to __if_freenameindex and define as
9642         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9643         (if_nameindex_netlink): Use __if_freenameindex instead of
9644         if_freenameindex.
9645         (if_nameindex): Rename to __if_nameindex and define as weak alias
9646         of __if_nameindex.  Use libc_hidden_weak.
9647         (if_indextoname): Rename to __if_indextoname and define as weak
9648         alias of __if_indextoname.  Use libc_hidden_weak.
9649         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9650         libc_hidden_proto.
9651         [!_ISOMAC] (__if_freenameindex): Likewise.
9652         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9653         if_nametoindex.
9654         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9655         variable.
9656         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9657         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9658         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9659         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9660         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9661         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9662         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9664         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9665         Remove variable.
9666         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9667         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9669 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9671         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9672         subscript above bounds'
9674         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9675         bounds.
9677 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9679         * libio/tst-fopenloc.c: Use test-skeleton.c.
9681         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9682         (entry): Rename to ITEM.
9683         (do_test, comp): Adjust.
9685         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9687 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9689         * string/tester.c: Include <libc-internal.h>.
9690         (test_memset): Ignore -Wmemset-transposed-args.
9692 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9694         * misc/tst-mntent2.c (do_test): Fix warning.
9696 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9698         * elf/tst-unique4lib.cc(a): Mark as used.
9700 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9702         [BZ #17630]
9703         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9704         names.
9706 2014-12-16  Allan McRae  <allan@archlinux.org>
9708         * stdio-common/Makefile (tests): Re-add bug26.
9710 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9712         [BZ #17657]
9713         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9714         static array.
9716 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9718         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9719         (__lll_lock_wait): Likewise.
9720         (__lll_timedlock_wait): Likewise.
9721         (__lll_timedwait_tid): Likewise.
9722         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9723         (__lll_robust_timedlock_wait): Likewise.
9724         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9725         (lll_cond_trylock): Likewise.
9726         (__lll_lock): Likewise.
9727         (__lll_robust_lock): Likewise.
9728         (__lll_cond_lock): Likewise.
9729         (lll_robust_cond_lock): Likewise.
9730         (__lll_timedlock): Likewise.
9731         (__lll_robust_timedlock): Likewise.
9732         (__lll_unlock): Likewise.
9733         (__lll_robust_unlock): Likewise.
9734         (lll_wait_tid): Likewise.
9735         (lll_timedwait_tid): Likewise.
9737 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9739         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9741 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9743         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9745 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9747         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9748         * stdio-common/tst-sprintf.c: Likewise.
9750 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9752         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9754 2014-12-15  Jeff Law  <law@redhat.com>
9756         [BZ #16617]
9757         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9758         on the heap.  (CVE-2012-3406)
9759         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9760         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9761         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9763 2014-12-15  Will Newton  <will.newton@linaro.org>
9765         * manual/install.texi: Bump required version of texinfo
9766         to 4.7 from 4.5.
9767         * INSTALL: Regenerated.
9768         * configure.ac: Check for makeinfo version 4.7 and above.
9769         * configure: Regenerated.
9771 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9773         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9774         PREFIX, string constant to insert between directory and name.
9775         * sysdeps/posix/shm_open.c: Update caller.
9776         * sysdeps/posix/shm_unlink.c: Likewise.
9777         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9778         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9779         (SEM_SHM_PREFIX): New macro.
9780         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9781         [$(have-thread-library) = no].
9782         * nptl/Makefile (libpthread-routines): Add shm-directory.
9783         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9784         * sysdeps/nptl/shm-directory.h: New file.
9785         * sysdeps/posix/shm-directory.c
9786         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9787         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9788         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9789         INTERNAL_SYSCALL.
9790         (__where_is_shmfs): Function removed.
9791         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9792         Variables removed.
9793         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9794         Use SHM_GET_NAME.
9795         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9797         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9798         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9799         unconditional for use inside libpthread.
9800         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9802 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9804         * nptl/pthread_getaffinity.c: New file.
9805         * nptl/pthread_setaffinity.c: New file.
9806         * nptl/pthread_getname.c: New file.
9807         * nptl/pthread_setname.c: New file.
9809         * nptl/pthread_create.c (START_THREAD_DEFN)
9810         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9812 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9813             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9815         * resolv/res_send.c (send_vc): Disable warning resplen may
9816         be used uninitialized.
9818 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9820         * nptl/tst-mutex6.c
9821         (ATTR_NULL): New define checks ATTR against NULL.
9822         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9823         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9825 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9827         [BZ #17581]
9828         * malloc/hooks.c
9829         (mem2mem_check): Revert my previous change.
9830         (malloc_check_get_size): Revert my previous change.
9831         (mem2chunk_check): Revert my previous change.
9833 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9835         * sysdeps/posix/shm-directory.c: New file.
9836         * sysdeps/posix/shm-directory.h: New file.
9837         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9838         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9839         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9840         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9841         Transmute EPERM to EACCES.
9842         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9843         from ...
9844         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9845         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9847 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9849         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9850         pointer and cast to uintptr_t.
9851         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9852         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9853         Add cast to avoid warning.
9854         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9856 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9858         * nptl/semaphore.h: Move to ...
9859         * sysdeps/pthread/semaphore.h: ... here.
9860         * Makefile (installed-headers): Change nptl/semaphore.h to
9861         sysdeps/pthread/semaphore.h.
9863 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9865         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9866         generated error format strings.
9868         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9869         -Wformat-extra-args warnings for scanf formats.
9870         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9871         test of zero-length format (duh).
9872         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9873         corner-case scanf format test.
9874         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9875         generated fprintf format string.
9876         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9877         corner-case sprintf format tests.
9878         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9879         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9880         -Wformat-extra-args warnings throughout.
9881         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9882         (CFLAGS-scanf4.c): Likewise.
9883         (CFLAGS-scanf7.c): Likewise.
9884         (CFLAGS-tst-sprintf.c): Likewise.
9885         (CFLAGS-tst-printf.c): Likewise.
9886         (CFLAGS-tst-printfsz.c): Likewise.
9888 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9890         * include/cpio.h: New file.
9891         * include/fmtmsg.h: Likewise.
9893         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9894         corresponding format argument to size_t.
9895         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9896         arguments.
9897         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9898         corresponding format argument to size_t.
9899         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9900         arguments.
9901         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9902         corresponding format argument to size_t.
9903         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9904         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9905         (CFLAGS-tst-mbswcs2.c): Likewise.
9906         (CFLAGS-tst-mbswcs3.c): Likewise.
9907         (CFLAGS-tst-mbswcs4.c): Likewise.
9908         (CFLAGS-tst-mbswcs5.c): Likewise.
9909         (CFLAGS-tst-trans.c): Likewise
9911 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9913         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9914         rather than assuming they won't contain any '%'s.
9916 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9918         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9919         inhibit_loop_to_libcall to avoid recursive calls.
9920         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9921         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9923 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9925         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9926         prototype.
9928 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9930         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9931         integer value instead of boolean.
9933 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9935         * malloc/malloc.c: Fix powerof2 check.
9937 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9939         * locale/programs/locfile.h (maybe_swap_uint32):
9940         Remove inline and add unused attribute.
9942 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9944         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9945         Truncating assembler expression to a .long expression.
9947 2014-12-11  Andreas Schwab  <schwab@suse.de>
9949         * elf/rtld.c (struct map_args): Constify str member.
9950         (do_preload): Constify fname argument.
9952 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9954         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9955         constants definition.
9957 2014-12-11  Andreas Schwab  <schwab@suse.de>
9959         [BZ #16657]
9960         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9961         FORCE_ELISION instead of DO_ELISION.
9962         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9963         Remove.
9964         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9965         Likewise.
9967         * iconvdata/gconv-modules: Remove duplicate entry.
9969 2014-12-11  Will Newton  <will.newton@linaro.org>
9971         Merge gettext 0.19.3 into intl/.
9973         This involves a number of cosmetic changes to comments
9974         and ANSI function definitions and prototypes throughout
9975         all the files. The gettext copyright header is used but
9976         with the date ranges taken from the glibc copy.
9978         * NEWS: Add gettext merge to 2.21.
9979         * intl/bindtextdom.c: Switch to gettext copyright.
9980         Use ANSI definitions and prototypes.
9981         Use gl_* locking primitives rather than __libc_* ones.
9982         Use __builtin_expect rather than __glibc_likely/unlikely.
9983         * intl/dcgettext.c: Switch to gettext copyright.
9984         Use ANSI definitions and prototypes.
9985         * intl/dcigettext.c: Switch to gettext copyright.
9986         Use ANSI definitions and prototypes.
9987         (INTDIV0_RAISES_SIGFPE): New define.
9988         Use gl_* locking primitives rather than __libc_* ones.
9989         Include eval-plural.h instead of plural-eval.c.
9990         Use __builtin_expect rather than __glibc_likely/unlikely.
9991         * intl/dcngettext.c: Switch to gettext copyright.
9992         Use ANSI definitions and prototypes.
9993         * intl/dgettext.c: Likewise.
9994         * intl/dngettext.c: Likewise.
9995         * intl/plural-eval.c: Renamed to...
9996         * intl/eval-plural.h: ...this.
9997         * intl/explodename.c: Switch to gettext copyright.
9998         Use ANSI definitions and prototypes.
9999         (_nl_explode_name): Use strchr instead of __rawmemchr.
10000         * intl/finddomain.c: Switch to gettext copyright.
10001         Use ANSI definitions and prototypes.
10002         Use gl_* locking primitives rather than __libc_* ones.
10003         (_nl_find_domain): Use malloc rather than alloca for
10004         allocation of temporary locale name.
10005         * intl/gettext.c: Switch to gettext copyright.
10006         Use ANSI definitions and prototypes.
10007         * intl/gettextP.h: Switch to gettext copyright.
10008         Use ANSI definitions and prototypes.
10009         Use gl_* locking primitives rather than __libc_* ones.
10010         * intl/gmo.h: Switch to gettext copyright.
10011         (struct sysdep_string): Move struct segment_pair outside of
10012         struct definition.
10013         * intl/hash-string.c: Use ANSI definitions and prototypes.
10014         * intl/hash-string.h: Switch to gettext copyright.
10015         Use ANSI definitions and prototypes.
10016         * intl/l10nflist.c: Switch to gettext copyright.
10017         Use ANSI definitions and prototypes.
10018         (_nl_normalize_codeset): Avoid integer overflow.
10019         * intl/loadinfo.h: Switch to gettext copyright.
10020         Use ANSI definitions and prototypes.
10021         (LIBINTL_DLL_EXPORTED): New define.
10022         (PATH_SEPARATOR): New define.
10023         * intl/loadmsgcat.c: Switch to gettext copyright.
10024         * intl/localealias.c: Switch to gettext copyright.
10025         Use ANSI definitions and prototypes.
10026         (_nl_expand_alias): Use PATH_SEPARATOR.
10027         * intl/ngettext.c: Switch to gettext copyright.
10028         Use ANSI definitions and prototypes.
10029         * intl/plural-exp.c: Likewise.
10030         * intl/plural-exp.h: Switch to gettext copyright.
10031         Use ANSI definitions and prototypes.
10032         (struct expression): Move definition of enum operator outside
10033         of struct definition.
10034         * intl/plural.c: Regenerate.
10035         * intl/plural.y: Switch to gettext copyright.
10036         Use ANSI definitions and prototypes.
10037         Port to bison 3.0.
10038         * intl/textdomain.c: Switch to gettext copyright.
10039         Use ANSI definitions and prototypes.
10040         Use gl_* locking primitives rather than __libc_* ones.
10042 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10044         * debug/warning-nop.c: Add used atrribute.
10046 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10048         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10050         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10051         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10052         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10054 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10055             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10057         [BZ #17634]
10058         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10059         Undefine after defining function.  Define as weak alias of
10060         __wcschr.  Use libc_hidden_weak.
10061         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10062         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10063         (libc_hidden_def): Also define __GI___wcschr alias.
10064         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10065         __wcschr and define as weak alias of __wcschr.
10066         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10067         __wcschr.
10068         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10069         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10070         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10071         libc_hidden_weak.  Do not use libc_hidden_def.
10072         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10073         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10074         __GI___wcschr alias.
10075         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10076         [IS_IN (libc)] (wcschr): Define as macro expanding to
10077         __redirect_wcschr.
10078         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10079         [IS_IN (libc)] (__wcschr_power6): Likewise.
10080         [IS_IN (libc)] (__wcschr_power7): Likewise.
10081         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10082         instead of wcschr.
10083         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10084         __libc_wcschr.
10085         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10086         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10087         __wcschr and define as weak alias of __wcschr.  Use
10088         libc_hidden_builtin_def.
10089         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10090         as weak alias of __wcschr.  Use libc_hidden_weak.
10091         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10092         wcschr.
10093         * time/era.c (_nl_init_era_entries): Likewise.
10094         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10095         variable.
10096         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10097         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10099 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10101         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10102         format for long int variable.
10104 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10106         [BZ #10672]
10107         * manual/search.texi: (Array Sort Function): Remove claim how to make
10108         qsort stable.
10110 2014-12-10  Andreas Schwab  <schwab@suse.de>
10112         [BZ #12847]
10113         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10114         user-controlled locks.
10116 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10118         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10119         register.
10121 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10123         * configure.ac (--disable-werror): New configure option.
10124         (enable_werror): New AC_SUBST.
10125         * configure: Regenerated.
10126         * config.make.in (enable-werror): New variable.
10127         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10128         -Wno-error=undef.
10129         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10130         * manual/install.texi (Configuring and compiling): Document
10131         --disable-werror.
10132         * INSTALL: Regenerated.
10133         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10134         (CFLAGS-tst-chk2.c): Likewise.
10135         (CFLAGS-tst-chk3.c): Likewise.
10136         (CFLAGS-tst-chk4.cc): Likewise.
10137         (CFLAGS-tst-chk5.cc): Likewise.
10138         (CFLAGS-tst-chk6.cc): Likewise.
10139         (CFLAGS-tst-lfschk1.c): Likewise.
10140         (CFLAGS-tst-lfschk2.c): Likewise.
10141         (CFLAGS-tst-lfschk3.c): Likewise.
10142         (CFLAGS-tst-lfschk4.cc): Likewise.
10143         (CFLAGS-tst-lfschk5.cc): Likewise.
10144         (CFLAGS-tst-lfschk6.cc): Likewise.
10146         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10147         (main): Disable -Wdeprecated-declarations around calls to
10148         register_printf_function.
10150         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10151         (do_test): Disable -Wdiv-by-zero around some calls to
10152         fwrite_unlocked and fread_unlocked.
10154         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10155         (DIAG_POP_NEEDS_COMMENT): Likewise.
10156         (_DIAG_STR1): Likewise.
10157         (_DIAG_STR): Likewise.
10158         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10159         * stdio-common/bug21.c: Include <libc-internal.h>.
10160         (do_test): Disable -Wformat around call to sscanf.
10161         * stdio-common/scanf14.c: Include <libc-internal.h>.
10162         (main): Disable -Wformat around some calls to scanf functions.
10164 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10166         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10168 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10170         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10171         stack variable alignment.
10173 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10175         [BZ #17682]
10176         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10177         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10178         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10179         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10180         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10181         __getrlimit instead of getrlimit.
10182         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10183         __gettimeofday instead of gettimeofday.
10184         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10185         Likewise.
10186         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10187         Likewise.
10188         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10189         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10190         Remove variable.
10191         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10192         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10194 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10196         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10197         for wide-character tests.
10199 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10201         * io/openat64.c: #include <libc-internal.h>
10202         (__openat64): Prototypify.  Use ignore_value on MODE.
10203         * io/openat.c: Likewise.
10204         * misc/reboot.c: #include <libc-internal.h>
10205         (reboot): Prototypify.  Use ignore_value on HOWTO.
10206         * misc/ptrace.c: #include <libc-internal.h>
10207         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10209 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10211         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10212         XPG4, UNIX98 and XOPEN2K.
10213         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10214         Remove variable.
10215         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10217 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10219         * libio/fileops.c: Use ISO C style for function definitions.
10220         * libio/iofopen.c: Likewise.
10221         * libio/wfileops.c: Likewise.
10223         [BZ #17653]
10224         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10225         offset on EOF.
10226         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10227         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10228         (fgets_func): Function pointer to fgets and fgetws.
10229         (do_ftell_test): Add test to verify ftell value after read
10230         EOF.
10231         (do_test): Set fgets_func.
10233         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10234         O_TRUNC flag for w and w+ modes.
10235         (do_rewind_test): Likewise.
10236         (do_ftell_test): Likewise.
10237         (do_write_test): Likewise.
10239         [BZ #17647]
10240         * libio/fileops.c (do_ftell): Seek only when there are
10241         unflushed writes.
10242         * libio/wfileops.c (do_ftell_wide): Likewise.
10243         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10244         test case.
10245         (do_one_test): Call it.
10247 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10249         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10250         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10251         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10252         Remove variable.
10253         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10254         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10255         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10257 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10259         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10260         Remove variable.
10261         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10263         [BZ #17668]
10264         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10265         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10266         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10267         __freeifaddrs.  Use libc_hidden_weak.
10268         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10269         define 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/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10273         __getifaddrs and define as weak alias of __getifaddrs.  Use
10274         libc_hidden_weak.
10275         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10276         __freeifaddrs.  Use libc_hidden_weak.
10277         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10278         Remove variable.
10279         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10280         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10282 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10284         [BZ #17601]
10285         * sysdeps/mips/start.S (__start): Use indirect jump to call
10286         __libc_start_main.
10288 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10290         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10292         * nptl/tst-mutex1.c: Include <stdbool.h>.
10293         [!ATTR] (ATTR_NULL): New macro.
10294         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10295         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10296         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10298         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10299         to char *.
10301         [BZ #17665]
10302         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10303         Change conditional to [__USE_MISC].
10305         [BZ #17664]
10306         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10307         fgets_unlocked.
10308         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10309         __fgets_unlocked.
10310         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10311         fgets_unlocked.
10312         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10313         Remove variable.
10314         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10315         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10316         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10317         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10318         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10319         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10320         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10321         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10322         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10324         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10326 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10328         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10329         Remove strpbrk objects.
10330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10331         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10332         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10333         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10334         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10335         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10337         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10338         Remove strcspn objects.
10339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10340         (__libc_ifunc_impl_list): Remove strcspn implementation.
10341         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10342         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10343         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10344         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10346         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10347         Remove strspn objetcs.
10348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10349         (__libc_ifunc_impl_list): Remove strspn implementation.
10350         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10351         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10352         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10353         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10355 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10357         [BZ #17581]
10358         * malloc/hooks.c
10359         (mem2mem_check): Add a terminator to the chain of checking blocks.
10360         (malloc_check_get_size): Use it here.
10361         (mem2chunk_check): Ditto.
10363 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10365         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10366         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10368 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10370         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10372         * nptl/nptl-init.c: Include libc-internal.h.
10373         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10375         * elf/ldconfig.c (search_dir): Expand comment.
10377 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10379         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10380         variable.
10381         (linknamespace-symlist-stdlibs-tests): Likewise.
10382         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10383         instead of $(objpfx)symlist-stdlibs.
10384         (linknamespace-libs-isoc): New variable.
10385         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10386         (linknamespace-libs-ISO): New variable.
10387         (linknamespace-libs-ISO99): Likewise.
10388         (linknamespace-libs-ISO11): Likewise.
10389         (linknamespace-libs-XPG3): Likewise.
10390         (linknamespace-libs-XPG4): Likewise.
10391         (linknamespace-libs-POSIX): Likewise.
10392         (linknamespace-libs-UNIX98): Likewise.
10393         (linknamespace-libs-XOPEN2K): Likewise.
10394         (linknamespace-libs-POSIX2008): Likewise.
10395         (linknamespace-libs-XOPEN2K8): Likewise.
10396         ($(objpfx)symlist-stdlibs): Replace by
10397         $(linknamespace-symlist-stdlibs-tests).  Use
10398         $(linknamespace-libs-$*) as set of libraries.
10399         ($(linknamespace-header-tests)): Update dependencies.  Use
10400         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10401         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10402         * conform/linknamespace.pl: Remove comment about considering
10403         definitions of symbols from irrelevant libraries.
10405 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10407         [BZ #13862]
10408         * elf/dl-tls.c: Include <atomic.h>.
10409         (oom): Remove #ifdef SHARED/#endif.
10410         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10411         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10412         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10413         big enough.
10414         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10415         * nptl/Makefile (tests): Add tst-stack4.
10416         (modules-names): Add tst-stack4mod.
10417         ($(objpfx)tst-stack4): New.
10418         (tst-stack4mod.sos): Likewise.
10419         ($(objpfx)tst-stack4.out): Likewise.
10420         ($(tst-stack4mod.sos)): Likewise.
10421         (clean): Likewise.
10422         * nptl/tst-stack4.c: New file.
10423         * nptl/tst-stack4mod.c: Likewise.
10425 2014-11-27  J. Brown  <jb999@gmx.de>
10427         * sysdeps/x86/bits/string.h: Add recent CPUs.
10429 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10431         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10432         sigblock.
10434         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10435         feof.
10437         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10438         variable.
10440 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10442         * nscd/connections.c: Include libc-internal.h because of macro
10443         usage ignore_value.
10445 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10447         * string/bits/string3.h (__warn_memset_zero_len): Don't
10448         declare for gcc newer than 5.0.
10449         (memset): Don't test for zero-length __LEN for gcc newer than
10450         5.0.
10452 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10454         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10455         size_t for %zu format.
10457         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10458         difference, not %ju.
10460 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10462         * include/libc-internal.h (ignore_value): New macro.
10463         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10464         with ignore_value.
10466         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10467         definition.
10469         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10470         pthread_cleanup_push to void *.
10472         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10473         Undefine.
10475         [BZ #16619]
10476         [BZ #16740]
10477         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10478         instead of 1L << 52.
10480         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10481         * libio/bug-rewind2.c (do_test): Likewise.
10483         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10484         * debug/test-strcpy_chk-ifunc.c: Likewise.
10485         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10486         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10487         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10488         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10489         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10490         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10491         * Rules [$(multi-arch) = no] (tests): Do not filter out
10492         $(tests-ifunc).
10493         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10494         * debug/Makefile (tests-ifunc): Remove variable.
10495         (tests): Do not add $(tests-ifunc).
10496         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10497         (tests): Do not add $(tests-ifunc).
10498         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10499         [TEST_IFUNC]: Remove conditionals.
10500         * string/test-string.h (TEST_IFUNC): Remove macro.
10501         [TEST_IFUNC]: Remove conditionals.
10503         * string/test-strchr.c [!WIDE] (L): New macro.
10504         [WIDE] (L): Likewise.
10505         (check1): Use CHAR instead of char.  Use L on string and character
10506         constants.
10508 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10510         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10511         tests.
10512         * sysdeps/powerpc/bits/atomic.h
10513         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10514         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10515         (atomic_exchange_and_add_acq): Likewise.
10516         (atomic_exchange_and_add_rel): Likewise.
10517         * sysdeps/powerpc/powerpc32/bits/atomic.h
10518         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10519         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10520         * sysdeps/powerpc/powerpc64/bits/atomic.h
10521         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10522         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10524 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10526         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10527         Change synchronization of __sched_fifo_min_prio and
10528         __sched_fifo_max_prio.
10529         * nptl/pthread_mutexattr_getprioceiling.c
10530         (pthread_mutexattr_getprioceiling): Likewise.
10531         * nptl/pthread_mutexattr_setprioceiling.c
10532         (pthread_mutexattr_setprioceiling): Likewise.
10533         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10534         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10535         Likewise.
10537 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10539         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10540         void.
10542 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10544         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10545         third argument const.
10547 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10549         fnmatch: work around GCC compiler warning bug with uninit var
10550         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10551         This works around a bug with x86-64 GCC 4.9.2 and earlier
10552         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10553         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10554         used uninitialized in this function [-Wmaybe-uninitialized]".
10556 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10558         * posix/bug-regex31.c (main): Return RES not 0.
10560 2014-11-25  Anton Blanchard <anton@samba.org>
10562         * sysdeps/powerpc/bits/atomic.h
10563         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10565 2014-11-24  Sterling Augustine  <saugustine@google.com>
10567         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10569 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10571         [BZ #17608]
10572         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10574 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10576         [BZ #17633]
10577         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10578         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10579         variable.
10580         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10581         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10583 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10585         * string/strncpy.c (strncpy): Improve performance by using memset.
10587 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10589         * string/strcpy.c (strcpy):
10590         Improve performance by using strlen and memcpy.
10592 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10594         * string/strcoll_l.c (get_next_seq): __always_inline.
10595         * string/strcoll_l.c (do_compare): __always_inline.
10597 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10599         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10600         defined.
10601         * include/mqueue.h: Likewise.
10602         * include/stdlib.h: Likewise.
10604         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10605         (get_null_defines): Adjust.
10606         * sunrpc/Makefile: Adjust comment.
10607         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10608         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10609         (CFLAGS-interp.c): Likewise.
10610         (CFLAGS-ldconfig.c): Likewise.
10611         (CPPFLAGS-.os): Likewise.
10612         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10613         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10614         * extra-modules.mk (extra-modules.mk): Likewise.
10615         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10616         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10617         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10618         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10619         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10620         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10621         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10622         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10623         * iconvdata/Makefile (CPPFLAGS): Likewise.
10624         (cpp-srcs-left): Add libof for all iconvdata routines.
10625         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10626         * include/assert.h: Likewise.
10627         * include/ctype.h: Likewise.
10628         * include/errno.h: Likewise.
10629         * include/libc-symbols.h: Likewise.
10630         * include/math.h: Likewise.
10631         * include/netdb.h: Likewise.
10632         * include/resolv.h: Likewise.
10633         * include/stdio.h: Likewise.
10634         * include/stdlib.h: Likewise.
10635         * include/string.h: Likewise.
10636         * include/sys/stat.h: Likewise.
10637         * include/wctype.h: Likewise.
10638         * intl/l10nflist.c: Likewise.
10639         * libidn/idn-stub.c: Likewise.
10640         * libio/libioP.h: Likewise.
10641         * nptl/libc_multiple_threads.c: Likewise.
10642         * nptl/pthreadP.h: Likewise.
10643         * posix/regex_internal.h: Likewise.
10644         * resolv/res_hconf.c: Likewise.
10645         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10646         * sysdeps/arm/memmove.S: Likewise.
10647         * sysdeps/arm/sysdep.h: Likewise.
10648         * sysdeps/generic/_itoa.h: Likewise.
10649         * sysdeps/generic/symbol-hacks.h: Likewise.
10650         * sysdeps/gnu/errlist.awk: Likewise.
10651         * sysdeps/gnu/errlist.c: Likewise.
10652         * sysdeps/i386/i586/memcpy.S: Likewise.
10653         * sysdeps/i386/i586/memset.S: Likewise.
10654         * sysdeps/i386/i686/memcpy.S: Likewise.
10655         * sysdeps/i386/i686/memmove.S: Likewise.
10656         * sysdeps/i386/i686/mempcpy.S: Likewise.
10657         * sysdeps/i386/i686/memset.S: Likewise.
10658         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10659         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10660         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10661         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10662         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10663         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10664         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10665         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10666         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10667         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10668         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10669         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10670         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10671         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10672         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10673         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10674         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10675         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10676         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10677         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10678         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10679         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10680         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10681         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10682         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10683         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10684         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10685         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10686         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10687         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10688         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10689         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10690         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10691         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10692         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10693         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10694         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10695         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10696         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10697         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10698         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10699         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10700         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10701         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10702         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10703         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10704         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10705         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10706         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10707         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10708         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10709         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10710         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10711         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10712         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10713         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10714         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10715         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10716         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10717         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10718         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10719         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10720         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10721         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10722         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10723         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10724         * sysdeps/posix/closedir.c: Likewise.
10725         * sysdeps/posix/opendir.c: Likewise.
10726         * sysdeps/posix/readdir.c: Likewise.
10727         * sysdeps/posix/rewinddir.c: Likewise.
10728         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10729         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10730         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10731         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10732         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10733         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10734         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10735         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10736         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10737         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10738         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10739         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10740         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10741         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10742         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10743         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10744         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10745         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10746         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10747         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10748         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10749         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10750         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10751         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10752         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10753         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10754         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10755         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10756         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10757         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10758         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10759         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10760         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10761         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10762         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10763         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10764         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10765         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10766         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10767         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10768         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10769         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10770         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10771         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10772         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10773         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10774         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10775         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10776         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10777         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10778         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10779         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10780         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10781         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10782         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10783         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10784         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10785         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10786         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10787         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10788         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10789         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10790         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10791         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10792         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10793         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10794         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10795         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10796         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10797         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10798         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10799         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10800         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10801         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10802         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10803         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10804         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10805         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10806         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10807         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10808         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10809         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10810         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10811         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10812         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10813         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10814         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10815         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10816         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10817         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10818         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10819         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10820         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10821         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10822         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10823         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10824         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10825         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10826         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10827         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10828         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10829         * sysdeps/unix/alpha/sysdep.S: Likewise.
10830         * sysdeps/unix/alpha/sysdep.h: Likewise.
10831         * sysdeps/unix/make-syscalls.sh: Likewise.
10832         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10833         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10834         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10835         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10836         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10837         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10838         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10839         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10840         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10841         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10842         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10843         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10844         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10845         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10846         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10847         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10848         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10849         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10850         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10851         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10852         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10853         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10854         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10855         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10856         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10857         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10858         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10861         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10862         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10863         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10864         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10865         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10866         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10867         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10868         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10869         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10870         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10871         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10872         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10873         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10874         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10875         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10876         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10877         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10878         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10879         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10880         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10881         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10882         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10883         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10884         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10885         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10886         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10887         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10888         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10889         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10890         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10891         * sysdeps/x86_64/memcpy.S: Likewise.
10892         * sysdeps/x86_64/memmove.c: Likewise.
10893         * sysdeps/x86_64/memset.S: Likewise.
10894         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10895         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10896         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10897         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10898         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10899         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10900         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10901         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10902         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10903         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10904         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10905         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10906         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10907         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10908         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10909         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10910         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10911         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10912         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10913         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10914         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10915         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10916         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10917         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10918         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10919         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10920         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10921         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10922         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10923         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10924         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10925         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10926         * sysdeps/x86_64/strcmp.S: Likewise.
10928         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10930         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10931         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10932         * elf/rtld-Rules: Likewise.
10933         * elf/setup-vdso.h: Likewise.
10934         * include/assert.h: Likewise.
10935         * include/bits/stdlib-float.h: Likewise.
10936         * include/errno.h: Likewise.
10937         * include/sys/stat.h: Likewise.
10938         * include/unistd.h: Likewise.
10939         * sysdeps/aarch64/setjmp.S: Likewise.
10940         * sysdeps/alpha/setjmp.S: Likewise.
10941         * sysdeps/arm/__longjmp.S: Likewise.
10942         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10943         * sysdeps/arm/setjmp.S: Likewise.
10944         * sysdeps/arm/sysdep.h: Likewise.
10945         * sysdeps/generic/_itoa.h: Likewise.
10946         * sysdeps/generic/dl-sysdep.h: Likewise.
10947         * sysdeps/generic/ldsodefs.h: Likewise.
10948         * sysdeps/i386/dl-tls.h: Likewise.
10949         * sysdeps/i386/setjmp.S: Likewise.
10950         * sysdeps/m68k/setjmp.c: Likewise.
10951         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10952         * sysdeps/mach/hurd/opendir.c: Likewise.
10953         * sysdeps/posix/getcwd.c: Likewise.
10954         * sysdeps/posix/opendir.c: Likewise.
10955         * sysdeps/posix/profil.c: Likewise.
10956         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10957         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10958         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10959         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10960         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10961         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10962         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10963         * sysdeps/s390/dl-tls.h: Likewise.
10964         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10965         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10966         * sysdeps/sh/sh3/setjmp.S: Likewise.
10967         * sysdeps/sh/sh4/setjmp.S: Likewise.
10968         * sysdeps/unix/alpha/sysdep.h: Likewise.
10969         * sysdeps/unix/arm/sysdep.S: Likewise.
10970         * sysdeps/unix/i386/sysdep.S: Likewise.
10971         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10972         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10973         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10974         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10975         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10976         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10977         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10978         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10979         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10980         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10981         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10982         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10983         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10986         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10987         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10988         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10989         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10990         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10991         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10992         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10993         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10994         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10995         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10996         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10997         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10998         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10999         * sysdeps/x86_64/setjmp.S: Likewise.
11001         * include/math.h: Use IS_IN instead of IS_IN_libm.
11002         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11003         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11004         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11005         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11006         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11007         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11008         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11009         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11010         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11011         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11012         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11013         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11014         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11015         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11016         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11017         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11018         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11019         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11020         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11021         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11022         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11023         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11024         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11025         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11026         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11027         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11028         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11029         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11030         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11031         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11032         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11033         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11034         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11036         Likewise.
11037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11038         Likewise.
11039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11040         Likewise.
11041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11042         Likewise.
11043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11044         Likewise.
11045         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11046         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11047         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11048         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11049         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11050         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11056         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11057         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11058         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11059         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11060         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11061         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11062         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11063         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11064         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11065         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11066         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11067         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11068         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11069         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11071         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11073         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11074         * nptl/pthreadP.h: Likewise.
11075         * nptl_db/structs.def: Likewise.
11076         * sysdeps/arm/sysdep.h: Likewise.
11077         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11078         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11079         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11080         * sysdeps/unix/alpha/sysdep.h: Likewise.
11081         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11082         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11083         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11084         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11085         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11086         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11087         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11088         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11089         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11090         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11091         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11092         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11093         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11094         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11097         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11098         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11099         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11100         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11101         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11102         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11103         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11104         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11105         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11106         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11108         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11109         * nptl/pthreadP.h: Likewise.
11110         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11111         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11112         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11113         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11114         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11115         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11116         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11117         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11118         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11119         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11120         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11121         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11123         Likewise.
11124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11125         Likewise.
11126         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11127         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11128         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11129         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11131         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11132         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11133         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11135         * dlfcn/dladdr.c: Use IS_IN.
11136         * dlfcn/dladdr1.c: Likewise.
11137         * dlfcn/dlclose.c: Likewise.
11138         * dlfcn/dlerror.c: Likewise.
11139         * dlfcn/dlinfo.c: Likewise.
11140         * dlfcn/dlmopen.c: Likewise.
11141         * dlfcn/dlopen.c: Likewise.
11142         * dlfcn/dlsym.c: Likewise.
11143         * dlfcn/dlvsym.c: Likewise.
11145         * include/ifaddrs.h: Use IS_IN.
11146         * inet/check_pf.c: Likewise.
11147         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11148         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11150         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11151         IS_IN_ldconfig.
11152         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11153         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11155         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11156         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11157         IS_IN (libc).
11159         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11161         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11162         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11163         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11164         * include/libc-symbols.h (IS_IN_LIB): New macro.
11165         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11166         * include/netdb.h: Likewise.
11167         * include/stap-probe.h: Remove all uses of IN_LIB.
11169         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11170         instead of IN_MODULE.
11171         * include/libc-symbols.h (IN_MODULE): Define using
11172         MODULE_NAME.
11173         (PASTE_NAME, PASTE_NAME1): New macros.
11174         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11175         of IN_LIB.
11176         (STAP_PROBE_ASM): Likewise.
11178 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11180         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11181         __mach_init in dlopened libc.
11183 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11185         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11186         * sysdeps/arm/preconfigure: Regenerate.
11188 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11190         * nptl/pthread_create.c (__pthread_create_2_1): Set
11191         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11192         when copying values from IATTR into PD.
11194 2014-11-21  Will Newton  <will.newton@linaro.org>
11195             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11197         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11198         Refactor inline-asm.  Also add comment.
11200         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11201         ElfW macro instead of hardcoded Elf64 types.
11202         (la_aarch64_gnu_pltenter): Likewise.
11203         * sysdeps/aarch64/dl-machine.h
11204         (elf_machine_runtime_setup): Use ElfW(Addr).
11206         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11207         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11208         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11209         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11210         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11211         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11212         (R_AARCH64_TLS_DTPMOD): This.
11213         (R_AARCH64_TLS_DTPREL64): Rename to ...
11214         (R_AARCH64_TLS_DTPREL): This.
11215         (R_AARCH64_TLS_TPREL64): Rename to ...
11216         (R_AARCH64_TLS_TPREL): This.
11217         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11218         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11219         R_AARCH64_TLS_TPREL64.
11220         (elf_machine_rela): Likewise.
11222 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11224         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11225         by setting it to 0.  64b atomics are not supported currently.
11227 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11229         [BZ #16469]
11230         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11231         search domain names.
11233 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11235         [BZ #16469]
11236         * NEWS: Update.
11237         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11238         trailing dot.
11239         * posix/tst-getaddrinfo5.c: New.
11240         * posix/Makefile (tests): Add it.
11242 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11244         [BZ #14498]
11245         * NEWS: Fixed.
11246         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11247         after parsing line but before break_if_match.
11248         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11249         if there is a protocol mismatch.
11251 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11253         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11254         because the potential race is on the user-supplied stream.
11256 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11258         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11259         string literal if not passed a buffer.
11260         * manual/job.texi (ctermid): Update reasoning, note deviation
11261         from posix, suggest mtasurace when not passed a buffer, for
11262         future non-preliminary safety notes.
11264 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11266         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11267         of not passing it a buffer.
11268         Reported by Peng Haitao.
11270 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11272         * manual/Makefile ($(objpfx)stamp-summary): Require
11273         check-safety.sh to pass.
11274         * manual/check-safety.sh: Wish for verification that every
11275         @deftypefn and @deftypefun is followed by a @safety remark.
11277 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11279         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11281         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11282         PTHREAD_CANCEL_ASYNCHRONOUS.
11283         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11284         send SIGCANCEL.
11286         * nptl/default-sched.h: New file.
11287         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11288         * nptl/pthread_create.c: Include it.
11289         (__pthread_create_2_1): Use collect_default_sched instead of making
11290         Linux syscalls here directly.
11292 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11294         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11295         __pthread_once): Use C11 atomics.
11297 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11299         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11301 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11303         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11304         atomic_thread_fence_acquire, atomic_thread_fence_release,
11305         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11306         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11307         atomic_compare_exchange_weak_relaxed,
11308         atomic_compare_exchange_weak_acquire,
11309         atomic_compare_exchange_weak_release,
11310         atomic_exchange_acquire, atomic_exchange_release,
11311         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11312         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11313         atomic_fetch_and_acquire,
11314         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11316 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11318         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11319         USE_ATOMIC_COMPILER_BUILTINS): Define.
11320         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11321         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11322         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11323         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11324         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11325         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11326         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11327         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11328         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11329         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11330         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11331         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11332         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11333         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11334         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11335         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11336         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11337         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11338         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11339         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11340         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11341         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11342         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11343         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11344         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11345         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11346         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11347         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11348         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11349         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11350         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11351         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11352         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11353         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11354         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11355         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11356         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11357         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11358         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11359         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11361 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11363         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11364         the sched_priority value here.  It was already checked when the user
11365         called pthread_attr_setschedparam.
11367         * nptl/tst-bad-schedattr.c: New file.
11368         * nptl/Makefile (tests): Add it.
11370 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11371             Florian Weimer  <fweimer@redhat.com>
11372             Joseph Myers  <joseph@codesourcery.com>
11373             Adam Conrad  <adconrad@0c3.net>
11374             Andreas Schwab  <schwab@suse.de>
11375             Brooks  <bmoses@google.com>
11377         [BZ #17625]
11378         * wordexp-test.c (__dso_handle): Add prototype.
11379         (__register_atfork): Likewise.
11380         (__app_register_atfork): New function.
11381         (registered_forks): New global.
11382         (register_fork): New function.
11383         (test_case): Add 3 new tests for WRDE_CMDSUB.
11384         (main): Call __app_register_atfork.
11385         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11386         fork count is non-zero fail the test.
11387         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11388         is set.
11389         (parse_dollars): Remove check for WRDE_NOCMD.
11390         (parse_dquote): Likewise.
11392 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11394         * Makeconfig (built-modules): List non-library modules to be
11395         built.
11396         (module-cppflags): Include libc-modules.h for
11397         everything except shlib-versions.v.i.
11398         (CPPFLAGS): Use it.
11399         (before-compile): Add libc-modules.h.
11400         ($(common-objpfx)libc-modules.h,
11401         $(common-objpfx)libc-modules.stmp): New targets.
11402         (common-generated): Add libc-modules.h and libc-modules.stmp.
11403         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11404         * include/libc-symbols.h: Don't include libc-modules.h.
11405         * include/libc-modules.h: Remove file.
11406         * scripts/gen-libc-modules.awk: New script to generate
11407         libc-modules.h.
11408         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11409         Depend on libc-modules.stmp.
11411         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11413         * Makeconfig (in-module): Get value of libof set for the
11414         translation unit.
11415         (CPPFLAGS): Use $(in-module).
11416         * Makerules: Don't suffix routine names for nonlib.
11417         * include/libc-modules.h: New file.
11418         * include/libc-symbols.h: Include libc-modules.h
11419         (IS_IN): New macro to replace IS_IN_* macros.
11420         * elf/Makefile: Set libof-* for each routine.
11421         * elf/rtld-Rules: Likewise.
11422         * extra-modules.mk: Likewise.
11423         * iconv/Makefile: Likewise.
11424         * iconvdata/Makefile: Likewise.
11425         * locale/Makefile: Likewise.
11426         * malloc/Makefile: Likewise.
11427         * nss/Makefile: Likewise.
11428         * sysdeps/gnu/Makefile: Likewise.
11429         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11430         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11431         * sysdeps/s390/s390-64/Makefile: Likewise.
11432         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11433         CPPFLAGS for nscd instead of nonlib.
11435 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11437         * nptl/createthread.c: New file.
11439         * nptl/createthread.c: Moved ...
11440         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11442         * nptl/createthread.c: Add proper top-line comment.
11443         (do_clone): Folded into ...
11444         (create_thread): ... here.  Take new arguments STOPPED_START and
11445         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11446         increment __nptl_threads, do event-reporting logic, do
11447         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11448         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11449         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11450         just send SIGCANCEL.
11451         * nptl/pthread_create.c: Forward-declare create_thread before
11452         including createthread.c.
11453         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11454         declaration, and new macro START_THREAD_SELF to replace argument.
11455         Remove return statement.
11456         (report_thread_creation): New function.
11457         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11458         synchronization logic, and __nptl_nthreads increment here, around
11459         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11460         PD->parent_cancelhandling here, before create_thread.  When
11461         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11462         __deallocate_stack, and ENOMEM translation here.
11464 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11466         [BZ #17616]
11467         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11468         (mptwo): Rename to __mptwo.
11469         (__inv): Use __mptwo instead of mptwo.
11470         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11471         (mptwo): Rename to __mptwo.
11472         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11473         of mpone and __mptwo instead of mptwo.
11474         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11475         instead of mpone.
11476         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11477         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11478         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11479         of mpone and __mptwo instead of mptwo.
11480         (__mpranred): Use __mpone instead of mpone.
11481         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11482         variable.
11483         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11484         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11485         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11486         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11487         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11488         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11489         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11490         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11491         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11492         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11493         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11494         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11495         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11496         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11497         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11498         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11499         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11500         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11501         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11503 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11505         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11506         replace BSD Handler xref with BSD Signal Handling.
11508 2014-11-17  Richard Henderson  <rth@redhat.com>
11510         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11511         (_FP_PACK_RAW_2): Remove.
11512         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11513         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11514         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11515         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11516         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11517         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11518         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11519         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11520         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11521         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11522         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11523         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11524         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11525         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11526         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11527         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11529 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11531         * signal/signal.h [__USE_MISC]
11532         (struct sigvec): Remove type.
11533         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11534         (sigvec): Remove declaration.
11535         * sysdeps/posix/sigvec.c: Moved ...
11536         * signal/sigvec.c: ... here, replacing old file.
11537         (struct sigvec): New type, copied from old signal.h definition.
11538         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11539         (__sigvec): Convert definition to prototype.
11540         (sigvec): Replace weak_alias with compat_symbol.
11541         * signal/Versions (libc: GLIBC_2.21): New version set.
11542         * include/signal.h: Remove __sigvec declaration.
11543         * sysdeps/unix/bsd/sigvec.c: Remove file.
11544         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11545         * manual/signal.texi (BSD Handler): Remove subsection.
11546         Move siginterrupt up to ...
11547         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11548         (Blocking in BSD): Fold subsection into its parent.
11549         * NEWS: Mention sigvec removal.
11551 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11553         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11554         (DLA_FMS): Make definition conditional only on [__FMA4__].
11555         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11556         definition.
11558         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11559         Make definition conditional only on [PROF].
11560         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11561         definition.
11562         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11563         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11565         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11566         !__GNUC__].
11567         * include/signal.h (__sigpause): Move declaration above call to
11568         libc_hidden_proto.
11569         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11570         variable.
11571         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11572         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11574 2014-11-14  David S. Miller  <davem@davemloft.net>
11576         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11577         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11579 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11581         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11582         * configure: Regenerated.
11583         * manual/install.texi (Tools for Compilation): Document a
11584         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11585         compiler verified to work.
11586         * INSTALL: Regenerated.
11588         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11589         redeclare with asm name.
11590         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11591         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11592         including <string.h>.
11593         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11594         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11595         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11596         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11597         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11598         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11599         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11601 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11603         * stdlib/strtol.c (__strtol): Use prototype definition.
11605         [BZ #17594]
11606         * stdlib/strtol.c (SYM__): New macro.
11607         (SYM__1): Likewise.
11608         (__strtol): Likewise.
11609         (strtol): Rename to __strtol and define as weak alias of
11610         __strtol.  Use libc_hidden_weak.
11612 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11614         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11615         Use numbered labels in inline assembly.
11617 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11619         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11620         Add setjmp LIBC_PROBE.
11621         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11622         Likewise.
11623         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11624         Add longjmp, longjmp_target LIBC_PROBE.
11625         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11626         Likewise.
11628 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11630         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11631         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11632         to get rid of unused variable warning.
11634 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11636         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11637         Check for unwind_backtrace ==  NULL only in SHARED case.
11638         (__backchain_backtrace): Compile only in SHARED case.
11639         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11640         Likewise.
11641         (__backchain_backtrace): Declare as static.
11643 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11645         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11646         (__libc_multiple_threads_ptr): Variable moved ...
11647         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11649 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11651         * conform/GlibcConform.pm: New file.
11652         * conform/conformtest.pl: Use GlibcConform module.
11653         * conform/linknamespace.pl: New file.
11654         * conform/list-header-symbols.pl: Likewise.
11655         * conform/Makefile (linknamespace-symlists-base): New variable.
11656         (linknamespace-symlists-tests): Likewise.
11657         (linknamespace-header-base): Likewise.
11658         (linknamespace-header-tests): Likewise.
11659         (tests-special): Add new tests.
11660         ($(linknamespace-symlists-tests)): New rule.
11661         (linknamespace-libs): New variable.
11662         ($(objpfx)symlist-stdlibs): New rule.
11663         ($(linknamespace-header-tests)): Likewise.
11664         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11665         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11666         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11667         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11668         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11669         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11670         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11671         (test-xfail-ISO/math.h/linknamespace): Likewise.
11672         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11673         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11674         (test-xfail-ISO/time.h/linknamespace): Likewise.
11675         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11676         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11677         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11678         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11679         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11680         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11681         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11682         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11683         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11684         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11685         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11686         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11687         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11688         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11689         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11690         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11691         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11692         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11693         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11694         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11695         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11696         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11697         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11698         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11699         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11700         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11701         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11702         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11703         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11704         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11705         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11706         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11707         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11708         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11709         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11710         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11711         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11712         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11713         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11714         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11715         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11716         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11717         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11718         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11719         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11720         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11721         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11722         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11723         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11724         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11725         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11726         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11727         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11728         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11729         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11730         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11731         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11732         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11733         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11734         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11735         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11736         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11737         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11738         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11739         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11740         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11741         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11742         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11743         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11744         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11745         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11746         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11747         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11748         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11749         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11750         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11751         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11752         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11753         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11754         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11755         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11756         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11757         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11758         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11759         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11760         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11761         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11762         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11763         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11764         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11765         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11766         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11767         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11768         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11769         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11770         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11771         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11772         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11773         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11774         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11775         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11776         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11777         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11778         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11779         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11780         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11781         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11782         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11783         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11784         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11785         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11786         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11787         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11788         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11789         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11790         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11791         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11792         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11793         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11794         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11795         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11796         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11797         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11798         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11799         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11800         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11801         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11802         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11803         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11804         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11805         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11806         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11807         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11808         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11809         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11810         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11811         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11812         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11813         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11814         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11815         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11816         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11817         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11818         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11819         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11820         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11821         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11822         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11823         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11824         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11826         [BZ #17589]
11827         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11828         of fgets_unlocked.
11830         [BZ #17585]
11831         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11832         (memmem): Rename to __memmem and define as weak alias of
11833         __memmem.  Use libc_hidden_weak.
11834         (__memmem): Use libc_hidden_def.
11835         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11836         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11837         memmem.
11839         [BZ #17582]
11840         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11841         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11842         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11843         and define as weak alias of __fgets_unlocked.  Use
11844         libc_hidden_weak.
11845         (__fgets_unlocked): Use libc_hidden_def.
11846         * include/stdio.h (__fgets_unlocked): Declare.  Use
11847         libc_hidden_proto.
11848         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11849         __fgets_unlocked instead of fgets_unlocked.
11850         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11851         (GET_NPROCS_CONF_PARSER): Likewise.
11852         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11853         (GET_NPROCS_CONF_PARSER): Likewise.
11855         [BZ #17574]
11856         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11857         weak alias of __wmemset.  Use libc_hidden_weak.
11858         (__wmemset): Use libc_hidden_def.
11859         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11860         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11861         of wmemset.
11863         [BZ #17573]
11864         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11865         with asm name __mempcpy.
11866         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11868         [BZ #17572]
11869         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11870         and define as weak alias of __rawmemchr.
11871         (__rawmemchr): Do not define as strong alias of rawmemchr.
11873         [BZ #17571]
11874         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11875         alias of __qsort_r.
11876         (qsort): Call __qsort_r instead of qsort_r.
11877         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11878         (__qsort_r): Declare.  Call libc_hidden_proto.
11879         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11880         instead of qsort_r.
11881         * nscd/gai.c (__qsort_r): Define to qsort_r.
11882         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11883         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11884         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11886         [BZ #17570]
11887         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11888         define as weak alias of __malloc_info.
11890         [BZ #17584]
11891         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11892         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11893         (__rewinddir): Use libc_hidden_def.
11894         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11895         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11896         (__rewinddir): Use libc_hidden_def.
11897         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11898         weak alias of __rewinddir.  Don't use libc_hidden_def.
11899         (__rewinddir): Use libc_hidden_def.
11900         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11901         (__rewinddir): Use libc_hidden_proto.
11902         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11903         rewinddir.
11904         (__getcwd): Use __rewinddir instead of rewinddir.
11906         [BZ #17583]
11907         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11908         alias of __fileno.  Use libc_hidden_weak.
11909         (__fileno): Use libc_hidden_def.
11910         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11911         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11912         alias of __ftello.
11913         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11914         __ftello.
11915         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11916         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11917         libc_hidden_def.
11918         (fread_unlocked): Don't use libc_hidden_ver.
11919         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11920         and define as weak alias of __fread_unlocked.  Don't use
11921         libc_hidden_def.
11922         (__fread_unlocked): Use libc_hidden_def.
11923         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11924         (ftello): Don't use libc_hidden_proto.
11925         (__ftello): Declare.  Use libc_hidden_proto.
11926         (fread_unlocked): Don't use libc_hidden_proto.
11927         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11928         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11929         and __ftello instead of fileno, fread_unlocked and ftello.
11931 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11933         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11934         GOT12.
11935         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11936         Likewise.
11937         (_dl_start_user): Likewise.
11938         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11940 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11941             Siddhesh Poyarekar  <siddhesh@redhat.com>
11943         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11944         Move argv and envp down instead of moving argc up.
11945         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11947 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11949         [BZ #17506]
11950         * test-skeleton.c (main): Return successful if one of
11951         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11952         * string/tst-strcoll-overflow.c: Define expected status.
11954 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11956         [BZ #17475]
11957         * locale/iso-639.def: Define Bhili and Tulu language codes.
11959 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11961         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11963 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11965         [BZ #17555]
11966         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11968 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11970         * configure.ac: Updated check of minimal required version to
11971         2.22.
11972         * manual/install.texi (Tools for Compilation): Updated version
11973         number.
11974         * configure: Regenerated.
11975         * INSTALL: Likewise.
11977 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11979         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11980         __tls_get_addr.
11982 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11984         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11985         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11986         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11987         libc_hidden_weak.
11988         (waitpid): Define as alias of __waitpid.
11989         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11990         __waitpid.
11991         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11992         libc_hidden_weak.
11993         (waitpid): Define as alias of __waitpid.
11994         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11995         __libc_waitpid alias.
11996         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11997         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11998         Likewise.
11999         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12000         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12001         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12002         alias.
12003         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12004         __waitpid.
12005         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12006         libc_hidden_weak.
12007         (waitpid): Define as alias of __waitpid.
12009 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12011         * manual/llio.texi: Add comment that write safety has been
12012         fixed in Linux.
12014         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12015         (localplt-build-dso): Add elf/ld.so.
12016         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12017         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12018         and free for ld.so.
12019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12020         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12022         Likewise.
12023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12024         Likewise.
12025         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12026         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12027         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12028         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12029         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12030         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12031         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12032         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12033         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12034         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12035         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12037 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12039         [BZ #14132]
12040         * include/libc-symbols.h (INTUSE): Remove macro.
12041         (INTDEF): Likewise.
12042         (INTVARDEF): Likewise.
12043         (_INTVARDEF): Likewise.
12044         (INTDEF2): Likewise.
12045         (INTVARDEF2): Likewise.
12046         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12047         rtld_hidden_def instead of INTVARDEF.
12048         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12049         (_dl_starting_up_internal): Remove declaration.
12050         (_dl_starting_up): Use rtld_hidden_proto.
12051         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12052         declaration.
12053         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12054         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12055         _dl_starting_up.
12056         * elf/dl-writev.h (_dl_writev): Likewise.
12057         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12058         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12059         _dl_starting_up_internal.
12061 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12063         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12064         test-skeleton.c.
12066 2014-11-05  Will Newton  <will.newton@linaro.org>
12068         * benchtests/Makefile: (bench-malloc): Add malloc thread
12069         scalability benchmark.
12070         * benchtests/bench-malloc-threads.c: New file.
12072 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12074         * sysdeps/aarch64/strchrnul.S: New file.
12076 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12078         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12079         definition.
12080         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12081         Likwise.
12082         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12083         Likewise.
12084         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12085         Likewise.
12086         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12087         Likewise.
12088         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12089         Likewise.
12091 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12093         * catgets/test-gencat.c: Use test-skeleton.c.
12094         * catgets/tst-catgets.c: Likewise.
12095         * csu/tst-empty.c: Likewise.
12096         * elf/tst-audit2.c: Likewise.
12097         * elf/tst-global1.c: Likewise.
12098         * elf/tst-pathopt.c: Likewise.
12099         * elf/tst-piemod1.c: Likewise.
12100         * elf/tst-tls10.c: Likewise.
12101         * elf/tst-tls11.c: Likewise.
12102         * elf/tst-tls12.c: Likewise.
12103         * gnulib/tst-gcc.c: Likewise.
12104         * iconvdata/tst-e2big.c: Likewise.
12105         * iconvdata/tst-loading.c: Likewise.
12106         * iconv/tst-iconv1.c: Likewise.
12107         * iconv/tst-iconv2.c: Likewise.
12108         * inet/test-inet6_opt.c: Likewise.
12109         * inet/tst-gethnm.c: Likewise.
12110         * inet/tst-network.c: Likewise.
12111         * inet/tst-ntoa.c: Likewise.
12112         * intl/tst-codeset.c: Likewise.
12113         * intl/tst-gettext2.c: Likewise.
12114         * intl/tst-gettext3.c: Likewise.
12115         * intl/tst-ngettext.c: Likewise.
12116         * intl/tst-translit.c: Likewise.
12117         * io/test-stat.c: Likewise.
12118         * libio/test-fmemopen.c: Likewise.
12119         * libio/tst-freopen.c: Likewise.
12120         * libio/tst-sscanf.c: Likewise.
12121         * libio/tst-ungetwc1.c: Likewise.
12122         * libio/tst-ungetwc2.c: Likewise.
12123         * libio/tst-widetext.c: Likewise.
12124         * localedata/tst-ctype.c: Likewise.
12125         * localedata/tst-digits.c: Likewise.
12126         * localedata/tst-leaks.c: Likewise.
12127         * localedata/tst-mbswcs1.c: Likewise.
12128         * localedata/tst-mbswcs2.c: Likewise.
12129         * localedata/tst-mbswcs3.c: Likewise.
12130         * localedata/tst-mbswcs4.c: Likewise.
12131         * localedata/tst-mbswcs5.c: Likewise.
12132         * localedata/tst-setlocale.c: Likewise.
12133         * localedata/tst-trans.c: Likewise.
12134         * localedata/tst-wctype.c: Likewise.
12135         * localedata/tst-xlocale1.c: Likewise.
12136         * login/tst-grantpt.c: Likewise.
12137         * malloc/tst-calloc.c: Likewise.
12138         * malloc/tst-malloc.c: Likewise.
12139         * malloc/tst-mallocstate.c: Likewise.
12140         * malloc/tst-mcheck.c: Likewise.
12141         * malloc/tst-mtrace.c: Likewise.
12142         * malloc/tst-obstack.c: Likewise.
12143         * math/atest-exp2.c: Likewise.
12144         * math/atest-exp.c: Likewise.
12145         * math/atest-sincos.c: Likewise.
12146         * math/test-matherr.c: Likewise.
12147         * math/test-misc.c: Likewise.
12148         * math/test-powl.c: Likewise.
12149         * math/tst-definitions.c: Likewise.
12150         * misc/tst-dirname.c: Likewise.
12151         * misc/tst-efgcvt.c: Likewise.
12152         * misc/tst-fdset.c: Likewise.
12153         * misc/tst-hsearch.c: Likewise.
12154         * misc/tst-mntent2.c: Likewise.
12155         * nptl/tst-sem7.c: Likewise.
12156         * nptl/tst-sem8.c: Likewise.
12157         * nptl/tst-sem9.c: Likewise.
12158         * nss/test-netdb.c: Likewise.
12159         * posix/tst-fnmatch.c: Likewise.
12160         * posix/tst-getlogin.c: Likewise.
12161         * posix/tst-gnuglob.c: Likewise.
12162         * posix/tst-mmap.c: Likewise.
12163         * pwd/tst-getpw.c: Likewise.
12164         * resolv/tst-inet_ntop.c: Likewise.
12165         * rt/tst-timer.c: Likewise.
12166         * stdio-common/test-fseek.c: Likewise.
12167         * stdio-common/test-popen.c: Likewise.
12168         * stdio-common/test-vfprintf.c: Likewise.
12169         * stdio-common/tst-cookie.c: Likewise.
12170         * stdio-common/tst-fileno.c: Likewise.
12171         * stdio-common/tst-gets.c: Likewise.
12172         * stdio-common/tst-obprintf.c: Likewise.
12173         * stdio-common/tst-perror.c: Likewise.
12174         * stdio-common/tst-sprintf2.c: Likewise.
12175         * stdio-common/tst-sprintf3.c: Likewise.
12176         * stdio-common/tst-sprintf.c: Likewise.
12177         * stdio-common/tst-swprintf.c: Likewise.
12178         * stdio-common/tst-tmpnam.c: Likewise.
12179         * stdio-common/tst-unbputc.c: Likewise.
12180         * stdio-common/tst-wc-printf.c: Likewise.
12181         * stdlib/tst-environ.c: Likewise.
12182         * stdlib/tst-fmtmsg.c: Likewise.
12183         * stdlib/tst-limits.c: Likewise.
12184         * stdlib/tst-rand48-2.c: Likewise.
12185         * stdlib/tst-rand48.c: Likewise.
12186         * stdlib/tst-random2.c: Likewise.
12187         * stdlib/tst-random.c: Likewise.
12188         * stdlib/tst-strtol.c: Likewise.
12189         * stdlib/tst-strtoll.c: Likewise.
12190         * stdlib/tst-tls-atexit.c: Likewise.
12191         * stdlib/tst-xpg-basename.c: Likewise.
12192         * string/test-ffs.c: Likewise.
12193         * string/tst-bswap.c: Likewise.
12194         * string/tst-inlcall.c: Likewise.
12195         * string/tst-strtok.c: Likewise.
12196         * string/tst-strxfrm.c: Likewise.
12197         * sysdeps/x86_64/tst-audit10.c: Likewise.
12198         * sysdeps/x86_64/tst-audit3.c: Likewise.
12199         * sysdeps/x86_64/tst-audit4.c: Likewise.
12200         * sysdeps/x86_64/tst-audit5.c: Likewise.
12201         * time/tst-ftime_l.c: Likewise.
12202         * time/tst-getdate.c: Likewise.
12203         * time/tst-mktime3.c: Likewise.
12204         * time/tst-mktime.c: Likewise.
12205         * time/tst-posixtz.c: Likewise.
12206         * time/tst-strptime2.c: Likewise.
12207         * time/tst-strptime3.c: Likewise.
12208         * wcsmbs/tst-btowc.c: Likewise.
12209         * wcsmbs/tst-mbrtowc.c: Likewise.
12210         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12211         * wcsmbs/tst-wchar-h.c: Likewise.
12212         * wcsmbs/tst-wcpncpy.c: Likewise.
12213         * wcsmbs/tst-wcrtomb.c: Likewise.
12214         * wcsmbs/tst-wcsnlen.c: Likewise.
12215         * wcsmbs/tst-wcstof.c: Likewise.
12217 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12219         [BZ #14132]
12220         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12221         INTDEF.
12222         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12223         declaration.
12224         (_dl_mcount): Use rtld_hidden_proto.
12225         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12226         _dl_mcount.
12227         * elf/rtld.c (_rtld_global_ro): Likewise.
12229         [BZ #14132]
12230         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12231         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12232         of _dl_init_internal.
12233         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12234         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12235         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12236         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12237         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12238         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12239         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12240         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12241         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12242         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12243         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12244         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12245         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12246         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12247         * sysdeps/tile/dl-start.S (_start): Likewise.
12248         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12249         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12251         [BZ #14132]
12252         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12253         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12254         (rtld_progname): Make macro definition unconditional.
12255         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12256         INTDEF.
12257         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12258         (dl_main): Likewise.
12259         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12260         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12261         instead of _dl_argv_internal.
12262         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12263         __GI__dl_argv instead of INTUSE(_dl_argv).
12264         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12265         __GI__dl_argv instead of _dl_argv_internal.
12267         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12268         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12269         macro.
12270         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12271         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12272         New macro.
12273         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12274         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12275         macro.
12276         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12277         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12279 2014-11-04  Andreas Schwab  <schwab@suse.de>
12281         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12283 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12285         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12286         mtvsrd instruction in binary form.
12288 2014-11-03  Andreas Schwab  <schwab@suse.de>
12290         [BZ #17522]
12291         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12292         for less than MB_LEN_MAX use a local buffer of that size.
12293         * libio/tst-fputws.c: New file.
12294         * libio/Makefile (tests): Add tst-fputws.
12296 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12298         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12299         the size of the fpu_fr.fpu_dregs[] array.
12301 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12303         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12304         (__nanosleep): Do not define as alias.
12305         (nanosleep): Define as alias of __nanosleep.
12306         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12307         __libc_nanosleep name.
12309 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12311         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12312         install.texi in comment.
12314 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12316         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12317         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12318         ... add here and use lwsync or sync ...
12319         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12320         ... and add here using lwsync.
12322 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12324         * elf/dl-machine-reject-phdr.h: New file.
12325         * elf/dl-load.c: #include that.
12326         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12327         if that returned true.
12329 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12331         [BZ #17496]
12332         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12333         gen-as-const-headers chunk.  Add a big scare comment after the last
12334         safe place to touch before-compile.
12336 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12338         * manual/install.texi (Tools for Compilation): Update autoconf
12339         version requirements.
12340         * INSTALL: Regenerated.
12342         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12343         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12344         (__libc_pselect): Likewise.
12346         [BZ #14138]
12347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12352 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12354         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12355         correct barrier instruction.
12356         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12357         Likewise.
12358         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12359         Likewise.
12361 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12363         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12364         after defining inlines.  Instead, just use parens to defeat macro
12365         expansion of __isctype in its declaration.
12367 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12369         * include/sys/uio.h (__libc_readv): Remove declaration.
12370         (__libc_writev): Likewise.
12371         * misc/readv.c (__libc_readv): Rename to __readv.
12372         (__readv): Do not define as alias.
12373         (readv): Define as alias of __readv.
12374         * misc/writev.c (__libc_writev): Rename to __writev.
12375         (__writev): Do not define as alias.
12376         (writev): Define as alias of __writev.
12377         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12378         (__readv): Do not define as alias.
12379         (readv): Define unconditionally as alias of __readv.
12380         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12381         (__writev): Do not define as alias.
12382         (writev): Define unconditionally as alias of __writev.
12383         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12384         name.
12385         (writev): Do not define __libc_writev name.
12387 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12389         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12390         (convert_charseq): New function, broken out of ...
12391         (use_from_charmap): ... here.  Call it.
12392         (use_to_charmap): Use convert_charseq and free instead of duplicating
12393         its code with a variable-length stack struct.
12395 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12397         * include/fcntl.h (__libc_creat): Remove declaration.
12398         * io/creat.c (__libc_creat): Rename to creat.
12399         (creat): Do not define as alias.
12400         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12401         of creat instead of __libc_creat.
12402         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12403         to creat.
12404         (creat): Do not define as alias.
12405         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12406         __libc_creat.
12407         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12408         __libc_creat name.
12409         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12410         Likewise.
12412 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12414         * manual/llio.texi: Add comments discussing why write() may be
12415         considered MT-unsafe on Linux.
12417 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12419         * dl-load.c (local_strdup): Remove.
12420         (expand_dynamic_string_token): Use __strdup.
12421         (decompose_rpath): Likewise.
12422         (_dl_map_object): Likewise.
12424 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12426         [BZ #14132]
12427         * sysdeps/generic/unwind-dw2-fde.c
12428         (__register_frame_info_bases_internal): Do not declare.
12429         (__register_frame_info_table_bases_internal): Likewise.
12430         (__deregister_frame_info_bases_internal): Likewise.
12431         (__register_frame_info_bases): Declare and use hidden_proto before
12432         definition.  Use hidden_def instead of INTDEF.
12433         (__register_frame_info_table_bases): Likewise.
12434         (__deregister_frame_info_bases): Likewise.
12435         (__register_frame_info): Do not use INTUSE.
12436         (__register_frame): Likewise.
12437         (__register_frame_info_table): Likewise.
12438         (__register_frame_table): Likewise.
12439         (__deregister_frame_info): Likewise.
12440         (__deregister_frame): Likewise.
12442 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12444         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12445         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12446         not undefine.
12447         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12448         Likewise.
12449         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12450         Likewise.
12452 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12454         [BZ #14138]
12455         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12456         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12457         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12458         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12459         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12460         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12461         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12462         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12463         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12464         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12465         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12466         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12467         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12468         syscall.
12469         (setfsuid): Likewise.
12470         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12471         (setfsuid): Likewise.
12472         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12473         (setfsuid): Likewise.
12474         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12475         Likewise.
12476         (setfsuid): Likewise.
12477         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12478         (setfsuid): Likewise.
12479         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12480         Likewise.
12481         (setfsuid): Likewise.
12483 2014-10-27  Andreas Schwab  <schwab@suse.de>
12485         [BZ #17501]
12486         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12487         check for Slow_SSE4_2 feature bit.
12488         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12489         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12490         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12491         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12493 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12495         * configure.ac: Validate compiler version with a empirical test of
12496         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12497         $CC -v output.
12498         * configure: Regenerated.
12500         * inet/htons.c (htons): Prototypify.
12501         * inet/htonl.c (htonl): Likewise.
12503 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12505         * string/strncat.c (strncat): Improve performance by using strlen.
12507 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12509         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12511 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12513         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12514         Call libc_fetestexcept_aarch64.
12516 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12518         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12519         Call libc_feholdexcept_aarch64.
12521 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12523         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12524         Call get_rounding_mode.
12526 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12528         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12529         Simplify logic.
12531 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12533         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12534         Simplify logic.
12536 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12538         [BZ #14138]
12539         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12540         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12541         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12542         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12543         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12544         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12545         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12546         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12547         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12548         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12549         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12550         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12551         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12552         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12553         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12554         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12555         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12556         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12557         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12558         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12559         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12560         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12561         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12562         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12563         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12564         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12565         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12566         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12567         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12568         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12569         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12570         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12571         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12572         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12573         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12574         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12575         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12576         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12577         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12578         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12579         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12580         syscall.
12581         (geteuid): Likewise.
12582         (getgid): Likewise.
12583         (getuid): Likewise.
12584         (getresgid): Likewise.
12585         (getresuid): Likewise.
12586         (getgroups): Likewise.
12587         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12588         (geteuid): Likewise.
12589         (getgid): Likewise.
12590         (getuid): Likewise.
12591         (getresgid): Likewise.
12592         (getresuid): Likewise.
12593         (getgroups): Likewise.
12594         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12595         (geteuid): Likewise.
12596         (getgid): Likewise.
12597         (getuid): Likewise.
12598         (getresgid): Likewise.
12599         (getresuid): Likewise.
12600         (getgroups): Likewise.
12601         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12602         Likewise.
12603         (geteuid): Likewise.
12604         (getgid): Likewise.
12605         (getuid): Likewise.
12606         (getresgid): Likewise.
12607         (getresuid): Likewise.
12608         (getgroups): Likewise.
12609         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12610         (geteuid): Likewise.
12611         (getgid): Likewise.
12612         (getuid): Likewise.
12613         (getresgid): Likewise.
12614         (getresuid): Likewise.
12615         (getgroups): Likewise.
12616         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12617         Likewise.
12618         (geteuid): Likewise.
12619         (getgid): Likewise.
12620         (getuid): Likewise.
12621         (getgroups): Likewise.
12623         [BZ #14138]
12624         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12625         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12626         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12627         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12628         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12629         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12630         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12631         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12632         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12633         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12634         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12635         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12636         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12637         __chown.
12638         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12639         (lchown): Likewise.
12640         (fchown): Likewise.
12641         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12642         Likewise.
12643         (lchown): Likewise.
12644         (fchown): Likewise.
12645         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12646         (lchown): Likewise.
12647         (fchown): Likewise.
12648         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12649         Likewise.
12650         (lchown): Likewise.
12651         (fchown): Likewise.
12653 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12655         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12656         Simplify logic.
12658 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12660         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12661         Cleanup logic.
12663 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12665         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12666         Remove unused include.
12668 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12670         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12671         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12672         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12673         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12675 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12676             Helge Deller <deller@gmx.de>
12678         [BZ #17508]
12679         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12680         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12681         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12683 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12685         [BZ #14132]
12686         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12687         Remove macro definition.
12688         (__ashrdi3_v_glibc20): Likewise.
12689         (__lshrdi3_v_glibc20): Likewise.
12690         (__cmpdi2_v_glibc20): Likewise.
12691         (__ucmpdi2_v_glibc20): Likewise.
12692         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12693         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12694         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12695         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12696         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12697         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12699 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12701         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12702         old GNU extension [0] syntax.
12703         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12704         alloca rather than an array member with variable length.
12705         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12706         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12707         (parse_opt): ... here.  Likewise use alloca there.
12708         Validate the -i argument before checking for rootness.
12709         (send_shutdown): New function, broken out of ...
12710         (parse_opt): ... here.
12712 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12714         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12715         macro to get at the _rt_local_ro field.
12716         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12717         ([PIC] case) or _dl_hwcap ([!PIC] case).
12718         * sysdeps/arm/setjmp.S: Likewise.
12720         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12721         * sysdeps/arm/configure.ac: New check to define it.
12722         * sysdeps/arm/configure: Regenerated.
12723         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12724         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12725         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12726         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12727         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12728         Use move/movt pair instead of a load.
12729         (LDST_GLOBAL): Macro removed.
12730         (LDR_GLOBAL): New macro replaces it.
12731         (LDR_HIDDEN): New macro.
12732         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12733         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12735         * setjmp/tst-setjmp-static.c: New file.
12736         * setjmp/Makefile (tests): Add it.
12737         (tests-static): New variable.
12739 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12741         [BZ #17485]
12742         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12744 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12746         [BZ #14132]
12747         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12749 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12751         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12753 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12755         * io/fts.c (dirent_not_directory): New function.
12756         (fts_build): Call it.
12758 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12760         * nptl/version.c (__nptl_main): Use normal __write rather than
12761         INTERNAL_SYSCALL.
12762         (banner): Update copyright years.
12764         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12765         gettimeofday.
12766         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12767         * nptl/pthread_cond_timedwait.c: Likewise.
12768         * nptl/pthread_mutex_timedlock.c: Likewise.
12769         * nptl/sem_timedwait.c: Likewise.
12771         * sysdeps/nptl/bits/libc-lock.h
12772         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12773         (__libc_lock_init_recursive): Return void, not 0.
12774         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12775         (__libc_rwlock_init): Likewise.
12776         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12778 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12780         [BZ #15215]
12781         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12782         (__pthread_once_slow): ... here.
12783         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12784         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12786 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12788         [BZ #15215]
12789         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12790         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12791         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12792         * nptl/pthread_once.c (__pthread_once): Likewise.
12793         Update comments.
12795 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12797         [BZ #14138]
12798         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12799         name.
12800         (writev): Use __libc_writev as strong name.
12801         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12802         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12804 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12806         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12808         * sysdeps/i386/nptl/tls.h
12809         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12810         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12811         New macros.
12812         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12813         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12814         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12815         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12816         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12817         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12819         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12820         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12821         on [__NR_futex].
12822         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12823         broken out of ...
12824         (__pthread_mutex_init): ... here.  Call it.
12825         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12826         Conditionalize PI cases on [__NR_futex].
12827         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12828         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12829         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12831         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12832         conditional on [SIGSETXID].
12833         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12834         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12835         is defined.  Likewise for SIGSETXID.
12836         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12837         Conditionalize definitions on [SIGSETXID].
12838         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12839         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12840         unblocking on [SIGCANCEL].
12842         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12843         [__NR_set_robust_list].
12845 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12847         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12848         (do_compare): Likewise.
12850 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12852         [BZ #15884]
12853         * string/strcoll_l.c: Don't include stdio.h.
12854         (coll_seq): Remove members idxarr and rulearr.
12855         (get_next_seq_cached): Remove function.
12856         (get_next_seq): Likewise.
12857         (get_next_seq_nocache): Rename to get_next_seq.
12858         (do_compare): Remove function.
12859         (do_compare_nocache): Rename to do_compare.
12860         (STRCOLL): Remove weight and rules cache.
12862 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12864         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12865         * sysdeps/arm/sfp-machine.h: ... to here.
12866         * sysdeps/arm/Implies: Remove arm/soft-fp.
12868 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12870         * conform/data/sys/utsname.h-data (*_t): Allow.
12871         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12872         [POSIX] (WEXITED): Do not expect constant.
12873         [POSIX] (WSTOPPED): Likewise.
12874         [POSIX] (WNOHANG): Likewise.
12875         [POSIX] (WNOWAIT): Likewise.
12876         [POSIX] (siginfo_t): Do not expect type or elements.
12877         [POSIX] (pid_t): Do not expect type.
12878         [POSIX] (signal.h): Do not allow header.
12879         [POSIX] (sys/resource.h): Likewise.
12880         [POSIX] (si_*): Do not allow pattern.
12881         [POSIX] (W*): Likewise.
12882         [POSIX] (P_*): Likewise.
12883         [POSIX] (BUS_*): Likewise.
12884         [POSIX] (CLD_*): Likewise.
12885         [POSIX] (FPE_*): Likewise.
12886         [POSIX] (ILL_*): Likewise.
12887         [POSIX] (POLL_*): Likewise.
12888         [POSIX] (SEGV_*): Likewise.
12889         [POSIX] (SI_*): Likewise.
12890         [POSIX] (TRAP_*): Likewise.
12891         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12892         variable.
12894 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12896         [BZ #12926]
12897         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12898         infinite loop when __recvmsg returns 0.
12900 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12902         * CANCEL-FCT-WAIVE: Remove file.
12903         * CANCEL-FILE-WAIVE: Likewise.
12905         [BZ #14132]
12906         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12907         instead of INTVARDEF.
12908         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12909         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12910         rtld_hidden_data_def instead of INTVARDEF.
12911         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12912         * elf/dl-deps.c (expand_dst): Likewise.
12913         * elf/dl-load.c (_dl_dst_count): Likewise.
12914         (_dl_dst_substitute): Likewise.
12915         (decompose_rpath): Likewise.
12916         (_dl_init_paths): Likewise.
12917         (open_path): Likewise.
12918         (_dl_map_object): Likewise.
12919         * elf/rtld.c (dl_main): Likewise.
12920         (process_dl_audit): Likewise.
12921         (process_envvars): Likewise.
12922         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12923         Remove declaration.
12924         (__libc_enable_secure): Use rtld_hidden_proto.
12926 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12928         * elf/dl-load.c
12929         (add_path): New function broken out of _dl_rtld_di_serinfo.
12930         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12932 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12934         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12935         parentheses around macro arguments.
12936         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12937         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12938         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12939         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12940         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12941         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12942         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12943         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12944         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12945         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12946         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12947         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12948         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12949         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12950         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12951         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12952         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12953         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12954         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12955         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12956         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12957         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12958         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12959         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12960         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12961         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12962         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12963         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12964         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12965         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12966         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12967         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12968         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12969         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12970         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12971         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12972         Likewise.
12973         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12974         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12975         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12976         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12977         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12978         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12979         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12980         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12981         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12982         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12983         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12984         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12985         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12986         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12987         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12988         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12989         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12990         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12991         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12992         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12993         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12994         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12995         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12996         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12997         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12998         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12999         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13000         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13001         (_FP_FRAC_SRS_1): Likewise.
13002         (_FP_FRAC_CLZ_1): Likewise.
13003         (_FP_MUL_MEAT_1_imm): Likewise.
13004         (_FP_MUL_MEAT_1_wide): Likewise.
13005         (_FP_MUL_MEAT_1_hard): Likewise.
13006         (_FP_SQRT_MEAT_1): Likewise.
13007         (_FP_FRAC_ASSEMBLE_1): Likewise.
13008         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13009         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13010         (__FP_CLZ_2): Likewise.
13011         (_FP_MUL_MEAT_2_wide): Likewise.
13012         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13013         (_FP_MUL_MEAT_2_gmp): Likewise.
13014         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13015         (_FP_SQRT_MEAT_2): Likewise.
13016         (_FP_FRAC_ASSEMBLE_2): Likewise.
13017         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13018         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13019         (_FP_FRAC_CLZ_4): Likewise.
13020         (_FP_MUL_MEAT_4_wide): Likewise.
13021         (_FP_MUL_MEAT_4_gmp): Likewise.
13022         (_FP_SQRT_MEAT_4): Likewise.
13023         (_FP_FRAC_ASSEMBLE_4): Likewise.
13024         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13025         * soft-fp/op-common.h (_FP_CMP): Likewise.
13026         (_FP_CMP_EQ): Likewise.
13027         (_FP_CMP_UNORD): Likewise.
13028         (_FP_TO_INT): Likewise.
13029         (_FP_FROM_INT): Likewise.
13030         [!__FP_CLZ] (__FP_CLZ): Likewise.
13031         (_FP_DIV_HELP_imm): Likewise.
13032         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13033         Likewise.
13034         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13035         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13036         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13037         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13038         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13039         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13040         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13041         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13042         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13043         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13044         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13045         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13046         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13047         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13048         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13049         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13050         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13051         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13052         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13053         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13054         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13055         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13056         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13057         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13058         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13059         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13060         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13061         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13062         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13063         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13064         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13065         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13066         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13067         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13068         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13069         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13070         (FP_UNPACK_RAW_SP): Likewise.
13071         (FP_PACK_RAW_S): Likewise.
13072         (FP_PACK_RAW_SP): Likewise.
13073         (FP_UNPACK_S): Likewise.
13074         (FP_UNPACK_SP): Likewise.
13075         (FP_UNPACK_SEMIRAW_S): Likewise.
13076         (FP_UNPACK_SEMIRAW_SP): Likewise.
13077         (FP_PACK_S): Likewise.
13078         (FP_PACK_SP): Likewise.
13079         (FP_PACK_SEMIRAW_S): Likewise.
13080         (FP_PACK_SEMIRAW_SP): Likewise.
13081         (_FP_SQRT_MEAT_S): Likewise.
13082         (FP_CMP_S): Likewise.
13083         (FP_CMP_EQ_S): Likewise.
13084         (FP_CMP_UNORD_S): Likewise.
13085         (FP_TO_INT_S): Likewise.
13086         (FP_FROM_INT_S): Likewise.
13088         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13090         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13091         (FP_EX_INVALID_IMZ): Likewise.
13092         (FP_EX_INVALID_IMZ_FMA): Likewise.
13093         (FP_EX_INVALID_ISI): Likewise.
13094         (FP_EX_INVALID_ZDZ): Likewise.
13095         (FP_EX_INVALID_IDI): Likewise.
13096         (FP_EX_INVALID_SQRT): Likewise.
13097         (FP_EX_INVALID_CVI): Likewise.
13098         (FP_EX_INVALID_VC): Likewise.
13099         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13100         "invalid" exceptions.
13101         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13102         (_FP_ADD_INTERNAL): Likewise.
13103         (_FP_MUL): Likewise.
13104         (_FP_FMA): Likewise.
13105         (_FP_DIV): Likewise.
13106         (_FP_CMP_CHECK_NAN): Likewise.
13107         (_FP_SQRT): Likewise.
13108         (_FP_TO_INT): Likewise.
13109         (FP_EXTEND): Likewise.
13111 2014-10-09  Allan McRae  <allan@archlinux.org>
13113         * po/fr.po: Update French translation from translation project.
13115 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13117         [BZ #14132]
13118         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13119         of INTDEF.
13120         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13121         (__cxa_atexit): Use libc_hidden_proto.
13122         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13124         [BZ #14132]
13125         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13126         declaration.
13127         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13128         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13129         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13130         [!_ISOMAC] (__iswctype_internal): Likewise.
13131         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13132         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13133         alias.
13134         (fcntl): Remove __fcntl_internal alias.
13135         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13136         __connect_internal alias.
13137         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13138         Likewise.
13140         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13141         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13142         FP_DENORM_ZERO.
13143         (_FP_CHECK_FLUSH_ZERO): New macro.
13144         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13145         (_FP_CMP): Likewise.
13146         (_FP_CMP_EQ): Likewise.
13147         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13148         FP_DENORM_ZERO.
13149         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13150         (FP_TRUNC): Likewise.
13152         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13153         treated as invalid conversion, not as normal exponent.
13155         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13156         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13157         (_FP_CMP_EQ): Likewise.
13158         (_FP_CMP_UNORD): Likewise.
13159         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13160         (FP_CMP_EQ_D): Likewise.
13161         (FP_CMP_UNORD_D): Likewise.
13162         * soft-fp/extended.h (FP_CMP_E): Likewise.
13163         (FP_CMP_EQ_E): Likewise.
13164         (FP_CMP_UNORD_E): Likewise.
13165         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13166         (FP_CMP_EQ_Q): Likewise.
13167         (FP_CMP_UNORD_Q): Likewise.
13168         * soft-fp/single.h (FP_CMP_S): Likewise.
13169         (FP_CMP_EQ_S): Likewise.
13170         (FP_CMP_UNORD_S): Likewise.
13171         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13172         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13173         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13174         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13175         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13176         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13177         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13178         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13179         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13180         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13181         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13182         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13183         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13184         to FP_CMP_Q.
13185         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13186         FP_CMP_Q.
13187         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13188         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13189         FP_CMP_EQ_Q.
13190         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13191         FP_CMP_Q.
13192         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13193         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13194         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13195         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13196         FP_CMP_EQ_Q.
13197         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13198         FP_CMP_Q.
13199         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13200         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13201         FP_CMP_EQ_Q.
13202         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13203         FP_CMP_Q.
13204         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13205         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13206         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13207         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13208         FP_CMP_EQ_Q.
13210         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13211         a subnormal result, set the underflow exception if trapping on
13212         underflow is enabled.
13213         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13214         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13215         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13216         redefine to 0.
13217         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13218         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13219         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13220         * soft-fp/extendxftf2.c (__extendxftf2): Use
13221         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13223         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13224         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13225         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13226         FP_HANDLE_EXCEPTIONS.
13227         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13228         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13229         FP_HANDLE_EXCEPTIONS.
13230         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13231         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13232         FP_HANDLE_EXCEPTIONS.
13233         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13234         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13235         FP_HANDLE_EXCEPTIONS.
13237 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13239         [BZ #14132]
13240         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13241         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13242         use INTUSE.
13243         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13244         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13245         Remove alias.
13246         (__adjtimex): Define using libc_hidden_ver.
13247         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13248         Remove declaration.
13249         (ntp_gettime): Call __adjtimex directly.
13250         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13251         Remove declaration.
13252         (ntp_gettimex): Call __adjtimex directly.
13253         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13254         __adjtimex_internal alias.
13256 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13258         [BZ #17460]
13259         * nscd/nscd.c (more_help): Rewrite list of tables collection
13260         using xstrdup and asprintf.
13262         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13264 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13265             Roland McGrath  <roland@hack.frob.com>
13267         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13268         (do_lookup_unique): ... local function 'enter' here; update callers.
13270 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13272         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13273         compat_symbol calls on [SHARED].
13274         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13275         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13276         Remove.
13277         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13278         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13279         (oldsetrlimit): Remove.
13280         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13282         (lchown): New syscall entry.
13283         (oldsetrlimit): Remove.
13284         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13285         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13286         (oldsetrlimit): Remove.
13287         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13289         [BZ #14138]
13290         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13291         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13292         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13293         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13294         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13295         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13296         (fchown): Likewise.
13297         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13298         (fchown): Likewise.
13299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13300         Likewise.
13302 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13304         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13305         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13306         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13307         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13308         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13309         Likewise.
13310         (__old_sem_post): Likewise.
13312 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13314         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13315         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13316         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13317         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13318         Use INLINE_VSYSCALL macro.
13319         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13320         __vdso_clock_gettime.
13321         * sysdeps/unix/sysv/linux/tile/init-first.c
13322         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13323         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13324         __vdso_clock_gettime.
13326         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13327         to set up frame more cleanly.
13329         * sysdeps/tile/memcmp.c: New file.
13331         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13333         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13334         * sysdeps/tile/tilegx/strcasestr.c: New file.
13335         * sysdeps/tile/tilegx/strnlen.c: New file.
13336         * sysdeps/tile/tilegx/strstr.c: New file.
13338         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13340 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13342         * nptl/tst-setuid3.c: Write errors to stdout.
13344 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13346         * elf/dl-deps.c
13347         (preload): New functions broken out of _dl_map_object_deps.
13348         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13350 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13352         [BZ #14138]
13353         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13354         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13356 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13358         * sysdeps/mips/strcmp.S: New.
13360 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13362         [BZ #14138]
13363         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13364         (linkat): Likewise.
13365         (mkdirat): Likewise.
13366         (readlinkat): Likewise.
13367         (renameat): Likewise.
13368         (symlinkat): Likewise.
13369         (unlinkat): Likewise.
13370         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13371         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13372         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13373         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13374         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13375         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13376         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13378 2014-09-30  Will Newton  <will.newton@linaro.org>
13380         * math/math.h: Define long double math functions if
13381         _LIBC_TEST is defined.
13382         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13384         * localedata/Makefile: Move assignment to tests-special
13385         into an ifdef testing run-built-tests.
13386         * timezone/Makefile: Likewise.
13388 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13390         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13391         with $(BASH) not $(SHELL).
13393 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13394             Matthew LeGendre  <legendre1@llnl.gov>
13396         [BZ #17411]
13397         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13398         l_reloc_result.
13400 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13402         * stdio-common/printf_fp.c
13403         (hack_digit): New function, broken out of ...
13404         (__printf_fp): ... local function here.  Update call sites.
13405         hack_digit now takes an additional parameter that is a pointer
13406         to a struct of the referenced locals.  Those locals moved inside
13407         the struct and references updated.
13409 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13411         * aclocal.m4: Require autoconf 2.69.
13412         * configure: Regenerated.
13413         * sysdeps/aarch64/configure: Likewise.
13414         * sysdeps/alpha/configure: Likewise.
13415         * sysdeps/arm/armv7/configure: Likewise.
13416         * sysdeps/arm/configure: Likewise.
13417         * sysdeps/ia64/configure: Likewise.
13418         * sysdeps/mach/configure: Likewise.
13419         * sysdeps/mips/configure: Likewise.
13420         * sysdeps/s390/configure: Likewise.
13421         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13424         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13425         file.
13426         * sysdeps/ia64/configure.ac: Likewise.
13428 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13431         specify symbol version for ld.so.  Do not include entry for
13432         libpthread.
13433         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13434         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13435         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13437         [BZ #14171]
13438         * Makeconfig [$(build-shared) = yes]
13439         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13440         makefiles.
13441         [$(build-shared) = yes && $(soversions.mk-done) = t]
13442         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13443         [$(build-shared) = yes && $(soversions.mk-done) = t]
13444         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13445         to Makerules.
13446         [$(build-shared) = yes && $(soversions.mk-done) = t]
13447         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13448         here.
13449         [$(build-shared) = yes && $(soversions.mk-done) = t]
13450         (common-generated): Don't append gnu/lib-names.h and
13451         gnu/lib-names.stmp here.
13452         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13453         (lib-names-h-abi): New variable.
13454         [$(build-shared) = yes && $(soversions.mk-done) = t]
13455         (lib-names-stmp-abi): Likewise.
13456         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13457         abi-variants] (before-compile): Append
13458         $(common-objpfx)$(lib-names-h-abi).
13459         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13460         abi-variants] (common-generated): Append gnu/lib-names.h.
13461         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13462         abi-variants] (install-others-nosubdir): Depend on
13463         $(inst_includedir)/$(lib-names-h-abi).
13464         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13465         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13466         [$(build-shared) = yes && $(soversions.mk-done) = t]
13467         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13468         [$(build-shared) = yes && $(soversions.mk-done) = t]
13469         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13470         [$(build-shared) = yes && $(soversions.mk-done) = t]
13471         (common-generated): Append $(lib-names-h-abi) and
13472         $(lib-names-stmp-abi).
13473         * scripts/lib-names.awk: Do not handle multi being set.
13474         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13475         Remove variable.
13476         (abi-lp64_be-ld-soname): Likewise.
13477         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13478         Likewise.
13479         (abi-hard-ld-soname): Likewise.
13480         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13481         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13482         Remove variable.
13483         (abi-o32_hard-ld-soname): Likewise.
13484         (abi-o32_soft_2008-ld-soname): Likewise.
13485         (abi-o32_hard_2008-ld-soname): Likewise.
13486         (abi-n32_soft-ld-soname): Likewise.
13487         (abi-n32_hard-ld-soname): Likewise.
13488         (abi-n32_soft_2008-ld-soname): Likewise.
13489         (abi-n32_hard_2008-ld-soname): Likewise.
13490         (abi-n64_soft-ld-soname): Likewise.
13491         (abi-n64_hard-ld-soname): Likewise.
13492         (abi-n64_soft_2008-ld-soname): Likewise.
13493         (abi-n64_hard_2008-ld-soname): Likewise.
13494         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13495         Likewise.
13496         (abi-64-v2-ld-soname): Likewise.
13497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13498         ld.so entries.
13499         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13500         variable.
13501         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13502         entry.
13503         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13504         variable.
13505         (abi-64-ld-soname): Likewise.
13506         (abi-x32-ld-soname): Likewise.
13507         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13508         entry.
13509         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13511 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13513         [BZ #14138]
13514         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13515         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13516         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13517         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13518         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13519         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13520         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13521         syscall entry for GLIBC_2.2 symbol version.
13522         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13523         Likewise.
13524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13525         (setrlimit): Likewise.
13526         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13527         Likewise.
13529 2014-09-23  Will Newton  <will.newton@linaro.org>
13531         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13532         _LINUX_ARM_SYSDEP_H include guard too.
13533         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13534         define.
13536 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13538         * sysdeps/unix/sysv/linux/eventfd.c:
13539         Make first argument unsigned.
13540         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13541         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13543 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13545         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13546         * socket/sys/socket.h: Likewise
13547         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13549 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13551         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13553 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13555         * time/tst-ftime.c: New test.
13556         * time/Makefile (tests): Add tst-ftime.
13558 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13560         * soft-fp/extended.h: Fix comment formatting.
13561         * soft-fp/op-1.h: Likewise.
13562         * soft-fp/op-2.h: Likewise.
13563         * soft-fp/op-4.h: Likewise.
13564         * soft-fp/op-8.h: Likewise.
13565         * soft-fp/op-common.h: Likewise.
13566         * soft-fp/soft-fp.h: Likewise.
13568         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13570 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13572         [BZ #6652]
13573         * Makeconfig (soversions-default-setname): Remove variable.
13574         ($(common-objpfx)soversions.i): Don't pass default_setname to
13575         soversions.awk.
13576         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13577         oldest_abi to abi-versions.awk.
13578         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13579         * config.make.in (oldest-abi): Remove variable.
13580         * configure.ac (--enable-oldest-abi): Remove configure option.
13581         * configure: Regenerated.
13582         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13583         text.
13584         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13585         * scripts/soversions.awk: Do not handle default_setname variable.
13586         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13587         variable.
13588         * sysdeps/mach/hurd/configure: Regenerated.
13589         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13590         variable.
13591         * sysdeps/unix/sysv/linux/configure: Regenerated.
13593 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13595         * elf/Makefile (CFLAGS-interp.c): Remove.
13596         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13597         path string.
13598         * elf/interp.c: Include generated runtime-linker.h
13600         * Makerules (lib%.so): Don't include $(+interp) in
13601         prerequisites.
13602         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13603         * dlfcn/eval.c: Remove file.
13605         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13606         macros.
13608         [BZ #17266]
13609         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13610         4.2 and newer.
13612         [BZ #17370]
13613         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13615 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13616             Jakub Jelinek  <jakub@redhat.com>
13618         [BZ #17266]
13619         * libio/stdio.h: Check definition of __fortify_function
13620         instead of __extern_always_inline to include bits/stdio2.h.
13621         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13622         check if __extern_always_inline is defined.
13623         [__USE_MISC || __USE_XOPEN]: Likewise.
13624         [__USE_ISOC99] Likewise.
13625         * misc/sys/cdefs.h (__fortify_function): Define only if
13626         __extern_always_inline is defined.
13627         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13628         __extern_always_inline and __extern_inline only for g++-4.3
13629         and newer or a compatible gcc.
13631 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13633         [BZ #17371]
13634         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13635         last change to handle zero prefix length.
13637 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13639         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13640         _SC_REGEX_VERSION.
13642         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13643         _POSIX_RAW_SOCKETS.
13645 2014-09-13  Allan McRae  <allan@archlinux.org>
13647         * po/ru.po: Update Russian translation from translation project.
13649 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13651         * locale/programs/locale.c (show_locale_vars): Inline local function
13652         into its sole call site.  Clean up some style nits.
13653         (print_item): New function, broken out of ...
13654         (show_info): ... local function here.  Clean up style nits.
13656         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13657         out of ...
13658         (set_class_defaults): ... local function set_default here.
13659         Define set_default as a macro locally to pass constant parameters.
13660         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13661         rather than a shared local.
13663         * stdlib/rpmatch.c (try): New function, broken out of ...
13664         (rpmatch): ... local function here.  Also, prototypify definition.
13666 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13668         * scripts/soversions.awk: Do not handle configuration names.
13669         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13670         vendor and os variables to soversions.awk.
13671         * configure.ac: Do not modify gnu-* host_os.
13672         * configure: Regenerated
13673         * shlib-versions: Remove first column with configuration names.
13674         * nptl/shlib-versions: Likewise.
13675         * nptl_db/shlib-versions: Likewise.
13676         * sysdeps/hppa/shlib-versions: Likewise.
13677         * sysdeps/m68k/shlib-versions: Likewise.
13678         * sysdeps/mach/hurd/shlib-versions: Likewise.
13679         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13680         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13681         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13682         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13683         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13684         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13685         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13686         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13688         Likewise.
13689         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13690         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13691         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13692         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13693         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13694         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13695         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13696         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13699         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13701         Regenerated.
13702         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13704         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13706         * shlib-versions: Remove OS-specific entries.  Moved to files in
13707         sysdeps.
13708         * sysdeps/mach/hurd/shlib-versions: New file.
13709         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13711         * nptl/shlib-versions: Remove architecture-specific entries.
13712         Moved to files in sysdeps.
13713         * shlib-versions: Likewise.
13714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13715         file.
13716         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13717         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13718         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13719         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13721         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13722         (UDP_NO_CHECK6_RX): Likewise.
13724 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13726         * sysdeps/posix/sysconf.c (__sysconf): Spell
13727         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13729 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13731         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13732         loading.
13733         * iconv/Versions (__gconv_transliterate): Export for use from
13734         gconv modules.
13735         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13736         (struct __gconv_trans_data, __gconv_trans_fct,
13737         __gconv_trans_context_fct, __gconv_trans_query_fct,
13738         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13739         definitions.
13740         (struct __gconv_step_data): Remove __trans member.
13741         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13742         longer hidden.  Remove unused trans_data argument.
13743         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13744         (__gconv_translit_find): Remove declaration.
13745         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13746         prototype.
13747         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13748         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13749         trans_data argument.  Add hidden definition.
13750         (__gconv_translit_find): Remove.
13751         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13752         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13753         * iconv/skeleton.c: Remove transliteration initialization.
13754         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13755         __gconv_step_data initialization.
13756         * libio/iofwide.c (__libio_translit_): Remove.
13757         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13758         * wcsmbs/btowc.c (__btowc): Likewise.
13759         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13760         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13761         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13762         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13763         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13764         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13765         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13766         * wcsmbs/wctob.c (wctob): Likewise.
13768 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13770         [BZ #16194]
13771         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13772         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13773         register usage.
13774         * sysdeps/x86/Makefile: Adjust.
13776 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13777             Roland McGrath  <roland@hack.frob.com>
13779         * locale/weight.h: Add include guard.
13780         (findidx): Make static rather than auto; take new parameters
13781         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13782         * locale/weightwc.h: Likewise.
13783         * posix/fnmatch_loop.c
13784         (FCT): Change type of EXTRA from int32_t to wint_t.
13785         Don't include either header inside the function.
13786         Call FINDIDX rather than findidx, and pass new arguments.
13787         #undef FINDIDX at the end of the file.
13788         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13789         FINDIDX before including fnmatch_loop.c for the non-wide version.
13790         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13791         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13792         for the wide version.
13793         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13794         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13795         Pass new arguments to findidx.
13796         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13797         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13798         Don't #include it inside the function.  Pass new arguments to findidx.
13799         * posix/regex_internal.h
13800         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13801         (re_string_elem_size_at): Don't #include it inside the function.
13802         Pass new arguments to findidx.
13803         * string/strcoll_l.c: #include WEIGHT_H at top level.
13804         (get_next_seq): Don't #include it inside the function.
13805         Pass new arguments to findidx.
13806         (get_next_seq_nocache): Likewise.
13807         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13808         (STRXFRM): Don't #include it inside the function.
13809         Pass new arguments to findidx.
13811 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13813         [BZ #17344]
13814         * malloc/malloc.c (unlink): Turn asserts into a call to
13815         malloc_printerr.
13817 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13819         [BZ #17370]
13820         * libio/wfileops (do_ftell_wide): Free OUT.
13822 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13824         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13826 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13828         [BZ #17363]
13829         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13830         group if the current group is empty.
13832 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13834         * benchtests/bench-memset.c (test_main): Add more test from size
13835         from 32 to 512 bytes.
13836         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13837         Add POWER8 memset object.
13838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13839         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13840         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13841         implementation.
13842         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13843         Likewise.
13844         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13845         multiarch POWER8 memset optimization.
13846         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13847         POWER8 memset optimization.
13849         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13850         Remove bzero multiarch objects.
13851         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13852         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13853         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13854         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13855         Remove define.
13856         [__bzero]: Redefine to specific name.
13857         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13858         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13859         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13860         define.
13861         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13862         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13864 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13866         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13867         warnings into errors.
13869         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13870         __cxa_thread_atexit_impl prototype.
13872 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13874         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13875         Fix capitalization of error message.
13877 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13879         * sysdeps/mips/preconfigure: Modify ABI tests.
13881 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13883         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13885 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13886             Carlos O'Donell  <carlos@systemhalted.org>
13888         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13889         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13890         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13891         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13892         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13893         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13894         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13895         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13896         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13897         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13898         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13899         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13900         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13901         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13902         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13903         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13904         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13905         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13906         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13907         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13908         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13909         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13910         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13911         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13912         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13913         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13914         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13915         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13916         Deconditionalize the code that was previously under [RESET_PID].
13917         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13918         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13919         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13920         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13921         include sysdep.h.
13923 2014-09-08  Allan McRae  <allan@archlinux.org>
13925         * version.h (RELEASE): Set to "development".
13926         (VERSION): Set to "2.20.90"
13928 2014-09-07  Allan McRae  <allan@archlinux.org
13930         * version.h (RELEASE): Set to "stable".
13931         (VERSION): Set to "2.20"
13932         * include/features.h (__GLIBC_MINOR__): Set to 20.
13934         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13935         Liebler.
13937         * po/ko.po: Update Korean translation from translation project.
13939 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13941         [BZ #17354]
13942         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13943         macro for handling signed relocations.
13945 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13947         [BZ #17325]
13948         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13949         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13950         assert.
13951         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13952         * iconvdata/ibm935.c (BODY): Likewise.
13953         * iconvdata/ibm937.c (BODY): Likewise.
13954         * iconvdata/ibm939.c (BODY): Likewise.
13955         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13956         assert.
13957         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13958         script.
13959         * iconvdata/run-iconv-test.sh: New test loop for checking for
13960         decoder crashers.
13962 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13964         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13965         libm_hidden_ver.
13967 2014-09-01  Allan McRae  <allan@archlinux.org>
13969         * po/eo.po: Update Esperanto translation from translation project.
13971         * po/ca.po: Update Catalan translation from translation project.
13973 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13975         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13976         __proc_dostop call.
13978 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13980         [BZ #17319]
13981         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13982         to call set_thread_area instead of hand written asm.
13983         (__NR_set_thread_area): Removed define.
13984         (TLS_FLAG_WRITABLE): Likewise.
13985         (__ASSUME_SET_THREAD_AREA): Remove check.
13986         (TLS_EBX_ARG): Remove define.
13987         (TLS_LOAD_EBX): Likewise.
13989 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13991         Simplify atomicity of socket creation in bind.
13993         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13994         looking up the name after linking the file.
13996 2014-08-27  Allan McRae  <allan@archlinux.org>
13998         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14000 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14002         [BZ #17187]
14003         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14004         trans_compare, open_translit, __gconv_translit_find):
14005         Remove module loading code.
14007 2014-08-26  Allan McRae  <allan@archlinux.org>
14009         * po/vi.po: Update Vietnamese translation from translation project.
14011         * po/uk.po: Update Ukrainian translation from translation project.
14013         * po/fr.po: Update French translation from translation project.
14015         * po/ru.po: Update Russian translation from translation project.
14017         * po/pl.po: Update Polish translation from translation project.
14019         * po/cs.po: Update Czech translation from translation project.
14021         * po/de.po: Update German translation from translation project.
14023         * po/bg.po: Update Bulgarian translation from translation project.
14025         * po/sv.po: Update Sweedish translation from translation project.
14027         * po/nl.po: Update Dutch translation from translation project.
14029         * po/es.po: Update Spanish translation from translation project.
14031 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14033         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14035         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14036         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14037         (CPPFLAGS-iconvconfig): Likewise.
14038         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14040         * include/libc-symbols.h: Remove unnecessary check for
14041         NOT_IN_libc.
14042         * nptl/pthreadP.h: Likewise.
14043         * sysdeps/aarch64/setjmp.S: Likewise.
14044         * sysdeps/alpha/setjmp.S: Likewise.
14045         * sysdeps/arm/sysdep.h: Likewise.
14046         * sysdeps/i386/setjmp.S: Likewise.
14047         * sysdeps/m68k/setjmp.c: Likewise.
14048         * sysdeps/posix/getcwd.c: Likewise.
14049         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14050         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14051         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14052         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14053         * sysdeps/sh/sh3/setjmp.S: Likewise.
14054         * sysdeps/sh/sh4/setjmp.S: Likewise.
14055         * sysdeps/unix/alpha/sysdep.h: Likewise.
14056         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14057         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14058         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14059         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14062         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14063         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14064         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14065         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14066         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14067         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14068         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14069         * sysdeps/x86_64/setjmp.S: Likewise.
14071 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14073         [BZ #17263]
14074         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14075         <stdint.h>.
14076         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14077         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14079 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14081         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14083         [BZ #17262]
14084         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14085         and __x86_64__ when disabling x87 inline functions.
14087 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14089         [BZ #17259]
14090         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14091         asm statement with __cpuid_count.
14093 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14095         * configure.ac: Change __ehdr_start code to dereference the struct.
14096         Run readelf on the output to look for relocations.
14097         * configure: Regenerated.
14099 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14101         [BZ #17261]
14102         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14103         value to 0.
14104         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14106 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14108         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14110 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14112         [BZ #16892]
14113         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14114         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14116 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14118         * malloc/malloc.c: Fix typo in comment.
14120 2014-08-09  Allan McRae  <allan@archlinux.org>
14122         * Regenerate libc.po.
14124 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14126         * intl/tst-gettext2.sh: Check every lang file for creation.
14128 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14130         * sysdeps/aarch64/fpu/math_private.h
14131         (libc_feholdsetround_noex_aarch64_ctx): New function.
14133 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14135         * sysdeps/arm/armv6/strcpy.S (strcpy):
14136         Fix performance issue in misaligned cases.
14138 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14140         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14141         Move definition from termios.h.
14142         (struct termio): Likewise.
14143         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14144         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14145         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14146         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14147         Likewise.
14148         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14149         Move definition to ioctl-types.h
14150         (struct termio): Likewise.
14151         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14152         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14153         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14154         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14155         Likewise.
14157 2014-08-05  Richard Henderson  <rth@redhat.com>
14159         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14160         exceptions.
14161         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14162         Add fraiseexcpt.
14163         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14164         Use __feraiseexcept.
14165         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14166         Protect libm symbols with IS_IN_libm.
14168         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14170 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14172         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14174 2014-08-04  Will Newton  <will.newton@linaro.org>
14176         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14177         file.
14179 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14181         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14182         variants for each function.
14184 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14186         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14187         appended ...
14188         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14189         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14190         appended ...
14191         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14192         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14193         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14194         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14195         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14196         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14197         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14198         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14199         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14200         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14201         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14202         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14203         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14204         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14205         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14206         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14207         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14208         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14209         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14210         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14211         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14212         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14213         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14214         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14215         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14216         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14217         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14218         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14219         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14220         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14221         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14222         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14223         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14224         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14225         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14226         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14227         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14228         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14229         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14230         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14231         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14232         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14233         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14234         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14235         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14236         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14237         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14238         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14239         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14240         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14241         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14242         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14243         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14244         Update #include.
14245         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14246         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14248 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14250         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14251         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14252         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14253         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14254         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14255         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14257 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14259         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14260         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14261         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14262         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14264 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14266         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14267         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14268         (__libc_vfork): Define function under this name.
14269         (__vfork): Define as an alias.
14270         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14271         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14273 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14275         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14276         that was previously under [RESET_PID].
14277         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14279 2014-08-04  Andreas Schwab  <schwab@suse.de>
14281         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14283 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14285         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14286         (main): Likewise.
14288 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14290         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14292 2014-08-01  Richard Henderon  <rth@redhat.com>
14294         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14295         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14296         typo in exact zero test.
14297         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14298         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14299         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14301 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14303         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14304         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14305         * sysdeps/arm/sysdep.h: ... here.
14306         [!__ASSEMBLER__]: Include <stdint.h>.
14308 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14310         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14311         (HAVE_WCTYPE_H): Likewise.
14312         (HAVE_ISWCTYPE): Likewise.
14313         (ENABLE_NLS): Likewise.
14314         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14315         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14317         * posix/regex_internal.c: Check if DEBUG is defined and is
14318         set.
14320         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14321         (HAVE_MBSRTOWCS): Likewise.
14322         * posix/fnmatch.c: Include string.h unconditionally.
14324 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14326         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14327         reversal.
14329 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14331         * sysdeps/generic/safe-fatal.h: New file.
14332         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14333         * nptl/forward.c: Include it.
14334         (__pthread_unwind): Use __safe_fatal as default action, rather
14335         than a bogus use of INTERNAL_SYSCALL that could never work.
14337         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14338         * configure.ac (libc_cv_builtin_trap): New test.
14339         * configure: Regenerated.
14340         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14341         (ABORT_INSTRUCTION): Define using __builtin_trap.
14343         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14344         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14345         * sysdeps/nptl/nptl-signals.h: New file.
14346         * nptl/pthreadP.h: Include <nptl-signals.h>.
14348 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14350         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14351         (ONE_DIRECTION): Define.
14352         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14353         (ONE_DIRECTION): Define.
14354         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14355         (ONE_DIRECTION): Define.
14357 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14359         * sysdeps/s390/Makefile: Delete file.
14360         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14361         * sysdeps/s390/__longjmp.c: Delete file.
14362         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14363         Remove fields __flags and __reserved.
14364         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14365         and add versioning.
14366         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14367         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14368         * sysdeps/s390/rtld-setjmp.S: Likewise.
14369         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14370         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14371         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14372         * sysdeps/s390/s390-32/setjmp.S: ... here.
14373         Add versioning.
14374         (__sigsetjmp): Remove setting __flags field.
14375         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14376         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14377         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14378         * sysdeps/s390/s390-64/setjmp.S: ... here.
14379         Add versioning.
14380         (__sigsetjmp): Remove setting __flags field.
14381         * sysdeps/s390/setjmp.S: Delete file.
14382         * sysdeps/s390/sigjmp.c: Likewise.
14383         * sysdeps/s390/v1-longjmp.c: Likewise.
14384         * sysdeps/s390/v1-setjmp.h: Likewise.
14385         * sysdeps/s390/v1-sigjmp.c: Likewise.
14386         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14387         Remove v1-longjmp_chk.
14388         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14389         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14390         Include debug/longjmp_chk.c and add versioning.
14391         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14392         Include nptl/pt-longjmp.c and add versioning.
14393         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14394         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14395         Include __longjmp.c.
14396         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14397         Move to ...
14398         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14399         (__getcontext): Remove setting __flags field.
14400         Add versioning.
14401         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14402         Don't restore upper high grps.
14403         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14404         Likewise.
14405         (__swapcontext): Remove setting uc_flags field.
14406         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14407         Delete file.
14408         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14409         Include __longjmp.c.
14410         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14411         Move to ...
14412         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14413         (__getcontext): Remove setting __flags field.
14414         Add versioning.
14415         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14416         (__swapcontext): Remove setting uc_flags field.
14417         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14418         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14419         Remove fields uc_high_gprs and __reserved.
14420         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14421         New file with reverted content.
14422         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14423         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14424         Regenerated.
14425         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14426         Regenerated.
14428 2014-07-31  Andreas Schwab  <schwab@suse.de>
14430         * config.h.in (HAVE_IFUNC): Define to 0.
14431         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14432         definedness.
14434 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14436         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14437         memmove-avx-unaligned, memcpy-avx-unaligned and
14438         mempcpy-avx-unaligned.
14439         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14440         Add tests for AVX memcpy functions.
14441         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14442         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14443         memcpy_chk.
14444         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14445         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14446         memmove_chk.
14447         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14448         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14449         mempcpy_chk.
14450         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14451         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14452         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14454 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14456         [BZ #17213]
14457         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14458         powerpc64le.
14460 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14462         [BZ #16839]
14463         * manual/llio.texi: Add section about open file description locks.
14464         * manual/examples/ofdlocks.c: Example of open file description
14465         lock usage.
14466         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14467         F_OFD_SETLK, and F_OFD_SETLKW.
14469 2014-07-23  Allan McRae  <allan@archlinux.org>
14471         * po/es.po: Update Spanish translation from translation project.
14473 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14475         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14477 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14479         [BZ #17078]
14480         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14481         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14482         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14484 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14486         [BZ #17088]
14487         * math/fesetenv.c (__fesetenv)
14488         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14489         * math/feupdateenv.c (__feupdateenv)
14490         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14492         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14493         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14494         (__ASSUME_SOCKETCALL): Do not define.
14496         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14497         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14498         (__ASSUME_SOCKETCALL): Do not define.
14499         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14500         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14501         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14502         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14503         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14504         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14505         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14506         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14508         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14509         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14510         (__ASSUME_SOCKETCALL): Do not define.
14511         (__ASSUME_IPC64): Define unconditionally.
14512         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14513         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14514         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14515         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14516         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14517         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14518         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14519         Likewise.
14521         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14522         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14523         (__ASSUME_SOCKETCALL): Do not define.
14524         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14525         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14526         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14527         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14528         (__ASSUME_REQUEUE_PI): Define unconditionally.
14529         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14530         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14531         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14532         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14533         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14534         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14536         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14537         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14538         (__ASSUME_SOCKETCALL): Do not define.
14539         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14540         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14541         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14542         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14543         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14544         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14546         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14547         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14548         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14549         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14550         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14551         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14552         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14553         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14554         (__ASSUME_GETCPU_SYSCALL): Likewise.
14556         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14557         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14558         cases for individual architectures.
14559         * sysdeps/gnu/configure: Regenerated.
14560         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14561         LIBC_SLIBDIR_RTLDDIR.
14562         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14563         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14564         LIBC_SLIBDIR_RTLDDIR.
14565         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14567         LIBC_SLIBDIR_RTLDDIR.
14568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14569         Regenerated.
14570         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14571         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14572         file.
14573         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14574         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14575         file.
14576         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14577         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14578         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14579         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14581         * sysdeps/aarch64/shlib-versions: Move to ...
14582         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14583         * sysdeps/alpha/shlib-versions: Move to ...
14584         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14585         * sysdeps/arm/shlib-versions: Move to ...
14586         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14587         * sysdeps/hppa/shlib-versions: Move all contents except for
14588         libgcc_s entry to ...
14589         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14590         entry from ...
14591         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14592         * sysdeps/ia64/shlib-versions: Move to ...
14593         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14594         entry from ...
14595         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14596         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14597         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14598         * sysdeps/microblaze/shlib-versions: Move to ...
14599         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14600         * sysdeps/mips/shlib-versions: Move to ...
14601         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14602         entry from ...
14603         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14604         * sysdeps/tile/shlib-versions: Move to ...
14605         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14606         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14607         from ...
14608         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14609         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14610         entry from ...
14611         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14613 2014-07-17  Will Newton  <will.newton@linaro.org>
14615         * sysdeps/arm/bits/atomic.h
14616         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14617         (__arch_compare_and_exchange_bool_16_int): Likewise.
14618         (__arch_compare_and_exchange_bool_64_int): Likewise.
14620         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14621         into an #else block.
14623 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14625         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14626         just Linux configurations.  Test empirically that the compiler sets
14627         __ARM_EABI__, rather than using the tuple to decide.
14628         * sysdeps/arm/preconfigure: Regenerated.
14629         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14630         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14631         contents appended ...
14632         * sysdeps/arm/configure.ac: ... here.
14633         * sysdeps/arm/configure: Regenerated.
14635 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14637         * nptl/pthread_kill.c: New file.
14638         * nptl/pthread_sigmask.c: New file.
14639         * nptl/pthread_sigqueue.c: New file.
14641         * sysdeps/nptl/lowlevellock.h: New file.
14642         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14643         * sysdeps/nptl/lowlevellock-futex.h: New file.
14645         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14646         Remove dead declarations.
14648 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14650         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14651         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14652         config-cflags-avx2.
14653         * sysdeps/x86_64/configure.ac: Likewise.
14654         * sysdeps/i386/configure: Regenerated.
14655         * sysdeps/x86_64/configure: Likewise.
14656         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14657         memset-avx2 only if config-cflags-avx2 is yes.
14658         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14659         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14660         defined.
14661         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14662         only if HAVE_AVX2_SUPPORT is defined.
14663         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14665 2014-07-14  Alan Modra  <amodra@gmail.com>
14667         [BZ #17153]
14668         * elf/elf.h (DT_PPC64_NUM): Correct value.
14669         * NEWS: Add to fixed bug list.
14671 2014-07-13  Jim Meyering  <meyering@fb.com>
14673         [BZ 17150]
14674         regex: don't deref NULL upon heap allocation failure
14675         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14676         failure in one more place.
14677         To trigger the segfault, configure grep -with-included-regex,
14678         build it, and run these commands:
14679         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14681 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14683         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14685 2014-07-11  Richard Henderson  <rth@redhat.com>
14687         * sysdeps/aarch64/libm-test-ulps: Update.
14689 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14691         [BZ #17135]
14692         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14693         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14694         (__nptl_setxid): Initialize error member.  Call
14695         __nptl_setxid_error.
14696         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14697         * nptl/descr.h (struct xid_command): Add error member.
14698         * nptl/tst-setuid3.c: New file.
14699         * nptl/Makefile (tests): Add it.
14701 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14703         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14704         New define.
14705         (__lll_trylock): Use __lll_base_trylock.
14706         (__lll_cond_trylock): Likewise.
14708 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14710         * nptl/pthread_create.c (start_thread): Use atomic_or and
14711         lll_futex_wake directly rather than lll_robust_dead.
14712         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14713         (lll_robust_dead): Macro removed.
14714         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14715         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14716         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14717         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14718         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14719         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14720         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14721         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14722         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14723         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14724         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14725         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14726         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14727         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14728         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14730         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14731         Use atomic_compare_and_exchange_val_acq directly rather than
14732         lll_robust_trylock.
14733         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14734         (__lll_robust_trylock, lll_robust_trylock): Removed.
14735         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14736         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14737         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14738         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14739         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14740         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14741         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14742         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14743         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14744         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14745         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14746         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14747         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14748         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14750 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14752         * manual/locale.texi (Locale Names): New section documenting
14753         locale name syntax.  Adjust menu and node chaining accordingly.
14754         (Choosing Locale): Reference Locale Names, Locale Categories.
14755         Mention setting LC_ALL=C.  Reflect that name syntax is now
14756         documented.
14757         (Locale Categories): New section title.  Reference Locale Names.
14758         LC_ALL is an environment variable, but not a category.
14759         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14760         description, now in Locale Name.  Reference that section.  Locale
14761         name syntax is now documented.
14763 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14765         [BZ #17137]
14766         * locale/findlocale.c (name_present, valid_locale_name): New
14767         functions.
14768         (_nl_find_locale): Use the loc_name variable to store name
14769         candidates.  Call name_present and valid_locale_name to check and
14770         validate locale names.  Return an error if the locale is invalid.
14772 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14774         * locale/setlocale.c (setlocale): Use strdup for allocating
14775         composite name copy.
14777 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14779         Sync up with gnulib.
14780         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14781         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14782         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14783         and _GL_ARG_NONNULL.
14784         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14785         [!_LIBC]: Include code for Windows and Cygwin.
14786         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14787         Include prototype for int strerror_r.
14788         [!_LIBC] (is_open): New function.
14789         (flush_stdout): New function.
14790         (print_errno_message): Use it.
14791         (error): Likewise.
14792         (error_at_line): Likewise.
14793         (error_tail) Add function attribute macros.  Use
14794         __builtin_expect.
14796         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14798         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14800         * io/ftw.c: Include sys/param.h unconditionally.
14802         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14804         [BZ #17125]
14805         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14806         libc_freeres_ptr.
14807         (freecache): New function to free CACHE on exit.
14809         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14810         initialization.
14812 2014-07-09  David S. Miller  <davem@davemloft.net>
14814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14816         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14817         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14818         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14819         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14820         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14821         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14822         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14823         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14824         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14825         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14826         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14827         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14828         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14830 2014-07-09  Andreas Schwab  <schwab@suse.de>
14832         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14833         output.
14834         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14835         (do_test): Likewise.
14837         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14839 2014-07-09  Will Newton  <will.newton@linaro.org>
14841         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14842         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14843         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14844         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14845         * sysdeps/hppa/start.S (_start): Likewise.
14847 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14849         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14851         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14852         defined.
14854 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14856         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14857         after checking that it is non-NULL.
14859         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14861 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14863         * sysdeps/powerpc/memmove.c: Remove file.
14864         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14865         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14866         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14867         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14868         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14869         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14870         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14871         string memmove instead of removed powerpc one.
14873         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14874         [weak_alias]: Fix compiler warning due trailing data.
14875         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14876         [weak_alias]: Likewise.
14877         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14878         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14880         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14881         (__libc_ifunc_impl_list): Add memmove functions.
14883 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14885         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14886         Remove code.
14887         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14888         Likewise
14889         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14890         Likewise
14891         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14892         Likewise
14893         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14894         Likewise
14895         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14896         Likewise
14897         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14898         Likewise
14899         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14900         Likewise
14901         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14902         Likewise
14903         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14904         Likewise
14905         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14906         Likewise
14907         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14908         Likewise
14909         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14910         Likewise
14911         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14912         Likewise
14913         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14914         Likewise
14915         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14916         Likewise
14917         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14918         Likewise
14920 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14922         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14923         to avoid alignment traps in non-cacheable memory.
14924         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14927         multiarch objects.
14928         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14929         file: multiarch power7 memmove.
14930         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14931         multiarch default memmove.
14932         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14933         multiarch memove for powerpc32/power4.
14935         * string/bcopy.c: Use full path to include memmove.c.
14936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14937         multiarch objects.
14938         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14939         bcopy for powerpc64.
14940         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14941         bcopy for powerpc64.
14942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14943         and memmove implementations.
14944         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14945         optimized multiarch memmove for POWER7/powerpc64.
14946         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14947         default multiarch memmove for powerpc64.
14948         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14949         multiarch for powerpc64.
14950         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14951         for POWER7/powerpc64.
14952         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14953         memmove for POWER7/powerpc64.
14955         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14956         glibc default one.
14958         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14959         __ELF_NATIVE_CLASS equal to 64.
14961 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14963         * sysdeps/nptl/lowlevellock.h: File removed.
14965         * NEWS: NPTL is no longer an add-on!
14966         * nptl/internaltypes.h: Moved ...
14967         * sysdeps/nptl/internaltypes.h: ... here.
14968         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14969         * sysdeps/nptl/fork.c: Likewise.
14970         * sysdeps/nptl/gai_misc.h: Likewise.
14971         * sysdeps/nptl/librt-cancellation.c: Likewise.
14972         * sysdeps/nptl/jmp-unwind.c: Likewise.
14973         * sysdeps/nptl/setxid.h: Likewise.
14974         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14975         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14976         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14977         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14978         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14979         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14980         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14981         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14982         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14983         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14984         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14985         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14986         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14987         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14988         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14989         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14990         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14991         * nptl/Makeconfig: Moved ...
14992         * sysdeps/nptl/Makeconfig: ... here.
14993         * nptl/configure: File removed.
14994         * nptl/ANNOUNCE: File removed.
14995         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14996         * sysdeps/unix/sysv/linux/configure: Regenerated.
14998         * nptl/Makefile (routines): Add libc_pthread_init,
14999         libc_multiple_threads, register-atfork and unregister-atfork.
15000         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15001         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15002         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15003         pthread-pi-defines.sym, structsem.sym.
15004         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15005         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15006         [$(subdir) = nptl] (tests): Add tst-setgetname.
15007         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15008         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15009         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15010         [!LIBC_SIGACTION]: Remove aliases.
15011         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15012         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15013         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15014         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15015         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15016         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15017         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15018         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15019         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15020         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15021         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15022         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15023         __libc_allocate_rtsig_private.
15024         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15025         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15026         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15027         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15028         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15029         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15030         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15031         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15032         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15033         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15034         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15035         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15036         * nptl/internaltypes.h: ... here.
15037         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15038         * sysdeps/nptl/jmp-unwind.c: ... here.
15039         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15040         * nptl/libc-lowlevellock.c: ... here.
15041         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15042         * nptl/libc_multiple_threads.c: ... here.
15043         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15044         * nptl/libc_pthread_init.c: ... here.
15045         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15046         * nptl/lowlevelbarrier.sym: ... here.
15047         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15048         * nptl/lowlevelcond.sym: ... here.
15049         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15050         * nptl/lowlevellock.c: ... here.
15051         * nptl/lowlevellock.h: Moved ...
15052         * sysdeps/nptl/lowlevellock.h: ... here.
15053         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15054         * nptl/lowlevelrobustlock.c: ... here.
15055         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15056         * nptl/lowlevelrobustlock.sym: ... here.
15057         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15058         * nptl/lowlevelrwlock.sym: ... here.
15059         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15060         * nptl/pt-fork.c: ... here.
15061         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15062         * nptl/pthread-pi-defines.sym: ... here.
15063         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15064         * nptl/pthread_attr_getaffinity.c: ... here.
15065         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15066         * nptl/pthread_attr_setaffinity.c: ... here.
15067         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15068         * nptl/pthread_mutex_cond_lock.c: ... here.
15069         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15070         Update #include.
15071         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15072         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15073         * nptl/pthread_once.c: ... here, replacing old file.
15074         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15075         * nptl/pthread_yield.c: ... here.
15076         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15077         * nptl/register-atfork.c: ... here.
15078         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15079         * nptl/sem_post.c: ... here.
15080         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15081         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15082         * nptl/sem_timedwait.c: ... here.
15083         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15084         * nptl/sem_trywait.c: ... here.
15085         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15086         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15087         * nptl/sem_wait.c: ... here.
15088         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15089         * nptl/structsem.sym: ... here.
15090         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15091         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15092         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15093         * nptl/unregister-atfork.c: ... here.
15094         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15095         * nptl/unwindbuf.sym: ... here.
15096         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15097         * sysdeps/nptl/fork.c: ... here.
15098         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15099         * sysdeps/nptl/fork.h: ... here.
15100         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15101         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15102         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15103         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15104         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15105         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15106         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15107         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15108         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15109         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15110         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15111         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15112         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15113         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15114         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15115         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15116         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15117         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15118         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15119         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15120         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15121         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15122         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15123         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15124         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15125         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15126         * sysdeps/unix/sysv/linux/raise.c: ... here.
15127         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15128         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15129         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15130         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15131         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15132         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15133         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15134         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15135         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15136         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15137         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15138         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15139         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15140         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15141         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15143 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15145         * sysdeps/generic/memcopy.h: Add comment for
15146         MEMCPY_OK_FOR_FWD_MEMMOVE.
15148 2014-07-04  Will Newton  <will.newton@linaro.org>
15150         * string/memchr.c: Merge from gnulib.
15151         [_LIBC]: Remove conditionals.
15152         (__ptr_t): Remove define.
15153         (LONG_MAX_32_BITS): Likewise.
15154         (LONG_MAX): Likewise.
15155         (MEMCHR): Use ANSI prototype and optimize algorithm.
15157         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15159 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15161         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15162         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15164         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15165         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15166         in a bare environment with no <stdlib.h> installed.
15167         * sysdeps/nptl/configure: Regenerated.
15169         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15171         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15172         AC_EGREP_CPP for kernel header checks, so they only succeed if
15173         including <linux/version.h> actually works right.
15174         * sysdeps/unix/sysv/linux/configure: Regenerated.
15176         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15177         value so it's not diagnosed as unused.
15179         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15180         thing) with "ifeq ($(subdir),rt)".
15182 2014-07-03  Richard Henderson  <rth@redhat.com>
15184         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15185         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15186         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15188         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15189         (math_force_eval): New.
15191         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15192         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15194         * sysdeps/alpha/fpu/s_round.c: Remove file.
15195         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15197         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15198         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15199         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15200         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15201         (_dl_start, print_statistics): Likewise.
15202         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15203         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15205         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15206         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15207         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15208         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15209         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15210         (HP_SMALL_TIMING_AVAIL): Define.
15211         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15212         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15213         (HP_SMALL_TIMING_AVAIL): Define.
15214         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15215         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15217         * sysdeps/aarch64/hp-timing.h: New file.
15219         * sysdeps/generic/hp-timing.h: Remove dead comment.
15220         * sysdeps/generic/hp-timing-common.h: New file.
15221         * sysdeps/alpha/hp-timing.h: Include it.
15222         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15223         * sysdeps/i386/i686/hp-timing.h: Likewise.
15224         * sysdeps/ia64/hp-timing.h: Likewise.
15225         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15226         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15227         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15228         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15229         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15230         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15231         (hp_timing_t): New.
15233         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15234         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15235         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15236         * elf/rtld.c (_dl_start_final): Likewise.
15237         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15238         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15239         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15240         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15241         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15242         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15243         (HP_TIMING_DIFF_INIT): Remove.
15244         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15245         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15246         (HP_TIMING_DIFF_INIT): Remove.
15247         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15248         * sysdeps/i386/i686/hp-timing.c: Remove file.
15249         * sysdeps/x86_64/hp-timing.c: Remove file.
15250         * sysdeps/ia64/hp-timing.c: Remove file.
15251         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15252         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15253         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15254         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15256         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15257         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15258         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15259         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15260         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15261         (HP_TIMING_ACCUM): Remove.
15262         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15263         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15264         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15266         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15267         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15268         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15269         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15270         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15271         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15272         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15273         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15275         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15277 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15279         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15281 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15283         Sync up with gettext.
15284         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15285         [_MSC_VER]: Include malloc.h
15286         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15287         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15288         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15289         TEMP_FAILURE_RETRY.  Cast return of alloca.
15290         [!_LIBC] Call gl_rwlock_init.
15291         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15293 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15295         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15296         before checking its value.
15298 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15300         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15302         * debug/memcpy_chk.c: Don't include pagecopy.h.
15303         * debug/mempcpy_chk.c: Likewise.
15304         * string/memcpy.c: Likewise.
15305         * string/memmove.c: Likewise.
15306         * sysdeps/powerpc/memmove.c: Likewise.
15307         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15308         definition of PAGE_COPY_FWD_MAYBE here...
15309         * sysdeps/generic/pagecopy.h: ... from here.
15310         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15312 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15313             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15315         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15317         optimizations.
15318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15319         (__libc_ifunc_impl_list): Likewise.
15320         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15321         multiarch strcat for PPC64.
15322         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15323         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15325 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15327         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15329 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15331         * intl/loadmsgcat.c: Remove declaration of
15332         get_sysdep_segment_value.
15333         (get_sysdep_segment_value): Use ISO C style.
15334         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15335         semicolon.  Fix typo and formatting in comment.
15336         (_nl_unload_domain): Use ISO C style.
15338         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15340 2014-07-02  Will Newton  <will.newton@linaro.org>
15342         * malloc/obstack.c: Merge from gnulib master.
15343         [HAVE_CONFIG_H]: Remove conditional code.
15344         [!_LIBC]: Include config.h.
15345         [!ELIDE_CODE]: Don't include inttypes.h, include
15346         stdint.h unconditionally.
15347         (print_and_abort): Mark as _Noreturn.
15348         (_obstack_allocated_p): Mark as __attribute_pure__.
15349         (obstack_free): Rename to __obstack_free.
15350         [!__attribute__]: Remove conditional code.
15351         * malloc/obstack.h: Merge from gnulib master.
15352         [__cplusplus]: Move conditional down.
15353         [!__attribute_pure__]: Define __attribute_pure__ here
15354         if it is not already defined.
15355         (_obstack_memory_used): Mark as __attribute_pure__.
15356         [!__obstack_free]: Define as obstack_free.
15357         [__GNUC__]: Remove check for ancient NeXT gcc.
15359 2014-07-02  Will Newton  <will.newton@linaro.org>
15360             Paul Eggert  <eggert@cs.ucla.edu>
15362         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15364 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15366         * resolv/gethnamaddr.c: Add comment warning that the file is
15367         not maintained.
15369 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15371         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15372         entries.
15374         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15375         entry for aio_cancel and aio_cancel64.
15376         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15377         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15378         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15379         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15380         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15381         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15382         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15383         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15384         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15385         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15386         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15387         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15388         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15390 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15392         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15393         * nptl/pthread_mutex_lock.c: Likewise.
15394         * nptl/pthread_mutex_timedlock.c: Likewise.
15395         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15397 2014-07-01  Richard henderson  <rth@redhat.com>
15399         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15400         (__isnan, __isnanl): Remove.
15401         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15403         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15405 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15407         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15409 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15411         * resolv/nss_dns/dns-host.c (getanswer_r)
15412         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15414 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15416         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15417         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15418         undefine.
15419         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15420         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15422 2014-07-01  Roland McGrath <roland@hack.frob.com>
15424         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15425         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15427         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15428         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15430         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15431         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15432         ... here.
15433         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15434         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15436         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15437         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15438         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15439         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15441         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15442         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15443         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15444         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15445         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15446         Moved ...
15447         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15448         ... here.
15449         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15450         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15451         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15452         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15453         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15454         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15455         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15456         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15457         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15458         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15459         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15460         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15461         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15462         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15463         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15464         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15465         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15466         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15467         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15468         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15469         ... here.
15470         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15471         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15472         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15473         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15474         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15475         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15476         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15477         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15479 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15481         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15482         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15483         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15484         Add sysdep.
15486 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15490 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15492         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15493         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15495         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15497         * sysdeps/arm/libm-test-ulps: Regenerated.
15499 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15500             Roland McGrath <roland@hack.frob.com>
15502         * test-skeleton.c (signal_handler): Kill the whole process group
15503         before killing the child individually.
15504         (main): Report any failure on `setpgid'.
15506 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15508         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15509         from _TLS_H to _ARM_NPTL_TLS_H.
15510         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15511         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15513 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15515         [BZ #16539]
15516         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15517         (__expm1l): Return argument unchanged when small but not
15518         subnormal.
15520         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15521         include macro name.
15522         (_FP_UNPACK_RAW_1_P): Likewise.
15523         (_FP_PACK_RAW_1): Likewise.
15524         (_FP_PACK_RAW_1_P): Likewise.
15525         (_FP_MUL_MEAT_1_wide): Likewise.
15526         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15527         (_FP_MUL_MEAT_1_hard): Likewise.
15528         (_FP_DIV_MEAT_1_imm): Likewise.
15529         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15530         (_FP_DIV_MEAT_1_udiv): Likewise.
15531         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15532         (_FP_UNPACK_RAW_2): Likewise.
15533         (_FP_UNPACK_RAW_2_P): Likewise.
15534         (_FP_PACK_RAW_2): Likewise.
15535         (_FP_PACK_RAW_2_P): Likewise.
15536         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15537         (_FP_MUL_MEAT_2_wide): Likewise.
15538         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15539         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15540         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15541         (_FP_MUL_MEAT_2_gmp): Likewise.
15542         (_FP_DIV_MEAT_2_udiv): Likewise.
15543         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15544         (_FP_FRAC_SRL_4): Likewise.
15545         (_FP_FRAC_SRST_4): Likewise.
15546         (_FP_FRAC_SRS_4): Likewise.
15547         (_FP_UNPACK_RAW_4): Likewise.
15548         (_FP_UNPACK_RAW_4_P): Likewise.
15549         (_FP_PACK_RAW_4): Likewise.
15550         (_FP_PACK_RAW_4_P): Likewise.
15551         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15552         (_FP_MUL_MEAT_4_wide): Likewise.
15553         (_FP_MUL_MEAT_4_gmp): Likewise.
15554         (umul_ppppmnnn): Likewise.
15555         (_FP_DIV_MEAT_4_udiv): Likewise.
15556         (__FP_FRAC_ADD_4): Likewise.
15557         (__FP_FRAC_SUB_3): Likewise.
15558         (__FP_FRAC_SUB_4): Likewise.
15559         (__FP_FRAC_DEC_3): Likewise.
15560         (__FP_FRAC_DEC_4): Likewise.
15561         (__FP_FRAC_ADDI_4): Likewise.
15562         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15563         (_FP_FRAC_SRL_8): Likewise.
15564         (_FP_FRAC_SRS_8): Likewise.
15566         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15567         include macro name.
15568         (FP_UNPACK_RAW_EP): Likewise.
15569         (FP_PACK_RAW_E): Likewise.
15570         (FP_PACK_RAW_EP): Likewise.
15571         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15572         (_FP_ISSIGNAN): Likewise.
15573         (_FP_ADD_INTERNAL): Likewise.
15574         (_FP_FMA): Likewise.
15575         (_FP_CMP): Likewise.
15576         (_FP_SQRT): Likewise.
15577         (_FP_TO_INT): Likewise.
15578         (_FP_FROM_INT): Likewise.
15579         (FP_EXTEND): Likewise.
15580         (_FP_DIV_MEAT_N_loop): Likewise.
15582 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15584         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15585         throughout.
15587 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15589         [BZ #17097]
15590         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15591         result with correct sign in case of exponents that produce
15592         overflow except for X very close to 1.
15594 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15596         mktime: merge #if/#ifdef usage from glibc
15597         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15598         as that works with both Glibc's and Gnulib's style.
15599         See thread starting at Siddhesh Poyarekar's bug report at:
15600         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15602 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15604         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15605         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15606         * sysdeps/tile/tilegx/memmove.c: Remove file.
15608 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15610         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15611         abi-name definition.
15612         * scripts/soversions.awk: Do not handle or generate ABI lines.
15613         * shlib-versions: Remove ABI entries.
15614         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15615         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15617 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15619         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15620         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15621         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15622         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15623         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15624         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15625         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15626         Moved ...
15627         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15628         ... here.
15629         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15630         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15631         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15632         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15633         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15634         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15635         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15636         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15637         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15638         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15639         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15640         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15641         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15642         Moved ...
15643         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15644         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15645         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15646         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15647         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15648         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15649         Moved ...
15650         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15651         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15652         Moved ...
15653         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15654         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15655         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15656         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15657         Moved ...
15658         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15659         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15660         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15661         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15662         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15663         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15664         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15665         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15666         Moved ...
15667         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15668         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15669         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15670         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15671         Moved ...
15672         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15673         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15674         Moved ...
15675         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15676         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15677         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15678         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15679         Moved ...
15680         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15681         ... here.
15682         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15683         Identical file removed.
15684         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15685         Moved ...
15686         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15687         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15688         Identical file removed.
15689         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15690         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15691         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15692         Moved ...
15693         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15694         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15695         Identical file removed.
15696         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15697         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15698         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15699         Identical file removed.
15700         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15701         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15702         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15703         Identical file removed.
15704         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15705         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15706         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15707         Identical file removed.
15708         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15709         Moved ...
15710         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15711         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15712         Identical file removed.
15713         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15714         Moved ...
15715         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15716         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15717         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15718         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15719         Identical file removed.
15720         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15721         Moved ...
15722         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15723         ... here.
15724         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15725         Identical file removed.
15726         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15727         Moved ...
15728         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15729         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15730         Identical file removed.
15731         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15732         Moved ...
15733         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15734         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15735         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15736         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15737         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15738         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15739         Moved ...
15740         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15741         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15742         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15744         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15745         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15746         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15747         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15748         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15750 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15752         [BZ #17092]
15753         * nscd/nscd.c (monitor_child): Return exit status of child
15754         instead of return value from wait syscall.
15756 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15758         * configure.ac (libc_commonpagesize): Remove variable.
15759         (libc_relro_required): Likewise.
15760         (libc_cv_z_relro): Remove configure test.
15761         * configure: Regenerated.
15762         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15763         variable.
15764         (libc_relro_required): Likewise.
15765         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15766         (libc_relro_required): Likewise.
15767         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15768         (libc_relro_required): Likewise.
15769         * sysdeps/arm/preconfigure: Regenerated.
15770         * sysdeps/ia64/preconfigure: Remove file.
15771         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15772         variable.
15773         (libc_relro_required): Likewise.
15775         [BZ #16561]
15776         [BZ #16562]
15777         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15778         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15779         recompute overflowing results in original rounding mode.
15780         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15781         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15782         recompute overflowing results in original rounding mode.
15783         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15784         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15785         recompute overflowing results in original rounding mode.
15786         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15787         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15788         recompute overflowing results in original rounding mode.
15789         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15790         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15791         recompute overflowing results in original rounding mode.
15792         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15793         (libc_feholdsetround_ctx): New macro.
15794         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15795         * sysdeps/i386/fpu/libm-test-ulps: Update.
15796         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15798 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15800         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15801         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15802         corresponding .cpsetup call.
15804 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15806         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15807         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15808         * sysdeps/arm/Makefile [$(subdir) = csu]
15809         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15810         (static-only-routines): Add aeabi_read_tp here.
15811         (shared-only-routines): Add libc-aeabi_read_tp here.
15812         (CFLAGS-libc-start.c): Add -fexceptions here.
15813         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15814         (sysdep_routines, static-only-routines, shared-only-routines):
15815         Don't add to these here.
15816         (CFLAGS-libc-start.c): Likewise.
15818         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15819         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15820         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15821         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15822         * sysdeps/arm/Makefile [$(subdir) = rt]
15823         (librt-sysdep_routines, librt-shared-only-routines):
15824         Append rt-aeabi_unwind_cpp_pr1 here.
15825         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15826         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15827         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15828         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15829         Append nptl-aeabi_unwind_cpp_pr1 here.
15830         (tests): Filter out tst-cleanupx4 here.
15831         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15832         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15833         Don't do those here.
15835 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15837         * scripts/list-sources.sh: Do not handle ports specially.
15839 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15841         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15842         * sysdeps/arm/feupdateenv.c: Likewise.
15844         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15846 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15848         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15849         trailing whitespace removed.
15850         * scripts/config.guess: Update to version 2014-03-23.
15851         * scripts/config.sub: Update to version 2014-05-01
15852         * scripts/install-sh: Update to version 2013-12-25.23.
15853         * scripts/move-if-change: Update from gnulib.
15855 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15857         * debug/memmove_chk.c: Remove pagecopy.h include.
15859 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15861         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15862         identical to gnulib mktime.
15864 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15866         * configure.ac: Do not test for machine being rs6000.  Do not test
15867         for powerpc*-*soft.
15868         * configure: Regenerated.
15870         [BZ #11505]
15871         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15872         test.
15873         * configure: Regenerated.
15874         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15875         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15876         Remove configure test.
15877         * sysdeps/arm/configure: Regenerated.
15878         * sysdeps/nptl/configure.ac: Do not check
15879         libc_cv_asm_cfi_directives.
15880         * sysdeps/nptl/configure: Regenerated.
15881         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15882         * sysdeps/x86_64/nptl/configure: Remove generated file.
15883         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15884         unconditional.
15885         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15887 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15889         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15890         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15891         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15892         it is defined.
15894         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15895         instead of whether it is defined.
15896         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15897         * sysdeps/hppa/dl-machine.h: Likewise.
15898         * sysdeps/ia64/dl-machine.h: Likewise.
15899         * sysdeps/m68k/dl-machine.h: Likewise.
15900         * sysdeps/microblaze/dl-machine.h: Likewise.
15901         * sysdeps/mips/dl-machine.: Likewise.
15902         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15903         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15904         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15905         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15906         * sysdeps/sh/dl-machine.h: Likewise.
15907         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15908         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15909         * sysdeps/tile/dl-machine.h: Likewise.
15910         * sysdeps/x86_64/dl-machine.h: Likewise.
15912         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15913         code.
15914         (verify_persistent_db): Likewise.
15916 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15919         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15921         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15923         Moved ...
15924         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15925         ... here.
15926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15927         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15929         Identical file removed.
15930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15931         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15933         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15935         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15937         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15939         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15941         Moved ...
15942         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15944         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15946         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15948         Moved ...
15949         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15951         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15953         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15955         Identical file removed.
15956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15957         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15959         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15961         Moved ...
15962         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15963         ... here.
15964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15965         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15967         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15969         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15971         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15973         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15975         Moved ...
15976         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15978         Moved ...
15979         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15981         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15983         Moved ...
15984         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15986         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15988         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15989         folded into ...
15990         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15991         * sysdeps/unix/sysv/linux/s390/Versions
15992         (libpthread: GLIBC_2.19): New version set.
15993         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15994         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15995         (librt: GLIBC_2.3.3): New version set.
15996         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15997         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15998         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15999         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16000         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16001         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16002         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16003         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16004         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16005         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16006         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16007         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16008         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16009         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16010         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16011         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16012         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16013         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16014         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16015         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16016         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16017         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16018         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16019         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16020         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16021         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16022         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16023         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16024         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16025         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16026         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16027         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16028         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16029         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16030         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16031         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16032         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16033         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16034         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16035         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16036         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16037         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16038         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16039         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16040         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16042         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16043         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16044         (__libc_vfork): Define the function under this name.
16045         [!NOT_IN_libc] (__vfork): Make this an alias.
16046         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16047         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16048         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16049         (__libc_vfork): Define the function under this name.
16050         [!NOT_IN_libc] (__vfork): Make this an alias.
16051         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16052         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16053         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16054         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16055         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16056         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16058         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16059         code that was previously under [RESET_PID].
16060         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16061         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16064         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16065         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16066         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16067         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16068         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16069         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16070         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16071         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16072         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16073         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16074         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16075         Moved ...
16076         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16077         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16078         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16079         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16080         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16081         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16082         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16083         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16084         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16085         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16086         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16087         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16088         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16089         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16090         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16091         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16092         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16093         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16094         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16095         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16096         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16097         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16098         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16099         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16100         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16101         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16102         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16103         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16104         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16106 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16108         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16109         that was previously under [RESET_PID].
16110         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16112 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16114         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16115         not undefine and redefine.
16116         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16117         [O_CLOEXEC]: Make code unconditional.
16118         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16119         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16120         <kernel-features.h>.
16121         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16122         conditional variable definition.
16123         (shm_open) [O_CLOEXEC]: Make code unconditional.
16124         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16125         code.
16127         * configure.ac (USE_REGPARMS): Don't define here.
16128         * configure: Regenerated.
16129         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16130         * sysdeps/i386/configure: Regenerated.
16132         * nptl/createthread.c: Don't include kernel-features.h.
16133         * nptl/pthread_cancel.c: Likewise.
16134         * nptl/pthread_condattr_setclock.c: Likewise.
16135         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16136         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16137         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16138         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16139         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16140         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16141         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16142         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16143         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16144         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16145         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16146         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16147         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16148         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16149         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16150         * nscd/gai.c: Likewise.
16151         * nss/nss_db/db-open.c: Likewise.
16152         * sysdeps/generic/ldsodefs.h: Likewise.
16153         * sysdeps/sh/nptl/tls.h: Likewise.
16154         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16155         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16156         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16157         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16158         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16159         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16160         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16161         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16162         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16163         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16164         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16165         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16166         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16167         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16168         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16169         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16170         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16171         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16172         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16173         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16174         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16175         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16176         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16177         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16178         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16179         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16180         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16181         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16182         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16183         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16184         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16185         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16186         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16187         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16188         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16189         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16190         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16191         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16192         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16193         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16194         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16195         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16196         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16197         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16198         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16199         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16200         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16201         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16202         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16203         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16204         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16205         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16206         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16207         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16208         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16209         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16210         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16211         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16234         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16235         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16236         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16237         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16238         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16239         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16240         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16241         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16242         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16243         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16244         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16245         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16246         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16247         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16248         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16249         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16250         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16251         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16252         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16253         * sysdeps/unix/sysv/linux/system.c: Likewise.
16254         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16255         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16256         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16257         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16258         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16259         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16260         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16262         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16263         * configure: Regenerated.
16264         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16266         * configure.ac (base_machine): Do not set specially for particular
16267         machines here.
16268         * configure: Regenerated.
16269         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16270         settings from configure.ac.
16271         * sysdeps/i386/preconfigure: New file.
16272         * sysdeps/s390/preconfigure: Likewise.
16273         * sysdeps/sh/preconfigure: Likewise.
16274         * sysdeps/sparc/preconfigure: Likewise.
16276 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16278         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16279         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16280         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16281         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16282         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16283         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16284         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16285         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16286         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16287         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16288         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16289         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16290         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16291         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16292         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16293         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16294         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16295         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16296         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16298         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16299         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16300         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16301         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16302         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16303         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16304         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16305         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16306         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16307         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16308         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16309         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16310         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16311         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16312         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16313         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16314         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16315         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16316         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16317         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16318         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16319         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16320         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16321         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16322         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16323         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16324         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16325         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16326         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16327         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16328         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16329         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16330         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16331         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16332         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16333         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16334         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16335         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16338         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16340         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16342         Moved ...
16343         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16344         ... here.
16345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16346         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16348         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16350         Moved ...
16351         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16353         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16355         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16357         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16359         Moved ...
16360         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16362         Moved ...
16363         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16365         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16367         Moved ...
16368         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16370         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16372         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16374         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16376         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16378         Moved ...
16379         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16380         ... here.
16381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16382         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16384         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16386         Moved ...
16387         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16389         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16391         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16393         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16395         Moved ...
16396         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16398         Moved ...
16399         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16401         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16403         Moved ...
16404         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16406         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16408         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16410 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16412         * timezone/checktab.awk: Update from tzcode 2014e.
16413         * timezone/private.h: Likewise.
16414         * timezone/tzfile.h: Likewise.
16415         * timezone/zdump.c: Likewise.
16416         * timezone/zic.c: Likewise.
16418         * sysdeps/unix/sysv/linux/kernel-features.h
16419         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16420         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16421         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16422         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16423         Remove conditional code.
16425 2014-06-25  Will Newton  <will.newton@linaro.org>
16427         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16428         (_dl_arm_cap_flags): Add HWCAP2 values.
16429         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16430         (_DL_HWCAP_COUNT): Increase to 37.
16431         (_DL_HWCAP_LAST): New define.
16432         (_DL_HWCAP2_LAST): New define.
16433         (_dl_procinfo): Add support for printing
16434         AT_HWCAP2 entries.
16435         (_dl_string_hwcap): Use _dl_hwcap_string.
16437 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16441 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16443         * README: Do not mention ports directory.
16445         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16446         Remove macro.
16447         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16448         <kernel-features.h>.
16449         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16450         conditional variable definition.
16451         (__futimes): Update comment.
16452         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16453         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16455         [BZ #16560]
16456         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16457         arguments close to 0.
16458         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16459         Likewise.
16460         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16461         Likewise.
16462         * math/auto-libm-test-in: Add more tests of exp10.
16463         * math/auto-libm-test-out: Regenerated.
16464         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16466         * sysdeps/unix/sysv/linux/kernel-features.h
16467         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16468         * sysdeps/unix/sysv/linux/readv.c: Do not include
16469         <kernel-features.h>.
16470         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16471         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16472         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16473         unconditional.
16474         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16475         conditional code.
16476         * sysdeps/unix/sysv/linux/writev.c: Do not include
16477         <kernel-features.h>.
16478         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16479         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16480         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16481         unconditional.
16482         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16483         conditional code.
16485 2014-06-25  Will Newton  <will.newton@linaro.org>
16487         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16488         comment changes throughout the file.  Remove checks
16489         for HAVE_*_H definitions that are not required.
16490         (__gen_tempname): Call abort if an unknown kind value is
16491         passed.
16493 2014-06-25  Andreas Schwab  <schwab@suse.de>
16495         [BZ #17086]
16496         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16497         scalbln, scalblnf, scalblnl in libc.
16499 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16501         [BZ #17086]
16502         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16503         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16504         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16506 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16508         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16509         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16510         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16511         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16512         Update #include.
16513         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16514         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16515         Update #include.
16516         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16517         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16518         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16519         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16520         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16521         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16522         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16523         * sysdeps/x86/bits/semaphore.h: ... here.
16524         * sysdeps/x86/nptl/elide.h: Moved ...
16525         * sysdeps/x86/elide.h: ... here.
16526         * sysdeps/x86_64/nptl/Implies: File removed.
16527         * sysdeps/i386/nptl/Implies: File removed.
16529 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16531         [BZ #16539]
16532         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16533         return the argument for normal arguments with exponent below -64.
16534         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16535         Likewise.
16536         * math/auto-libm-test-in: Add another test of expm1.
16537         * math/auto-libm-test-out: Regenerated.
16539         [BZ #16287]
16540         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16541         calling __erfcl for arguments at least 16.
16542         * math/auto-libm-test-in: Add more tests of erf.
16543         * math/auto-libm-test-out: Regenerated.
16545         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16546         individual architectures.
16547         * sysdeps/unix/sysv/linux/configure: Regenerated.
16548         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16549         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16550         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16551         (ldd_rewrite_script): Define variable.
16552         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16554         file.
16555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16556         generated file.
16557         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16558         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16559         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16560         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16561         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16562         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16563         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16564         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16566 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16568         [BZ #17084]
16569         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16570         Rename member __data.d to __data.__elision_data.
16572 2014-06-24  Wilco  <wdijkstr@arm.com>
16574         * NEWS: Add 16918 to fixed bug list.
16576 2014-06-24  Wilco  <wdijkstr@arm.com>
16578         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16580 2014-06-24  Wilco  <wdijkstr@arm.com>
16582         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16583         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16584         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16585         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16586         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16587         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16588         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16589         Use _FPU_MASK_RM.
16591 2014-06-24  Wilco  <wdijkstr@arm.com>
16593         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16595 2014-06-24  Wilco  <wdijkstr@arm.com>
16597         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16598         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16599         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16600         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16602 2014-06-24  Wilco  <wdijkstr@arm.com>
16604         [BZ #16918]
16605         * sysdeps/arm/feupdateenv.c (feupdateenv):
16606         Rewrite to reduce FPSCR accesses and fix return value.
16608 2014-06-24  Wilco  <wdijkstr@arm.com>
16610         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16611         Optimize to avoid unnecessary FPSCR writes.
16612         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16613         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16614         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16615         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16617 2014-06-24  Wilco  <wdijkstr@arm.com>
16619         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16620         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16621         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16622         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16623         Call libc_fetestexcept_vfp.
16624         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16625         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16626         __SOFTFP__ ifdef so that they can be built for softfp.
16628 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16630         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16631         argument type signed char.
16633         * Makerules (check-abi): Dump diff of symlist if the test
16634         fails.
16636 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16638         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16639         using abort.
16641         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16642         Remove unused variable ST.
16644 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16646         [BZ #16354]
16647         [BZ #17061]
16648         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16649         small arguments before calling __expm1.
16650         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16651         small arguments before calling __expm1f.
16652         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16653         small arguments before calling __expm1l.
16654         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16655         Likewise.
16656         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16657         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16658         spurious underflow for some cosh tests.
16659         * math/auto-libm-test-out: Regenerated.
16660         * sysdeps/i386/fpu/libm-test-ulps: Update.
16662         [BZ #17050]
16663         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16664         (__ieee754_y1): Set errno if return value overflows.
16665         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16666         (__ieee754_y1f): Set errno if return value overflows.
16667         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16668         (__ieee754_y1l): Set errno if return value overflows.
16669         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16670         (__ieee754_y1l): Set errno if return value overflows.
16671         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16672         * math/auto-libm-test-out: Regenerated.
16674         * math/gen-auto-libm-tests.c: Document use of
16675         ignore-zero-inf-sign.
16676         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16677         (input_flags): Add ignore-zero-inf-sign.
16678         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16679         * math/gen-libm-test.pl (generate_testfile): Handle
16680         ignore-zero-inf-sign.
16681         * math/auto-libm-test-in: Mark some cpow tests with
16682         ignore-zero-inf-sign and some with xfail-rounding.
16683         * math/auto-libm-test-out: Regenerated.
16684         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16685         * sysdeps/i386/fpu/libm-test-ulps: Update.
16686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16688         [BZ #16315]
16689         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16690         overflowing or underflowing operations take place with sign of
16691         result.
16692         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16693         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16694         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16695         (__ieee754_pow): Recompute overflowing and underflowing results in
16696         original rounding mode.
16697         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16698         (__powl_helper): Allow negative argument X and scale negated value
16699         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16700         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16701         overflowing or underflowing operations take place with sign of
16702         result.
16703         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16704         Include <math.h>.
16705         * math/auto-libm-test-in: Add more tests of pow.
16706         * math/auto-libm-test-out: Regenerated.
16707         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16708         (pow_tonearest_test_data): Remove.
16709         (pow_test_tonearest): Likewise.
16710         (pow_towardzero_test_data): Likewise.
16711         (pow_test_towardzero): Likewise.
16712         (pow_downward_test_data): Likewise.
16713         (pow_test_downward): Likewise.
16714         (pow_upward_test_data): Likewise.
16715         (pow_test_upward): Likewise.
16716         (main): Don't call removed functions.
16717         * sysdeps/i386/fpu/libm-test-ulps: Update.
16718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16720 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16723         Moved ...
16724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16726         Moved ...
16727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16729         Moved ...
16730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16732         Moved ...
16733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16735         File removed.
16736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16737         File removed.
16738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16739         File removed.
16740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16741         File removed.
16742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16743         File removed.
16744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16745         File removed.
16746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16747         File removed.
16748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16749         File removed.
16750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16751         File removed.
16752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16753         File removed.
16754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16755         File removed.
16756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16757         File removed.
16758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16759         Moved ...
16760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16762         Moved ...
16763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16764         ... here.
16765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16766         Moved ...
16767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16769         Moved ...
16770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16772         Moved ...
16773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16775         Moved ...
16776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16778         Moved ...
16779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16781         Moved ...
16782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16784         Moved ...
16785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16788         ... here.
16789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16790         Moved ...
16791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16793         Moved ...
16794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16795         ... here.
16796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16797         Moved ...
16798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16799         ... here.
16800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16801         Moved ...
16802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16803         ... here.
16804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16805         Moved ...
16806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16808         Moved ...
16809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16813         Moved ...
16814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16815         ... here.
16816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16817         Moved ...
16818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16819         ... here.
16820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16821         Moved ...
16822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16824         Moved ...
16825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16827         Moved ...
16828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16830         Moved ...
16831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16833         Moved ...
16834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16835         ... here.
16836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16837         Moved ...
16838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16840         Moved ...
16841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16843         Moved ...
16844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16846         Moved ...
16847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16851         Moved ...
16852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16854         Moved ...
16855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16857         Moved ...
16858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16859         ... here.
16860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16861         Moved ...
16862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16863         ... here.
16864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16865         Moved ...
16866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16867         ... here.
16868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16869         Moved ...
16870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16872         Moved ...
16873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16875         Moved ...
16876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16878         Moved ...
16879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16880         ... here.
16881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16882         Moved ...
16883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16884         ... here.
16885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16886         Moved ...
16887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16888         ... here.
16889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16890         Moved ...
16891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16893         Moved ...
16894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16896 2014-06-23  Will Newton  <will.newton@linaro.org>
16897             Wilco  <wdijkstr@arm.com>
16899         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16900         implementation.  Include get-rounding-mode.h.
16901         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16902         [!libc_feholdsetround_noex_ctx]: Define
16903         libc_feholdsetround_noex_ctx.
16904         [!libc_feholdsetround_noexf_ctx]: Define
16905         libc_feholdsetround_noexf_ctx.
16906         [!libc_feholdsetround_noexl_ctx]: Define
16907         libc_feholdsetround_noexl_ctx.
16908         (libc_feholdsetround_ctx): New function.
16909         (libc_feresetround_ctx): New function.
16910         (libc_feholdsetround_noex_ctx): New function.
16911         (libc_feresetround_noex_ctx): New function.
16913 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16915         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16916         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16917         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16918         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16919         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16920         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16922         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16923         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16924         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16925         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16926         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16927         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16928         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16929         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16930         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16931         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16932         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16933         Moved ...
16934         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16935         ... here.
16936         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16937         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16938         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16939         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16940         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16941         Moved ...
16942         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16943         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16944         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16945         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16946         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16947         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16948         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16949         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16950         Moved ...
16951         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16952         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16953         Moved ...
16954         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16955         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16956         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16957         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16958         Moved ...
16959         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16960         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16961         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16962         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16963         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16964         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16965         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16966         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16967         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16968         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16969         Moved ...
16970         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16971         ... here.
16972         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16973         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16974         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16975         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16976         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16977         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16978         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16979         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16980         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16981         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16982         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16983         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16984         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16985         Moved ...
16986         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16987         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16988         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16989         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16990         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16991         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16992         Moved ...
16993         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16994         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16995         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16996         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16997         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16999         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17000         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17001         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17002         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17003         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17004         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17005         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17006         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17007         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17008         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17009         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17010         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17011         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17012         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17013         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17014         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17015         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17016         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17017         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17018         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17019         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17020         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17021         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17022         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17023         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17024         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17025         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17026         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17028 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17030         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17031         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17032         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17033         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17034         (IPV6_PMTUDISC_INTERFACE): Likewise.
17035         (IPV6_PMTUDISC_OMIT): Likewise.
17037 2014-06-23  Andreas Schwab  <schwab@suse.de>
17039         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17040         Remove unused errout label.
17042 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17044         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17045         macro: hardware supports Vector Crypto instructions.
17047 2014-06-23  Will Newton  <will.newton@linaro.org>
17049         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17050         rather than __builtin_expect.
17052         * elf/dl-lookup.c (undefined_msg): Remove variable.
17053         (_dl_lookup_symbol_x): Replace undefined_msg with string
17054         literal.
17056         * elf/dl-lookup.c (do_lookup_unique): New function.
17057         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17058         to a separate function.
17060 2014-06-23  Andreas Schwab  <schwab@suse.de>
17062         [BZ #17079]
17063         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17064         before reading the next line.
17066 2014-06-23  Will Newton  <will.newton@linaro.org>
17068         * test-skeleton.c (signal_handler): Use printf and %m
17069         rather than perror.  Use printf rather than fprintf to
17070         stderr.  Use puts rather than fputs to stderr.
17071         (main): Likewise.
17073 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17075         * nscd/nscd.c (thread_info_t): Remove typedef.
17076         (thread_info): Remove variable.
17078 2014-06-21  Allan McRae  <allan@archlinux.org>
17080         * NEWS: Mention CVE-2014-4043.
17082 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17084         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17085         * nptl/smp.h: ... here.
17087         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17089         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17090         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17091         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17092         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17094         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17095         * nptl/stack-aliasing.h: New file.
17096         * sysdeps/i386/i686/stack-aliasing.h: New file.
17097         * sysdeps/i386/i686/nptl/Makefile: File removed.
17098         * sysdeps/x86_64/stack-aliasing.h: New file.
17099         * sysdeps/x86_64/nptl/Makefile
17100         (CFLAGS-pthread_create.c): Variable removed.
17102         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17103         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17104         old file.
17105         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17106         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17107         old file.
17109 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17111         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17112         (__ASSUME_SIGFRAME_V2): Remove macro.
17113         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17114         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17115         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17116         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17117         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17118         Declare as function.  Remove conditional macro definitions.
17119         (__default_rt_sa_restorer): Likewise.
17120         (__default_sa_restorer_v1): Remove declaration.
17121         (__default_sa_restorer_v2): Likewise.
17122         (__default_rt_sa_restorer_v1): Likewise.
17123         (__default_rt_sa_restorer_v2): Likewise.
17124         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17125         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17126         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17128 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17130         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17131         (libpthread-routines): Add sysdep.
17132         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17133         * sysdeps/unix/sysv/linux/sparc/Versions
17134         (libpthread: GLIBC_2.3.3): New version set.
17135         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17136         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17137         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17138         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17139         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17140         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17141         Moved ...
17142         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17143         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17144         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17145         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17146         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17147         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17148         * sysdeps/sparc/nptl/sem_init.c: ... here.
17149         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17150         * sysdeps/sparc/nptl/sem_post.c: ... here.
17151         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17152         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17153         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17154         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17155         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17156         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17157         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17158         (libpthread-routines): Add cpu_relax.
17159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17160         File removed.
17161         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17162         (librt: GLIBC_2.3.3): New version set.
17163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17164         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17165         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17166         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17169         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17171         Moved ...
17172         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17174         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17175         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17176         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17178         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17180         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17182         Moved ...
17183         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17184         Update #include.
17185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17186         Moved ...
17187         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17188         Update #include.
17189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17190         Moved ...
17191         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17192         Update #include.
17193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17194         Moved ...
17195         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17196         Update #include.
17197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17198         Moved ...
17199         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17200         Update #include.
17201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17202         Moved ...
17203         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17204         Update #include.
17205         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17206         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17207         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17208         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17209         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17210         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17212         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17213         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17214         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17215         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17216         Moved ...
17217         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17219         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17221         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17223 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17225         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17226         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17227         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17228         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17229         * nscd/nscd.c: Likewise.
17230         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17231         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17232         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17233         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17235         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17236         <kernel-features.h>.
17237         (init_mq_netlink): Remove conditional have_sock_cloexec
17238         definitions.  Remove code conditional on have_sock_cloexec < 0.
17239         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17240         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17241         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17242         <kernel-features.h>.
17243         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17244         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17246 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17248         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17249         Add tests for memset_chk and memset.
17251         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17252         with AVX2_Usable.
17254 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17256         [BZ #16046]
17257         * elf/tst-dl-iter-static.c: New file.
17258         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17260         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17261         error.
17263 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17265         * sysdeps/unix/sysv/linux/kernel-features.h
17266         (__ASSUME_F_GETOWN_EX): Remove macro.
17267         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17268         <kernel-features.h>.
17269         (miss_F_GETOWN_EX): Remove variable or macro.
17270         (do_fcntl): Do not check miss_F_GETOWN_EX.
17271         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17273         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17274         Remove macro.
17275         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17276         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17277         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17279         * sysdeps/unix/sysv/linux/kernel-features.h
17280         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17281         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17282         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17283         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17285 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17287         [BZ #17075]
17288         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17289         Fix calculation of the symbol's value.
17290         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17291         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17292         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17293         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17294         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17295         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17296         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17297         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17298         (modules-names): Add `tst-armtlsdescmod',
17299         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17300         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17301         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17302         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17303         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17304         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17305         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17306         ($(objpfx)tst-armtlsdescloc): New dependency.
17307         ($(objpfx)tst-armtlsdescextnow): Likewise.
17308         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17309         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17310         TLS scheme support.
17311         * sysdeps/arm/configure: Regenerate.
17313 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17315         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17316         (__atfct_seterrno_2): Likewise.
17317         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17318         <kernel-features.h>.
17319         (__ASSUME_ATFCTS): Do not undefine and redefine.
17320         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17321         (__have_atfcts): Remove conditional definition.
17322         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17323         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17324         unreachable if [__ASSUME_ATFCTS].
17325         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17326         not undefine and redefine.
17327         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17328         <kernel-features.h>.
17329         (faccessat) [__NR_faccessat]: Make code unconditional.
17330         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17331         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17332         <kernel-features.h>.
17333         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17334         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17335         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17336         <kernel-features.h>.
17337         (fchownat) [__NR_fchownat]: Make code unconditional.
17338         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17339         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17340         <kernel-features.h>.
17341         (futimesat) [__NR_futimesat]: Make code unconditional.
17342         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17343         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17344         <kernel-features.h>.
17345         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17346         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17347         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17348         <kernel-features.h>.
17349         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17350         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17351         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17352         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17353         <kernel-features.h>.
17354         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17355         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17356         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17357         <kernel-features.h>.
17358         (linkat) [__NR_linkat]: Make code unconditional.
17359         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17360         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17361         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17362         <kernel-features.h>.
17363         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17364         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17365         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17366         <kernel-features.h>.
17367         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17368         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17369         * sysdeps/unix/sysv/linux/openat.c: Do not include
17370         <kernel-features.h>.
17371         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17372         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17373         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17374         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17375         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17376         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17377         <kernel-features.h>.
17378         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17379         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17380         result of INLINE_SYSCALL directly, not via int variable.
17381         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17382         <kernel-features.h>.
17383         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17384         (renameat) [__NR_renameat]: Make code unconditional.
17385         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17386         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17387         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17388         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17389         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17390         (__ASSUME_ATFCTS): Do not undefine and redefine.
17391         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17392         <kernel-features.h>.
17393         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17394         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17395         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17396         <kernel-features.h>.
17397         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17398         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17399         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17400         (__ASSUME_ATFCTS): Do not undefine and redefine.
17401         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17402         <kernel-features.h>.
17403         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17404         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17405         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17406         <kernel-features.h>.
17407         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17408         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17410 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17412         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17414 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17416         [BZ #17069]
17417         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17418         constructed tree before returning error.
17419         * posix/bug-regexp36.c: Expand test case.
17421 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17423         [BZ #6803]
17424         * math/libm-test.inc (scalbln_test_date):
17425         Add errno expectations.
17426         * math/w_scalblnf.c: New File.
17427         Add wrapper which checks for setting errno to ERANGE.
17428         Add weak_alias for corresponding scalbln function.
17429         * math/w_scalbln.c: Likewise.
17430         * math/w_scalblnl.c: Likewise.
17431         * math/Makefile (libm-calls): Add w_scalbln.
17432         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17433         Remove weak_alias for corresponding scalbln function.
17434         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17435         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17436         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17437         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17438         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17439         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17440         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17441         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17442         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17443         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17444         Remove long_double_symbol for scalblnl function in libm, libc.
17445         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17446         Add wrapper which checks for setting errno to ERANGE.
17447         Add long_double_symbol for scalblnl function in libm, libc.
17448         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17449         Remove long_double_symbol for scalblnl in libm.
17450         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17451         Add wrapper which checks for setting errno to ERANGE.
17452         Add long_double_symbol for scalblnl function in libm.
17453         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17454         Do not use wrapper because of own implementation.
17456 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17458         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17459         3 bytes for __pad1 for x32.
17460         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17462 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17463             H.J. Lu  <hongjiu.lu@intel.com>
17465         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17466         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17467         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17468         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17469         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17471 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17473         [BZ #17069]
17474         * posix/regcomp.c (parse_expression): Deallocate partially
17475         constructed tree before returning error.
17476         * posix/Makefile.c (tests): Add bug-regex36.
17477         (generated): Add bug-regex36.mtrace.
17478         (tests-special): Add $(objpfx)bug-regex36-mem.out
17479         (bug-regex36-ENV): New variable.
17480         ($(objpfx)bug-regex36-mem.out): New rule.
17481         * posix/bug-regex36.c: New file.
17483 2014-06-19  Will Newton  <will.newton@linaro.org>
17485         * malloc/malloc.c (systrim): If extra is zero then return
17486         early.
17488 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17490         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17492 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17494         * sysdeps/aarch64/strchr.S: New file.
17496 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17498         [BZ #17022]
17499         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17500         from arguments -2 or below.
17501         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17502         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17504 2014-06-18  Andreas Schwab  <schwab@suse.de>
17506         [BZ #17062]
17507         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17508         of a bracket expr not to run off the end of the string.
17509         * posix/Makefile (tests): Add tst-fnmatch3.
17510         * posix/tst-fnmatch3.c: New file.
17512 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17514         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17515         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17516         [$(cross-compiling) = no]: Likewise.
17517         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17518         [$(cross-compiling) = no]: Likewise.
17520 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17522         [BZ #17031]
17523         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17524         double, adjusted for any remainder from the high double.
17525         * math/libm-test.inc (nearbyint): Add tests.
17526         (rint): Likewise.
17528 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17530         * nptl/sysdeps/powerpc/Makefile: Moved ...
17531         * sysdeps/powerpc/nptl/Makefile: ... here.
17532         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17533         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17534         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17535         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17536         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17537         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17538         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17539         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17540         * nptl/sysdeps/powerpc/tls.h: Moved ...
17541         * sysdeps/powerpc/nptl/tls.h: ... here.
17543 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17545         [BZ #16681]
17546         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17547         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17548         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17549         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17550         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17551         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17552         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17553         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17554         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17556 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17558         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17560 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17562         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17563         defined operator.
17565         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17566         $TIMEOUTFACTOR.
17568 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17570         [BZ #17058]
17571         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17572         non-executed part of the test.
17574 2014-06-16  Andreas Schwab  <schwab@suse.de>
17576         * string/bits/string2.h (strdup, strndup): Update feature guard.
17578 2014-06-14  David S. Miller  <davem@davemloft.net>
17580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17582 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17584         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17585         that was previously under [RESET_PID].
17586         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17588         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17589         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17590         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17591         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17592         (__libc_vfork): New strong alias.
17593         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17595 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17597         * sysdeps/generic/elide.h: New file.
17599 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17601         * Makefile (installed-headers): Adjust path of pthread.h header.
17603 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17605         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17606         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17607         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17608         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17610         * nptl/sysdeps/s390/Makefile: Moved ...
17611         * sysdeps/s390/nptl/Makefile: ... here.
17612         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17613         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17614         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17615         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17616         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17617         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17618         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17619         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17620         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17621         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17622         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17623         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17624         * nptl/sysdeps/s390/tls.h: Moved ...
17625         * sysdeps/s390/nptl/tls.h: ... here.
17627         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17628         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17630 2014-06-13  David S. Miller  <davem@davemloft.net>
17632         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17633         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17634         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17635         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17636         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17638         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17639         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17640         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17641         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17642         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17643         Remove RESET_PID cpp guards.
17644         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17645         Remove RESET_PID cpp guards.
17646         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17648 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17650         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17651         __sp to uintptr_t.
17653 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17655         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17656         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17657         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17658         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17659         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17660         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17661         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17662         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17663         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17664         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17665         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17666         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17667         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17668         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17669         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17670         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17671         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17672         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17673         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17674         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17676         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17677         (pthread_rwlock_rdlock): Add elision.
17678         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17679         (pthread_rwlock_wrlock): Add elision.
17680         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17681         (pthread_rwlock_trywrlock): Add elision.
17682         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17683         (pthread_rwlock_tryrdlock): Add elision.
17684         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17685         (pthread_rwlock_tryrdlock): Add elision unlock.
17686         * nptl/sysdeps/pthread/pthread.h:
17687         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17688         (PTHREAD_RWLOCK_INITIALIZER,
17689         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17690         Handle new elision field.
17691         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17692         * sysdeps/arm/nptl/bits/pthreadtypes.h
17693         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17694         * sysdeps/sh/nptl/bits/pthreadtypes.h
17695         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17696         * sysdeps/tile/nptl/bits/pthreadtypes.h
17697         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17698         * sysdeps/a/nptl/bits/pthreadtypes.h
17699         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17700         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17701         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17702         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17703         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17704         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17705         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17706         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17707         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17708         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17709         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17710         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17711         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17712         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17713         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17714         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17715         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17716         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17717         (elision_init): Set try_xbegin to zero when no RTM.
17718         * sysdeps/x86/nptl/bits/pthreadtypes.h
17719         (pthread_rwlock_t): Change __pad1 to __rwelision.
17720         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17722 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17724         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17725         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17726         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17727         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17729 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17731         [BZ #16996]
17732         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17733         that the cached result has been set before returning it.
17735 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17737         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17738         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17739         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17740         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17741         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17742         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17744         * nptl/sysdeps/sparc/Makefile: Moved ...
17745         * sysdeps/sparc/nptl/Makefile: ... here.
17746         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17747         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17748         * nptl/sysdeps/sparc/tls.h: Moved ...
17749         * sysdeps/sparc/nptl/tls.h: ... here.
17750         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17751         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17752         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17753         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17754         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17755         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17756         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17757         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17758         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17759         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17760         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17761         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17762         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17763         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17764         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17765         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17766         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17767         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17768         Update #include.
17769         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17770         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17771         Update #include.
17772         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17773         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17774         Update #include.
17775         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17776         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17777         Update #include.
17779         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17781         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17782         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17784         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17785         (struct list_links): Type removed.
17786         (struct thread_node, struct timer_node): Replace struct list_links
17787         with struct list_head.
17788         (list_unlink_ip): Likewise.
17789         * sysdeps/pthread/timer_routines.c
17790         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17791         (list_append, list_insbefore): Likewise.
17792         (list_init): Function removed.
17793         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17794         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17795         * sysdeps/pthread/Makefile: ... here, new file.
17797         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17798         * sysdeps/nptl/Implies: ... here.
17799         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17800         * nptl/sysdeps/pthread/list.h: Moved ...
17801         * include/list.h: ... here.
17802         * nptl/sysdeps/pthread/createthread.c: Moved ...
17803         * nptl/createthread.c: ... here.
17804         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17805         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17806         * nptl/pt-longjmp.c: ... here.
17807         * nptl/sysdeps/pthread/Makefile: Moved ...
17808         * sysdeps/nptl/Makefile: ... here.
17809         * nptl/sysdeps/pthread/Subdirs: Moved ...
17810         * sysdeps/nptl/Subdirs: ... here.
17811         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17812         * sysdeps/nptl/aio_misc.h: ... here.
17813         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17814         * sysdeps/nptl/bits/libc-lock.h: ... here.
17815         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17816         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17817         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17818         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17819         * nptl/sysdeps/pthread/configure: Moved ...
17820         * sysdeps/nptl/configure: ... here.
17821         * nptl/sysdeps/pthread/configure.ac: Moved ...
17822         * sysdeps/nptl/configure.ac: ... here.
17823         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17824         * sysdeps/nptl/gai_misc.h: ... here.
17825         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17826         * sysdeps/nptl/librt-cancellation.c: ... here.
17827         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17828         * sysdeps/nptl/malloc-machine.h: ... here.
17829         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17830         * sysdeps/nptl/pthread-functions.h: ... here.
17831         * nptl/sysdeps/pthread/pthread.h: Moved ...
17832         * sysdeps/nptl/pthread.h: ... here.
17833         * nptl/sysdeps/pthread/setxid.h: Moved ...
17834         * sysdeps/nptl/setxid.h: ... here.
17835         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17836         * sysdeps/nptl/sigfillset.c: ... here.
17837         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17838         * sysdeps/nptl/tcb-offsets.h: ... here.
17839         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17840         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17841         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17842         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17843         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17844         * sysdeps/pthread/allocalim.h: ... here.
17845         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17846         * sysdeps/pthread/bits/sigthread.h: ... here.
17847         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17848         * sysdeps/pthread/flockfile.c: ... here.
17849         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17850         * sysdeps/pthread/ftrylockfile.c: ... here.
17851         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17852         * sysdeps/pthread/funlockfile.c: ... here.
17853         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17854         * sysdeps/pthread/posix-timer.h: ... here.
17855         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17856         * sysdeps/pthread/timer_create.c: ... here.
17857         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17858         * sysdeps/pthread/timer_delete.c: ... here.
17859         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17860         * sysdeps/pthread/timer_getoverr.c: ... here.
17861         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17862         * sysdeps/pthread/timer_gettime.c: ... here.
17863         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17864         * sysdeps/pthread/timer_routines.c: ... here.
17865         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17866         * sysdeps/pthread/timer_settime.c: ... here.
17867         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17868         * sysdeps/pthread/tst-timer.c: ... here.
17869         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17870         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17872         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17873         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17875         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17876         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17877         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17878         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17879         Update #include target.
17880         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17881         * sysdeps/i386/i686/nptl/Makefile: ... here.
17882         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17883         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17884         Update #include target.
17885         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17886         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17887         * nptl/sysdeps/i386/Makefile: Moved ...
17888         * sysdeps/i386/nptl/Makefile: ... here.
17889         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17890         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17891         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17892         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17893         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17894         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17895         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17896         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17897         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17898         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17899         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17900         * nptl/sysdeps/i386/tls.h: Moved ...
17901         * sysdeps/i386/nptl/tls.h: ... here.
17903         * sysdeps/sh/Makefile [$(subdir) = csu]
17904         (gen-as-const-headers): Add tcb-offsets.sym.
17905         * nptl/sysdeps/sh/Makefile: File removed.
17906         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17907         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17908         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17909         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17910         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17911         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17912         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17913         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17914         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17915         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17916         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17917         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17918         * nptl/sysdeps/sh/tls.h: Moved ...
17919         * sysdeps/sh/nptl/tls.h: ... here.
17920         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17921         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17922         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17923         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17924         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17925         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17926         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17927         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17928         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17929         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17930         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17931         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17932         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17933         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17934         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17935         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17936         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17937         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17938         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17939         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17940         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17941         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17942         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17943         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17944         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17945         Moved ...
17946         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17947         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17948         Moved ...
17949         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17950         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17951         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17952         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17953         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17954         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17955         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17956         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17957         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17958         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17959         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17960         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17961         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17962         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17963         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17964         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17965         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17966         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17967         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17969 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17971         * posix/spawn_faction_addopen.c: Include string.h.
17973 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17975         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17976         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17977         * nptl/sysdeps/x86_64/Makefile: Moved ...
17978         * sysdeps/x86_64/nptl/Makefile: ... here.
17979         * nptl/sysdeps/x86_64/configure: Moved ...
17980         * sysdeps/x86_64/nptl/configure: ... here.
17981         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17982         * sysdeps/x86_64/nptl/configure.ac: ... here.
17983         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17984         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17985         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17986         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17987         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17988         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17989         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17990         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17991         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17992         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17993         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17994         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17995         * nptl/sysdeps/x86_64/tls.h: Moved ...
17996         * sysdeps/x86_64/nptl/tls.h: ... here.
17997         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17998         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17999         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18000         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18002         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18004 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18008 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18010         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18011         type.
18012         [POSIX] (off_t): Likewise.
18013         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18014         [POSIX] (S_ISBLK): Require macro.
18015         [POSIX] (S_ISCHR): Likewise.
18016         [POSIX] (S_ISDIR): Likewise.
18017         [POSIX] (S_ISFIFO): Likewise.
18018         [POSIX] (S_ISREG): Likewise.
18019         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18020         optional-macro.
18021         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18022         type.
18023         [POSIX] (time_t): Likewise.
18024         [POSIX] (timer_t): Likewise.
18026 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18028         [BZ #17048]
18029         * posix/spawn_int.h (struct __spawn_action): Make the path string
18030         non-const to support deallocation.
18031         * posix/spawn_faction_addopen.c
18032         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18033         * posix/spawn_faction_destroy.c
18034         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18035         path in all spawn_do_open actions.
18036         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18037         posix_spawn_file_actions_addopen.
18039 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18041         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18042         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18043         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18044         conditional code always true.
18045         (__libc_vfork): New alias.
18047 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18049         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18050         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18052         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18054         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18055         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18057         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18058         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18060         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18061         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18063 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18065         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18066         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18067         multiarch strcmp for PPC64.
18068         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18069         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18070         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18071         multiarch optimizations.
18072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18073         (__libc_ifunc_impl_list): Likewise.
18075 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18077         * benchtests/scripts/validate_benchout.py: New script.
18078         * benchtests/Makefile (bench-func): Call it.
18079         * benchtests/scripts/benchout.schema.json: New file.
18081 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18083         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18084         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18085         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18086         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18087         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18088         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18089         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18090         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18091         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18092         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18093         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18094         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18095         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18096         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18097         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18098         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18100         Moved ...
18101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18102         ... here.
18103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18104         Moved ...
18105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18107         Moved ...
18108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18109         ... here.
18110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18111         Moved ...
18112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18113         ... here.
18114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18115         Moved ...
18116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18118         Moved ...
18119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18120         ... here.
18121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18122         Moved ...
18123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18124         ... here.
18125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18126         Moved ...
18127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18129         Moved ...
18130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18131         ... here.
18132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18133         Moved ...
18134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18135         ... here.
18136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18137         Moved ...
18138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18139         ... here.
18140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18141         Moved ...
18142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18144         Moved ...
18145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18146         ... here.
18147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18148         Moved ...
18149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18150         ... here.
18151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18152         Moved ...
18153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18154         ... here.
18155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18156         Moved ...
18157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18159         Moved ...
18160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18161         ... here.
18162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18163         Moved ...
18164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18165         ... here.
18166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18167         Moved ...
18168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18170         Moved ...
18171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18172         ... here.
18173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18174         Moved ...
18175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18177         Moved ...
18178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18180         Moved ...
18181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18182         ... here.
18183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18184         Moved ...
18185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18186         ... here.
18187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18188         Moved ...
18189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18190         ... here.
18191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18192         Moved ...
18193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18195         Moved ...
18196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18197         ... here.
18198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18199         Moved ...
18200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18201         ... here.
18202         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18203         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18204         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18205         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18206         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18207         Moved ...
18208         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18209         ... here.
18210         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18211         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18212         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18213         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18214         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18215         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18216         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18217         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18218         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18219         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18220         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18221         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18222         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18223         Moved ...
18224         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18225         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18226         Moved ...
18227         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18228         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18229         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18230         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18231         Moved ...
18232         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18233         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18234         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18235         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18236         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18237         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18238         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18240 2014-06-10  Wilco  <wdijkstr@arm.com>
18242         * math/test-fenv-return.c: New file.
18243         * math/Makefile: Add new test test-fenv-return.
18245 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18247         [BZ #17042]
18248         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18249         when x - 1 is zero.
18250         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18251         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18252         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18253         0.0L for an argument of 1.0L.
18254         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18255         Likewise.
18256         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18257         value when x - 1 is zero.
18258         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18259         * sysdeps/i386/fpu/libm-test-ulps: Update.
18260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18262 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18264         [BZ #15119]
18265         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18267 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18269         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18270         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18272 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18274         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18275         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18277         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18278         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18280         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18281         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18283         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18284         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18286         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18287         if not already defined.
18288         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18289         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18290         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18291         (TLS_INIT_TP): Use it.
18292         (TLS_DEFINE_INIT_TP): New macro.
18293         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18295 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18297         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18298         constant.
18299         [POSIX] (IXANY): Likewise.
18300         [POSIX] (OLCUC): Likewise.
18301         [POSIX || POSIX2008] (CBAUD): Do not allow.
18302         [POSIX || POSIX2008] (DEFECHO): Likewise.
18303         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18304         [POSIX || POSIX2008] (ECHOKE): Likewise.
18305         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18306         [POSIX || POSIX2008] (EXTA): Likewise.
18307         [POSIX || POSIX2008] (EXTB): Likewise.
18308         [POSIX || POSIX2008] (FLUSHO): Likewise.
18309         [POSIX || POSIX2008] (LOBLK): Likewise.
18310         [POSIX || POSIX2008] (PENDIN): Likewise.
18311         [POSIX || POSIX2008] (SWTCH): Likewise.
18312         [POSIX || POSIX2008] (VDISCARD): Likewise.
18313         [POSIX || POSIX2008] (VDSUSP): Likewise.
18314         [POSIX || POSIX2008] (VLNEXT): Likewise.
18315         [POSIX || POSIX2008] (VREPRINT): Likewise.
18316         [POSIX || POSIX2008] (VSTATUS): Likewise.
18317         [POSIX || POSIX2008] (VWERASE): Likewise.
18318         (B*): Change to B[0123456789]*.
18319         * conform/data/time.h-data [POSIX || UNIX98]
18320         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18321         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18322         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18323         [POSIX] (tm_*): Do not allow.
18325 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18327         * Makefile (install): Don't set LANGUAGE.
18328         * Makefile.in (install): Likewise.
18329         * assert/Makefile (test-assert-ENV): Remove variable.
18330         (test-assert-perr-ENV): Likewise.
18331         * elf/Makefile (neededtest4-ENV): Likewise.
18332         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18333         [$(cross-compiling) = no]: Don't set LANGUAGE.
18334         * io/ftwtest-sh (LANG): Remove variable.
18335         * libio/Makefile (tst-widetext-ENV): Likewise.
18336         * manual/install.texi (Running make install): Don't refer to
18337         environment settings for make install.
18338         * INSTALL: Regenerated.
18339         * nptl/tst-tls6.sh: Don't set LANG.
18340         * posix/globtest.sh (LANG): Remove variable.
18341         * string/Makefile (tester-ENV): Likewise.
18342         (inl-tester-ENV): Likewise.
18343         (noinl-tester-ENV): Likewise.
18344         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18345         [$(cross-compiling) = no]: Don't set LANGUAGE.
18346         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18347         without explicit environment settings.
18349 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18351         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18352         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18353         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18354         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18356 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18358         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18359         other files in the crypt directory.
18360         * crypt/crypt.c: Remove duplicate includes.
18361         * crypt/crypt-entry.c: Likewise.
18362         * crypt/crypt_util.c: Likewise.
18364 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18366         * Makeconfig (run-program-env): New variable.
18367         (run-program-prefix-before-env): Likewise.
18368         (run-program-prefix-after-env): Likewise.
18369         (run-program-prefix): Define in terms of new variables.
18370         (built-program-cmd-before-env): New variable.
18371         (built-program-cmd-after-env): Likewise.
18372         (built-program-cmd): Define in terms of new variables.
18373         (test-program-prefix-before-env): New variable.
18374         (test-program-prefix-after-env): Likewise.
18375         (test-program-prefix): Define in terms of new variables.
18376         (test-program-cmd-before-env): New variable.
18377         (test-program-cmd-after-env): Likewise.
18378         (test-program-cmd): Define in terms of new variables.
18379         * Rules (make-test-out): Use $(run-program-env).
18380         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18381         (help): Do not mention environment variables.  Mention
18382         --timeoutfactor option.
18383         (timeoutfactor): New variable.
18384         (blacklist_exports): Remove function.
18385         (exports): Remove variable.
18386         (command): Do not include ${exports}.
18387         * manual/install.texi (Configuring and compiling): Do not mention
18388         test wrappers preserving environment variables.  Mention that last
18389         assignment to a variable must take precedence.
18390         * INSTALL: Regenerated.
18391         * benchtests/Makefile (run-bench): Use $(run-program-env).
18392         * catgets/Makefile ($(objpfx)test1.cat): Use
18393         $(built-program-cmd-before-env), $(run-program-env) and
18394         $(built-program-cmd-after-env).
18395         ($(objpfx)test2.cat): Do not specify environment variables
18396         explicitly.
18397         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18398         $(run-program-env) and $(built-program-cmd-after-env).
18399         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18400         $(run-program-env) and $(test-program-cmd-after-env).
18401         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18402         explicitly.
18403         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18404         run_program_env and test_program_cmd_after_env arguments.
18405         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18406         * elf/tst-pathopt.sh: Use run_program_env argument.
18407         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18408         $(test-wrapper-env) and $(run-program-env).
18409         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18410         run_program_env arguments.
18411         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18412         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18413         $(test-program-prefix-before-env), $(run-program-env) and
18414         $(test-program-prefix-after-env).
18415         ($(objpfx)tst-gettext2.out): Likewise.
18416         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18417         run_program_env and test_program_prefix_after_env arguments.
18418         * intl/tst-gettext2.sh: Likewise.
18419         * intl/tst-gettext4.sh: Do not set environment variables
18420         explicitly.
18421         * intl/tst-gettext6.sh: Likewise.
18422         * intl/tst-translit.sh: Likewise.
18423         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18424         $(test-program-prefix-before-env), $(run-program-env) and
18425         $(test-program-prefix-after-env).
18426         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18427         run_program_env and test_program_prefix_after_env arguments.
18428         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18429         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18430         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18431         explicitly with each use of ${test_wrapper_env}.
18432         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18433         $(test-program-prefix-before-env), $(run-program-env) and
18434         $(test-program-prefix-after-env).
18435         * posix/tst-getconf.sh: Do not set environment variables
18436         explicitly.
18437         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18438         run_program_env and test_program_prefix_after_env arguments.
18439         * stdio-common/tst-printf.sh: Do not set environment variables
18440         explicitly.
18441         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18442         $(test-program-prefix-before-env), $(run-program-env) and
18443         $(test-program-prefix-after-env).
18444         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18445         run_program_env and test_program_prefix_after_env arguments.
18446         Split $test calls into $test_pre and $test.
18447         * timezone/Makefile (build-testdata): Use
18448         $(built-program-cmd-before-env), $(run-program-env) and
18449         $(built-program-cmd-after-env).
18451 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18453         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18454         strlen for non SHARED builds.
18456 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18458         * nptl/allocatestack.c (check_list): Inlined function...
18459         (__reclaim_stacks): ... here.
18461 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18463         [BZ #15698]
18464         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18465         memory overrun.
18467 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18469         * Rules (make-test-out): Include
18470         LOCPATH=$(common-objpfx)localedata in default environment.
18471         * debug/Makefile (tst-chk1-ENV): Remove variable.
18472         (tst-chk2-ENV): Likewise.
18473         (tst-chk3-ENV): Likewise.
18474         (tst-chk4-ENV): Likewise.
18475         (tst-chk5-ENV): Likewise.
18476         (tst-chk6-ENV): Likewise.
18477         (tst-lfschk1-ENV): Likewise.
18478         (tst-lfschk2-ENV): Likewise.
18479         (tst-lfschk3-ENV): Likewise.
18480         (tst-lfschk4-ENV): Likewise.
18481         (tst-lfschk5-ENV): Likewise.
18482         (tst-lfschk6-ENV): Likewise.
18483         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18484         (tst-iconv7-ENV): Likewise.
18485         * intl/Makefile (LOCPATH-ENV): Likewise.
18486         (tst-codeset-ENV): Likewise.
18487         (tst-gettext3-ENV): Likewise.
18488         (tst-gettext5-ENV): Likewise.
18489         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18490         (tst-fopenloc-ENV): Likewise.
18491         (tst-fgetws-ENV): Remove variable.
18492         (tst-ungetwc1-ENV): Likewise.
18493         (tst-ungetwc2-ENV): Likewise.
18494         (bug-ungetwc2-ENV): Likewise.
18495         (tst-swscanf-ENV): Likewise.
18496         (bug-ftell-ENV): Likewise.
18497         (tst-fgetwc-ENV): Likewise.
18498         (tst-fseek-ENV): Likewise.
18499         (tst-ftell-partial-wide-ENV): Likewise.
18500         (tst-ftell-active-handler-ENV): Likewise.
18501         (tst-ftell-append-ENV): Likewise.
18502         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18503         (tst-regexloc-ENV): Likewise.
18504         (bug-regex1-ENV): Likewise.
18505         (tst-regex-ENV): Likewise.
18506         (tst-regex2-ENV): Likewise.
18507         (bug-regex5-ENV): Likewise.
18508         (bug-regex6-ENV): Likewise.
18509         (bug-regex17-ENV): Likewise.
18510         (bug-regex18-ENV): Likewise.
18511         (bug-regex19-ENV): Likewise.
18512         (bug-regex20-ENV): Likewise.
18513         (bug-regex22-ENV): Likewise.
18514         (bug-regex23-ENV): Likewise.
18515         (bug-regex25-ENV): Likewise.
18516         (bug-regex26-ENV): Likewise.
18517         (bug-regex30-ENV): Likewise.
18518         (bug-regex32-ENV): Likewise.
18519         (bug-regex33-ENV): Likewise.
18520         (bug-regex34-ENV): Likewise.
18521         (bug-regex35-ENV): Likewise.
18522         (tst-rxspencer-ENV): Likewise.
18523         (tst-rxspencer-no-utf8-ENV): Likewise.
18524         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18525         (tst-sscanf-ENV): Likewise.
18526         (tst-swprintf-ENV): Likewise.
18527         (tst-swscanf-ENV): Likewise.
18528         (test-vfprintf-ENV): Likewise.
18529         (scanf13-ENV): Likewise.
18530         (bug14-ENV): Likewise.
18531         (tst-grouping-ENV): Likewise.
18532         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18533         (tst-strtod3-ENV): Likewise.
18534         (tst-strtod4-ENV): Likewise.
18535         (tst-strtod5-ENV): Likewise.
18536         (testmb2-ENV): Likewise./
18537         * string/Makefile (tst-strxfrm-ENV): Likewise.
18538         (tst-strxfrm2-ENV): Likewise.
18539         (bug-strcoll1-ENV): Likewise.
18540         (test-strcasecmp-ENV): Likewise.
18541         (test-strncasecmp-ENV): Likewise.
18542         * time/Makefile (tst-strptime-ENV): Likewise.
18543         (tst-ftime_l-ENV): Likewise.
18544         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18545         (tst-mbrtowc-ENV): Likewise.
18546         (tst-wcrtomb-ENV): Likewise.
18547         (tst-mbrtowc2-ENV): Likewise.
18548         (tst-c16c32-1-ENV): Likewise.
18549         (tst-mbsnrtowcs-ENV): Likewise.
18551 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18553         * manual/resource.texi (How to get information about the memory
18554         subsystem?): Fix typo.
18555         Reported by Peon de la Parra Ivan <peon@keba.com>
18557 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18559         [BZ #16882]
18560         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18561         (pthread_spin_lock): Branch out of spin loop to proper location.
18562         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18563         (pthread_spin_lock): Likewise.
18565         * nptl/tst-spin4.c: New test.
18566         * nptl/Makefile (tests): Add tst-spin4.
18568 2014-06-03  Andreas Schwab  <schwab@suse.de>
18570         [BZ #15946]
18571         * resolv/res_send.c (send_dg): Reload file descriptor after
18572         calling reopen.
18574 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18576         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18578 2014-06-03  Richard Henderson  <rth@redhat.com>
18580         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18581         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18582         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18583         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18584         in the SAVE_PID block.
18585         (__libc_vfork): New alias.
18586         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18588         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18589         child in registers, not on the stack.  Remove RESET_PID conditionals.
18590         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18592 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18594         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18596 2014-06-03  Wilco  <wdijkstr@arm.com>
18598         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18599         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18600         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18601         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18602         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18603         Likewise.
18605 2014-06-03  Wilco  <wdijkstr@arm.com>
18607         * sysdeps/aarch64/fpu/math_private.h
18608         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18609         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18610         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18611         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18612         Fix declarations.
18614 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18616         * crypt/crypt-private.h: Include ufc-crypt.h.
18617         (__b64_from_24bit): Declare extern.
18618         * crypt/crypt_util.c(__b64_from_24bit): New function.
18619         (b64t): New static const variable.
18620         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18621         (b64t): Remove variable.
18622         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18623         * crypt/sha256-crypt.c: Include crypt-private.h.
18624         (b64t): Remove variable.
18625         (__sha256_crypt_r): Remove b64_from_24bit and replace
18626         with __b64_from_24bit.
18627         * crypt/sha512-crypt.c: Likewise.
18629 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18631         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18632         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18633         Label the code __libc_vfork rather than __vfork.
18634         [!NOT_IN_libc] (vfork): Define as weak alias.
18635         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18636         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18637         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18639 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18641         * malloc/malloc.c (malloc_info): Fix format specifier for
18642         n_mmaps.
18644 2014-06-02  Wilco  <wdijkstr@arm.com>
18646         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18647         FPCR write.
18649 2014-06-02  Wilco  <wdijkstr@arm.com>
18651         [BZ #17009]
18652         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18653         Rewrite to reduce FPCR/FPSR accesses.
18655 2014-06-01  David S. Miller  <davem@davemloft.net>
18657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18659 2014-05-31  David S. Miller  <davem@davemloft.net>
18661         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18662         to occur in round to nearest mode when |x| >= 2.0
18664 2014-05-30  Richard Henderson  <rth@twiddle.net>
18666         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18667         (PSEUDO_RET_NOERRNO): Remove.
18668         (ret): Don't redefine.
18669         (ret_NOERRNO): Define in terms of ret.
18670         (ret_ERRVAL): Likewise.
18672         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18673         use of PSEUDO_RET; perform the error check directly.
18675 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18677         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18678         with __int128_t.
18680 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18682         * malloc/malloc (malloc_info): Fix formatting.
18684 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18685             Roland McGrath  <roland@hack.frob.com>
18687         * malloc/malloc (malloc_info): Also print mmapped statistics.
18689 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18691         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18692         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18694 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18696         * malloc/malloc.c (malloc_info): Inline mi_arena.
18698 2014-05-29  Richard Henderson  <rth@twiddle.net>
18700         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18701         Remove comma before expanding ASM_ARGS_##nr.
18702         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18703         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18704         of ASM_ARGS_##nr.
18705         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18706         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18707         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18708         (ASM_ARGS_1): Add leading comma.
18710         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18711         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18712         to __errno_location.
18713         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18714         Remove the expected plt for __errno_location.
18716         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18717         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18718         call to __read_tp.
18720         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18721         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18722         it and break it down.
18723         (DOCARGS_0, DOCARGS_1): Do nothing.
18724         (DOCARGS_2): Update to store into the new stack frame.
18725         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18726         (UNDOCARGS_1): Update to restore from the new stack frame.
18727         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18728         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18730         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18731         (SINGLE_THREAD_P): New parameter for result regno.
18732         (PSEUDO): Update to match; use cbz instead of beq.
18734         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18735         Use ENTRY to define the _nocancel entry point.  Share the syscall
18736         and syscall error check paths with the cancel path.
18737         (PSEUDO_END): New.
18739         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18740         whitespace; tabs before and after asm mnemonics.
18742 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18744         [BZ #15132]
18745         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18746         Call fstat64 or stat64 internally, depending on arguments passed.
18747         Replace stat buffer argument with file descriptor argument.
18748         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18749         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18750         Pass fd to __internal_statvfs instead of calling fstat64.
18751         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18752         Pass fd to __internal_statvfs64 instead of calling fstat64.
18753         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18754         Pass -1 to __internal_statvfs instead of calling stat64.
18755         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18756         Pass -1 to __internal_statvfs64 instead of calling stat64.
18758 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18760         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18761         that was previously under [RESET_PID].
18762         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18764         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18765         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18767 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18769         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18771         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18772         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18774 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18776         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18778 2014-05-27  Andreas Schwab  <schwab@suse.de>
18780         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18781         TLS_INIT_TP macro.
18782         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18783         * elf/rtld.c (init_tls, dl_main): Likewise.
18784         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18785         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18786         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18787         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18788         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18789         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18790         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18791         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18792         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18793         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18794         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18795         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18796         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18797         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18798         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18799         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18800         * sysdeps/generic/tls.h: Update description.
18802 2014-05-27  Will Newton  <will.newton@linaro.org>
18804         [BZ #16990]
18805         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18806         and restore r2 rather than just restoring.
18808 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18810         [BZ #16724]
18811         * libio/tst-ftell-append.c: New test case.
18812         * libio/Makefile (tests): Add test case.
18813         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18814         append mode.
18815         * libio/wfileops.c (do_ftell_wide): Likewise.
18817 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18821         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18822         ...
18823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18825         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18826         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18827         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18828         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18829         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18830         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18831         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18832         Moved ...
18833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18834         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18835         Moved ...
18836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18837         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18838         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18839         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18840         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18841         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18842         ...
18843         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18844         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18845         Moved ...
18846         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18847         here.
18848         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18849         ...
18850         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18851         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18852         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18854         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18855         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18856         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18857         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18860         merge into ...
18861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18862         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18863         ...
18864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18865         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18866         ...
18867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18868         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18869         Moved ...
18870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18871         here.
18872         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18873         Moved ...
18874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18875         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18876         Moved ...
18877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18880         conditional [RESET_PID].
18881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18882         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18883         removed.
18884         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18885         removed.
18887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18888         <tcb-offsets.h>.
18889         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18890         (__libc_vfork): New strong alias.
18891         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18892         removed.
18893         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18894         Removed.
18896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18897         <tcb-offsets.h>.
18898         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18899         (__libc_vfork): New strong alias.
18900         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18901         removed.
18902         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18903         removed.
18905 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18907         * malloc/malloc.c (mi_arena): New function.
18908         (malloc_info): Remove nested function mi_arena. Call non-nosted
18909         function mi_arena.
18911 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18913         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18914         by insrwi.
18915         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18916         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18917         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18918         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18919         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18920         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18921         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18923 2014-05-26  Andreas Schwab  <schwab@suse.de>
18925         [BZ #16984]
18926         * locale/programs/repertoire.c (repertoire_read): Add slash
18927         between I18NPATH element and file name.
18928         * locale/programs/locfile.c (locfile_read): Likewise.
18930 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18932         * nptl/pthread_mutexattr_settype.c
18933         (__pthread_mutexattr_settype):
18934         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18936 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18938         * nptl/tst-mutex5 (do_test):
18939         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18941 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18943         * benchtests/README: Document 'init' directive.
18944         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18945         BENCH_INIT.
18946         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18947         (parse_file): Recognize 'init' directive.
18949 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18951         [BZ #16796]
18952         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18953         alignment of struct pthread.
18955 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18957         [BZ #16878]
18958         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18959         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18960         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18961         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18963 2014-05-25  Richard Henderson  <rth@twiddle.net>
18965         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18966         (SINGLE_THREAD_P_PIC): Remove.
18967         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18968         (SINGLE_THREAD_P_PIC): Remove.
18970         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18971         branch to syscall error ...
18972         (PSEUDO): ... here.
18973         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18974         from __local_syscall_error to .Lsyscall_error.
18975         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18976         (SYSCALL_ERROR): Update label name.
18978         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18979         Do not use DOARGS/UNDOARGS.
18980         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18981         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18982         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18983         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18984         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18986         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18987         block comment.
18989         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18990         define if !NOT_IN_libc.
18991         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18992         define with non-default symbol versions.
18994 2014-05-23  Richard Henderson  <rth@twiddle.net>
18996         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18997         (vfork, __vfork): Define via compat_symbol.
18999         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19000         [!HAVE_IFUNC] (vfork_compat): Remove.
19001         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19003 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19005         [BZ #16978]
19006         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19007         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19008         variable.
19010 2014-05-23  Richard Henderson  <rth@twiddle.net>
19012         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19013         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19014         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19015         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19017         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19018         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19019         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19020         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19021         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19022         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19023         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19024         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19025         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19026         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19027         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19028         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19029         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19030         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19031         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19032         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19033         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19034         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19035         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19036         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19037         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19038         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19039         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19040         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19041         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19042         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19043         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19044         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19045         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19046         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19047         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19048         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19049         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19050         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19051         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19052         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19053         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19054         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19055         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19056         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19057         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19058         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19059         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19060         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19061         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19062         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19063         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19064         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19065         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19066         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19067         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19068         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19069         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19070         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19071         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19072         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19074         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19075         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19076         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19077         before exiting on error.
19078         (__libc_vfork): New strong alias.
19079         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19080         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19082         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19083         that was previously under [RESET_PID].
19084         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19086         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19088 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19090         [BZ #16977]
19091         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19092         value when x - 1 is zero.
19093         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19094         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19095         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19096         0.0L for an argument of 1.0L.
19097         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19098         Likewise.
19099         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19100         value when x - 1 is zero.
19101         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19102         * sysdeps/i386/fpu/libm-test-ulps: Update.
19103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19105 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19107         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19108         alphasort and versionsort.
19110 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19112         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19113         macro.
19114         [copysignf]: Likewise.
19116 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19118         * crypt/md5-crypt.c: Fix formatting.
19120 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19122         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19123         (b64_from_24bit): New function.
19125 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19127         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19128         libc_hidden_builtin_def to ifunc.
19129         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19130         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19132 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19134         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19135         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19137 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19139         * nscd/Depend (linuxthreads): Remove.
19140         (nptl): Add.
19141         * resolv/Depend (linuxthreads): Remove.
19142         * rt/Depend (linuxthreads): Remove.
19144         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19145         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19146         $(common-objpfx)elf/.
19147         (link-libc-before-gnulib): Likewise.
19148         (elfobjdir): Remove variable.
19149         * Makefile (install): Use $(elf-objpfx) instead of
19150         $(common-objpfx)elf/.
19151         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19152         $(elfobjdir)/.
19153         (link-libc-deps): Likewise.
19154         ($(common-objpfx)libc.so): Likewise.
19155         ($(common-objpfx)linkobj/libc.so): Likewise.
19156         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19157         instead of $(common-objpfx)elf/.
19158         (symbolic-link-list): Likewise.
19159         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19160         [$(cross-compiling) = no]: Likewise.
19161         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19162         $(elfobjdir)/.
19163         (static-gnulib-arch): Likewise.
19164         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19165         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19166         $(common-objpfx)elf/.
19168 2014-05-21  Richard Henderson  <rth@redhat.com>
19170         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19171         (SINGLE_THREAD_P): Use the correct width load.  Fold
19172         into the ldr offset.
19174         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19175         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19177 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19179         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19180         (libgcc_s_resume): Use __attribute_used__.
19181         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19182         Likewise.
19184 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19186         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19187         optimization when used with float constants.
19189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19191 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19193         [BZ #16915]
19194         * locale/nl_langinfo_l.c: Make direct reference to every
19195         _nl_current_CATEGORY symbol.
19196         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19197         (tests-static): Add tst-langinfo-static.
19198         (tests-special): Add tst-langinfo-static.out.
19199         ($(objpfx)tst-langinfo.out): Redirect output.
19200         ($(objpfx)tst-langinfo-static.out): New.
19201         * localedata/tst-langinfo.sh: Send output to stdout.
19202         * localedata/tst-langinfo-static.c: New file.
19204         [BZ #16965]
19205         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19206         when the shift amount is modulo the limb size.
19208 2014-05-20  Richard Henderson  <rth@redhat.com>
19210         [BZ #16967]
19211         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19212         Change type of sa_flags from unsigned int to int.
19214         [BZ #16966]
19215         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19217         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19219 2014-05-20  Will Newton  <will.newton@linaro.org>
19221         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19222         Test the return value of the system call in the nocancel case.
19224 2014-05-20  Will Newton  <will.newton@linaro.org>
19225             Yvan Roux  <yvan.roux@linaro.org>
19227         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19228         #include of asm/ptrace.h.
19229         (PTRACE_GET_THREAD_AREA): Remove #undef.
19230         (PTRACE_GETHBPREGS): Likewise.
19231         (PTRACE_SETHBPREGS): Likewise.
19232         (struct user_regs_struct): New structure.
19233         (struct user_fpsimd_struct): New structure.
19234         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19235         #include of asm/ptrace.h and second #include of sys/user.h.
19236         (PTRACE_GET_THREAD_AREA): Remove #undef.
19237         (PTRACE_GETHBPREGS): Likewise.
19238         (PTRACE_SETHBPREGS): Likewise.
19239         (ELF_NGREG): Use new struct user_regs_struct.
19240         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19242 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19244         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19245         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19247 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19249         [BZ #16958]
19250         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19251         membar to avoid block loads/stores to overlap previous stores.
19253 2014-05-17  Richard Henderson  <rth@redhat.com>
19255         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19256         Create the __##syscall_name##_nocancel entry point.
19257         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19258         Remove; let the sysdep-cancel.h code create it.
19260 2014-05-17  David S. Miller  <davem@davemloft.net>
19262         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19263         Protect with __USE_GNU.
19264         (TIOCSET_TEMPT): Likewise.
19265         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19266         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19267         these are already provided in bits/ioctl-types.h
19269 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19271         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19272         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19274         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19275         Use wait4 regardless of [__NR_waitpid].
19277 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19279         PR libgcc/60166
19280         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19281         (_FP_NANSIGN_Q): Set the quiet bit.
19283 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19285         * benchtests/Makefile
19286         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19287         not $(common-objpfx)math/libm.so.
19288         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19289         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19290         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19291         $(common-objpfx)dlfcn/libdl.so.
19292         ($(objpfx)tst-audit8): Depend on $(libm), not
19293         $(common-objpfx)math/libm.so.
19294         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19295         not $(common-objpfx)dlfcn/libdl.so.
19296         * math/Makefile
19297         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19298         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19299         [$(build-shared) = yes].
19300         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19301         $(common-objpfx)nptl/libpthread.so.
19302         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19303         $(common-objpfx)math/libm.so$(libm.so-version) or
19304         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19305         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19306         $(common-objpfx)dlfcn/libdl.so.
19307         * setjmp/Makefile (link-libm): Remove variable.
19308         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19309         * stdio-common/Makefile (link-libm): Remove variable.
19310         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19311         * stdlib/Makefile (link-libm): Remove variable.
19312         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19313         ($(objpfx)tst-strtod-round): Likewise.
19314         ($(objpfx)tst-tininess): Likewise.
19315         ($(objpfx)tst-strtod-underflow): Likewise.
19316         ($(objpfx)tst-strtod6): Likewise.
19317         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19318         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19319         $(common-objpfx)dlfcn/libdl.so.
19321 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19323         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19324         BSD terminal modes definitions.
19326 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19328         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19329         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19331         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19332         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19333         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19334         Don't do #include_next.
19335         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19336         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19337         Don't do #include_next.
19338         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19339         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19340         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19341         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19343 2014-05-16  Allan McRae  <allan@archlinux.org>
19345         * po/sv.po: Update Swedish translation from translation project.
19347         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19348         in sed expression.
19350 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19352         [BZ #16917]
19353         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19354         errno if the TIOCGPTN ioctl fails with an error different than
19355         EINVAL.
19356         * login/tst-ptsname.c: New file.
19357         * login/Makefile (tests): Add tst-ptsname.
19359         [BZ #16943]
19360         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19361         and prlimit64.
19363 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19365         [BZ #16849]
19366         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19367         herrno to return EAI_AGAIN.
19369 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19371         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19372         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19373         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19374         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19375         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19376         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19377         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19378         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19379         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19380         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19381         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19382         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19383         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19384         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19385         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19386         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19387         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19388         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19389         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19390         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19391         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19392         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19393         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19394         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19395         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19396         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19397         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19398         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19399         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19400         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19402         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19404         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19406         Moved ...
19407         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19409         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19411         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19413         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19415         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19417         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19419         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19421         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19423         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19425         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19427         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19429         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19431         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19433         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19435         Moved ...
19436         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19438         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19440         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19442         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19444         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19446         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19448         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19450         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19452         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19454         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19456         Moved ...
19457         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19459         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19461         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19462         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19463         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19464         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19465         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19466         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19467         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19468         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19469         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19470         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19471         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19472         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19473         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19474         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19475         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19476         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19477         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19478         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19479         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19480         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19481         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19482         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19483         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19484         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19485         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19486         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19487         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19488         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19489         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19490         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19491         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19493         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19494         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19496         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19497         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19498         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19499         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19500         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19501         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19502         Moved ...
19503         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19504         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19505         Moved ...
19506         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19507         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19508         Moved ...
19509         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19510         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19511         Moved ...
19512         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19513         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19514         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19515         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19516         Moved ...
19517         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19518         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19519         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19520         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19521         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19522         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19523         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19524         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19525         Moved ...
19526         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19527         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19528         Moved ...
19529         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19530         ... here.
19531         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19532         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19533         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19534         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19535         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19536         Moved ...
19537         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19538         ... here.
19539         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19540         Moved ...
19541         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19542         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19543         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19544         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19545         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19546         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19547         Moved ...
19548         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19549         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19550         Moved ...
19551         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19552         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19553         Moved ...
19554         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19555         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19556         Moved ...
19557         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19558         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19559         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19560         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19561         Moved ...
19562         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19563         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19564         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19565         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19566         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19567         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19568         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19569         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19570         Moved ...
19571         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19572         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19573         Moved ...
19574         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19575         ... here.
19576         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19577         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19578         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19579         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19580         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19581         Moved ...
19582         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19583         ... here.
19584         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19585         Moved ...
19586         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19587         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19588         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19589         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19590         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19591         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19592         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19593         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19594         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19595         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19596         Moved ...
19597         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19598         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19599         Moved ...
19600         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19601         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19602         Moved ...
19603         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19604         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19605         Moved ...
19606         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19607         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19608         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19609         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19610         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19611         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19612         Moved ...
19613         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19614         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19615         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19616         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19617         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19618         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19619         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19620         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19621         Moved ...
19622         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19623         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19624         Moved ...
19625         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19626         ... here.
19627         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19628         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19629         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19630         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19631         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19632         Moved ...
19633         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19634         ... here.
19635         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19636         Moved ...
19637         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19638         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19639         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19640         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19641         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19642         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19643         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19644         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19645         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19646         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19647         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19649         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19650         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19652         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19653         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19655         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19656         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19657         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19658         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19659         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19660         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19661         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19662         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19663         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19664         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19665         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19666         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19667         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19668         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19669         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19670         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19671         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19672         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19673         Moved ...
19674         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19675         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19676         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19677         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19678         Moved ...
19679         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19680         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19681         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19682         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19683         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19684         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19685         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19686         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19687         Moved ...
19688         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19689         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19690         Moved ...
19691         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19692         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19693         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19694         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19695         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19696         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19697         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19698         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19699         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19700         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19701         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19702         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19703         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19704         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19705         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19706         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19707         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19709         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19710         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19711         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19712         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19713         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19715         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19716         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19717         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19718         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19719         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19720         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19721         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19722         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19723         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19724         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19726         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19727         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19729         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19730         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19731         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19732         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19733         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19734         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19735         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19736         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19737         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19738         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19739         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19740         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19741         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19742         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19743         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19744         Update #include.
19745         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19746         Likewise.
19747         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19748         Likewise.
19749         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19750         Likewise.
19751         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19752         Likewise.
19753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19754         Likewise.
19755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19756         Likewise.
19757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19758         Likewise.
19759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19760         Likewise.
19761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19762         Likewise.
19763         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19764         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19765         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19766         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19767         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19768         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19769         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19770         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19771         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19772         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19773         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19774         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19775         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19776         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19777         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19779         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19780         that was previously under [RESET_PID].
19781         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19782         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19783         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19785         * sysdeps/i386/nptl/Implies: New file.
19786         * sysdeps/x86_64/nptl/Implies: New file.
19787         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19788         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19789         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19790         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19792         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19793         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19794         (__libc_vfork): New strong alias.
19795         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19796         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19798         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19799         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19800         (__libc_vfork): New strong alias.
19801         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19802         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19804         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19805         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19806         (__libc_vfork): New strong alias.
19807         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19808         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19809         * nptl/pt-vfork.c: New file.
19810         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19811         (libpthread: GLIBC_2.20): New version set (empty).
19813 2014-05-14  Will Newton  <will.newton@linaro.org>
19815         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19816         rather than #if.
19818 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19820         [BZ #16564]
19821         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19822         arguments with exponent 65 or above.
19823         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19824         arguments 0x1p113L or above.
19825         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19826         to arguments 0x1p107L or above.
19827         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19828         positive arguments with exponent 65 or above.
19829         * math/auto-libm-test-in: Add more tests of log1p.
19830         * math/auto-libm-test-out: Regenerated.
19832         [BZ #16928]
19833         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19834         non-finite arguments is +0.
19835         * math/s_cacosf.c (__cacosf): Likewise.
19836         * math/s_cacosl.c (__cacosl): Likewise.
19837         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19838         * sysdeps/i386/fpu/libm-test-ulps: Update.
19839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19841         [BZ #16927]
19842         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19843         value.
19844         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19845         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19846         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19847         for explicit high bit of mantissa when testing for argument equal
19848         to 1.
19849         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19850         * sysdeps/i386/fpu/libm-test-ulps: Update.
19851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19853         [BZ #16516]
19854         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19855         (__erf): Scale by 16 instead of 8 in potentially underflowing
19856         case.  Ensure exception if result actually underflows.
19857         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19858         (__erff): Scale by 16 instead of 8 in potentially underflowing
19859         case.  Ensure exception if result actually underflows.
19860         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19861         (efx8): Remove variable.
19862         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19863         case.  Ensure exception if result actually underflows.
19864         * sysdeps/ieee754/ldbl-128ibm/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-96/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         * math/auto-libm-test-in: Add more tests of erf.
19873         * math/auto-libm-test-out: Regenerated.
19875 2014-05-14  Andreas Schwab  <schwab@suse.de>
19877         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19878         Remove code conditionalized on USE___THREAD.
19880         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19881         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19882         not definedness.
19884 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19886         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19887         Define unconditionally.
19888         (__ASSUME_O_CLOEXEC): Likewise.
19889         (__ASSUME_SOCK_CLOEXEC): Likewise.
19890         (__ASSUME_IN_NONBLOCK): Likewise.
19891         (__ASSUME_PIPE2): Likewise.
19892         (__ASSUME_EVENTFD2): Likewise.
19893         (__ASSUME_SIGNALFD4): Likewise.
19894         (__ASSUME_DUP3): Likewise.
19895         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19896         (__ASSUME_DUP3): Do not define.
19897         (__ASSUME_EVENTFD2): Likewise.
19898         (__ASSUME_IN_NONBLOCK): Likewise.
19899         (__ASSUME_O_CLOEXEC): Likewise.
19900         (__ASSUME_PIPE2): Likewise.
19901         (__ASSUME_SIGNALFD4): Likewise.
19902         (__ASSUME_SOCK_CLOEXEC): Likewise.
19903         (__ASSUME_UTIMES): Undefine.
19904         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19905         (__ASSUME_UTIMES): Do not define.
19906         (__ASSUME_O_CLOEXEC): Likewise.
19907         (__ASSUME_SOCK_CLOEXEC): Likewise.
19908         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19909         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19910         0x020621].
19911         (__ASSUME_PIPE2): Likewise.
19912         (__ASSUME_EVENTFD2): Likewise.
19913         (__ASSUME_SIGNALFD4): Likewise.
19914         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19915         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19916         Do not define.
19917         (__ASSUME_EVENTFD2): Likewise.
19918         (__ASSUME_SIGNALFD4): Likewise.
19919         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19920         (__ASSUME_32BITUIDS): Likewise.
19921         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19922         (__ASSUME_IPC64): Likewise.
19923         (__ASSUME_ST_INO_64_BIT): Likewise.
19924         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19925         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19926         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19927         (__ASSUME_UTIMES): Do not define.
19928         (__ASSUME_PSELECT): Likewise.
19929         (__ASSUME_PPOLL): Likewise.
19930         (__ASSUME_O_CLOEXEC): Likewise.
19931         (__ASSUME_SOCK_CLOEXEC): Likewise.
19932         (__ASSUME_IN_NONBLOCK): Likewise.
19933         (__ASSUME_PIPE2): Likewise.
19934         (__ASSUME_EVENTFD2): Likewise.
19935         (__ASSUME_SIGNALFD4): Likewise.
19936         (__ASSUME_DUP3): Likewise.
19937         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19938         (__ASSUME_UTIMES): Likewise.
19939         (__ASSUME_O_CLOEXEC): Likewise.
19940         (__ASSUME_SOCK_CLOEXEC): Likewise.
19941         (__ASSUME_IN_NONBLOCK): Likewise.
19942         (__ASSUME_PIPE2): Likewise.
19943         (__ASSUME_EVENTFD2): Likewise.
19944         (__ASSUME_SIGNALFD4): Likewise.
19945         (__ASSUME_DUP3): Likewise.
19946         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19947         (__ASSUME_UTIMES): Likewise.
19948         (__ASSUME_O_CLOEXEC): Likewise.
19949         (__ASSUME_SOCK_CLOEXEC): Likewise.
19950         (__ASSUME_IN_NONBLOCK): Likewise.
19951         (__ASSUME_PIPE2): Likewise.
19952         (__ASSUME_EVENTFD2): Likewise.
19953         (__ASSUME_SIGNALFD4): Likewise.
19954         (__ASSUME_DUP3): Likewise.
19955         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19956         Likewise.
19957         (__ASSUME_UTIMES): Likewise.
19958         (__ASSUME_EVENTFD2): Likewise.
19959         (__ASSUME_SIGNALFD4): Likewise.
19960         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19961         (__ASSUME_O_CLOEXEC): Likewise.
19962         (__ASSUME_SOCK_CLOEXEC): Likewise.
19963         (__ASSUME_IN_NONBLOCK): Likewise.
19964         (__ASSUME_PIPE2): Likewise.
19965         (__ASSUME_EVENTFD2): Likewise.
19966         (__ASSUME_SIGNALFD4): Likewise.
19967         (__ASSUME_DUP3): Likewise.
19968         (__ASSUME_UTIMES): Undefine.
19970         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19971         feclearexcept.  Remove symbol versioning code.
19972         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19973         symbol versioning code.
19974         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19975         symbol versioning code.
19976         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19977         feupdateenv.  Remove symbol versioning code.
19978         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19979         fegetexceptflag.  Remove symbol versioning code.
19980         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19981         fesetexceptflag.  Remove symbol versioning code.
19982         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19983         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19984         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19985         (__posix_fadvise64_l32): Remove prototype.
19986         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19987         code.
19989 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19991         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19992         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19993         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19994         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19996 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19998         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19999         current working directory
20001 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20003         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20004         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20005         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20006         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20007         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20008         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20009         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20010         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20011         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20012         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20013         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20014         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20015         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20016         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20017         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20018         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20019         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20020         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20021         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20022         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20023         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20024         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20025         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20026         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20027         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20028         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20029         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20030         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20031         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20032         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20033         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20034         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20035         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20036         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20037         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20038         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20039         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20040         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20041         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20042         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20043         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20044         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20046         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20047         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20049         * sysdeps/unix/sysv/linux/arm/Makefile
20050         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20051         Add rt-aeabi_unwind_cpp_pr1.
20052         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20053         Add nptl-aeabi_unwind_cpp_pr1.
20054         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20055         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20056         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20057         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20058         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20059         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20061         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20062         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20063         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20064         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20066         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20067         Deconditionalize the code that was previously under [RESET_PID].
20068         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20070         * sysdeps/generic/exit-thread.h: New file.
20071         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20072         * include/unistd.h (__exit_thread): Remove declaration.
20073         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20074         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20075         * csu/libc-start.c: Include <exit-thread.h>.
20076         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20077         * nptl/pthread_create.c: Include <exit-thread.h>.
20078         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20079         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20080         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20081         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20082         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20083         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20084         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20085         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20086         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20087         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20088         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20089         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20090         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20091         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20092         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20093         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20094         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20096 2014-05-13  Andreas Schwab  <schwab@suse.de>
20098         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20100 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20102         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20103         (__ASSUME_UTIMES): Do not condition on kernel version.
20104         (__ASSUME_PSELECT): Define unconditionally.
20105         (__ASSUME_PPOLL): Likewise.
20106         (__ASSUME_ATFCTS): Likewise.
20107         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20108         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20109         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20110         (__ASSUME_UTIMENSAT): Define unconditionally.
20111         (__ASSUME_PRIVATE_FUTEX): Likewise.
20112         (__ASSUME_FALLOCATE): Likewise.
20113         (__ASSUME_O_CLOEXEC): Likewise.
20114         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20115         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20116         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20117         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20118         (__ASSUME_IN_NONBLOCK): Likewise.
20119         (__ASSUME_PIPE2): Likewise.
20120         (__ASSUME_EVENTFD2): Likewise.
20121         (__ASSUME_SIGNALFD4): Likewise.
20122         (__ASSUME_DUP3): Likewise.
20123         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20124         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20125         (__ASSUME_AT_RANDOM): Likewise.
20126         (__ASSUME_PREADV): Likewise.
20127         (__ASSUME_PWRITEV): Likewise.
20128         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20129         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20130         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20131         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20132         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20133         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20134         (__ASSUME_O_CLOEXEC): Define unconditionally.
20135         (__ASSUME_PSELECT): Do not undefine conditionally.
20136         (__ASSUME_PPOLL): Likewise.
20137         (__ASSUME_ATFCTS): Likewise.
20138         (__ASSUME_SET_ROBUST_LIST): Likewise.
20139         (__ASSUME_UTIMENSAT): Likewise.
20140         (__ASSUME_FDATASYNC): Define unconditionally.
20141         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20142         (__ASSUME_SIGFRAME_V2): Likewise.
20143         )__ASSUME_EVENTFD2): Likewise.
20144         (__ASSUME_SIGNALFD4): Likewise.
20145         (__ASSUME_PSELECT): Do not undefine conditionally.
20146         (__ASSUME_PPOLL): Likewise.
20147         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20148         (__ASSUME_PSELECT): Define unconditionally.
20149         (__ASSUME_PPOLL): Likewise.
20150         (__ASSUME_O_CLOEXEC): Likewise.
20151         (__ASSUME_SOCK_CLOEXEC): Likewise.
20152         (__ASSUME_IN_NONBLOCK): Likewise.
20153         (__ASSUME_PIPE2): Likewise.
20154         (__ASSUME_EVENTFD2): Likewise.
20155         (__ASSUME_SIGNALFD4): Likewise.
20156         (__ASSUME_DUP3): Likewise.
20157         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20158         (__ASSUME_O_CLOEXEC): Likewise.
20159         (__ASSUME_SOCK_CLOEXEC): Likewise.
20160         (__ASSUME_IN_NONBLOCK): Likewise.
20161         (__ASSUME_PIPE2): Likewise.
20162         (__ASSUME_EVENTFD2): Likewise.
20163         (__ASSUME_SIGNALFD4): Likewise.
20164         (__ASSUME_DUP3): Likewise.
20165         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20166         (__ASSUME_EVENTFD2): Likewise.
20167         (__ASSUME_SIGNALFD4): Likewise.
20168         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20170 2014-05-12  Andreas Schwab  <schwab@suse.de>
20172         [BZ #16932]
20173         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20174         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20175         than maximum RPC packet size.
20176         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20177         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20178         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20179         (_nss_nis_getservbyport_r): Likewise.
20181 2014-05-12  Will Newton  <will.newton@linaro.org>
20183         * malloc/Makefile (tests): Add tst-mallopt.
20184         * malloc/tst-mallopt.c: New file.
20186 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20188         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20189         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20191 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20193         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20194         (tst-tlsmod6.so): Likewise.
20196 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20198         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20200 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20202         [BZ #16064]
20203         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20204         and <dl-procinfo.h>.
20205         (__fegetenv): Save SSE state in envp->__eip if supported.
20206         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20207         envp->__eip if supported.
20208         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20209         and <dl-procinfo.h>.
20210         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20211         __data_offset and __data_selector in environment to 0.  Set SSE
20212         state if supported.
20213         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20214         test-fenv-sse.
20215         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20216         -mfpmath=sse.
20217         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20219 2014-05-09  Will Newton  <will.newton@linaro.org>
20221         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20222         and libc_relro_required for ARM.
20223         * sysdeps/arm/preconfigure: Regenerate.
20225 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20226             Stefan Liebler  <stli@linux.vnet.ibm.com>
20228         * config.make.in (enable-lock-elision): New Makefile variable.
20229         * configure.ac: Likewise.
20230         * configure: Regenerate.
20231         * sysdeps/s390/configure.ac:
20232         Add check for gcc transactions support.
20233         * sysdeps/s390/configure: Regenerate.
20234         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20235         Build elision files if enabled.
20236         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20237         Add lock elision support for s390.
20238         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20239         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20240         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20241         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20242         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20243         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20244         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20245         Likewise.
20246         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20247         Likewise.
20248         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20249         Likewise.
20250         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20251         Likewise.
20252         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20253         (__lll_timedlock_elision, __lll_lock_elision)
20254         (__lll_unlock_elision, __lll_trylock_elision)
20255         (lll_timedlock_elision, lll_lock_elision)
20256         (lll_unlock_elision, lll_trylock_elision): Add.
20257         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20258         (pthread_mutex_t): Add lock elision support for s390.
20260 2014-05-14  Wilco  <wdijkstr@arm.com>
20262         * sysdeps/arm/fclrexcpt.c: Cleanup.
20263         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20264         * sysdeps/arm/feenablxcpt.c: Cleanup.
20265         * sysdeps/arm/fegetenv.c: Cleanup.
20266         * sysdeps/arm/fegetexcept.c: Cleanup.
20267         * sysdeps/arm/fegetround.c: Cleanup.
20268         * sysdeps/arm/feholdexcpt.c: Cleanup.
20269         * sysdeps/arm/fesetenv.c: Cleanup.
20270         * sysdeps/arm/fesetround.c: Cleanup.
20271         * sysdeps/arm/feupdateenv.c: Cleanup.
20272         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20273         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20274         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20275         * sysdeps/arm/ftestexcept.c: Cleanup.
20276         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20277         * sysdeps/arm/setfpucw.c: Cleanup.
20279 2014-05-09  Will Newton  <will.newton@linaro.org>
20281         * sysdeps/arm/armv7/strcmp.S: New file.
20282         * NEWS: Mention addition of ARMv7 optimized strcmp.
20284 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20286         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20287         look for %.ac rather than %.in.
20289         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20290         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20291         * sysdeps/mach/hurd/configure: Regenerated.
20292         * sysdeps/unix/sysv/linux/configure: Regenerated.
20294         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20296 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20298         [BZ# 16922]
20299         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20300         (LONG_SUB): Ditto.
20301         (PTR_SUB): Ditto.
20303 2014-05-07  Andreas Schwab  <schwab@suse.de>
20305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20306         when skipping over non-matching result from nscd.
20308 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20310         [BZ #16876]
20311         * nptl/sockperf.c (client): Check socket return value.
20313         [BZ #16877]
20314         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20315         nscd security class.
20317 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20319         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20320         * sysdeps/arm/unwind.h: ... here.
20322 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20324         [BZ# 16916]
20325         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20326         Define.
20328 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20330         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20331         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20332         multiarch strncpy for PPC64.
20333         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20334         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20336         multiarch optimizations.
20337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20338         (__libc_ifunc_impl_list): Likewise.
20339         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20340         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20341         multiarch stpncpy for PPC64.
20342         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20343         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20345 2014-05-06  Andreas Schwab  <schwab@suse.de>
20347         [BZ #16912]
20348         * gmon/mcount.c (_MCOUNT_DECL): Use
20349         atomic_compare_and_exchange_bool_acq instead of
20350         catomic_compare_and_exchange_bool_acq.
20352 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20354         * elf/Makefile (others, install-bin): Remove pldd.
20355         (pldd-modules): Variable removed.
20356         ($(objpfx)pldd): Target removed.
20357         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20358         (others, install-bin): Append pldd here.
20359         ($(objpfx)pldd): New target.
20361         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20362         to 0, so the first #if test emitted later doesn't see it undefined.
20363         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20364         * sysdeps/gnu/errlist.c: Regenerated.
20366 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20368         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20369         [libc_hidden_builtin_def]: Define to empty value.
20370         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20371         [libc_hidden_builtin_def]: Likewise.
20372         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20373         [libc_hidden_builtin_def]: Likewise.
20374         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20375         [libc_hidden_builtin_def]: Likewise.
20376         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20377         __redirect_memcpy and define ifunc as default hidden symbol.
20378         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20379         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20381 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20383         * locale/iso-4217.def: Reintroduce XDR currency.
20385 2014-05-04  Allan McRae  <allan@archlinux.org>
20387         * po/eo.po: Update Esperanto translation from translation project.
20389 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20391         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20392         and FEATURE_INDEX_MAX to 1.
20393         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20395 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20397         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20398         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20399         * iconvdata/big5.c (ONE_DIRECTION): Define.
20400         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20401         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20402         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20403         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20404         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20405         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20406         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20407         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20408         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20409         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20410         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20411         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20412         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20413         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20414         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20415         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20416         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20417         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20418         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20419         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20420         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20421         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20422         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20423         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20424         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20425         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20426         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20427         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20428         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20429         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20430         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20431         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20432         * iconvdata/johab.c (ONE_DIRECTION): Define.
20433         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20434         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20435         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20436         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20437         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20438         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20439         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20440         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20441         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20442         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20444 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20446         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20447         (_IO_JUMPS_OFFSET): Define to 0.
20449         * nptl/sysdeps/pthread/bits/libc-lock.h
20450         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20451         (__libc_lock_define_initialized_recursive): Always define using
20452         initializer.  Modern compilers treat uninitialized (implicit zero) and
20453         explicit zero initializers the same (i.e. put the datum in bss).
20455 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20457         * nscd/nscd-client.h: Include <string.h>.
20459 2014-05-01  David S. Miller  <davem@davemloft.net>
20461         [BZ #16885]
20462         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20463         multiple zero bytes exist at the end of a string.
20464         Reported by Aurelien Jarno <aurelien@aurel32.net>
20466         * string/test-strcmp.c (check): Add explicit test for situations where
20467         there are multiple zero bytes after the first.
20469 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20471         [BZ #16890]
20472         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20473         when compiling wprintf.
20474         * stdio-common/tstdiomisc.c (t3): New function.
20475         (main): Call it.
20477 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20479         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20480         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20481         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20482         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20484 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20486         * stdlib/longlong.h: Updated from GCC.
20488 2014-05-01  Will Newton  <will.newton@linaro.org>
20489             Bernard Ogden  <bernie.ogden@linaro.org>
20491         * NEWS: Update fixed bug list.
20493         [BZ #15119]
20494         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20496 2014-04-30  David S. Miller  <davem@davemloft.net>
20498         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20499         (libc_feholdexcept_setround_sparc_ctx): New function.
20500         (libc_fesetenv_sparc_ctx): Likewise.
20501         (libc_feupdateenv_sparc_ctx): Likewise.
20502         (libc_feholdsetround_sparc_ctx): Likewise.
20503         (libc_feholdexcept_setround_ctx): Define.
20504         (libc_feholdexcept_setroundf_ctx): Likewise.
20505         (libc_feholdexcept_setroundl_ctx): Likewise.
20506         (libc_fesetenv_ctx): Likewise.
20507         (libc_fesetenvf_ctx): Likewise.
20508         (libc_fesetenvl_ctx): Likewise.
20509         (libc_feupdateenv_ctx): Likewise.
20510         (libc_feupdateenvf_ctx): Likewise.
20511         (libc_feupdateenvl_ctx): Likewise.
20512         (libc_feresetround_ctx): Likewise.
20513         (libc_feresetroundf_ctx): Likewise.
20514         (libc_feresetroundl_ctx): Likewise.
20515         (libc_feholdsetround_ctx): Likewise.
20516         (libc_feholdsetroundf_ctx): Likewise.
20517         (libc_feholdsetroundl_ctx): Likewise.
20519         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20520         with __USE_GNU instead of XOPEN cpp guards.
20522         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20523         0.
20525         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20526         with XOPEN cpp guards.
20528 2014-04-30  Julian Brown  <julian@codesourcery.com>
20530         [BZ #16888]
20531         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20532         handling.
20534 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20536         [BZ #9894]
20537         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20538         Change to 2.6.32.
20539         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20540         * sysdeps/unix/sysv/linux/configure: Regenerated.
20541         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20542         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20543         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20544         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20545         * README: Update reference to required Linux kernel version.
20546         * manual/install.texi (Linux): Update reference to required Linux
20547         kernel headers version.
20548         * INSTALL: Regenerated.
20550         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20551         header inclusion.
20552         [POSIX] (limits.h): Likewise.
20553         [POSIX] (math.h): Likewise.
20554         [POSIX] (sys/wait.h): Likewise.
20555         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20556         function.
20557         [POSIX] (stddef.h): Do not allow header inclusion.
20559 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20561         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20563 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20565         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20566         Return immediately after lll_futex_wake.
20568 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20570         [BZ #16791]
20571         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20572         structure.
20573         (datahead_init_pos): Call datahead_init_common early.
20574         (datahead_init_neg): Likewise.
20576         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20577         datahead_init_neg): New functions.
20578         * nscd/aicache.c (addhstaiX): Use them.
20579         * nscd/grpcache.c (cache_addgr): Likewise.
20580         * nscd/hstcache.c (cache_addhst): Likewise.
20581         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20582         * nscd/netgroupcache.c (do_notfound): Likewise.
20583         (addgetnetgrentX): Likewise.
20584         (addinnetgrX): Likewise.
20585         * nscd/pwdcache.c (cache_addpw): Likewise.
20586         * nscd/servicescache.c (cache_addserv): Likewise.
20588 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20589             Atsushi Onoe  <atsushi@onoe.org>
20591         [BZ #14308]
20592         [BZ #12994]
20593         [BZ #13651]
20594         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20595         one response is valid.
20596         * resolv/res_send.c (send_dg): Check for validity of other
20597         response if the current response is a referral.
20599 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20601         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20603 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20605         [BZ #16823]
20606         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20607         Always divide by positive zero when computing -Inf result.
20608         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20609         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20611 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20613         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20614         FPSCR if value do not change.
20615         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20616         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20617         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20618         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20619         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20620         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20621         function.
20623 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20625         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20626         * sysdeps/unix/sysv/linux/hppa: Move directory from
20627         ports/systeps/unix/sysv/linux/hppa.
20628         * README: Update listing for hppa-*-linux-gnu.
20630 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20632         [BZ #16754]
20633         * manual/stdio.texi (Hook functions): Fix types of stream hook
20634         functions.
20635         [BZ #16854]
20636         * socket/sys/socket.h: Fix typo in comment.
20638 2014-04-28  Wilco  <wdijkstr@arm.com>
20640         * sysdeps/arm/fenv_private.h: New file.
20641         * sysdeps/arm/math_private.h: New file.
20642         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20644 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20646         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20647         with __int128_t.
20648         (La_x86_64_retval): Likewise.
20650 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20652         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20653         fpsr if value didn't change.
20654         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20655         to fpcr if value didn't change.
20656         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20657         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20658         fpsr or fpcr if value didn't change.
20659         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20660         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20661         fpcr if value didn't change.
20662         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20663         to fpsr if value didn't change.
20665 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20667         * nptl/tst-sem3.c: Use test-skeleton.c
20668         (main): Rename to do_test.  Use return instead of
20669         exit.
20670         * nptl/tst-sem4.c: Use test-skeleton.c
20671         (main): Rename to do_test.
20673 2014-04-22  David S. Miller  <davem@davemloft.net>
20675         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20676         (struct sigaction): New struct member __glibc_reserved0, change
20677         type of sa_flags to int.
20679 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20681         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20682         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20684 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20686         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20687         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20689 2014-04-22  Will Newton  <will.newton@linaro.org>
20690             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20692         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20693         (__longjmp): Add longjmp and longjmp_target SystemTap
20694         probes.
20695         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20696         (__sigsetjmp): Add setjmp SystemTap probe.
20698 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20700         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20701         match manual order.
20703 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20705         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20707         * sysdeps/powerpc/fpu/fenv_private.h
20708         (libc_feholdexcept_setroundl_ctx): Define to
20709         libc_feholdexcept_setround_ppc_ctx.
20710         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20711         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20712         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20713         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20715 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20717         * sysdeps/aarch64/math-tests.h: New file.
20719 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20721         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20722         New.
20723         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20724         Check and set bit_AVX2_Usable.
20725         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20726         macro.
20727         (bit_AVX2): Likewise.
20728         (index_AVX2_Usable): Likewise.
20729         (CPUID_AVX2): Likewise.
20730         (HAS_AVX2): Likewise.
20732 2014-04-17  Will Newton  <will.newton@linaro.org>
20734         * manual/setjmp.texi (System V contexts): Add note that
20735         calling setcontext on a context created by a call to a
20736         signal handler is undefined.  Update text to note that
20737         setcontext from a signal handler is possible but not
20738         recommended.
20740         [BZ #16629]
20741         * stdlib/tst-setcontext.c: Include signal.h.
20742         (main): Check that the signal stack before and
20743         after swapcontext is the same.
20745         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20746         Re-implement to restore registers in user code and avoid
20747         rt_sigreturn system call.
20749 2014-04-17  Wilco  <wdijkstr@arm.com>
20751         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20752         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20753         * math/test-fenv.c: Skip exception trap tests on targets which only
20754         support non-stop mode.
20756 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20757             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20759         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20760         (libc_feholdsetround_aarch64_ctx)
20761         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20762         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20763         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20764         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20765         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20766         (libc_feresetround_noexl_ctx): Define.
20768 2014-04-16  Richard Henderson  <rth@redhat.com>
20770         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20772         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20773         unwind tables.
20775         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20776         const from the non-libc, non-ldso copy.
20778         * sysdeps/alpha/libm-test-ulps: Regenerate.
20780 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20781             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20783         * sysdeps/aarch64/fpu/math_private.h: New file.
20785 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20787         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20789 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20791         [BZ #16275]
20792         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20793         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20794         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20795         Intel MPX bound registers before _dl_profile_fixup.
20796         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20797         registers after _dl_profile_fixup.  Save and restore bound
20798         registers bnd0/bnd1 when calling _dl_call_pltexit.
20799         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20800         (LR_BND_OFFSET): Likewise.
20801         (LRV_BND0_OFFSET): Likewise.
20802         (LRV_BND1_OFFSET): Likewise.
20804 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20806         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20807         to...
20808         * sysdeps/mach/hurd/i386/tls.h: ... here.
20809         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20810         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20811         fields.
20813 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20815         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20817 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20819         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20821 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20823         [BZ #14770]
20824         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20825         * sysdeps/s390/configure: Regenerate.
20827         [BZ #16824]
20828         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20829         Set round-to-nearest internally to reduce error accumulation.
20831 2014-04-16  Alan Modra  <amodra@gmail.com>
20833         [BZ #16740]
20834         [BZ #16619]
20835         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20836         * math/libm-test.inc (frexp_test_data): Add tests.
20837         * NEWS: Update fixed bug list.
20839 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20841         * benchtests/Makefile: Depend on libraries in build directory.
20842         (bench-math): Separate out math tests.
20843         (bench-pthread): Separate out pthread tests.
20844         (bench): Include math and pthread tests.
20846 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20848         [BZ #16831]
20849         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20850         _dl_debug_initialize.
20852         * configure.ac: Remove SELinux header check.
20853         * configure: Regenerate.
20854         * nscd/selinux.c (perms): Array of const char* to permission names.
20855         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20856         default policy. Call string_to_security_class and string_to_av_perm to
20857         translate strings. Enforce default policy and call avs_has_perm with
20858         results of translated strings.
20860 2014-04-13  David S. Miller  <davem@davemloft.net>
20862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20864 2014-04-12  Allan McRae  <allan@archlinux.org>
20866         [BZ #16838]
20867         * manual/string.texi (Collation Functions): Fix qsort argument
20868         order in example.
20869         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20871 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20873         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20874         Make the test a no-op if there are no exceptions defined.
20876 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20878         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20879         enable-hardcoded-path-in-tests
20881 2014-04-11  Will Newton  <will.newton@linaro.org>
20883         * benchtests/Makefile (extra-objs): Add json-lib.o.
20884         (bench-func): Tidy up JSON output.
20885         * benchtests/bench-skeleton.c: Include json-lib.h.
20886         (main): Use JSON library functions to do output of
20887         benchmark results.
20888         * benchtests/bench-timing-type.c (main): Output the
20889         timing type simply, leaving formatting to the user.
20890         * benchtests/json-lib.c: New file.
20891         * benchtests/json-lib.h: Likewise.
20893 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20895         [BZ #15215]
20896         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20897         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20898         memory barriers.  Add comments.
20899         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20900         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20901         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20902         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20903         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20904         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20906 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20908         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20909         * sysdeps/s390/s390-64/configure.ac: ... this ...
20910         * sysdeps/s390/configure.ac: ... to here.
20911         * sysdeps/s390/s390-32/configure: Delete file.
20912         * sysdeps/s390/s390-64/configure: Delete file.
20913         * sysdeps/s390/configure: Regenerate.
20915 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20917         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20919 2014-04-11  Will Newton  <will.newton@linaro.org>
20921         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20922         to zero if it is not defined elsewhere.  (mtrim): Test
20923         the value of MALLOC_DEBUG with #if rather than #ifdef.
20925 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20927         * benchtests/pthread_once-inputs: New file.
20928         * benchtests/pthread_once-source.c: New file.
20929         * benchtests/README: Update documentation.
20931 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20932             H.J. Lu  <hongjiu.lu@intel.com>
20934         [BZ #16275]
20935         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20936         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20937         * sysdeps/x86_64/configure: Regenerated.
20938         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20939         macro.
20940         (REGISTER_SAVE_RAX): Likewise.
20941         (REGISTER_SAVE_RCX): Likewise.
20942         (REGISTER_SAVE_RDX): Likewise.
20943         (REGISTER_SAVE_RSI): Likewise.
20944         (REGISTER_SAVE_RDI): Likewise.
20945         (REGISTER_SAVE_R8): Likewise.
20946         (REGISTER_SAVE_R9): Likewise.
20947         (REGISTER_SAVE_BND0): Likewise.
20948         (REGISTER_SAVE_BND1): Likewise.
20949         (REGISTER_SAVE_BND2): Likewise.
20950         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20951         bound registers when calling _dl_fixup.
20953 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20955         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20956         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20957         of its definition.
20958         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20959         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20960         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20961         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20962         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20963         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20964         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20966 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20968         [BZ #15514]
20969         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20970         pathconf(_PC_NAME_MAX).
20972 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20974         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20975         Remove macro usage.
20976         (__PTHREAD_SPINS): Move definition to ...
20977         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20978         (__PTHREAD_SPINS): ... here.
20979         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20980         (__PTHREAD_SPIN): Likewise.
20981         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20982         (__PTHREAD_SPIN): Likewise.
20983         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20984         (__PTHREAD_SPIN): Likewise.
20985         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20986         (__PTHREAD_SPIN): Likewise.
20987         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20988         (__PTHREAD_SPIN): Likewise.
20989         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20990         (__PTHREAD_SPIN): Likewise.
20991         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20992         (__PTHREAD_SPIN): Likewise.
20993         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20994         (__PTHREAD_SPIN): Likewise.
20995         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20996         (__PTHREAD_SPIN): Likewise.
20997         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20998         (__PTHREAD_SPIN): Likewise.
20999         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21000         (__PTHREAD_SPIN): Likewise.
21001         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21002         (__PTHREAD_SPIN): Likewise.
21004         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21005         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21006         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21007         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21008         imply folder.
21009         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21010         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21011         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21012         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21013         correct imply path.
21014         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21015         strlen symbol for non multi-arch builds.
21016         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21017         missing hidden_def and weak_alias.
21019 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21021         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21023 2014-04-07  Will Newton  <will.newton@linaro.org>
21025         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21026         and contents.  [!_LIBC] Remove #ifndef and contents.
21027         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21028         * string/memccpy.c (__memccpy): Use ANSI prototype.
21029         * string/memfrob.c (memfrob): Likewise.
21030         * string/strcoll.c (STRCOLL): Likewise.
21031         * string/strlen.c (strlen): Likewise.
21032         * string/strtok.c (STRTOK): Likewise.
21033         * string/strcat.c: Remove unused #include of memcopy.h.
21034         (strcat): Use ANSI prototype.
21035         * string/strchr.c: Remove unused #include of memcopy.h.
21036         (strchr): Use ANSI prototype.
21037         * string/strcmp.c: Remove unused #include of memcopy.h.
21038         (strcmp): Use ANSI prototype.
21039         * string/strcpy.c: Remove unused #include of memcopy.h.
21040         (strcpy): Use ANSI prototype.
21042 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21044         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21045         * config.make.in (config-extra-cppflags): Set it from
21046         libc_extra_cppflags.
21047         * configure.ac (libc_extra_cflags): Make it accumulate over
21048         configure fragments.
21049         (libc_extra_cppflags): New flag.
21050         * configure. Regenerate.
21051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21052         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21053         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21056         [BZ #16815]
21057         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21058         result for FE_DOWNWARD rounding mode.
21059         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21060         Likewise.
21061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21063 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21065         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21066         in function argument name.
21068 2014-04-03  David Svoboda  <svoboda@cert.org>
21070         [BZ #5666]
21071         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21072         explicitly.
21074 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21076         * elf/dl-unmap-segments.h: New file.
21077         * sysdeps/generic/ldsodefs.h
21078         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21079         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21080         * elf/dl-fptr.c: Likewise.
21081         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21082         * sysdeps/aarch64/tlsdesc.c: Likewise.
21083         * sysdeps/arm/tlsdesc.c: Likewise.
21084         * sysdeps/i386/tlsdesc.c: Likewise.
21085         * sysdeps/tile/dl-runtime.c: Likewise.
21086         * sysdeps/x86_64/tlsdesc.c: Likewise.
21087         * elf/dl-load.h: New file.
21088         * elf/dl-load.c: Include it.
21089         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21090         Macros moved to dl-load.h.
21091         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21092         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21093         Use _dl_unmap_segments in place of __munmap.
21094         Break out segment-mapping loop into ...
21095         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21097 2014-04-03  Will Newton  <will.newton@linaro.org>
21099         * elf/dl-lookup.c (do_lookup_x): Remove comment
21100         referring to nested function and move variable
21101         declarations down to before first use.
21103 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21105         [BZ #16799]
21106         [BZ #16800]
21107         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21108         with 0 numerator.
21109         * math/s_catanf.c (__catanf): Likewise.
21110         * math/s_catanh.c (__catanh): Likewise.
21111         * math/s_catanhf.c (__catanhf): Likewise.
21112         * math/s_catanhl.c (__catanhl): Likewise.
21113         * math/s_catanl.c (__catanl): Likewise.
21114         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21115         by positive zero when computing -Inf result.
21116         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21117         (catanh_test): Likewise.
21118         * sysdeps/i386/fpu/libm-test-ulps: Update.
21119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21121         [BZ #16789]
21122         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21123         instead of using underflowing value in computing result.
21124         * math/s_clog10.c (__clog10): Likewise.
21125         * math/s_clog10f.c (__clog10f): Likewise.
21126         * math/s_clog10l.c (__clog10l): Likewise.
21127         * math/s_clogf.c (__clogf): Likewise.
21128         * math/s_clogl.c (__clogl): Likewise.
21129         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21130         (clog10_test): Likewise.
21131         * sysdeps/i386/fpu/libm-test-ulps: Update.
21132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21134 2014-04-02  Alan Modra  <amodra@gmail.com>
21136         [BZ #16739]
21137         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21138         output when value is near a power of two.  Use int64_t for lx and
21139         remove casts.  Use decimal rather than hex exponent constants.
21140         Don't use long double multiplication when double will suffice.
21141         * math/libm-test.inc (nextafter_test_data): Add tests.
21142         * NEWS: Add 16739 and 16786 to bug list.
21144         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21146         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21148 2014-04-01  Will Newton  <will.newton@linaro.org>
21150         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21151         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21153 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21155         [BZ #13347]
21156         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21157         * nptl/tst-setuid2.c: New file.
21158         * nptl/Makefile (xtests): Add tst-setuid2.
21160 2014-04-01  Alan Modra  <amodra@gmail.com>
21162         [BZ #16786]
21163         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21165 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21167         [BZ #6803]
21168         [BZ #6804]
21169         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21170         set errno as appropriate.
21171         * math/w_scalbf.c (__scalbf): Likewise.
21172         * math/w_scalbl.c (__scalbl): Likewise.
21173         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21174         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21175         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21176         Add more NaN tests.
21178         [BZ #16349]
21179         * math/w_atan2.c: Include <errno.h>.
21180         (__atan2): Set errno for result underflowing to zero.
21181         * math/w_atan2f.c: Include <errno.h>.
21182         (__atan2f): Set errno for result underflowing to zero.
21183         * math/w_atan2l.c: Include <errno.h>.
21184         (__atan2l): Set errno for result underflowing to zero.
21185         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21186         tests.
21187         * math/auto-libm-test-out: Regenerated.
21189 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21191         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21192         Encode instruction correctly in little endian.
21193         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21194         Likewise.
21195         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21196         Likewise.
21197         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21198         Likewise.
21199         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21200         Likewise.
21202 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21204         [BZ #9894]
21205         * sysdeps/unix/sysv/linux/kernel-features.h
21206         [__sparc__ && !__arch64__ && !__sparc_v9__]
21207         (__ASSUME_SET_ROBUST_LIST): Do not define.
21208         [__sparc__ && !__arch64__ && !__sparc_v9__]
21209         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21210         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21211         Likewise.
21212         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21213         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21214         (__ASSUME_REQUEUE_PI): Likewise.
21215         (__ASSUME_SET_ROBUST_LIST): Likewise.
21216         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21217         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21218         Undefine.
21219         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21220         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21221         Likewise.
21222         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21223         Likewise.
21224         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21225         Likewise.
21226         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21227         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21228         Undefine.
21229         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21230         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21231         Likewise.
21233         [BZ #16648]
21234         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21235         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21236         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21238 2014-03-31  Will Newton  <will.newton@linaro.org>
21240         * benchtests/Makefile (bench): Add ffs and ffsll to list
21241         of tests.
21242         * benchtests/ffs-inputs: New file.
21243         * benchtests/ffsll-inputs: Likewise.
21245 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21247         [BZ #16770]
21248         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21249         too large before casting to int.
21250         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21251         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21252         * math/libm-test.inc (scalb_test_data): Add more tests.
21254 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21256         * benchtests/Makefile (DETAILED_OPT): New make option.
21257         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21258         set.
21259         * benchtests/bench-skeleton.c: Include stdbool.h.
21260         (main): Store and print timings per input.
21261         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21262         member to each argument value.
21263         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21264         (_print_arg_data): Initialize per-input timing to 0.
21266         * benchtests/Makefile (timing-type): New binary.
21267         (bench-clean): Also remove bench-timing-type.
21268         (bench): New target for timing-type.
21269         (bench-func): Print output in JSON format.
21270         * benchtests/bench-skeleton.c (main): Print output in JSON
21271         format.
21272         * benchtests/bench-timing-type.c: New file.
21273         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21274         (TIMING_PRINT_STATS): Remove.
21275         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21276         name separately.
21278         * benchtests/bench-modf.c: Remove.
21279         * benchtests/modf-inputs: New inputs file.
21281 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21283         [BZ #16362]
21284         * math/s_clog10.c (M_PI_LOG10E): New macro.
21285         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21286         imaginary parts are 0.
21287         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21288         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21289         imaginary parts are 0.
21290         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21291         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21292         imaginary parts are 0.
21293         * math/libm-test.inc (clog10_test_data): Update expected results
21294         for when real and imaginary parts are 0.
21296 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21298         * elf/dl-load.c: Finish conversion of __builtin_expect into
21299         __glibc_{un}likely.
21301 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21303         [BZ #16348]
21304         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21305         1+x for argument with exponent below -67.
21306         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21307         Likewise.
21308         * math/auto-libm-test-in: Add more tests of exp.
21309         * math/auto-libm-test-out: Regenerated.
21311 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21313         [BZ #16759]
21314         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21315         (nscd_getnetgrent): Use it.
21317         [BZ #16760]
21318         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21319         of stpcpy.
21321 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21323         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21324         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21325         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21326         (lll_robust_unlock): Remove out of line section. Use cfi
21327         intrinsics.
21328         (LLL_STUB_UNWIND_INFO*): Remove.
21329         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21330         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21331         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21332         (lll_robust_unlock): Remove out of line section. Use cfi
21333         intrinsics.
21334         (LLL_STUB_UNWIND_INFO*): Remove.
21336 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21338         [BZ #16758]
21339         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21340         blank values.
21342 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21344         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21346 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21348         [BZ #16198]
21349         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21350         fnstenv.
21351         * math/test-fenv-preserve.c: New file.
21352         * math/Makefile (tests): Add test-fenv-preserve.
21354 2014-03-26  Will Newton <will.newton@linaro.org>
21356         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21358 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21360         * scripts/versionlist.awk: Partition the version sets and emit all
21361         GLIBC_* (sorted) before all others (sorted).
21363 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21365         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21366         GLIBC_2.2.5 version.
21368 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21370         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21371         calls.
21373         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21374         previous change.
21376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21378 2014-03-25  Andreas Schwab  <schwab@suse.de>
21380         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21381         label to be used after in6ailist is initialized.
21383 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21385         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21386         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21388 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21390         [BZ #16357]
21391         [BZ #16599]
21392         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21393         min_plus_half.
21394         (fp_formats): Update initializers.
21395         (init_fp_formats): Initialize new field.
21396         (output_for_one_input_case): Allow underflow for results up to
21397         min_plus_half.
21398         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21399         * math/auto-libm-test-in: Don't mark some underflows from asin and
21400         atanh as spurious.
21401         * math/auto-libm-test-out: Regenerated.
21402         * sysdeps/i386/fpu/libm-test-ulps: Update.
21403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21405 2014-03-25  Andreas Schwab  <schwab@suse.de>
21407         * libio/Makefile (tst-ftell-partial-wide-ENV)
21408         (tst-ftell-active-handler-ENV): Define.
21410 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21412         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21414 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21416         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21418 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21420         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21421         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21422         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21424 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21426         [BZ #16634]
21427         * elf/dl-load.c (open_verify): Add mode parameter.
21428         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21429         (open_path): Change from boolean 'secure' to complete flag 'mode'
21430         (_dl_map_object): Adjust.
21431         * elf/Makefile (tests): Add tst-dlopen-aout.
21432         * elf/tst-dlopen-aout.c: New test.
21434 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21436         [BZ #16714]
21437         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21438         (struct stat): Rename member pad0 to __glibc_reserved0.
21440         [BZ #16712]
21441         * sysdeps/s390/s390-32/bits/wordsize.h
21442         (__WORDSIZE32_SIZE_ULONG): New define.
21443         * sysdeps/s390/s390-64/bits/wordsize.h
21444         (__WORDSIZE32_SIZE_ULONG): Likewise.
21445         * sysdeps/generic/stdint.h (SIZE_MAX):
21446         Define as UL if __WORDSIZE32_SIZE_ULONG.
21448         [BZ #16713]
21449         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21450         (__glibc_reserved0): New variable.
21451         (sa_flags): Change type to int.
21453         * posix/Makefile (before-compile): Use += before-compile instead
21454         of a :=.
21456         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21457         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21459 2014-03-20  Andreas Schwab  <schwab@suse.de>
21461         [BZ #16743]
21462         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21463         non-matching result from nscd.
21465 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21467         * scripts/bench.py: Moved to ...
21468         * benchtests/scripts/bench.py: ... here.
21469         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21471 2014-03-24  Andreas Schwab  <schwab@suse.de>
21473         [BZ #16002]
21474         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21475         alloca_account and account alloca use for struct in6ailist.
21477 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21479         [BZ #16284]
21480         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21481         rounding mode to recompute results that overflow to infinity or
21482         underflow to zero.
21483         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21484         bug 16284.
21485         * math/auto-libm-test-out: Regenerated.
21486         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21487         (ccosh_test): Likewise.
21488         (csin_test_data): Use plus_oflow.
21489         (csin_test): Use ALL_RM_TEST.
21490         (csinh_test_data): Use plus_oflow.
21491         (csinh_test): Use ALL_RM_TEST.
21492         * sysdeps/i386/fpu/libm-test-ulps: Update.
21493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21495 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21497         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21498         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21499         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21501         [BZ #16731]
21502         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21503         when x - 1 is zero.
21504         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21505         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21506         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21507         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21508         argument is 1.
21509         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21510         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21511         zero.
21512         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21513         * sysdeps/i386/fpu/libm-test-ulps: Update.
21514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21516 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21518         * scripts/bench.pl: Remove file.
21519         * scripts/bench.py: New benchmark script.
21520         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21521         * benchtests/README: Mention python dependency.
21522         * scripts/pylintrc: New file.
21523         * scripts/pylint: New file.
21525         * bits/mathdef.h: Use #ifdef instead of #if.
21526         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21527         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21528         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21529         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21530         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21531         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21533 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21534             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21536         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21538         and strpbrk-ppc64 objects.
21539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21540         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21541         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21542         multiarch strpbrk for POWER7.
21543         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21544         multiarch strpbrk for PPC64.
21545         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21546         ifunc selector.
21547         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21548         strpbrk for POWER7.
21550 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21552         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21553         (atan_test): Likewise.
21554         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21555         (atanh_test): Use ALL_RM_TEST.
21556         (atan2_test_data): Likewise.
21557         (cabs_test): Likewise.
21558         (cacosh_test): Likewise.
21559         (carg_test): Likewise.
21560         (casin_test): Likewise.
21561         (casinh_test): Likewise.
21562         (cbrt_test): Likewise.
21563         (csqrt_test): Likewise.
21564         (erf_test): Likewise.
21565         (erfc_test): Likewise.
21566         (pow10_test): Likewise.
21567         (exp2_test): Likewise.
21568         (hypot_test): Likewise.
21569         (j0_test): Likewise.
21570         (j1_test): Likewise.
21571         (lgamma_test): Likewise.
21572         (gamma_test): Likewise.
21573         (sincos_test): Likewise.
21574         (tanh_test): Likewise.
21575         (y0_test): Likewise.
21576         (y1_test): Likewise.
21577         * sysdeps/i386/fpu/libm-test-ulps: Update.
21578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21580 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21582         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21584         and strcspn-ppc64 objects.
21585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21586         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21587         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21588         multiarch strcspn for POWER7.
21589         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21590         multiarch strcspn for PPC64.
21591         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21592         ifunc selector.
21593         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21594         strcspn for POWER7.
21596 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21598         * math/gen-libm-test.pl (generate_testfile): Expect only function
21599         name as argument to AUTO_TESTS_* and pass results for all rounding
21600         modes to parse_args.
21601         (parse_auto_input): Separate inputs of automatic tests from
21602         outputs before storing in %auto_tests.
21603         * math/libm-test.inc (acos_test_data): Update call to
21604         AUTO_TESTS_f_f.
21605         (acos_test): Use ALL_RM_TEST.
21606         (acos_tonearest_test_data): Remove.
21607         (acos_test_tonearest): Likewise.
21608         (acos_towardzero_test_data): Likewise.
21609         (acos_test_towardzero): Likewise.
21610         (acos_downward_test_data): Likewise.
21611         (acos_test_downward): Likewise.
21612         (acos_upward_test_data): Likewise.
21613         (acos_test_upward): Likewise.
21614         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21615         (asin_test_data): Likewise.
21616         (asin_test): Use ALL_RM_TEST.
21617         (asin_tonearest_test_data): Remove.
21618         (asin_test_tonearest): Likewise.
21619         (asin_towardzero_test_data): Likewise.
21620         (asin_test_towardzero): Likewise.
21621         (asin_downward_test_data): Likewise.
21622         (asin_test_downward): Likewise.
21623         (asin_upward_test_data): Likewise.
21624         (asin_test_upward): Likewise.
21625         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21626         (atan_test_data): Likewise.
21627         (atanh_test_data): Likewise.
21628         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21629         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21630         (carg_test_data): Likewise.
21631         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21632         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21633         (ccosh_test_data): Likewise.
21634         (cexp_test_data): Likewise.
21635         (clog_test_data): Likewise.
21636         (clog10_test_data): Likewise.
21637         (cos_test_data): Update call to AUTO_TESTS_f_f.
21638         (cos_test): Use ALL_RM_TEST.
21639         (cos_tonearest_test_data): Remove.
21640         (cos_test_tonearest): Likewise.
21641         (cos_towardzero_test_data): Likewise.
21642         (cos_test_towardzero): Likewise.
21643         (cos_downward_test_data): Likewise.
21644         (cos_test_downward): Likewise.
21645         (cos_upward_test_data): Likewise.
21646         (cos_test_upward): Likewise.
21647         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21648         (cosh_test): Use ALL_RM_TEST.
21649         (cosh_tonearest_test_data): Remove.
21650         (cosh_test_tonearest): Likewise.
21651         (cosh_towardzero_test_data): Likewise.
21652         (cosh_test_towardzero): Likewise.
21653         (cosh_downward_test_data): Likewise.
21654         (cosh_test_downward): Likewise.
21655         (cosh_upward_test_data): Likewise.
21656         (cosh_test_upward): Likewise.
21657         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21658         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21659         (ctan_test_data): Likewise.
21660         (ctan_test): Use ALL_RM_TEST.
21661         (ctan_tonearest_test_data): Remove.
21662         (ctan_test_tonearest): Likewise.
21663         (ctan_towardzero_test_data): Likewise.
21664         (ctan_test_towardzero): Likewise.
21665         (ctan_downward_test_data): Likewise.
21666         (ctan_test_downward): Likewise.
21667         (ctan_upward_test_data): Likewise.
21668         (ctan_test_upward): Likewise.
21669         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21670         (ctanh_test): Use ALL_RM_TEST.
21671         (ctanh_tonearest_test_data): Remove.
21672         (ctanh_test_tonearest): Likewise.
21673         (ctanh_towardzero_test_data): Likewise.
21674         (ctanh_test_towardzero): Likewise.
21675         (ctanh_downward_test_data): Likewise.
21676         (ctanh_test_downward): Likewise.
21677         (ctanh_upward_test_data): Likewise.
21678         (ctanh_test_upward): Likewise.
21679         (erf_test_data): Update call to AUTO_TESTS_f_f.
21680         (erfc_test_data): Likewise.
21681         (exp_test_data): Likewise.
21682         (exp_test): Use ALL_RM_TEST.
21683         (exp_tonearest_test_data): Remove.
21684         (exp_test_tonearest): Likewise.
21685         (exp_towardzero_test_data): Likewise.
21686         (exp_test_towardzero): Likewise.
21687         (exp_downward_test_data): Likewise.
21688         (exp_test_downward): Likewise.
21689         (exp_upward_test_data): Likewise.
21690         (exp_test_upward): Likewise.
21691         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21692         (exp10_test): Use ALL_RM_TEST.
21693         (exp10_tonearest_test_data): Remove.
21694         (exp10_test_tonearest): Likewise.
21695         (exp10_towardzero_test_data): Likewise.
21696         (exp10_test_towardzero): Likewise.
21697         (exp10_downward_test_data): Likewise.
21698         (exp10_test_downward): Likewise.
21699         (exp10_upward_test_data): Likewise.
21700         (exp10_test_upward): Likewise.
21701         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21702         (expm1_test_data): Likewise.
21703         (expm1_test): Use ALL_RM_TEST.
21704         (expm1_tonearest_test_data): Remove.
21705         (expm1_test_tonearest): Likewise.
21706         (expm1_towardzero_test_data): Likewise.
21707         (expm1_test_towardzero): Likewise.
21708         (expm1_downward_test_data): Likewise.
21709         (expm1_test_downward): Likewise.
21710         (expm1_upward_test_data): Likewise.
21711         (expm1_test_upward): Likewise.
21712         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21713         (fma_test): Use ALL_RM_TEST.
21714         (fma_towardzero_test_data): Remove.
21715         (fma_test_towardzero): Likewise.
21716         (fma_downward_test_data): Likewise.
21717         (fma_test_downward): Likewise.
21718         (fma_upward_test_data): Likewise.
21719         (fma_test_upward): Likewise.
21720         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21721         (j0_test_data): Update call to AUTO_TESTS_f_f.
21722         (j1_test_data): Likewise.
21723         (jn_test_data): Update call to AUTO_TESTS_if_f.
21724         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21725         (log_test_data): Update call to AUTO_TESTS_f_f.
21726         (log10_test_data): Likewise.
21727         (log1p_test_data): Likewise.
21728         (log2_test_data): Likewise.
21729         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21730         (pow_tonearest_test_data): Likewise.
21731         (sin_test_data): Update call to AUTO_TESTS_f_f.
21732         (sin_test): Use ALL_RM_TEST.
21733         (sin_tonearest_test_data): Remove.
21734         (sin_test_tonearest): Likewise.
21735         (sin_towardzero_test_data): Likewise.
21736         (sin_test_towardzero): Likewise.
21737         (sin_downward_test_data): Likewise.
21738         (sin_test_downward): Likewise.
21739         (sin_upward_test_data): Likewise.
21740         (sin_test_upward): Likewise.
21741         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21742         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21743         (sinh_test): Use ALL_RM_TEST.
21744         (sinh_tonearest_test_data): Remove.
21745         (sinh_test_tonearest): Likewise.
21746         (sinh_towardzero_test_data): Likewise.
21747         (sinh_test_towardzero): Likewise.
21748         (sinh_downward_test_data): Likewise.
21749         (sinh_test_downward): Likewise.
21750         (sinh_upward_test_data): Likewise.
21751         (sinh_test_upward): Likewise.
21752         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21753         (sqrt_test): Use ALL_RM_TEST.
21754         (sqrt_tonearest_test_data): Remove.
21755         (sqrt_test_tonearest): Likewise.
21756         (sqrt_towardzero_test_data): Likewise.
21757         (sqrt_test_towardzero): Likewise.
21758         (sqrt_downward_test_data): Likewise.
21759         (sqrt_test_downward): Likewise.
21760         (sqrt_upward_test_data): Likewise.
21761         (sqrt_test_upward): Likewise.
21762         (tan_test_data): Update call to AUTO_TESTS_f_f.
21763         (tan_test): Use ALL_RM_TEST.
21764         (tan_tonearest_test_data): Remove.
21765         (tan_test_tonearest): Likewise.
21766         (tan_towardzero_test_data): Likewise.
21767         (tan_test_towardzero): Likewise.
21768         (tan_downward_test_data): Likewise.
21769         (tan_test_downward): Likewise.
21770         (tan_upward_test_data): Likewise.
21771         (tan_test_upward): Likewise.
21772         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21773         (tgamma_test_data): Likewise.
21774         (y0_test_data): Likewise.
21775         (y1_test_data): Likewise.
21776         (yn_test_data): Update call to AUTO_TESTS_if_f.
21777         (main): Do not call removed functions.
21779 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21781         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21782         (ldexp_test_data): Remove.
21783         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21784         scalbn_test_data.
21785         (scalb_test): Use ALL_RM_TEST.
21787 2014-03-19  Andreas Schwab  <schwab@suse.de>
21789         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21791 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21793         [BZ #16649]
21794         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21795         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21796         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21797         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21798         (__ASSUME_PREADV): Undefine.
21799         (__ASSUME_PWRITEV): Likewise.
21801 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21803         * bits/mman-linux.h: Add comment about non-Linux use.
21804         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21805         bits/mman-linux.h resting place.
21807         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21808         * bits/mman-linux.h: ... here.
21810 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21812         * conform/conformtest.pl: Add standard definition when calling C
21813         preprocessor on data files.
21814         (checknamespace): Remove unused variable.
21816 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21818         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21819         minus_oflow, plus_uflow and minus_uflow in expected results.
21820         * math/libm-test.inc (scalbn_test_data): Add more tests of
21821         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21822         minus_uflow.
21823         (scalbn_test): Use ALL_RM_TEST.
21824         (scalbln_test_data): Add more tests of negative arguments.  Use
21825         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21826         (scalbln_test): Use ALL_RM_TEST.
21828 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21830         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21832 2014-03-18  Will Newton  <will.newton@linaro.org>
21834         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21835         inaccurate comment.
21837 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21839         * Makerules [!subdir] (check-abi): Exit with error status if a
21840         test failed.
21842 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21844         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21845         for rint.  Include results for all rounding modes.
21846         (nearbyint_test): Use ALL_RM_TEST.
21847         (rint_test_data): Include all tests used for nearbyint.
21849 2014-03-17  Will Newton  <will.newton@linaro.org>
21851         * nptl/sysdeps/pthread/pthread.h: Revert previous
21852         change.
21854         * sysdeps/generic/ldsodefs.h: Revert previous
21855         change.
21857         * libio/genops.c: Revert previous change.
21858         * libio/libioP.h: Likewise.
21859         * stdio-common/vfprintf.c: Likewise.
21861         * sysdeps/generic/math_private.h: Revert previous
21862         change.
21864         * sysdeps/generic/math_private.h: Check whether
21865         HAVE_RM_CTX is defined with #ifdef rather
21866         than #if.
21868         * argp/argp-fmtstream.h: Check whether
21869         __STRICT_ANSI__ is defined with #ifdef rather
21870         than #if.
21871         * argp/argp.h: Likewise.
21873         * libio/genops.c: Check whether
21874         _IO_JUMPS_OFFSET is defined with #ifdef rather
21875         than #if.
21876         * libio/libioP.h: Likewise.
21877         * stdio-common/vfprintf.c: Likewise.
21879         * sysdeps/generic/ldsodefs.h: Check whether
21880         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21881         than #if.
21883         * nptl/sysdeps/pthread/pthread.h: Check
21884         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21885         its value.
21887 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21889         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21890         setting O_APPEND.
21891         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21892         test case.
21894         [BZ #16680]
21895         * libio/fileops.c (_IO_file_open): Seek to end of file but
21896         don't cache the offset.
21897         (get_file_offset): Remove function.
21898         (do_ftell): Use cached offset when available.
21899         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21900         don't cache the offset.
21901         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21902         case.
21903         (do_one_test): Call it.
21904         (do_ftell_test): Fix up expected old offset for a+ mode.
21905         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21906         available.
21908         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21909         up test status with function return status.
21910         (do_write_test): Likewise.
21911         (do_append_test): Likewise.
21913         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21914         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21915         Remove.
21917 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21919         * math/gen-libm-test.pl (parse_args): Handle results specified for
21920         each rounding mode separately.
21921         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21922         tests and results from lrint_tonearest_test_data,
21923         lrint_towardzero_test_data, lrint_downward_test_data and
21924         lrint_upward_test_data.
21925         (lrint_test): Use ALL_RM_TEST.
21926         (lrint_tonearest_test_data): Remove.
21927         (lrint_test_tonearest): Likewise.
21928         (lrint_towardzero_test_data): Likewise.
21929         (lrint_test_towardzero): Likewise.
21930         (lrint_downward_test_data): Likewise.
21931         (lrint_test_downward): Likewise.
21932         (lrint_upward_test_data): Likewise.
21933         (lrint_test_upward): Likewise.
21934         (llrint_test_data): Merge in per-rounding-mode tests and results
21935         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21936         llrint_downward_test_data and llrint_upward_test_data.
21937         (llrint_test): Use ALL_RM_TEST.
21938         (llrint_tonearest_test_data): Remove.
21939         (llrint_test_tonearest): Likewise.
21940         (llrint_towardzero_test_data): Likewise.
21941         (llrint_test_towardzero): Likewise.
21942         (llrint_downward_test_data): Likewise.
21943         (llrint_test_downward): Likewise.
21944         (llrint_upward_test_data): Likewise.
21945         (llrint_test_upward): Likewise.
21946         (rint_test_data): Merge in per-rounding-mode tests and results
21947         from rint_tonearest_test_data, rint_towardzero_test_data,
21948         rint_downward_test_data and rint_upward_test_data.  Add
21949         per-rounding-mode results for tests not in those arrays.
21950         (rint_test): Use ALL_RM_TEST.
21951         (rint_tonearest_test_data): Remove.
21952         (rint_test_tonearest): Likewise.
21953         (rint_towardzero_test_data): Likewise.
21954         (rint_test_towardzero): Likewise.
21955         (rint_downward_test_data): Likewise.
21956         (rint_test_downward): Likewise.
21957         (rint_upward_test_data): Likewise.
21958         (rint_test_upward): Likewise.
21959         (main): Don't call removed functions.
21961 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21963         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21964         "Compiled on ..." crapola.  It is anti-useful.
21966 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21968         * scripts/evaluate-test.sh: Handle fourth argument to determine
21969         whether test run should stop on failure.
21970         * Makeconfig (stop-on-test-failure): New variable.
21971         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21972         $(stop-on-test-failure).
21973         * Makefile (tests): Give a summary of results from testing and
21974         exit with failure status if they include an ERROR or FAIL.
21975         (xtests): Likewise.
21976         * manual/install.texi (Configuring and compiling): Mention
21977         stop-on-test-failure=y.
21978         * INSTALL: Regenerated.
21980 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21982         * scripts/versionlist.awk: New file.
21983         * Makerules [$(build-shared) = yes]
21984         (postclean-generated): Add Versions.def, not Versions.def.v and
21985         Versions.def.v.i.
21986         ($(common-objpfx)Versions.def.v.i): Target removed.
21987         ($(common-objpfx)Versions.def): New target.
21988         ($(common-objpfx)Versions.all): Depend on that rather that
21989         $(common-objpfx)Versions.def.v.
21990         * Versions.def: File removed.
21992         * Makeconfig (+gccwarn): Add -Wundef.
21993         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21994         a dl-sysdep.h breaking its contract.
21995         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21996         * include/stackinfo.h: New file.
21997         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21998         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21999         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22000         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22001         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22002         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22003         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22004         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22005         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22006         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22007         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22008         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22009         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22010         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22011         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22013 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22015         [BZ #16707]
22016         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22017         implementation.
22018         * math/libm-test.inc (round_test_data): Add more tests.
22020         [BZ #16706]
22021         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22022         implementation.
22023         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22025         [BZ #16701]
22026         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22027         implementation.
22028         * math/libm-test.inc (ceil_test_data): Add more tests.
22030         * math/libm-test.inc (trunc_test_data): Add more tests related to
22031         BZ#16414.
22033 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22035         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22036         with #if rather than #ifdef.
22037         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22039 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22041         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22042         first.  Disable AVX-512 GCC support if assembler doesn't support
22043         it.
22044         * sysdeps/x86_64/configure: Regenerated.
22046 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22048         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22049         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22050         (__old_pthread_attr_setstack): Likewise.
22051         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22052         [!_STACK_GROWS_DOWN]: Likewise.
22054 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22056         * config.make.in (have-bash2): Delete.
22057         * configure.ac (libc_cv_have_bash2): Delete.
22058         * configure: Regenerate.
22059         * elf/Makefile (common-ldd-rewrite): Rename to ...
22060         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22061         (sh-ldd-rewrite): Delete.
22062         (bash-ldd-rewrite): Delete.
22063         (have-bash2): Delete checks.
22064         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22065         ldd-rewrite.
22067         * config.make.in (have-ksh): Delete.
22068         (KSH): Delete.
22069         * configure.ac (libc_cv_have_ksh): Delete.
22070         * configure: Regenerate.
22072         * elf/Makefile: Delete $(have-ksh) check.
22073         ($(objpfx)sotruss): Change KSH to BASH.
22074         * elf/sotruss.ksh: Rename to ...
22075         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22076         function style to match POSIX.  Drop ksh vim mode setting.
22078         * manual/time.texi (Specifying the Time Zone with TZ): Change
22079         Tuesday to Thursday.
22081         * debug/tst-longjmp_chk2.c: Update header comment.
22082         (stackoverflow_handler): Add comment.  Call assert on pass value.
22084 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22086         [BZ #16194]
22087         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22088         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22089         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22090         (La_x86_64_vector): Add zmm.
22091         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22092         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22093         ($(objpfx)tst-audit10): New target.
22094         ($(objpfx)tst-audit10.out): Likewise.
22095         (tst-audit10-ENV): New.
22096         (AVX512-CFLAGS): Likewise.
22097         (CFLAGS-tst-audit10.c): Likewise.
22098         (CFLAGS-tst-auditmod10a.c): Likewise.
22099         (CFLAGS-tst-auditmod10b.c): Likewise.
22100         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22101         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22102         * sysdeps/x86_64/configure: Regenerated.
22103         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22104         AVX-512 zmm register support.
22105         (_dl_x86_64_save_sse): Likewise.
22106         (_dl_x86_64_restore_sse): Likewise.
22107         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22108         size vector registers.
22109         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22110         (ZMM_SIZE): Likewise.
22111         * sysdeps/x86_64/tst-audit10.c: New file.
22112         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22113         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22115 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22117         * configure.ac (HAVE_EHDR_START): New check.
22118         * configure: Regenerated.
22119         * config.h.in (HAVE_EHDR_START): New #undef.
22120         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22121         assuming the lowest-addressed segment maps the start of the file.
22123 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22125         * INSTALL: Regenerated.
22127 2014-03-13  Will Newton  <will.newton@linaro.org>
22129         * manual/setjmp.texi (System V contexts): Improve
22130         clarity and grammar of documentation.
22132 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22134         [BZ #16381]
22135         * elf/Makefile (tests): Add tst-pie2.
22136         (tests-pie): Add tst-pie2.
22137         * elf/tst-pie2.c: New file.
22138         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22139         for ET_EXEC.
22140         * elf/rtld.c (map_doit): Load executable as lt_executable.
22141         (dl_main): Likewise.
22143 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22145         [BZ #16642]
22146         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22147         (__ASSUME_PSELECT): Undefine.
22149 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22151         [BZ #16689]
22152         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22153         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22154         static build.
22155         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22156         selector for static builds.
22158 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22160         [BZ #16695]
22161         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22162         key in the buffer.
22164 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22166         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22167         IFUNC selector for static builds.
22169 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22171         * sysdeps/mips/math_private.h [__mips_hard_float]
22172         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22173         libc_feresetround_mips_ctx.
22174         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22175         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22176         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22178         [BZ #16677]
22179         * math/s_nextafter.c (__nextafter): Do not return value from
22180         overflowing computation.
22181         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22182         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22183         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22184         Likewise.
22185         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22186         Likewise.
22187         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22188         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22190 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22192         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22193         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22194         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22195         the new mov targetting sp.
22197 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22199         [BZ #16683]
22200         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22201         Define it for static builds as well.
22202         (NO_BZERO_IMPL): Likewise.
22204 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22206         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22207         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22208         multiarch strspn for PPC64.
22209         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22210         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22212         (__libc_ifunc_impl_list): Likewise.
22213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22214         multiarch optimizations
22215         * string/strspn.c (strspn): Using macro to redefine symbol name.
22217 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22218             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22220         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22221         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22222         multiarch strncat for PPC64.
22223         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22224         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22226         (__libc_ifunc_impl_list): Likewise.
22227         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22228         multiarch optimizations
22230 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22232         [BZ #16639]
22233         * nscd/nscd.service: Make service type forking.
22235 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22237         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22238         sign in non default rounding modes.
22239         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22241 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22243         * math/libm-test.inc (ALL_RM_TEST): New macro.
22244         (ceil_test): Use ALL_RM_TEST.
22245         (cimag_test): Likewise.
22246         (conj_test): Likewise.
22247         (copysign_test): Likewise.
22248         (cproj_test): Likewise.
22249         (creal_test): Likewise.
22250         (fabs_test): Likewise.
22251         (floor_test): Likewise.
22252         (fmax_test): Likewise.
22253         (fmin_test): Likewise.
22254         (fmod_test): Likewise.
22255         (fpclassify_test): Likewise.
22256         (frexp_test): Likewise.
22257         (ilogb_test): Likewise.
22258         (isfinite_test): Likewise.
22259         (finite_test): Likewise.
22260         (isgreater_test): Likewise.
22261         (isgreaterequal_test): Likewise.
22262         (isinf_test): Likewise.
22263         (isless_test): Likewise.
22264         (islessequal_test): Likewise.
22265         (islessgreater_test): Likewise.
22266         (isnan_test): Likewise.
22267         (isnormal_test): Likewise.
22268         (issignaling_test): Likewise.
22269         (isunordered_test): Likewise.
22270         (logb_test): Likewise.
22271         (logb_downward_test_data): Remove.
22272         (logb_test_downward): Likewise.
22273         (lround_test): Use ALL_RM_TEST.
22274         (llround_test): Likewise.
22275         (modf_test): Likewise.
22276         (nexttoward_test): Likewise.
22277         (remainder_test): Likewise.
22278         (drem_test): Likewise.
22279         (remainder_tonearest_test_data): Likewise.
22280         (remainder_test_tonearest): Likewise.
22281         (drem_test_tonearest): Likewise.
22282         (remainder_towardzero_test_data): Likewise.
22283         (remainder_test_towardzero): Likewise.
22284         (drem_test_towardzero): Likewise.
22285         (remainder_downward_test_data): Likewise.
22286         (remainder_test_downward): Likewise.
22287         (drem_test_downward): Likewise.
22288         (remainder_upward_test_data): Likewise.
22289         (remainder_test_upward): Likewise.
22290         (drem_test_upward): Likewise.
22291         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22292         (round_test): Use ALL_RM_TEST.
22293         (signbit_test): Likewise.
22294         (trunc_test): Likewise.
22295         (significand_test): Likewise.
22296         (main): Don't call removed functions.
22298 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22300         [BZ #16674]
22301         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22302         || __USE_XOPEN2K8].
22303         (ILL_ILLOPN): Likewise.
22304         (ILL_ILLADR): Likewise.
22305         (ILL_ILLTRP): Likewise.
22306         (ILL_PRVOPC): Likewise.
22307         (ILL_PRVREG): Likewise.
22308         (ILL_COPROC): Likewise.
22309         (ILL_BADSTK): Likewise.
22310         (FPE_INTDIV): Likewise.
22311         (FPE_INTOVF): Likewise.
22312         (FPE_FLTDIV): Likewise.
22313         (FPE_FLTOVF): Likewise.
22314         (FPE_FLTUND): Likewise.
22315         (FPE_FLTRES): Likewise.
22316         (FPE_FLTINV): Likewise.
22317         (FPE_FLTSUB): Likewise.
22318         (SEGV_MAPERR): Likewise.
22319         (SEGV_ACCERR): Likewise.
22320         (BUS_ADRALN): Likewise.
22321         (BUS_ADRERR): Likewise.
22322         (BUS_OBJERR): Likewise.
22323         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22324         (TRAP_TRACE): Likewise.
22325         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22326         __USE_XOPEN2K8].
22327         (CLD_KILLED): Likewise.
22328         (CLD_DUMPED): Likewise.
22329         (CLD_TRAPPED): Likewise.
22330         (CLD_STOPPED): Likewise.
22331         (CLD_CONTINUED): Likewise.
22332         (POLL_IN): Likewise.
22333         (POLL_OUT): Likewise.
22334         (POLL_MSG): Likewise.
22335         (POLL_ERR): Likewise.
22336         (POLL_PRI): Likewise.
22337         (POLL_HUP): Likewise.
22338         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22339         Likewise.
22340         (ILL_ILLOPN): Likewise.
22341         (ILL_ILLADR): Likewise.
22342         (ILL_ILLTRP): Likewise.
22343         (ILL_PRVOPC): Likewise.
22344         (ILL_PRVREG): Likewise.
22345         (ILL_COPROC): Likewise.
22346         (ILL_BADSTK): Likewise.
22347         (FPE_INTDIV): Likewise.
22348         (FPE_INTOVF): Likewise.
22349         (FPE_FLTDIV): Likewise.
22350         (FPE_FLTOVF): Likewise.
22351         (FPE_FLTUND): Likewise.
22352         (FPE_FLTRES): Likewise.
22353         (FPE_FLTINV): Likewise.
22354         (FPE_FLTSUB): Likewise.
22355         (SEGV_MAPERR): Likewise.
22356         (SEGV_ACCERR): Likewise.
22357         (BUS_ADRALN): Likewise.
22358         (BUS_ADRERR): Likewise.
22359         (BUS_OBJERR): Likewise.
22360         (BUS_MCEERR_AR): Likewise.
22361         (BUS_MCEERR_AO): Likewise.
22362         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22363         (TRAP_TRACE): Likewise.
22364         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22365         __USE_XOPEN2K8].
22366         (CLD_KILLED): Likewise.
22367         (CLD_DUMPED): Likewise.
22368         (CLD_TRAPPED): Likewise.
22369         (CLD_STOPPED): Likewise.
22370         (CLD_CONTINUED): Likewise.
22371         (POLL_IN): Likewise.
22372         (POLL_OUT): Likewise.
22373         (POLL_MSG): Likewise.
22374         (POLL_ERR): Likewise.
22375         (POLL_PRI): Likewise.
22376         (POLL_HUP): Likewise.
22377         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22378         (ILL_ILLOPN): Likewise.
22379         (ILL_ILLADR): Likewise.
22380         (ILL_ILLTRP): Likewise.
22381         (ILL_PRVOPC): Likewise.
22382         (ILL_PRVREG): Likewise.
22383         (ILL_COPROC): Likewise.
22384         (ILL_BADSTK): Likewise.
22385         (FPE_INTDIV): Likewise.
22386         (FPE_INTOVF): Likewise.
22387         (FPE_FLTDIV): Likewise.
22388         (FPE_FLTOVF): Likewise.
22389         (FPE_FLTUND): Likewise.
22390         (FPE_FLTRES): Likewise.
22391         (FPE_FLTINV): Likewise.
22392         (FPE_FLTSUB): Likewise.
22393         (SEGV_MAPERR): Likewise.
22394         (SEGV_ACCERR): Likewise.
22395         (BUS_ADRALN): Likewise.
22396         (BUS_ADRERR): Likewise.
22397         (BUS_OBJERR): Likewise.
22398         (BUS_MCEERR_AR): Likewise.
22399         (BUS_MCEERR_AO): Likewise.
22400         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22401         (TRAP_TRACE): Likewise.
22402         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22403         __USE_XOPEN2K8].
22404         (CLD_KILLED): Likewise.
22405         (CLD_DUMPED): Likewise.
22406         (CLD_TRAPPED): Likewise.
22407         (CLD_STOPPED): Likewise.
22408         (CLD_CONTINUED): Likewise.
22409         (POLL_IN): Likewise.
22410         (POLL_OUT): Likewise.
22411         (POLL_MSG): Likewise.
22412         (POLL_ERR): Likewise.
22413         (POLL_PRI): Likewise.
22414         (POLL_HUP): Likewise.
22415         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22416         Likewise.
22417         (ILL_ILLOPN): Likewise.
22418         (ILL_ILLADR): Likewise.
22419         (ILL_ILLTRP): Likewise.
22420         (ILL_PRVOPC): Likewise.
22421         (ILL_PRVREG): Likewise.
22422         (ILL_COPROC): Likewise.
22423         (ILL_BADSTK): Likewise.
22424         (ILL_BADIADDR): Likewise.
22425         (ILL_BREAK): Likewise.
22426         (FPE_INTDIV): Likewise.
22427         (FPE_INTOVF): Likewise.
22428         (FPE_FLTDIV): Likewise.
22429         (FPE_FLTOVF): Likewise.
22430         (FPE_FLTUND): Likewise.
22431         (FPE_FLTRES): Likewise.
22432         (FPE_FLTINV): Likewise.
22433         (FPE_FLTSUB): Likewise.
22434         (FPE_DECOVF): Likewise.
22435         (FPE_DECDIV): Likewise.
22436         (FPE_DECERR): Likewise.
22437         (FPE_INVASC): Likewise.
22438         (FPE_INVDEC): Likewise.
22439         (SEGV_MAPERR): Likewise.
22440         (SEGV_ACCERR): Likewise.
22441         (SEGV_PSTKOVF): Likewise.
22442         (BUS_ADRALN): Likewise.
22443         (BUS_ADRERR): Likewise.
22444         (BUS_OBJERR): Likewise.
22445         (BUS_MCEERR_AR): Likewise.
22446         (BUS_MCEERR_AO): Likewise.
22447         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22448         (TRAP_TRACE): Likewise.
22449         (TRAP_BRANCH): Likewise.
22450         (TRAP_HWBKPT): Likewise.
22451         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22452         __USE_XOPEN2K8].
22453         (CLD_KILLED): Likewise.
22454         (CLD_DUMPED): Likewise.
22455         (CLD_TRAPPED): Likewise.
22456         (CLD_STOPPED): Likewise.
22457         (CLD_CONTINUED): Likewise.
22458         (POLL_IN): Likewise.
22459         (POLL_OUT): Likewise.
22460         (POLL_MSG): Likewise.
22461         (POLL_ERR): Likewise.
22462         (POLL_PRI): Likewise.
22463         (POLL_HUP): Likewise.
22464         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22465         (ILL_ILLOPN): Likewise.
22466         (ILL_ILLADR): Likewise.
22467         (ILL_ILLTRP): Likewise.
22468         (ILL_PRVOPC): Likewise.
22469         (ILL_PRVREG): Likewise.
22470         (ILL_COPROC): Likewise.
22471         (ILL_BADSTK): Likewise.
22472         (FPE_INTDIV): Likewise.
22473         (FPE_INTOVF): Likewise.
22474         (FPE_FLTDIV): Likewise.
22475         (FPE_FLTOVF): Likewise.
22476         (FPE_FLTUND): Likewise.
22477         (FPE_FLTRES): Likewise.
22478         (FPE_FLTINV): Likewise.
22479         (FPE_FLTSUB): Likewise.
22480         (SEGV_MAPERR): Likewise.
22481         (SEGV_ACCERR): Likewise.
22482         (BUS_ADRALN): Likewise.
22483         (BUS_ADRERR): Likewise.
22484         (BUS_OBJERR): Likewise.
22485         (BUS_MCEERR_AR): Likewise.
22486         (BUS_MCEERR_AO): Likewise.
22487         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22488         (TRAP_TRACE): Likewise.
22489         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22490         __USE_XOPEN2K8].
22491         (CLD_KILLED): Likewise.
22492         (CLD_DUMPED): Likewise.
22493         (CLD_TRAPPED): Likewise.
22494         (CLD_STOPPED): Likewise.
22495         (CLD_CONTINUED): Likewise.
22496         (POLL_IN): Likewise.
22497         (POLL_OUT): Likewise.
22498         (POLL_MSG): Likewise.
22499         (POLL_ERR): Likewise.
22500         (POLL_PRI): Likewise.
22501         (POLL_HUP): Likewise.
22502         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22503         (ILL_ILLOPN): Likewise.
22504         (ILL_ILLADR): Likewise.
22505         (ILL_ILLTRP): Likewise.
22506         (ILL_PRVOPC): Likewise.
22507         (ILL_PRVREG): Likewise.
22508         (ILL_COPROC): Likewise.
22509         (ILL_BADSTK): Likewise.
22510         (FPE_INTDIV): Likewise.
22511         (FPE_INTOVF): Likewise.
22512         (FPE_FLTDIV): Likewise.
22513         (FPE_FLTOVF): Likewise.
22514         (FPE_FLTUND): Likewise.
22515         (FPE_FLTRES): Likewise.
22516         (FPE_FLTINV): Likewise.
22517         (FPE_FLTSUB): Likewise.
22518         (SEGV_MAPERR): Likewise.
22519         (SEGV_ACCERR): Likewise.
22520         (BUS_ADRALN): Likewise.
22521         (BUS_ADRERR): Likewise.
22522         (BUS_OBJERR): Likewise.
22523         (BUS_MCEERR_AR): Likewise.
22524         (BUS_MCEERR_AO): Likewise.
22525         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22526         (TRAP_TRACE): Likewise.
22527         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22528         __USE_XOPEN2K8].
22529         (CLD_KILLED): Likewise.
22530         (CLD_DUMPED): Likewise.
22531         (CLD_TRAPPED): Likewise.
22532         (CLD_STOPPED): Likewise.
22533         (CLD_CONTINUED): Likewise.
22534         (POLL_IN): Likewise.
22535         (POLL_OUT): Likewise.
22536         (POLL_MSG): Likewise.
22537         (POLL_ERR): Likewise.
22538         (POLL_PRI): Likewise.
22539         (POLL_HUP): Likewise.
22540         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22541         (ILL_ILLOPN): Likewise.
22542         (ILL_ILLADR): Likewise.
22543         (ILL_ILLTRP): Likewise.
22544         (ILL_PRVOPC): Likewise.
22545         (ILL_PRVREG): Likewise.
22546         (ILL_COPROC): Likewise.
22547         (ILL_BADSTK): Likewise.
22548         (FPE_INTDIV): Likewise.
22549         (FPE_INTOVF): Likewise.
22550         (FPE_FLTDIV): Likewise.
22551         (FPE_FLTOVF): Likewise.
22552         (FPE_FLTUND): Likewise.
22553         (FPE_FLTRES): Likewise.
22554         (FPE_FLTINV): Likewise.
22555         (FPE_FLTSUB): Likewise.
22556         (SEGV_MAPERR): Likewise.
22557         (SEGV_ACCERR): Likewise.
22558         (BUS_ADRALN): Likewise.
22559         (BUS_ADRERR): Likewise.
22560         (BUS_OBJERR): Likewise.
22561         (BUS_MCEERR_AR): Likewise.
22562         (BUS_MCEERR_AO): Likewise.
22563         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22564         (TRAP_TRACE): Likewise.
22565         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22566         __USE_XOPEN2K8].
22567         (CLD_KILLED): Likewise.
22568         (CLD_DUMPED): Likewise.
22569         (CLD_TRAPPED): Likewise.
22570         (CLD_STOPPED): Likewise.
22571         (CLD_CONTINUED): Likewise.
22572         (POLL_IN): Likewise.
22573         (POLL_OUT): Likewise.
22574         (POLL_MSG): Likewise.
22575         (POLL_ERR): Likewise.
22576         (POLL_PRI): Likewise.
22577         (POLL_HUP): Likewise.
22578         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22579         (ILL_ILLOPN): Likewise.
22580         (ILL_ILLADR): Likewise.
22581         (ILL_ILLTRP): Likewise.
22582         (ILL_PRVOPC): Likewise.
22583         (ILL_PRVREG): Likewise.
22584         (ILL_COPROC): Likewise.
22585         (ILL_BADSTK): Likewise.
22586         (ILL_DBLFLT): Likewise.
22587         (ILL_HARDWALL): Likewise.
22588         (FPE_INTDIV): Likewise.
22589         (FPE_INTOVF): Likewise.
22590         (FPE_FLTDIV): Likewise.
22591         (FPE_FLTOVF): Likewise.
22592         (FPE_FLTUND): Likewise.
22593         (FPE_FLTRES): Likewise.
22594         (FPE_FLTINV): Likewise.
22595         (FPE_FLTSUB): Likewise.
22596         (SEGV_MAPERR): Likewise.
22597         (SEGV_ACCERR): Likewise.
22598         (BUS_ADRALN): Likewise.
22599         (BUS_ADRERR): Likewise.
22600         (BUS_OBJERR): Likewise.
22601         (BUS_MCEERR_AR): Likewise.
22602         (BUS_MCEERR_AO): Likewise.
22603         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22604         (TRAP_TRACE): Likewise.
22605         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22606         __USE_XOPEN2K8].
22607         (CLD_KILLED): Likewise.
22608         (CLD_DUMPED): Likewise.
22609         (CLD_TRAPPED): Likewise.
22610         (CLD_STOPPED): Likewise.
22611         (CLD_CONTINUED): Likewise.
22612         (POLL_IN): Likewise.
22613         (POLL_OUT): Likewise.
22614         (POLL_MSG): Likewise.
22615         (POLL_ERR): Likewise.
22616         (POLL_PRI): Likewise.
22617         (POLL_HUP): Likewise.
22618         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22619         (ILL_ILLOPN): Likewise.
22620         (ILL_ILLADR): Likewise.
22621         (ILL_ILLTRP): Likewise.
22622         (ILL_PRVOPC): Likewise.
22623         (ILL_PRVREG): Likewise.
22624         (ILL_COPROC): Likewise.
22625         (ILL_BADSTK): Likewise.
22626         (FPE_INTDIV): Likewise.
22627         (FPE_INTOVF): Likewise.
22628         (FPE_FLTDIV): Likewise.
22629         (FPE_FLTOVF): Likewise.
22630         (FPE_FLTUND): Likewise.
22631         (FPE_FLTRES): Likewise.
22632         (FPE_FLTINV): Likewise.
22633         (FPE_FLTSUB): Likewise.
22634         (SEGV_MAPERR): Likewise.
22635         (SEGV_ACCERR): Likewise.
22636         (BUS_ADRALN): Likewise.
22637         (BUS_ADRERR): Likewise.
22638         (BUS_OBJERR): Likewise.
22639         (BUS_MCEERR_AR): Likewise.
22640         (BUS_MCEERR_AO): Likewise.
22641         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22642         (TRAP_TRACE): Likewise.
22643         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22644         __USE_XOPEN2K8].
22645         (CLD_KILLED): Likewise.
22646         (CLD_DUMPED): Likewise.
22647         (CLD_TRAPPED): Likewise.
22648         (CLD_STOPPED): Likewise.
22649         (CLD_CONTINUED): Likewise.
22650         (POLL_IN): Likewise.
22651         (POLL_OUT): Likewise.
22652         (POLL_MSG): Likewise.
22653         (POLL_ERR): Likewise.
22654         (POLL_PRI): Likewise.
22655         (POLL_HUP): Likewise.
22656         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22657         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22659         [BZ #16670]
22660         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22661         before #include of <time.h>.
22662         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22663         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22664         (test-xfail-UNIX98/sched.h/conform): Likewise.
22666 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22668         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22669         error absence of trapping exception support.
22670         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22672 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22674         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22675         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22676         * timezone/Makefile (testdata): Move definition above include of
22677         Rules.
22678         (test-zones): New variable.
22679         (tests-special): Add zone files.
22680         (build-testdata): Use $(evaluate-test).
22682         * elf/Makefile (tests-special): Rename tests to end with .out.
22683         ($(objpfx)noload-mem): Likewise.
22684         ($(objpfx)tst-leaks1-mem): Likewise.
22685         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22686         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22687         $(objpfx)test-iconvconfig.out.
22688         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22689         set -e inside subshell and redirect output to file.
22690         * iconvdata/Makefile (generated): Rename tests to end with .out.
22691         Correct type.
22692         (tests-special): Rename tests to end with .out.
22693         ($(objpfx)mtrace-tst-loading): Likewise.
22694         * intl/Makefile (generated): Likewise.
22695         (tests-special): Likewise.
22696         ($(objpfx)mtrace-tst-gettext): Likewise.
22697         * misc/Makefile (generated): Likewise.
22698         (tests-special): Likewise.
22699         ($(objpfx)tst-error1-mem): Likewise.
22700         * nptl/Makefile (tests-special): Likewise.
22701         ($(objpfx)tst-stack3-mem): Likewise.
22702         (generated): Likewise.
22703         * posix/Makefile (generated): Likewise.
22704         (tests-special): Likewise.
22705         (xtests-special): Likewise.
22706         ($(objpfx)tst-fnmatch-mem): Likewise.
22707         ($(objpfx)bug-regex2-mem): Likewise.
22708         ($(objpfx)bug-regex14-mem): Likewise.
22709         ($(objpfx)bug-regex21-mem): Likewise.
22710         ($(objpfx)bug-regex31-mem): Likewise.
22711         ($(objpfx)tst-vfork3-mem): Likewise.
22712         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22713         ($(objpfx)tst-pcre-mem): Likewise.
22714         ($(objpfx)tst-boost-mem): Likewise.
22715         ($(objpfx)bug-ga2-mem): Likewise.
22716         ($(objpfx)bug-glob2-mem): Likewise.
22717         * resolv/Makefile (generate): Likewise.
22718         (tests-special): Likewise.
22719         (xtests-special): Likewise.
22720         (generated): Likewise.
22721         ($(objpfx)mtrace-tst-leaks): Likewise.
22722         ($(objpfx)mtrace-tst-leaks2): Likewise.
22724         * scripts/merge-test-results.sh: New file.
22725         * Makefile (tests-special-notdir): New variable.
22726         (tests): Run merge-test-results.sh.
22727         (xtests): Likewise.
22728         * Rules (tests-special-notdir): New variable.
22729         (xtests-special-notdir): Likewise.
22730         (tests): Run merge-test-results.sh
22731         (xtests): Likewise.
22733         * Makeconfig (test-xfail-name): New variable.
22734         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22735         compute variable name for expected failures.
22736         * conform/Makefile (conformtest-headers-data): New variable.
22737         (conformtest-standards): Likewise.
22738         (conformtest-headers-ISO): Likewise.
22739         (conformtest-headers-ISO99): Likewise.
22740         (conformtest-headers-ISO11): Likewise.
22741         (conformtest-headers-POSIX): Likewise.
22742         (conformtest-headers-XPG3): Likewise.
22743         (conformtest-headers-XPG4): Likewise.
22744         (conformtest-headers-UNIX98): Likewise.
22745         (conformtest-headers-XOPEN2K): Likewise.
22746         (conformtest-headers-POSIX2008): Likewise.
22747         (conformtest-headers-XOPEN2K8): Likewise.
22748         (conformtest-header-list-base): Likewise.
22749         (conformtest-header-list-tests): Likewise.
22750         (conformtest-header-base): Likewise.
22751         (conformtest-header-tests): Likewise.
22752         (tests-special): Add $(conformtest-header-list-tests).  If
22753         [$(fast-check) && !$(cross-compiling)], add
22754         $(conformtest-header-tests) instead of
22755         $(objpfx)run-conformtest.out.
22756         (generated): Add $(conformtest-header-list-base).  If
22757         [$(fast-check) && !$(cross-compiling)], add
22758         $(conformtest-header-base).  Remove previous setting.
22759         ($(conformtest-header-list-tests)): New target.
22760         (test-xfail-run-conformtest): Remove variable.
22761         ($(objpfx)run-conformtest.out): Remove target.
22762         (test-xfail-ISO11/complex.h/conform): New variable.
22763         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22764         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22765         (test-xfail-XPG3/varargs.h/conform): Likewise.
22766         (test-xfail-XPG4/varargs.h/conform): Likewise.
22767         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22768         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22769         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22770         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22771         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22772         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22773         (test-xfail-XPG3/ftw.h/conform): Likewise.
22774         (test-xfail-XPG3/grp.h/conform): Likewise.
22775         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22776         (test-xfail-XPG3/limits.h/conform): Likewise.
22777         (test-xfail-XPG3/pwd.h/conform): Likewise.
22778         (test-xfail-XPG3/search.h/conform): Likewise.
22779         (test-xfail-XPG3/signal.h/conform): Likewise.
22780         (test-xfail-XPG3/stdio.h/conform): Likewise.
22781         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22782         (test-xfail-XPG3/string.h/conform): Likewise.
22783         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22784         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22785         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22786         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22787         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22788         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22789         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22790         (test-xfail-XPG3/termios.h/conform): Likewise.
22791         (test-xfail-XPG3/time.h/conform): Likewise.
22792         (test-xfail-XPG3/unistd.h/conform): Likewise.
22793         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22794         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22795         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22796         (test-xfail-XPG4/netdb.h/conform): Likewise.
22797         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22798         (test-xfail-XPG4/signal.h/conform): Likewise.
22799         (test-xfail-XPG4/stdio.h/conform): Likewise.
22800         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22801         (test-xfail-XPG4/stropts.h/conform): Likewise.
22802         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22803         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22804         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22805         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22806         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22807         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22808         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22809         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22810         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22811         (test-xfail-XPG4/termios.h/conform): Likewise.
22812         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22813         (test-xfail-XPG4/unistd.h/conform): Likewise.
22814         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22815         (test-xfail-POSIX/sched.h/conform): Likewise.
22816         (test-xfail-POSIX/signal.h/conform): Likewise.
22817         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22818         (test-xfail-POSIX/tar.h/conform): Likewise.
22819         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22820         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22821         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22822         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22823         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22824         (test-xfail-UNIX98/sched.h/conform): Likewise.
22825         (test-xfail-UNIX98/signal.h/conform): Likewise.
22826         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22827         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22828         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22829         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22830         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22831         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22832         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22833         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22834         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22835         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22836         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22837         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22838         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22839         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22840         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22841         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22842         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22843         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22844         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22845         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22846         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22847         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22848         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22849         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22850         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22851         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22852         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22853         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22854         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22855         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22856         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22857         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22858         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22859         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22860         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22861         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22862         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22863         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22864         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22865         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22866         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22867         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22868         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22869         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22870         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22871         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22872         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22873         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22874         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22875         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22876         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22877         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22878         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22879         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22880         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22881         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22882         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22883         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22884         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22885         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22886         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22887         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22888         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22889         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22890         (conformtest-cc-flags): Likewise.
22891         ($(conformtest-header-tests): New target.
22892         * conform/check-header-lists.sh: New file.
22893         * conform/run-conformtest.sh: Remove.
22895         * conform/conformtest.pl: Allow ' and \ in values given for
22896         constants.
22897         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22898         inclusion.
22899         [POSIX] (sys/types.h): Likewise.
22900         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22901         inclusion.
22902         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22903         inclusion.
22904         * conform/data/signal.h-data (SIGIO): Remove expectation.
22905         [XPG3] (SIGBUS): Do not expect.
22906         [POSIX || XPG3] (SIGPOLL): Likewise.
22907         [POSIX || XPG3] (SIGPROF): Likewise.
22908         [POSIX || XPG3] (SIGSYS): Likewise.
22909         [XPG3] (SIGTRAP): Likewise.
22910         [POSIX || XPG3] (SIGURG): Likewise.
22911         [POSIX || XPG3] (SIGVTALRM): Likewise.
22912         [POSIX || XPG3] (SIGXCPU): Likewise.
22913         [POSIX || XPG3] (SIGXFSZ): Likewise.
22914         [POSIX] (SA_SIGINFO): Expect.
22915         [XPG3] (siginfo_t): Do not expect type or contents.
22916         [POSIX] (si_pid): Do not expect element.
22917         [POSIX] (si_uid): Likewise.
22918         [POSIX] (si_addr): Likewise.
22919         [POSIX] (si_status): Likewise.
22920         [POSIX] (si_band): Likewise.
22921         [XPG4] (si_value): Likewise.
22922         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22923         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22924         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22925         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22926         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22927         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22928         [POSIX || XPG3] (ILL_COPROC): Likewise.
22929         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22930         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22931         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22932         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22933         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22934         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22935         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22936         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22937         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22938         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22939         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22940         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22941         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22942         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22943         [POSIX || XPG3] (CLD_EXITED): Likewise.
22944         [POSIX || XPG3] (CLD_KILLED): Likewise.
22945         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22946         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22947         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22948         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22949         [POSIX || XPG3] (POLL_IN): Likewise.
22950         [POSIX || XPG3] (POLL_OUT): Likewise.
22951         [POSIX || XPG3] (POLL_MSG): Likewise.
22952         [POSIX || XPG3] (POLL_ERR): Likewise.
22953         [POSIX || XPG3] (POLL_PRI): Likewise.
22954         [POSIX || XPG3] (POLL_HUP): Likewise.
22955         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22956         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22957         (SIG*): Do not allow.
22958         [XPG3] (si_*): Likewise.
22959         [XPG3] (SI_*): Likewise.
22960         [XPG3 || XPG4] (sigev_*): Likewise.
22961         [XPG3 || XPG4] (SIGEV_*): Likewise.
22962         [XPG3 || XPG4] (sival_*): Likewise.
22963         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22964         [POSIX || XPG3] (BUS_*): Likewise.
22965         [POSIX || XPG3] (CLD_*): Likewise.
22966         [POSIX || XPG3] (FPE_*): Likewise.
22967         [POSIX || XPG3] (ILL_*): Likewise.
22968         [POSIX || XPG3] (POLL_*): Likewise.
22969         [POSIX || XPG3] (SEGV_*): Likewise.
22970         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22971         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22972         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22973         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22974         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22975         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22976         Specify type and value.
22977         (TVERSLEN): Likewise.
22978         (REGTYPE): Likewise.
22979         (AREGTYPE): Likewise.
22980         (LNKTYPE): Likewise.
22981         (SYMTYPE): Likewise.
22982         (CHRTYPE): Likewise.
22983         (BLKTYPE): Likewise.
22984         (DIRTYPE): Likewise.
22985         (FIFOTYPE): Likewise.
22986         (CONTTYPE): Likewise.
22987         (TSUID): Likewise.
22988         (TSGID): Likewise.
22989         (TSVTX): Likewise.
22990         (TUREAD): Likewise.
22991         (TUWRITE): Likewise.
22992         (TUEXEC): Likewise.
22993         (TGREAD): Likewise.
22994         (TGWRITE): Likewise.
22995         (TGEXEC): Likewise.
22996         (TOREAD): Likewise.
22997         (TOWRITE): Likewise.
22998         (TOEXEC): Likewise.
22999         [POSIX] (TSVTX): Expect constant.
23001 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23003         * Makefile (tests): Change dependencies to ....
23004         (tests-special): ... additions to this variable.
23005         (tests): Depend on $(tests-special).
23006         * Makerules (check-abi-list): New variable.
23007         (check-abi): Depend on $(check-abi-list).
23008         [$(subdir) = elf] (tests-special): Add
23009         $(objpfx)check-abi-libc.out.
23010         [$(build-shared) = yes && subdir] (tests-special): Add
23011         $(check-abi-list).
23012         [$(build-shared) = yes && subdir] (tests): Do not depend on
23013         check-abi.
23014         * Rules (tests): Depend on $(tests-special).
23015         (xtests): Depend on $(xtests-special).
23016         * catgets/Makefile (tests): Change dependencies to ....
23017         (tests-special): ... additions to this variable.
23018         * conform/Makefile (tests): Change dependencies to ....
23019         (tests-special): ... additions to this variable.
23020         * elf/Makefile (tests): Change dependencies to ....
23021         (tests-special): ... additions to this variable.
23022         * grp/Makefile (tests): Change dependencies to ....
23023         (tests-special): ... additions to this variable.
23024         * iconv/Makefile (xtests): Change dependencies to ....
23025         (xtests-special): ... additions to this variable.
23026         * iconvdata/Makefile (tests): Change dependencies to ....
23027         (tests-special): ... additions to this variable.
23028         * intl/Makefile (tests): Change dependencies to ....
23029         (tests-special): ... additions to this variable.  Also add
23030         $(objpfx)tst-gettext.out.
23031         * io/Makefile (tests): Change dependencies to ....
23032         (tests-special): ... additions to this variable.
23033         * libio/Makefile (tests): Change dependencies to ....
23034         (tests-special): ... additions to this variable.
23035         * malloc/Makefile (tests): Change dependencies to ....
23036         (tests-special): ... additions to this variable.
23037         * misc/Makefile (tests): Change dependencies to ....
23038         (tests-special): ... additions to this variable.
23039         * nptl/Makefile (tests): Change dependencies to ....
23040         (tests-special): ... additions to this variable.
23041         * nptl_db/Makefile (tests): Change dependencies to ....
23042         (tests-special): ... additions to this variable.
23043         * posix/Makefile (tests): Change dependencies to ....
23044         (tests-special): ... additions to this variable.
23045         (xtests): Change dependencies to ....
23046         (xtests-special): ... additions to this variable.
23047         * resolv/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         * stdio-common/Makefile (tests): Change dependencies to ....
23052         (tests-special): ... additions to this variable.
23053         (do-tst-unbputc): Remove target.
23054         (do-tst-printf): Likewise.
23055         * stdlib/Makefile (tests): Change dependencies to ....
23056         (tests-special): ... additions to this variable.
23057         * string/Makefile (tests): Change dependencies to ....
23058         (tests-special): ... additions to this variable.
23059         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23060         (tests-special): ... additions to this variable.
23062         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23063         whole file.
23064         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23065         whole file.
23066         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23067         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23069         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23070         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23071         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23072         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23073         * conform/data/libgen.h-data [XPG3]: Likewise.
23074         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23075         * conform/data/ndbm.h-data [XPG3]: Likewise.
23076         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23077         * conform/data/netdb.h-data [XPG3]: Likewise.
23078         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23079         * conform/data/poll.h-data [XPG3]: Likewise.
23080         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23081         * conform/data/strings.h-data [XPG3]: Likewise.
23082         * conform/data/stropts.h-data [XPG3]: Likewise.
23083         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23084         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23085         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23086         Likewise.
23087         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23088         * conform/data/sys/time.h-data [XPG3]: Likewise.
23089         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23090         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23091         * conform/data/sys/un.h-data [XPG3]: Likewise.
23092         * conform/data/syslog.h-data [XPG3]: Likewise.
23093         * conform/data/ucontext.h-data [XPG3]: Likewise.
23094         * conform/data/utmpx.h-data [XPG3]: Likewise.
23095         * conform/data/varargs.h-data [UNIX98]: Enable file.
23097         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23099         * math/libm-test.inc (struct test_f_f_data): Move expected results
23100         into structure for each rounding mode.
23101         (struct test_ff_f_data): Likewise.
23102         (struct test_ff_f_data_nexttoward): Likewise.
23103         (struct test_fi_f_data): Likewise.
23104         (struct test_fl_f_data): Likewise.
23105         (struct test_if_f_data): Likewise.
23106         (struct test_fff_f_data): Likewise.
23107         (struct test_c_f_data): Likewise.
23108         (struct test_f_f1_data): Likewise.
23109         (struct test_fF_f1_data): Likewise.
23110         (struct test_ffI_f1_data): Likewise.
23111         (struct test_c_c_data): Likewise.
23112         (struct test_cc_c_data): Likewise.
23113         (struct test_f_i_data): Likewise.
23114         (struct test_ff_i_data): Likewise.
23115         (struct test_f_l_data): Likewise.
23116         (struct test_f_L_data): Likewise.
23117         (struct test_fFF_11_data): Likewise.
23118         (RM_): New macro.
23119         (RM_FE_DOWNWARD): Likewise.
23120         (RM_FE_TONEAREST): Likewise.
23121         (RM_FE_TOWARDZERO): Likewise.
23122         (RM_FE_UPWARD): Likewise.
23123         (RUN_TEST_LOOP_f_f): Update references to expected results.
23124         (RUN_TEST_LOOP_2_f): Likewise.
23125         (RUN_TEST_LOOP_fff_f): Likewise.
23126         (RUN_TEST_LOOP_c_f): Likewise.
23127         (RUN_TEST_LOOP_f_f1): Likewise.
23128         (RUN_TEST_LOOP_fF_f1): Likewise.
23129         (RUN_TEST_LOOP_fI_f1): Likewise.
23130         (RUN_TEST_LOOP_ffI_f1): Likewise.
23131         (RUN_TEST_LOOP_c_c): Likewise.
23132         (RUN_TEST_LOOP_cc_c): Likewise.
23133         (RUN_TEST_LOOP_f_i): Likewise.
23134         (RUN_TEST_LOOP_f_i_tg): Likewise.
23135         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23136         (RUN_TEST_LOOP_f_b): Likewise.
23137         (RUN_TEST_LOOP_f_b_tg): Likewise.
23138         (RUN_TEST_LOOP_f_l): Likewise.
23139         (RUN_TEST_LOOP_f_L): Likewise.
23140         (RUN_TEST_LOOP_fFF_11): Likewise.
23141         * math/gen-libm-test.pl (parse_args): Output four copies of
23142         expected results for each test.
23144         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23145         (__ASSUME_UTIMES): Remove.
23146         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23147         (__ASSUME_UTIMES): Likewise.
23149         * math/gen-auto-libm-tests.c: Update comment on output format.
23150         (output_for_one_input_case): Generate before-rounding and
23151         after-rounding information as conditions on output flags not
23152         floating-point format.
23153         * math/auto-libm-test-out: Regenerated.
23154         * math/gen-libm-test.pl (cond_value): New function.
23155         (or_cond_value): Use cond_value.
23156         (generate_testfile): Handle conditional exceptions.
23158 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23160         * math/libm-test.inc (max_valid_error): New variable.
23161         (init_max_error): Take new argument specifying whether function
23162         results are exactly determined.  Set max_valid_error and bound
23163         other variables for errors based on this argument.
23164         (set_max_error): Do not record results above max_valid_error.
23165         (check_float_internal): Only accept errors of up to 0.5ulps if
23166         also at most max_valid_error.
23167         (START): Take new argument EXACT and pass it to init_max_error.
23168         (acos_test): Update call to START.
23169         (acos_test_tonearest): Likewise.
23170         (acos_test_towardzero): Likewise.
23171         (acos_test_downward): Likewise.
23172         (acos_test_upward): Likewise.
23173         (acosh_test): Likewise.
23174         (asin_test): Likewise.
23175         (asin_test_tonearest): Likewise.
23176         (asin_test_towardzero): Likewise.
23177         (asin_test_downward): Likewise.
23178         (asin_test_upward): Likewise.
23179         (asinh_test): Likewise.
23180         (atan_test): Likewise.
23181         (atanh_test): Likewise.
23182         (atan2_test): Likewise.
23183         (cabs_test): Likewise.
23184         (cacos_test): Likewise.
23185         (cacosh_test): Likewise.
23186         (carg_test): Likewise.
23187         (casin_test): Likewise.
23188         (casinh_test): Likewise.
23189         (catan_test): Likewise.
23190         (catanh_test): Likewise.
23191         (cbrt_test): Likewise.
23192         (ccos_test): Likewise.
23193         (ccosh_test): Likewise.
23194         (ceil_test): Likewise.
23195         (cexp_test): Likewise.
23196         (cimag_test): Likewise.
23197         (clog_test): Likewise.
23198         (clog10_test): Likewise.
23199         (conj_test): Likewise.
23200         (copysign_test): Likewise.
23201         (cos_test): Likewise.
23202         (cos_test_tonearest): Likewise.
23203         (cos_test_towardzero): Likewise.
23204         (cos_test_downward): Likewise.
23205         (cos_test_upward): Likewise.
23206         (cosh_test): Likewise.
23207         (cosh_test_tonearest): Likewise.
23208         (cosh_test_towardzero): Likewise.
23209         (cosh_test_downward): Likewise.
23210         (cosh_test_upward): Likewise.
23211         (cpow_test): Likewise.
23212         (cproj_test): Likewise.
23213         (creal_test): Likewise.
23214         (csin_test): Likewise.
23215         (csinh_test): Likewise.
23216         (csqrt_test): Likewise.
23217         (ctan_test): Likewise.
23218         (ctan_test_tonearest): Likewise.
23219         (ctan_test_towardzero): Likewise.
23220         (ctan_test_downward): Likewise.
23221         (ctan_test_upward): Likewise.
23222         (ctanh_test): Likewise.
23223         (ctanh_test_tonearest): Likewise.
23224         (ctanh_test_towardzero): Likewise.
23225         (ctanh_test_downward): Likewise.
23226         (ctanh_test_upward): Likewise.
23227         (erf_test): Likewise.
23228         (erfc_test): Likewise.
23229         (exp_test): Likewise.
23230         (exp_test_tonearest): Likewise.
23231         (exp_test_towardzero): Likewise.
23232         (exp_test_downward): Likewise.
23233         (exp_test_upward): Likewise.
23234         (exp10_test): Likewise.
23235         (exp10_test_tonearest): Likewise.
23236         (exp10_test_towardzero): Likewise.
23237         (exp10_test_downward): Likewise.
23238         (exp10_test_upward): Likewise.
23239         (pow10_test): Likewise.
23240         (exp2_test): Likewise.
23241         (expm1_test): Likewise.
23242         (expm1_test_tonearest): Likewise.
23243         (expm1_test_towardzero): Likewise.
23244         (expm1_test_downward): Likewise.
23245         (expm1_test_upward): Likewise.
23246         (fabs_test): Likewise.
23247         (fdim_test): Likewise.
23248         (floor_test): Likewise.
23249         (fma_test): Likewise.
23250         (fma_test_towardzero): Likewise.
23251         (fma_test_downward): Likewise.
23252         (fma_test_upward): Likewise.
23253         (fmax_test): Likewise.
23254         (fmin_test): Likewise.
23255         (fmod_test): Likewise.
23256         (fpclassify_test): Likewise.
23257         (frexp_test): Likewise.
23258         (hypot_test): Likewise.
23259         (ilogb_test): Likewise.
23260         (isfinite_test): Likewise.
23261         (finite_test): Likewise.
23262         (isgreater_test): Likewise.
23263         (isgreaterequal_test): Likewise.
23264         (isinf_test): Likewise.
23265         (isless_test): Likewise.
23266         (islessequal_test): Likewise.
23267         (islessgreater_test): Likewise.
23268         (isnan_test): Likewise.
23269         (isnormal_test): Likewise.
23270         (issignaling_test): Likewise.
23271         (isunordered_test): Likewise.
23272         (j0_test): Likewise.
23273         (j1_test): Likewise.
23274         (jn_test): Likewise.
23275         (ldexp_test): Likewise.
23276         (lgamma_test): Likewise.
23277         (gamma_test): Likewise.
23278         (lrint_test): Likewise.
23279         (lrint_test_tonearest): Likewise.
23280         (lrint_test_towardzero): Likewise.
23281         (lrint_test_downward): Likewise.
23282         (lrint_test_upward): Likewise.
23283         (llrint_test): Likewise.
23284         (llrint_test_tonearest): Likewise.
23285         (llrint_test_towardzero): Likewise.
23286         (llrint_test_downward): Likewise.
23287         (llrint_test_upward): Likewise.
23288         (log_test): Likewise.
23289         (log10_test): Likewise.
23290         (log1p_test): Likewise.
23291         (log2_test): Likewise.
23292         (logb_test): Likewise.
23293         (logb_test_downward): Likewise.
23294         (lround_test): Likewise.
23295         (llround_test): Likewise.
23296         (modf_test): Likewise.
23297         (nearbyint_test): Likewise.
23298         (nextafter_test): Likewise.
23299         (nexttoward_test): Likewise.
23300         (pow_test): Likewise.
23301         (pow_test_tonearest): Likewise.
23302         (pow_test_towardzero): Likewise.
23303         (pow_test_downward): Likewise.
23304         (pow_test_upward): Likewise.
23305         (remainder_test): Likewise.
23306         (drem_test): Likewise.
23307         (remainder_test_tonearest): Likewise.
23308         (drem_test_tonearest): Likewise.
23309         (remainder_test_towardzero): Likewise.
23310         (drem_test_towardzero): Likewise.
23311         (remainder_test_downward): Likewise.
23312         (drem_test_downward): Likewise.
23313         (remainder_test_upward): Likewise.
23314         (drem_test_upward): Likewise.
23315         (remquo_test): Likewise.
23316         (rint_test): Likewise.
23317         (rint_test_tonearest): Likewise.
23318         (rint_test_towardzero): Likewise.
23319         (rint_test_downward): Likewise.
23320         (rint_test_upward): Likewise.
23321         (round_test): Likewise.
23322         (scalb_test): Likewise.
23323         (scalbn_test): Likewise.
23324         (scalbln_test): Likewise.
23325         (signbit_test): Likewise.
23326         (sin_test): Likewise.
23327         (sin_test_tonearest): Likewise.
23328         (sin_test_towardzero): Likewise.
23329         (sin_test_downward): Likewise.
23330         (sin_test_upward): Likewise.
23331         (sincos_test): Likewise.
23332         (sinh_test): Likewise.
23333         (sinh_test_tonearest): Likewise.
23334         (sinh_test_towardzero): Likewise.
23335         (sinh_test_downward): Likewise.
23336         (sinh_test_upward): Likewise.
23337         (sqrt_test): Likewise.
23338         (sqrt_test_tonearest): Likewise.
23339         (sqrt_test_towardzero): Likewise.
23340         (sqrt_test_downward): Likewise.
23341         (sqrt_test_upward): Likewise.
23342         (tan_test): Likewise.
23343         (tan_test_tonearest): Likewise.
23344         (tan_test_towardzero): Likewise.
23345         (tan_test_downward): Likewise.
23346         (tan_test_upward): Likewise.
23347         (tanh_test): Likewise.
23348         (tgamma_test): Likewise.
23349         (trunc_test): Likewise.
23350         (y0_test): Likewise.
23351         (y1_test): Likewise.
23352         (yn_test): Likewise.
23353         (significand_test): Likewise.
23355         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23356         individual tests in comment.
23357         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23358         (prev_max_error): New variable.
23359         (prev_real_max_error): Likewise.
23360         (prev_imag_max_error): Likewise.
23361         (compare_ulp_data): Don't refer to test names in comment.
23362         (find_test_ulps): Remove function.
23363         (find_function_ulps): Likewise.
23364         (find_complex_function_ulps): Likewise.
23365         (init_max_error): Take function name as argument.  Look up ulps
23366         for that function.
23367         (print_ulps): Remove function.
23368         (print_max_error): Use prev_max_error instead of calling
23369         find_function_ulps.
23370         (print_complex_max_error): Use prev_real_max_error and
23371         prev_imag_max_error instead of calling find_complex_function_ulps.
23372         (check_float_internal): Take max_ulp parameter instead of calling
23373         find_test_ulps.  Don't call print_ulps.
23374         (check_float): Update call to check_float_internal.
23375         (check_complex): Update calls to check_float_internal.
23376         (START): Pass argument to init_max_error.
23377         * math/gen-libm-test.pl (%results): Don't include "kind"
23378         information.
23379         (parse_ulps): Don't handle ulps of individual tests.
23380         (print_ulps_file): Likewise.
23381         (output_ulps): Likewise.
23382         * math/README.libm-test: Update.
23383         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23384         individual tests.
23385         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23386         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23387         * sysdeps/arm/libm-test-ulps: Likewise.
23388         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23389         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23390         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23391         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23392         * sysdeps/microblaze/libm-test-ulps: Likewise.
23393         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23394         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23395         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23396         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23397         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23398         * sysdeps/sh/libm-test-ulps: Likewise.
23399         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23400         * sysdeps/tile/libm-test-ulps: Likewise.
23401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23403 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23405         * math/libm-test.inc (print_complex_max_error): Check separately
23406         whether real and imaginary errors are within allowed range and
23407         pass 0 to print_complex_function_ulps instead of value within
23408         allowed range.
23410 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23412         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23413         formatting.
23414         (get_handles_fopen): Likewise.
23415         (do_write_test): Likewise.
23417         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23419         * libio/fileops.c (do_ftell): Use cached offset when
23420         available.
23421         * libio/iofwide.c (do_ftell_wide): Likewise.
23422         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23423         _IO_file_attach.
23424         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23426         [BZ #16532]
23427         * libio/libioP.h (get_file_offset): New function.
23428         * libio/fileops.c (get_file_offset): Likewise.
23429         (do_ftell): Likewise.
23430         (_IO_new_file_seekoff): Split out ftell logic.
23431         * libio/wfileops.c (do_ftell_wide): Likewise.
23432         (_IO_wfile_seekoff): Split out ftell logic.
23433         * libio/tst-ftell-active-handler.c: New test case.
23434         * libio/Makefile (tests): Add it.
23436 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23438         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23439         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23441 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23443         [BZ #16639]
23444         * nscd/connections.c (nscd_init): Call do_exit.
23445         (start_threads): Call do_exit and notify_parent.
23446         (begin_drop_privileges): Call do_exit.
23447         (finish_drop_privileges): Likewise.
23448         * nscd/selinux.c (preserve_capabilities): Likewise.
23449         (install_real_capabilities): Likewise.
23450         (nscd_selinux_enabled): Likewise.
23451         (avc_create_thread): Likewise.
23452         (avc_alloc_lock): Likewise.
23453         (nscd_avc_init): Likewise.
23454         * nscd/nscd.c (parent_fd): New static variable.
23455         (main): Create a pipe between parent and child processes.
23456         Skip closing parent_fd.
23457         (monitor_child): New function.
23458         (do_exit): Likewise.
23459         (notify_parent): Likewise.
23460         * nscd/nscd.h (notify_parent): Likewise.
23461         (do_exit): Likewise.
23463 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23465         * malloc/malloc.c (__libc_calloc): Revert last change.
23467 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23471 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23473         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23475         implementation.
23476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23477         (__libc_ifunc_impl_list): Likewise.
23478         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23479         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23480         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23481         * string/strrchr.c: Define STRRCHR.
23483 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23485         * benchtest/bench-strtok.c (simple_strtok): Delete.
23486         (strtok_string): Use as benchmark.
23487         * string/strtok (STRTOK): New macro.
23489 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23491         * manual/threads.texi: Add header and standard comments to all
23492         functions.
23494         * elf/dl-lookup.c (check_match): New function.
23495         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23496         (do_lookup_x): Remove nested function check_match. Use non-nested
23497         function check_match.
23499 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23501         * csu/Makefile (generated, before-compile): Use += rather than =.
23502         * catgets/Makefile (generated, generated-dirs): Likewise.
23503         * debug/Makefile (generated): Likewise.
23504         * dlfcn/Makefile (generated): Likewise.
23505         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23506         * iconvdata/Makefile (before-compile, generated): Likewise.
23507         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23508         * libio/Makefile (generated): Likewise.
23509         * malloc/Makefile (generated): Likewise.
23510         * manual/Makefile (generated, generated-dirs): Likewise.
23511         * misc/Makefile (generated): Likewise.
23512         * posix/Makefile (generated): Likewise.
23513         * resolv/Makefile (generated): Likewise.
23514         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23515         * timezone/Makefile (generated, generated-dirs): Likewise.
23517         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23519 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23521         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23522         power8 implementation.
23523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23524         file: POWER8 llround ifunc implementation.
23525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23526         (__lllround): Add POWER8 implementation.
23527         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23528         POWER8 llround implementation.
23530         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23531         power8 implementation.
23532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23533         file: POWER8 llrint ifunc implementation.
23534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23535         Add POWER8 implementation.
23536         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23537         POWER8 llrint implementation.
23539         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23540         power8 implementation.
23541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23542         file: POWER8 finite ifunc implementation.
23543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23544         Add POWER8 implementation.
23545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23546         Likewise.
23547         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23548         POWER8 finite implementation.
23549         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23551         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23552         power8 implementation.
23553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23554         file: POWER8 isinf ifunc implementation.
23555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23556         POWER8 implementation.
23557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23558         Likewise.
23559         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23560         isinf implementation.
23561         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23563         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23564         (INIT_ARCH): Add hwcap2 initialization.
23565         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23566         power8 implementation.
23567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23568         file: POWER8 isnan ifunc implementation.
23569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23570         POWER8 implementation.
23571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23572         Likewise.
23573         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23574         isnan implementation.
23575         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23577 2014-02-27  Joey Ye  <joey.ye@arm.com>
23579         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23580         (_FP_NANFRAC_Q): Set to zero.
23582 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23584         [BZ #16623]
23585         * math/auto-libm-test-in: New test inputs.
23586         * math/auto-libm-test-out: Regenerate.
23587         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23588         and DA.
23589         (__cos): Likewise.
23590         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23592 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23594         * scripts/evaluate-test.sh: Take new argument indicating whether
23595         failure is expected.
23596         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23597         indicating whether failure is expected.
23598         * conform/Makefile (test-xfail-run-conformtest): New variable.
23599         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23600         level.
23601         * posix/Makefile (test-xfail-annexc): New variable.
23602         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23604 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23606         * argp/Makefile: Include Makeconfig immediately after defining
23607         subdir.
23608         * assert/Makefile: Likewise.
23609         * benchtests/Makefile: Likewise.
23610         * catgets/Makefile: Likewise.
23611         * conform/Makefile: Likewise.
23612         * crypt/Makefile: Likewise.
23613         * csu/Makefile: Likewise.
23614         (all): Remove target.
23615         * ctype/Makefile: Include Makeconfig immediately after defining
23616         subdir.
23617         * debug/Makefile: Likewise.
23618         * dirent/Makefile: Likewise.
23619         * dlfcn/Makefile: Likewise.
23620         * gmon/Makefile: Likewise.
23621         * gnulib/Makefile: Likewise.
23622         * grp/Makefile: Likewise.
23623         * gshadow/Makefile: Likewise.
23624         * hesiod/Makefile: Likewise.
23625         * hurd/Makefile: Likewise.
23626         (all): Remove target.
23627         * iconvdata/Makefile: Include Makeconfig immediately after
23628         defining subdir.
23629         * inet/Makefile: Likewise.
23630         * intl/Makefile: Likewise.
23631         * io/Makefile: Likewise.
23632         * libio/Makefile: Likewise.
23633         (all): Remove target.
23634         * locale/Makefile: Include Makeconfig immediately after defining
23635         subdir.
23636         * login/Makefile: Likewise.
23637         * mach/Makefile: Likewise.
23638         (all): Remove target.
23639         * malloc/Makefile: Include Makeconfig immediately after defining
23640         subdir.
23641         (all): Remove target.
23642         * manual/Makefile: Include Makeconfig immediately after defining
23643         subdir.
23644         * math/Makefile: Likewise.
23645         * misc/Makefile: Likewise.
23646         * nis/Makefile: Likewise.
23647         * nss/Makefile: Likewise.
23648         * po/Makefile: Likewise.
23649         (all): Remove target.
23650         * posix/Makefile: Include Makeconfig immediately after defining
23651         subdir.
23652         * pwd/Makefile: Likewise.
23653         * resolv/Makefile: Likewise.
23654         * resource/Makefile: Likewise.
23655         * rt/Makefile: Likewise.
23656         * setjmp/Makefile: Likewise.
23657         * shadow/Makefile: Likewise.
23658         * signal/Makefile: Likewise.
23659         * socket/Makefile: Likewise.
23660         * soft-fp/Makefile: Likewise.
23661         * stdio-common/Makefile: Likewise.
23662         * stdlib/Makefile: Likewise.
23663         * streams/Makefile: Likewise.
23664         * string/Makefile: Likewise.
23665         * sunrpc/Makefile: Likewise.
23666         (all): Remove target.
23667         * sysvipc/Makefile: Include Makeconfig immediately after defining
23668         subdir.
23669         * termios/Makefile: Likewise.
23670         * time/Makefile: Likewise.
23671         * timezone/Makefile: Likewise.
23672         (all): Remove target.
23673         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23674         subdir.
23675         * wctype/Makefile: Likewise.
23677 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23679         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23680         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23681         (libc_feholdexcept_setround_mips): Ditto.
23682         (libc_feholdsetround): New.
23683         (libc_feholdsetroundf): New.
23684         (libc_feholdsetroundl): New.
23685         (libc_feupdateenv_test_mips): New.
23686         (libc_feupdateenv_test): New.
23687         (libc_feupdateenv_testf): New.
23688         (libc_feupdateenv_testl): New.
23689         (libc_feresetround): New.
23690         (libc_feresetroundf): New.
23691         (libc_feresetroundl): New.
23692         (libc_fetestexcept_mips): New.
23693         (libc_fetestexcept): New.
23694         (libc_fetestexceptf): New.
23695         (libc_fetestexceptl): New.
23696         (HAVE_RM_CTX): New.
23697         (libc_feholdexcept_setround_mips_ctx): New.
23698         (libc_feholdexcept_setround_ctx): New.
23699         (libc_feholdexcept_setroundf_ctx): New.
23700         (libc_feholdexcept_setroundl_ctx): New.
23701         (libc_fesetenv_mips_ctx): New.
23702         (libc_fesetenv_ctx): New.
23703         (libc_fesetenv_ctxf): New.
23704         (libc_fesetenv_ctxl): New.
23705         (libc_feupdateenv_mips_ctx): New.
23706         (libc_feupdateenv_ctx): New.
23707         (libc_feupdateenvf_ctx): New.
23708         (libc_feupdateenvl_ctx): New.
23709         (libc_feholdsetround_mips_ctx): New.
23710         (libc_feholdsetround_ctx): New.
23711         (libc_feholdsetroundf_ctx): New.
23712         (libc_feholdsetroundl_ctx): New.
23713         (libc_feresetround_mips_ctx): New.
23714         (libc_feresetround_ctx): New.
23715         (libc_feresetroundf_ctx): New.
23716         (libc_feresetroundl_ctx): New.
23718 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23720         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23722         * manual/ipc.texi: New file.
23723         * manual/Makefile (chapters): Add ipc.
23724         * manual/job.texi: Add "Inter-Process Communication" to next.
23725         * manual/process.texi: Add "Inter-Process Communication" to prev.
23727 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23731 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23733         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23735         * manual/arith.texi: Fix spaces after sentences.
23736         * manual/charset.texi: Likewise.
23737         * manual/errno.texi: Likewise.
23738         * manual/install.texi: Likewise.
23739         * manual/llio.texi: Likewise.
23740         * manual/locale.texi: Likewise.
23741         * manual/maint.texi: Likewise.
23742         * manual/math.texi: Likewise.
23743         * manual/memory.texi: Likewise.
23744         * manual/message.texi: Likewise.
23745         * manual/probes.texi: Likewise.
23746         * manual/resource.texi: Likewise.
23747         * manual/signal.texi: Likewise.
23748         * manual/socket.texi: Likewise.
23749         * manual/stdio.texi: Likewise.
23750         * manual/string.texi: Likewise.
23751         * manual/time.texi: Likewise.
23752         * manual/users.texi: Likewise.
23754 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23756         [BZ #16632]
23757         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23758         _DEFAULT_SOURCE is defined.
23760 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23761             Carlos O'Donell  <carlos@redhat.com>
23763         [BZ #16613]
23764         * elf/dl-tls.c (_dl_count_modids): New function.
23765         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23766         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23767         audit library and increment generation counter.
23768         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23769         * elf/tst-audit9.c: New file.
23770         * elf/tst-auditmod9a.c: New file.
23771         * elf/tst-auditmod9b.c: New file.
23772         * elf/Makefile: Add rules to build and run tst-audit9.
23774 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23776         [BZ #15347]
23777         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23779 2014-02-25  Will Newton  <will.newton@linaro.org>
23781         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23782         (__longjmp): Restore sp and lr before restoring callee
23783         saved registers.  Add longjmp and longjmp_target
23784         SystemTap probe point.
23785         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23786         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23787         Define to zero to match jmpbuf layout.
23788         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23789         (__sigsetjmp): Save sp and lr before saving callee
23790         saved registers.  Add setjmp SystemTap probe point.
23792 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23794         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23796 2014-02-24  Andreas Schwab  <schwab@suse.de>
23798         [BZ #15804]
23799         * elf/pldd.c (wait_for_ptrace_stop): New function.
23800         (main): Call it after attaching.
23802 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23804         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23805         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23806         Versions files is now verboten.
23807         * hurd/Versions (libc: GLIBC_2.0):
23808         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23809         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23810         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23811         * mach/Versions: Likewise.
23813         * csu/Versions: Remove unused %include.
23814         * resolv/Versions: Likewise.
23816 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23818         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23819         ($(objpfx)check-local-headers.out): Likewise.
23820         ($(objpfx)begin-end-check.out): Likewise.
23821         * Makerules (check-abi-%.out): Likewise.
23822         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23823         ($(objpfx)test2.cat): Likewise.
23824         ($(objpfx)de/libc.cat): Likewise.
23825         ($(objpfx)test-gencat.out): Likewise.
23826         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23827         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23828         ($(objpfx)noload-mem): Likewise.
23829         ($(objpfx)tst-pathopt.out): Likewise.
23830         ($(objpfx)tst-rtld-load-self.out): Likewise.
23831         ($(objpfx)tst-array1-cmp.out): Likewise.
23832         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23833         ($(objpfx)tst-array2-cmp.out): Likewise.
23834         ($(objpfx)tst-array3-cmp.out): Likewise.
23835         ($(objpfx)tst-array4-cmp.out): Likewise.
23836         ($(objpfx)tst-array5-cmp.out): Likewise.
23837         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23838         ($(objpfx)check-textrel.out): Likewise.
23839         ($(objpfx)check-execstack.out): Likewise.
23840         ($(objpfx)check-localplt.out): Likewise.
23841         ($(objpfx)order2-cmp.out): Likewise.
23842         ($(objpfx)tst-leaks1-mem): Likewise.
23843         ($(objpfx)tst-leaks1-static-mem): Likewise.
23844         ($(objpfx)tst-initorder-cmp.out): Likewise.
23845         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23846         ($(objpfx)tst-unused-dep.out): Likewise.
23847         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23848         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23849         * iconv/Makefile (test-iconvconfig): Likewise.
23850         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23851         ($(objpfx)iconv-test.out): Likewise.
23852         ($(objpfx)tst-tables.out): Likewise.
23853         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23854         ($(objpfx)tst-gettext.out): Likewise.
23855         ($(objpfx)tst-translit.out): Likewise.
23856         ($(objpfx)tst-gettext2.out): Likewise.
23857         ($(objpfx)tst-gettext4.out): Likewise.
23858         ($(objpfx)tst-gettext6.out): Likewise.
23859         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23860         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23861         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23862         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23863         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23864         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23865         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23866         ($(objpfx)wordexp-tst.out): Likewise.
23867         ($(objpfx)annexc.out): Likewise.
23868         ($(objpfx)tst-fnmatch-mem): Likewise.
23869         ($(objpfx)bug-regex2-mem): Likewise.
23870         ($(objpfx)bug-regex14-mem): Likewise.
23871         ($(objpfx)bug-regex21-mem): Likewise.
23872         ($(objpfx)bug-regex31-mem): Likewise.
23873         ($(objpfx)tst-vfork3-mem): Likewise.
23874         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23875         ($(objpfx)tst-pcre-mem): Likewise.
23876         ($(objpfx)tst-boost-mem): Likewise.
23877         ($(objpfx)tst-getconf.out): Likewise.
23878         ($(objpfx)bug-ga2-mem): Likewise.
23879         ($(objpfx)bug-glob2-mem): Likewise.
23880         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23881         ($(objpfx)mtrace-tst-leaks2): Likewise.
23882         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23883         ($(objpfx)tst-printf.out): Likewise.
23884         ($(objpfx)tst-setvbuf1.out): Likewise.
23885         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23886         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23887         ($(objpfx)tst-fmtmsg.out): Likewise.
23888         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23889         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23891         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23892         * bits/sigaction.h [__USE_MISC]: Likewise.
23893         * bits/waitstatus.h: Update #endif comments.
23894         * ctype/ctype.h: Likewise.
23895         * dirent/dirent.h: Likewise.
23896         [__USE_MISC]: Remove redundant conditionals.
23897         * grp/grp.h: Update #endif comments.
23898         [__USE_GNU]: Remove redundant conditionals.
23899         [__USE_MISC]: Likewise.
23900         * inet/netinet/in.h [__USE_GNU]: Likewise.
23901         * io/sys/stat.h [__USE_MISC]: Likewise.
23902         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23903         * libio/bits/stdio.h: Update #endif comments.
23904         [__USE_MISC]: Remove redundant conditionals.
23905         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23906         * libio/stdio.h: Update #endif comments.
23907         [__USE_MISC]: Remove redundant conditionals.
23908         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23909         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23910         * math/math.h: Update #else and #endif comments.
23911         [__USE_MISC]: Remove redundant conditionals.
23912         * misc/sys/uio.h: Update #endif comments.
23913         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23914         * posix/glob.h [__USE_MISC]: Likewise.
23915         * posix/sys/types.h: Update #endif comments.
23916         [__USE_MISC]: Remove redundant conditionals.
23917         * posix/sys/wait.h: Update #endif comments.
23918         [__USE_MISC]: Remove redundant conditionals.
23919         * posix/unistd.h: Update #endif comments.
23920         [__USE_MISC]: Remove redundant conditionals.
23921         * pwd/pwd.h [__USE_GNU]: Likewise.
23922         [__USE_MISC]: Likewise.
23923         * resolv/netdb.h [__USE_GNU]: Likewise.
23924         * signal/signal.h: Update #endif comments.
23925         [__USE_MISC]: Remove redundant conditionals.
23926         * stdlib/stdlib.h: Update #else and #endif comments.
23927         [__USE_MISC]: Remove redundant conditionals.
23928         [__USE_GNU]: Likewise.
23929         * string/bits/string2.h [__USE_MISC]: Likewise.
23930         * string/string.h: Update #endif comments.
23931         [__USE_MISC]: Remove redundant conditionals.
23932         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23933         Likewise.
23934         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23935         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23936         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23937         Likewise.
23938         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23939         Likewise.
23940         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23941         comments.
23942         [__USE_MISC]: Remove redundant conditionals.
23943         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23944         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23945         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23946         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23947         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23948         Likewise.
23949         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23950         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23951         Likewise.
23952         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23953         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23954         Likewise.
23955         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23956         Likewise.
23957         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23958         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23959         Likewise.
23960         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23961         Likewise.
23962         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23963         * sysdeps/x86/bits/string.h: Update #endif comments.
23964         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23965         conditionals.
23966         * time/sys/time.h: Update #endif comments.
23967         * time/time.h: Likewise.
23968         [__USE_MISC]: Remove redundant conditionals.
23970 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23972         [BZ #16600]
23973         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23975 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23977         * Versions.def (librt): Add GLIBC_2.17.
23979 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23981         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23982         synonym for _SYS_AUXV_H to allow direct inclusion.
23983         * sysdeps/sparc/bits/hwcap.h: Likewise.
23984         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23985         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23986         * sysdeps/sparc/sysdep.h: Likewise.
23988 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23990         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23992 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23994         * benchtests/bench-strrchr.c: Print length instead of position.
23996 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23998         [BZ #16611]
23999         * sysdeps/unix/sysv/linux/kernel-features.h
24000         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24001         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24002         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24003         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24004         Likewise.
24005         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24006         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24007         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24008         (__ASSUME_SENDMMSG): Define instead of using previous
24009         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24010         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24011         (__ASSUME_SENDMMSG_SYSCALL): Define.
24012         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24013         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24014         Likewise.
24015         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24016         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24017         Likewise.
24018         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24019         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24020         Likewise.
24021         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24022         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24023         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24024         [__ASSUME_SENDMMSG]: Change conditionals to
24025         [__ASSUME_SENDMMSG_SOCKETCALL].
24026         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24027         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24028         Define.
24029         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24030         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24031         Likewise.
24032         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24033         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24034         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24035         [!__ASSUME_SENDMMSG]: Change conditional to
24036         [!__ASSUME_SENDMMSG_SOCKETCALL].
24037         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24038         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24039         Define.
24041         [BZ #16610]
24042         * sysdeps/unix/sysv/linux/kernel-features.h
24043         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24044         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24045         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24046         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24047         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24048         [__i386__ || __sparc__]
24049         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24050         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24051         (__ASSUME_RECVMMSG): Define instead of using previous
24052         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24053         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24054         (__ASSUME_RECVMMSG_SYSCALL): Define.
24055         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24056         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24057         Likewise.
24058         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24059         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24060         Likewise.
24061         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24062         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24063         Likewise.
24064         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24065         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24066         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24067         [__ASSUME_RECVMMSG]: Change condition to
24068         [__ASSUME_RECVMMSG_SOCKETCALL].
24069         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24070         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24071         Define.
24072         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24073         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24074         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24075         Likewise.
24076         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24077         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24078         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24079         [!__ASSUME_RECVMMSG]: Change condition to
24080         [!__ASSUME_RECVMMSG_SOCKETCALL].
24081         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24082         (__ASSUME_RECVMMSG_SYSCALL): Define.
24084         [BZ #16609]
24085         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24086         __powerpc__ || __s390__ || __sh__ || __sparc__]
24087         (__ASSUME_SOCKETCALL): Define.
24088         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24089         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24090         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24091         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24092         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24093         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24094         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24095         (__ASSUME_ACCEPT4): Define instead of using previous
24096         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24097         __powerpc__ || __sparc__ || __s390__)] condition.
24098         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24099         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24100         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24101         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24102         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24103         [!__ASSUME_ACCEPT4]: Change condition to
24104         [!__ASSUME_ACCEPT4_SOCKETCALL].
24105         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24106         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24107         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24108         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24109         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24110         __ASSUME_ACCEPT4_SYSCALL.
24111         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24112         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24113         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24114         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24115         __ASSUME_ACCEPT4_SYSCALL.
24116         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24117         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24118         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24119         [__ASSUME_ACCEPT4]: Change condition to
24120         [__ASSUME_ACCEPT4_SOCKETCALL].
24121         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24122         (__ASSUME_SOCKETCALL): Define.
24123         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24124         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24125         (__ASSUME_SOCKETCALL): Define.
24126         (__ASSUME_ACCEPT4): Remove.
24127         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24128         Define.
24129         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24130         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24131         Likewise.
24132         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24133         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24135         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24136         macro.
24137         (HWCAP_ARM_LPAE): Likewise.
24138         (HWCAP_ARM_EVTSTRM): Likewise.
24139         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24140         Add vpfd32, lpae and evtstrm.
24141         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24142         Increase to 22.
24144 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24146         * math/auto-libm-test-in: Add tests of clog10.
24147         * math/auto-libm-test-out: Regenerated.
24148         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24149         * sysdeps/i386/fpu/libm-test-ulps: Update.
24150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24152 2014-02-18  Andreas Schwab  <schwab@suse.de>
24154         [BZ #16574]
24155         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24156         Store non-zero if the second buffer was newly allocated.
24157         (send_dg): Likewise.
24158         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24159         to send_vc and send_dg.
24160         (res_nsend): Pass NULL for ansp2_malloced.
24161         * resolv/res_query.c (__libc_res_nquery): Add parameter
24162         answerp2_malloced and pass it down to __libc_res_nsend.
24163         (res_nquery): Pass additional NULL to __libc_res_nquery.
24164         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24165         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24166         second answer buffer if answerp2_malloced was set.
24167         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24168         (__libc_res_nquerydomain): Add parameter
24169         answerp2_malloced and pass it down to __libc_res_nquery.
24170         (res_nquerydomain): Pass additional NULL to
24171         __libc_res_nquerydomain.
24172         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24173         additional NULL to __libc_res_nsend and __libc_res_nquery.
24174         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24175         additional NULL to __libc_res_nsearch.
24176         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24177         parameter of __libc_res_nsearch to check for separately allocated
24178         second buffer.
24179         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24180         __libc_res_nquery.
24181         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24182         additional NULL to __libc_res_nquery.
24183         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24184         __libc_res_nsearch.
24185         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24186         * include/resolv.h: Update prototypes of __libc_res_nquery,
24187         __libc_res_nsearch, __libc_res_nsend.
24189 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24191         * math/auto-libm-test-in: Add tests of fma.
24192         * math/auto-libm-test-out: Regenerated.
24193         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24194         (fma_towardzero_test_data): Likewise.
24195         (fma_downward_test_data): Likewise.
24196         (fma_upward_test_data): Likewise.
24197         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24198         mpc_mode.
24199         (rounding_modes): Add values for new field.
24200         (func_calc_method): Add value mpfr_fff_f.
24201         (func_calc_desc): Add mpfr_fff_f union field.
24202         (test_function): Add field exact_args.
24203         (FUNC): Add macro argument EXACT_ARGS.
24204         (FUNC_mpfr_f_f): Update call to FUNC.
24205         (FUNC_mpfr_f_f): Likewise.
24206         (FUNC_mpfr_ff_f): Likewise.
24207         (FUNC_mpfr_if_f): Likewise.
24208         (FUNC_mpc_c_f): Likewise.
24209         (FUNC_mpc_c_c): Likewise.
24210         (test_functions): Add fma.  Update calls to FUNC.
24211         (handle_input_arg): Add argument exact_args.
24212         (add_test): Update call to handle_input_arg.
24213         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24214         (output_for_one_input_case): Update call to calc_generic_results.
24215         Recalculate exact zero results in each rounding mode.
24217         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24218         non-negative before setting low bit.
24219         * math/auto-libm-test-in: Mark one asin test possibly having
24220         spurious underflow.
24221         * math/auto-libm-test-out: Regenerated.
24222         * sysdeps/i386/fpu/libm-test-ulps: Update.
24223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24225 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24227         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24228         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24229         ports/sysdeps/unix/sysv/linux/microblaze.
24230         * README: Add missing listing for microblaze*-*-linux-gnu.
24232 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24234         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24235         duplicate code
24237 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24239         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24240         * sysdeps/unix/sysv/linux/ia64: Move directory from
24241         ports/sysdeps/unix/sysv/linux/ia64.
24242         * README: Update listing for ia64-*-linux-gnu.
24244 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24245             Joseph Myers  <joseph@codesourcery.com>
24247         * Makeconfig (test-name): New variable.
24248         (evaluate-test): Likewise.
24249         * Makerules (do-test-clean): Remove .test-result files.
24250         (common-mostlyclean): Likewise.
24251         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24252         * scripts/evaluate-test.sh: New file.
24254 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24256         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24257         separate $(objpfx)tst-fopenloc-cmp.out and
24258         $(objpfx)tst-fopenloc-mem.out targets.
24259         (tests): Update dependencies.
24260         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24261         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24262         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24263         (tst-rxspencer-no-utf8-ARGS): New variable.
24264         (tst-rxspencer-no-utf8-ENV): Likewise.
24265         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24266         instead of $(objpfx)tst-rxspencer-mem.
24267         ($(objpfx)tst-rxspencer-mem): Change target to
24268         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24269         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24270         * posix/tst-rxspencer-no-utf8.c: New file.
24272         * elf/Makefile ($(objpfx)order.out): Remove rule.
24273         [$(run-built-tests) = yes] (tests): Depend on
24274         $(objpfx)order-cmp.out.
24275         ($(objpfx)order-cmp.out): New rule.
24276         [$(run-built-tests) = yes] (tests): Depend on
24277         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24278         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24279         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24280         $(objpfx)tst-array5-static-cmp.out.
24281         ($(objpfx)tst-array1.out): Remove rule.
24282         ($(objpfx)tst-array1-cmp.out): New rule.
24283         ($(objpfx)tst-array1-static.out): Remove rule.
24284         ($(objpfx)tst-array1-static-cmp.out): New rule.
24285         ($(objpfx)tst-array2.out): Remove rule.
24286         ($(objpfx)tst-array2-cmp.out): New rule.
24287         ($(objpfx)tst-array3.out): Remove rule.
24288         ($(objpfx)tst-array3-cmp.out): New rule.
24289         ($(objpfx)tst-array4.out): Remove rule.
24290         ($(objpfx)tst-array4-cmp.out): New rule.
24291         ($(objpfx)tst-array5.out): Remove rule.
24292         ($(objpfx)tst-array5-cmp.out): New rule.
24293         ($(objpfx)tst-array5-static.out): Remove rule.
24294         ($(objpfx)tst-array5-static-cmp.out): New rule.
24295         [$(run-built-tests) = yes] (tests): Depend on
24296         $(objpfx)order2-cmp.out.
24297         ($(objpfx)order2.out): Remove rule.
24298         ($(objpfx)order2-cmp.out): New rule.
24299         ($(objpfx)tst-initorder.out): Remove rule.
24300         [$(run-built-tests) = yes] (tests): Depend on
24301         $(objpfx)tst-initorder-cmp.out.
24302         ($(objpfx)tst-initorder-cmp.out): New rule.
24303         ($(objpfx)tst-initorder2.out): Remove rule.
24304         [$(run-built-tests) = yes] (tests): Depend on
24305         $(objpfx)tst-initorder2-cmp.out.
24306         ($(objpfx)tst-initorder2-cmp.out): New rule.
24307         [$(run-built-tests) = yes] (tests): Depend on
24308         $(objpfx)tst-unused-dep-cmp.out.
24309         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24310         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24311         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24312         on $(objpfx)tst-setvbuf1-cmp.out.
24313         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24314         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24315         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24316         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24317         ($(objpfx)tst-svc.out): Remove rule.
24318         ($(objpfx)tst-svc-cmp.out): New rule.
24320 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24322         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24323         * ctype/ctype.h [__USE_MISC]: Likewise.
24324         * dirent/dirent.h [__USE_MISC]: Likewise.
24325         * grp/grp.h [__USE_MISC]: Likewise.
24326         * io/fcntl.h [__USE_MISC]: Likewise.
24327         * io/sys/stat.h [__USE_MISC]: Likewise.
24328         * libio/stdio.h [__USE_MISC]: Likewise.
24329         * posix/unistd.h [__USE_MISC]: Likewise.
24330         * pwd/pwd.h [__USE_MISC]: Likewise.
24331         * stdlib.h [__USE_MISC]: Likewise.
24332         * string/bits/string2.h [__USE_MISC]: Likewise.
24333         * string/string.h [__USE_MISC]: Likewise.
24334         * time/time.h [__USE_MISC]: Likewise.
24336 2014-02-13  Andreas Schwab  <schwab@suse.de>
24338         [BZ #16574]
24339         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24340         second answer buffer if it was separately allocated.
24342 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24344         * sysdeps/mips/math-tests.h: Include <features.h>.
24345         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24346         (ROUNDING_TESTS_long_double): Do not define.
24347         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24348         (EXCEPTION_TESTS_long_double): Likewise.
24349         * sysdeps/mips/mips64/libm-test-ulps: Update.
24351         * include/features.h (__USE_BSD): Remove macro definitions.
24352         (__USE_SVID): Likewise.
24353         (_BSD_SOURCE): Likewise.
24354         (_SVID_SOURCE): Likewise.
24355         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24356         from definition of _DEFAULT_SOURCE.
24357         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24358         [_DEFAULT_SOURCE].
24359         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24360         * bits/mman.h [__USE_BSD]: Likewise.
24361         * bits/termios.h [__USE_BSD]: Likewise.
24362         * bits/waitstatus.h [__USE_BSD]: Likewise.
24363         * ctype/ctype.h [__USE_SVID]: Likewise.
24364         * dirent/dirent.h [__USE_BSD]: Likewise.
24365         * grp/grp.h [__USE_SVID]: Likewise.
24366         [__USE_BSD]: Likewise.
24367         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24368         * io/fcntl.h [__USE_BSD]: Likewise.
24369         * io/ftw.h [__USE_BSD]: Likewise.
24370         * io/sys/stat.h [__USE_BSD]: Likewise.
24371         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24372         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24373         * libio/stdio.h [__USE_SVID]: Likewise.
24374         [__USE_BSD]: Likewise.
24375         * math/math.h [__USE_SVID]: Likewise.
24376         [__USE_BSD]: Likewise.
24377         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24378         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24379         * misc/search.h [__USE_SVID]: Likewise.
24380         * misc/sys/mman.h [__USE_BSD]: Likewise.
24381         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24382         * misc/sys/uio.h [__USE_BSD]: Likewise.
24383         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24384         * posix/glob.h [__USE_BSD]: Likewise.
24385         * posix/regex.h [__USE_BSD]: Likewise.
24386         * posix/sys/types.h [__USE_BSD]: Likewise.
24387         [__USE_SVID]: Likewise.
24388         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24389         * posix/sys/wait.h [__USE_BSD]: Likewise.
24390         [__USE_SVID]: Likewise.
24391         * posix/unistd.h [__USE_BSD]: Likewise.
24392         [__USE_SVID]: Likewise.
24393         * pwd/pwd.h [__USE_SVID]: Likewise.
24394         * resolv/netdb.h [__USE_BSD]: Likewise.
24395         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24396         * signal/signal.h [__USE_BSD]: Likewise.
24397         [__USE_SVID]: Likewise.
24398         * socket/sys/socket.h [__USE_BSD]: Likewise.
24399         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24400         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24401         [__USE_SVID]: Likewise.
24402         * string/bits/string2.h [__USE_BSD]: Likewise.
24403         [__USE_SVID]: Likewise.
24404         * string/bits/string3.h [__USE_BSD]: Likewise.
24405         * string/endian.h [__USE_BSD]: Likewise.
24406         * string/string.h [__USE_SVID]: Likewise.
24407         [__USE_BSD]: Likewise.
24408         * string/strings.h [__USE_BSD]: Likewise.
24409         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24410         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24411         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24412         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24413         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24414         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24415         Likewise.
24416         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24417         Likewise.
24418         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24419         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24420         Likewise.
24421         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24422         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24423         Likewise.
24424         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24425         Likewise.
24426         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24427         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24428         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24429         Likewise.
24430         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24431         Likewise.
24432         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24433         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24434         * termios/termios.h [__USE_BSD]: Likewise.
24435         * time/sys/time.h [__USE_BSD]: Likewise.
24436         * time/time.h [__USE_BSD]: Likewise.
24437         [__USE_SVID]: Likewise.
24439         * Makefile (subdir_targets): Remove subdir_lint.out.
24441         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24442         (do-tst-printf): Likewise.
24443         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24444         $(objpfx)tst-printf.out.
24446         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24448         * Makerules (check-abi-%): Change target to
24449         $(objpfx)check-abi-%.out.
24450         (check-abi target): Update dependencies.
24451         (check-abi-pattern variable): Redirect output of diff to $@.
24452         (check-abi variable): Likewise.
24453         * elf/Makefile (check-abi): Update dependencies.
24455         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24456         unused.
24457         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24458         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24459         subnormal range.
24460         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24461         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24462         value has largest subnormal exponent.
24463         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24464         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24465         * sysdeps/aarch64/soft-fp/sfp-machine.h
24466         (_FP_TININESS_AFTER_ROUNDING): New macro.
24467         * sysdeps/alpha/soft-fp/sfp-machine.h
24468         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24469         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24470         Likewise.
24471         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24472         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24473         * sysdeps/mips/soft-fp/sfp-machine.h
24474         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24475         * sysdeps/powerpc/soft-fp/sfp-machine.h
24476         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24477         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24478         Likewise.
24479         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24480         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24481         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24482         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24483         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24484         Likewise.
24486 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24488         [BZ #16545]
24489         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24490         model 1.
24492 2014-02-12  Richard Henderson  <rth@redhat.com>
24494         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24495         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24496         * sysdeps/unix/sysv/linux/alpha: Move directory from
24497         ports/sysdeps/unix/sysv/linux/alpha.
24498         * README: Update listing for alpha-*-linux-gnu.
24500 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24502         * include/features.h: Update comment documenting feature test
24503         macros.
24504         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24505         _DEFAULT_SOURCE.
24506         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24507         (_SVID_SOURCE): Likewise.
24508         (_DEFAULT_SOURCE): Update description of default features.
24509         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24510         with _GNU_SOURCE.
24511         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24512         (S_ISVTX): Likewise.
24513         * manual/math.texi (Mathematical Constants): Likewise.
24514         * manual/signal.texi (Interrupted Primitives): Likewise.
24515         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24516         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24517         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24518         Don't refer to _SVID_SOURCE in warning text.
24520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24522         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24523         already defined.
24524         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24525         * sysdeps/mips/dl-lookup.c: Remove.
24526         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24528 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24530         [BZ #16447]
24531         * math/auto-libm-test-in: Add testcase for expl.
24532         * math/auto-libm-test-out: Regenerate.
24533         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24534         calculation of unsafe.
24535         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24537 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24539         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24540         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24541         ports/sysdeps/unix/sysv/linux/aarch64.
24542         * README: Update listing for aarch64*-*-linux-gnu.
24544 2014-02-11  Will Newton  <will.newton@linaro.org>
24546         * manual/probes.texi (Mathematical Function Probes): Use
24547         "triggered" instead of "hit".
24549         * manual/probes.texi (Internal Probes): Add documentation
24550         of setjmp, longjmp and longjmp_target probes.
24552         * include/stap-probe.h: Add comment about probe argument
24553         format.
24555         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24556         definition.  (tr_where, tr_freehook, tr_mallochook,
24557         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24559 2014-02-11  David S. Miller  <davem@davemloft.net>
24561         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24562         processing int_tests.
24564 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24566         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24567         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24568         * sysdeps/unix/sysv/linux/mips: Move directory from
24569         ports/sysdeps/unix/sysv/linux/mips.
24570         * README: Update listing for mips-*-linux-gnu and
24571         mips64-*-linux-gnu.
24573 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24575         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24576         * sysdeps/unix/sysv/linux/m68k: Move directory from
24577         ports/sysdeps/unix/sysv/linux/m68k.
24578         * README: Update listing for m68k-*-linux-gnu.
24580 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24582         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24583         * sysdeps/unix/sysv/linux/generic: Move directory from
24584         ports/sysdeps/unix/sysv/linux/generic.
24585         * sysdeps/unix/sysv/linux/tile: Move directory from
24586         ports/sysdeps/unix/sysv/linux/tile.
24587         * README: Update listing for tile*-*-linux-gnu.
24589 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24591         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24592         __builtin_expect.
24593         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24594         * catgets/open_catalog.c (__open_catalog): Likewise.
24595         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24596         * debug/confstr_chk.c: Likewise.
24597         * debug/fread_chk.c (__fread_chk): Likewise.
24598         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24599         * debug/getgroups_chk.c: Likewise.
24600         * debug/mbsnrtowcs_chk.c: Likewise.
24601         * debug/mbsrtowcs_chk.c: Likewise.
24602         * debug/mbstowcs_chk.c: Likewise.
24603         * debug/memcpy_chk.c: Likewise.
24604         * debug/memmove_chk.c: Likewise.
24605         * debug/mempcpy_chk.c: Likewise.
24606         * debug/memset_chk.c: Likewise.
24607         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24608         * debug/strcat_chk.c (__strcat_chk): Likewise.
24609         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24610         * debug/strncat_chk.c (__strncat_chk): Likewise.
24611         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24612         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24613         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24614         * debug/wcpncpy_chk.c: Likewise.
24615         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24616         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24617         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24618         * debug/wcsncpy_chk.c: Likewise.
24619         * debug/wcsnrtombs_chk.c: Likewise.
24620         * debug/wcsrtombs_chk.c: Likewise.
24621         * debug/wcstombs_chk.c: Likewise.
24622         * debug/wmemcpy_chk.c: Likewise.
24623         * debug/wmemmove_chk.c: Likewise.
24624         * debug/wmempcpy_chk.c: Likewise.
24625         * debug/wmemset_chk.c: Likewise.
24626         * dirent/scandirat.c (SCANDIRAT): Likewise.
24627         * dlfcn/dladdr1.c (dladdr1): Likewise.
24628         * dlfcn/dladdr.c (dladdr): Likewise.
24629         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24630         * dlfcn/dlerror.c (__dlerror): Likewise.
24631         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24632         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24633         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24634         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24635         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24636         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24637         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24638         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24639         Likewise.
24640         * elf/dl-conflict.c: Likewise.
24641         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24642         * elf/dl-dst.h: Likewise.
24643         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24644         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24645         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24646         * elf/dl-init.c (call_init, _dl_init): Likewise.
24647         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24648         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24649         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24650         Likewise.
24651         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24652         Likewise.
24653         * elf/dl-minimal.c (__libc_memalign): Likewise.
24654         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24655         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24656         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24657         * elf/dl-sym.c (do_sym): Likewise.
24658         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24659         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24660         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24661         * elf/dl-writev.h (_dl_writev): Likewise.
24662         * elf/ldconfig.c (search_dir): Likewise.
24663         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24664         (dl_main): Likewise.
24665         * elf/setup-vdso.h (setup_vdso): Likewise.
24666         * grp/compat-initgroups.c (compat_call): Likewise.
24667         * grp/fgetgrent.c (fgetgrent): Likewise.
24668         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24669         * grp/putgrent.c (putgrent): Likewise.
24670         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24671         Likewise.
24672         * hurd/hurdinit.c: Likewise.
24673         * iconvdata/8bit-gap.c (struct): Likewise.
24674         * iconvdata/ansi_x3.110.c : Likewise.
24675         * iconvdata/big5.c : Likewise.
24676         * iconvdata/big5hkscs.c : Likewise.
24677         * iconvdata/cp1255.c: Likewise.
24678         * iconvdata/cp1258.c : Likewise.
24679         * iconvdata/cp932.c : Likewise.
24680         * iconvdata/euc-cn.c: Likewise.
24681         * iconvdata/euc-jisx0213.c : Likewise.
24682         * iconvdata/euc-jp.c: Likewise.
24683         * iconvdata/euc-jp-ms.c : Likewise.
24684         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24685         * iconvdata/gb18030.c : Likewise.
24686         * iconvdata/gbbig5.c (const): Likewise.
24687         * iconvdata/gbgbk.c: Likewise.
24688         * iconvdata/gbk.c : Likewise.
24689         * iconvdata/ibm1364.c : Likewise.
24690         * iconvdata/ibm930.c : Likewise.
24691         * iconvdata/ibm932.c: Likewise.
24692         * iconvdata/ibm933.c : Likewise.
24693         * iconvdata/ibm935.c : Likewise.
24694         * iconvdata/ibm937.c : Likewise.
24695         * iconvdata/ibm939.c : Likewise.
24696         * iconvdata/ibm943.c: Likewise.
24697         * iconvdata/iso_11548-1.c: Likewise.
24698         * iconvdata/iso-2022-cn.c : Likewise.
24699         * iconvdata/iso-2022-cn-ext.c : Likewise.
24700         * iconvdata/iso-2022-jp-3.c: Likewise.
24701         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24702         * iconvdata/iso-2022-kr.c : Likewise.
24703         * iconvdata/iso646.c (gconv_end): Likewise.
24704         * iconvdata/iso_6937-2.c : Likewise.
24705         * iconvdata/iso_6937.c : Likewise.
24706         * iconvdata/iso8859-1.c: Likewise.
24707         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24708         * iconvdata/shift_jisx0213.c : Likewise.
24709         * iconvdata/sjis.c : Likewise.
24710         * iconvdata/t.61.c : Likewise.
24711         * iconvdata/tcvn5712-1.c : Likewise.
24712         * iconvdata/tscii.c: Likewise.
24713         * iconvdata/uhc.c : Likewise.
24714         * iconvdata/unicode.c (gconv_end): Likewise.
24715         * iconvdata/utf-16.c (gconv_end): Likewise.
24716         * iconvdata/utf-32.c (gconv_end): Likewise.
24717         * iconvdata/utf-7.c (base64): Likewise.
24718         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24719         * iconv/gconv_close.c (__gconv_close): Likewise.
24720         * iconv/gconv_open.c (__gconv_open): Likewise.
24721         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24722         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24723         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24724         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24725         (ucs4le_internal_loop_single): Likewise.
24726         * iconv/iconv.c (iconv): Likewise.
24727         * iconv/iconv_close.c: Likewise.
24728         * iconv/loop.c (SINGLE): Likewise.
24729         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24730         * include/atomic.h: Likewise.
24731         * inet/inet6_option.c (option_alloc): Likewise.
24732         * intl/bindtextdom.c (set_binding_values): Likewise.
24733         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24734         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24735         * intl/localealias.c (read_alias_file): Likewise.
24736         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24737         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24738         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24739         * libio/fmemopen.c (fmemopen): Likewise.
24740         * libio/iofgets.c (_IO_fgets): Likewise.
24741         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24742         * libio/iofgetws.c (fgetws): Likewise.
24743         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24744         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24745         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24746         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24747         * locale/findlocale.c (_nl_find_locale): Likewise.
24748         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24749         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24750         Likewise.
24751         * locale/setlocale.c (setlocale): Likewise.
24752         * login/programs/pt_chown.c (main): Likewise.
24753         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24754         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24755         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24756         (mmap, mmap64, mremap, munmap): Likewise.
24757         * math/e_exp2l.c: Likewise.
24758         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24759         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24760         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24761         * math/s_catan.c (__catan): Likewise.
24762         * math/s_catanf.c (__catanf): Likewise.
24763         * math/s_catanh.c (__catanh): Likewise.
24764         * math/s_catanhf.c (__catanhf): Likewise.
24765         * math/s_catanhl.c (__catanhl): Likewise.
24766         * math/s_catanl.c (__catanl): Likewise.
24767         * math/s_ccosh.c (__ccosh): Likewise.
24768         * math/s_ccoshf.c (__ccoshf): Likewise.
24769         * math/s_ccoshl.c (__ccoshl): Likewise.
24770         * math/s_cexp.c (__cexp): Likewise.
24771         * math/s_cexpf.c (__cexpf): Likewise.
24772         * math/s_cexpl.c (__cexpl): Likewise.
24773         * math/s_clog10.c (__clog10): Likewise.
24774         * math/s_clog10f.c (__clog10f): Likewise.
24775         * math/s_clog10l.c (__clog10l): Likewise.
24776         * math/s_clog.c (__clog): Likewise.
24777         * math/s_clogf.c (__clogf): Likewise.
24778         * math/s_clogl.c (__clogl): Likewise.
24779         * math/s_csin.c (__csin): Likewise.
24780         * math/s_csinf.c (__csinf): Likewise.
24781         * math/s_csinh.c (__csinh): Likewise.
24782         * math/s_csinhf.c (__csinhf): Likewise.
24783         * math/s_csinhl.c (__csinhl): Likewise.
24784         * math/s_csinl.c (__csinl): Likewise.
24785         * math/s_csqrt.c (__csqrt): Likewise.
24786         * math/s_csqrtf.c (__csqrtf): Likewise.
24787         * math/s_csqrtl.c (__csqrtl): Likewise.
24788         * math/s_ctan.c (__ctan): Likewise.
24789         * math/s_ctanf.c (__ctanf): Likewise.
24790         * math/s_ctanh.c (__ctanh): Likewise.
24791         * math/s_ctanhf.c (__ctanhf): Likewise.
24792         * math/s_ctanhl.c (__ctanhl): Likewise.
24793         * math/s_ctanl.c (__ctanl): Likewise.
24794         * math/w_pow.c: Likewise.
24795         * math/w_powf.c: Likewise.
24796         * math/w_powl.c: Likewise.
24797         * math/w_scalb.c (sysv_scalb): Likewise.
24798         * math/w_scalbf.c (sysv_scalbf): Likewise.
24799         * math/w_scalbl.c (sysv_scalbl): Likewise.
24800         * misc/error.c (error_tail): Likewise.
24801         * misc/pselect.c (__pselect): Likewise.
24802         * nis/nis_callback.c (__nis_create_callback): Likewise.
24803         * nis/nis_call.c (__nisfind_server): Likewise.
24804         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24805         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24806         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24807         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24808         * nis/nis_lookup.c (nis_lookup): Likewise.
24809         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24810         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24811         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24812         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24813         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24814         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24815         * nis/nss_compat/compat-initgroups.c (add_group)
24816         (internal_getgrent_r): Likewise.
24817         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24818         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24819         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24820         (internal_getspnam_r): Likewise.
24821         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24822         (_nss_nis_getaliasbyname_r): Likewise.
24823         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24824         (_nss_nis_getntohost_r): Likewise.
24825         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24826         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24827         (_nss_nis_getgrgid_r): Likewise.
24828         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24829         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24830         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24831         (_nss_nis_gethostbyname4_r): Likewise.
24832         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24833         (initgroups_netid): Likewise.
24834         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24835         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24836         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24837         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24838         (_nss_nis_getprotobynumber_r): Likewise.
24839         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24840         (_nss_nis_getsecretkey): Likewise.
24841         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24842         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24843         (_nss_nis_getpwuid_r): Likewise.
24844         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24845         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24846         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24847         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24848         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24849         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24850         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24851         Likewise.
24852         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24853         (_nss_nisplus_getntohost_r): Likewise.
24854         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24855         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24856         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24857         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24858         Likewise.
24859         * nis/nss_nisplus/nisplus-initgroups.c
24860         (_nss_nisplus_initgroups_dyn): Likewise.
24861         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24862         (_nss_nisplus_getnetbyaddr_r): Likewise.
24863         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24864         (_nss_nisplus_getprotobynumber_r): Likewise.
24865         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24866         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24867         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24868         Likewise.
24869         * nis/nss_nisplus/nisplus-service.c
24870         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24871         (_nss_nisplus_getservbyport_r): Likewise.
24872         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24873         (_nss_nisplus_getspnam_r): Likewise.
24874         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24875         Likewise.
24876         * nscd/aicache.c (addhstaiX): Likewise.
24877         * nscd/cache.c (cache_search, prune_cache): Likewise.
24878         * nscd/connections.c (register_traced_file, send_ro_fd)
24879         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24880         (main_loop_epoll): Likewise.
24881         * nscd/grpcache.c (addgrbyX): Likewise.
24882         * nscd/hstcache.c (addhstbyX): Likewise.
24883         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24884         * nscd/mem.c (gc, mempool_alloc): Likewise.
24885         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24886         (addinnetgrX): Likewise.
24887         * nscd/nscd-client.h (__nscd_acquire_maplock)
24888         (__nscd_drop_map_ref): Likewise.
24889         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24890         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24891         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24892         Likewise.
24893         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24894         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24895         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24896         (__nscd_get_map_ref): Likewise.
24897         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24898         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24899         Likewise.
24900         * nscd/pwdcache.c (addpwbyX): Likewise.
24901         * nscd/selinux.c (preserve_capabilities): Likewise.
24902         * nscd/servicescache.c (addservbyX): Likewise.
24903         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24904         * posix/fnmatch.c (fnmatch): Likewise.
24905         * posix/getopt.c (_getopt_internal_r): Likewise.
24906         * posix/glob.c (glob, glob_in_dir): Likewise.
24907         * posix/wordexp.c (exec_comm_child): Likewise.
24908         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24909         (getanswer_r, gaih_getanswer_slice): Likewise.
24910         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24911         * resolv/res_init.c: Likewise.
24912         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24913         * resolv/res_query.c (__libc_res_nquery): Likewise.
24914         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24915         Likewise.
24916         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24917         * stdio-common/perror.c (perror): Likewise.
24918         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24919         * stdio-common/tmpnam.c (tmpnam): Likewise.
24920         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24921         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24922         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24923         Likewise.
24924         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24925         * stdlib/putenv.c (putenv): Likewise.
24926         * stdlib/setenv.c (__add_to_environ): Likewise.
24927         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24928         * stdlib/strtol_l.c (INTERNAL): Likewise.
24929         * string/memmem.c (memmem): Likewise.
24930         * string/strerror.c (strerror): Likewise.
24931         * string/strnlen.c (__strnlen): Likewise.
24932         * string/test-memmem.c (simple_memmem): Likewise.
24933         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24934         * sunrpc/pm_getport.c (__get_socket): Likewise.
24935         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24936         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24937         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24938         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24939         Likewise.
24940         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24941         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24942         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24943         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24944         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24945         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24946         Likewise.
24947         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24948         Likewise.
24949         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24950         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24951         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24952         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24953         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24954         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24955         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24956         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24957         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24958         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24959         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24960         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24961         Likewise.
24962         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24963         Likewise.
24964         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24965         Likewise.
24966         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24967         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24968         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24969         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24970         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24971         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24972         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24973         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24974         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24975         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24976         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24977         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24978         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24979         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24980         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24981         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24982         Likewise.
24983         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24984         Likewise.
24985         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24986         Likewise.
24987         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24988         Likewise.
24989         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24990         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24991         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24992         Likewise.
24993         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24994         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24995         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24996         * sysdeps/posix/sleep.c: Likewise.
24997         * sysdeps/posix/tempname.c: Likewise.
24998         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24999         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25000         Likewise.
25001         * sysdeps/powerpc/powerpc32/dl-machine.h
25002         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25003         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25004         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25005         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25006         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25007         Likewise.
25008         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25009         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25010         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25011         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25012         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25013         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25014         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25015         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25016         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25017         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25018         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25019         (elf_machine_lazy_rel): Likewise.
25020         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25021         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25022         (elf_machine_lazy_rel): Likewise.
25023         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25024         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25025         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25026         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25027         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25028         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25029         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25030         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25031         Likewise.
25032         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25033         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25034         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25035         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25036         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25037         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25038         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25039         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25040         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25041         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25042         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25043         Likewise.
25044         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25045         (__posix_fallocate64_l64): Likewise.
25046         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25047         (posix_fallocate): Likewise.
25048         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25049         Likewise.
25050         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25051         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25052         (getifaddrs_internal): Likewise.
25053         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25054         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25055         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25056         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25057         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25058         (__posix_fallocate64_l64): Likewise.
25059         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25060         Likewise.
25061         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25062         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25063         (__get_clockfreq): Likewise.
25064         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25065         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25066         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25067         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25068         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25069         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25070         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25071         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25072         Likewise.
25073         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25074         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25075         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25076         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25077         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25078         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25079         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25080         Likewise.
25081         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25082         (posix_fallocate): Likewise.
25083         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25084         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25085         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25086         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25087         (elf_machine_rela, elf_machine_rela_relative)
25088         (elf_machine_lazy_rel): Likewise.
25089         * time/asctime.c (asctime_internal): Likewise.
25090         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25091         * time/tzset.c (__tzset_parse_tz): Likewise.
25092         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25093         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25094         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25095         * wcsmbs/wcsmbsload.h: Likewise.
25097         [BZ #15894]
25098         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25100         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25101         (arena_get2): Remove THREAD_STATS conditionals.
25102         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25103         (__malloc_stats, int): Likewise.
25105 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25107         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25108         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25110         * manual/setjmp.texi: Fix typos/grammar errors.
25112         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25113         Only return early when n is <= 0.  Delete unused return statement.
25115         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25116         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25117         * debug/tst-longjmp_chk3.c: New file.
25119         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25120         (test_main): Replace code with set_fortify_handler call.
25121         * debug/test-strcpy_chk.c: Likewise.
25122         * debug/tst-chk1.c: Likewise.
25123         * debug/tst-longjmp_chk.c: Likewise.
25124         * test-skeleton.c: Include fcntl.h & paths.h
25125         (set_fortify_handler): Define.
25127         * debug/tst-longjmp_chk.c: Add header comment and include
25128         ../test-skeleton.c.
25129         (do_test): Mark static.
25130         (TEST_FUNCTION): Define.
25132         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25133         (IP_PMTUDISC_INTERFACE): Likewise.
25134         (IP_MULTICAST_IF): Likewise.
25135         (IP_MULTICAST_TTL): Likewise.
25136         (IP_MULTICAST_LOOP): Likewise.
25137         (IP_ADD_MEMBERSHIP): Likewise.
25138         (IP_DROP_MEMBERSHIP): Likewise.
25139         (IP_UNBLOCK_SOURCE): Likewise.
25140         (IP_BLOCK_SOURCE): Likewise.
25141         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25142         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25143         (IP_MSFILTER): Likewise.
25144         (MCAST_JOIN_GROUP): Likewise.
25145         (MCAST_BLOCK_SOURCE): Likewise.
25146         (MCAST_UNBLOCK_SOURCE): Likewise.
25147         (MCAST_LEAVE_GROUP): Likewise.
25148         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25149         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25150         (MCAST_MSFILTER): Likewise.
25151         (IP_MULTICAST_ALL): Likewise.
25152         (IP_UNICAST_IF): Likewise.
25154         * timezone/Makefile: Delete $(have-ksh) check.
25155         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25156         * timezone/tzselect.ksh: Add +x mode bits.
25158         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25159         (ANON_INODE_FS_MAGIC): Likewise.
25160         (BDEVFS_MAGIC): Likewise.
25161         (BINFMTFS_MAGIC): Likewise.
25162         (BTRFS_TEST_MAGIC): Likewise.
25163         (CRAMFS_MAGIC_WEND): Likewise.
25164         (DEBUGFS_MAGIC): Likewise.
25165         (ECRYPTFS_SUPER_MAGIC): Likewise.
25166         (EXT3_SUPER_MAGIC): Likewise.
25167         (EXT4_SUPER_MAGIC): Likewise.
25168         (FUTEXFS_SUPER_MAGIC): Likewise.
25169         (HOSTFS_SUPER_MAGIC): Likewise.
25170         (HUGETLBFS_MAGIC): Likewise.
25171         (MINIX3_SUPER_MAGIC): Likewise.
25172         (MTD_INODE_FS_MAGIC): Likewise.
25173         (NILFS_SUPER_MAGIC): Likewise.
25174         (OPENPROM_SUPER_MAGIC): Likewise.
25175         (PIPEFS_MAGIC): Likewise.
25176         (PSTOREFS_MAGIC): Likewise.
25177         (QNX6_SUPER_MAGIC): Likewise.
25178         (RAMFS_MAGIC): Likewise.
25179         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25180         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25181         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25182         (SECURITYFS_MAGIC): Likewise.
25183         (SELINUX_MAGIC): Likewise.
25184         (SMACK_MAGIC): Likewise.
25185         (SOCKFS_MAGIC): Likewise.
25186         (SQUASHFS_MAGIC): Likewise.
25187         (STACK_END_MAGIC): Likewise.
25188         (TMPFS_MAGIC): Likewise.
25189         (USBDEVICE_SUPER_MAGIC): Likewise.
25190         (V9FS_MAGIC): Likewise.
25191         (XENFS_SUPER_MAGIC): Likewise.
25192         (CRAMFS_MAGIC): Fix typo in comment.
25193         (EXT2_SUPER_MAGIC): Update comment.
25194         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25196 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25198         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25199         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25200         * sysdeps/unix/sysv/linux/arm: Move directory from
25201         ports/sysdeps/unix/sysv/linux/arm.
25202         * README: Update listing for arm-*-linux-gnueabi.
25204         * README: Remove mention of am33.
25206 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25208         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25209         than the comma operator, to avoid "rhs of comma has no effect"
25210         compiler warnings.
25211         (__sigfillset, __sigandset, __sigorset): Likewise.
25212         * include/signal.h (__sigemptyset): Likewise.
25213         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25215 2014-02-07  Allan McRae  <allan@archlinux.org>
25217         * version.h (RELEASE): Set to "development".
25218         (VERSION): Set to "2.19.90"
25219         * NEWS: Add 2.20 section.
25221 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25223         [BZ #16529]
25224         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25226 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25228         * manual/contrib.texi: Update entry for Carlos O'Donell,
25229         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25231 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25233         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25235         * sysdeps/unix/sysv/linux/kernel-features.h
25236         [__LINUX_KERNEL_VERSION >= 0x020621]
25237         (__ASSUME_PROC_PID_TASK_COMM): Define.
25239 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25241         [BZ #16398]
25242         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25243         conversion when destination buffer does not have enough space.
25244         * libio/tst-ftell-partial-wide.c: New test case.
25245         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25247         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25248         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25249         Leonard and Allan McRae.
25251 2014-02-04  David S. Miller  <davem@davemloft.net>
25253         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25254         32-bit.
25256 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25259         New file
25260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25261         New file
25262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25263         New file.
25264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25265         New file.
25266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25267         New file.
25268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25269         New file.
25270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25271         New file.
25272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25273         New file.
25274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25275         New file.
25276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25277         New file.
25278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25279         New file.
25280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25281         New file.
25282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25283         New file.
25285 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25287         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25288         * shlib-versions: Likewise.
25290 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25291             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25293         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25294         (abilist-pattern): New variable, set to %-le.abilist.
25296         * Makerules (abilist-pattern): New variable.
25297         (vpath): Use $(abilist-pattern) in place of %.abilist.
25298         (check-abi-% pattern rule): Likewise.
25299         (check-abi, update-abi): Likewise.
25301 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25303         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25305 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25307         * manual/startup.texi: Add next, previous, and top entries for
25308         the `Program Arguments' and `Environment Variables' nodes.
25310 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25312         * manual/macros.texi: Add comments before MTASC-safety macros.
25314         * manual/users.texi: Document MTASC-safety properties.
25316         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25317         (pthread_getspecific, pthread_setspecific): Format with
25318         @deftypefun, and add @safety note.
25319         * manual/signal.texi: Move comments that analyze the above
25320         functions to their home place.
25322 2014-02-03  Allan McRae  <allan@archlinux.org>
25324         * po/sl.po: Update Slovenian translation from translation project.
25326 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25328         * manual/time.texi (timegm): Add missing blank after @c.
25329         Reported by Joseph Myers <joseph@codesourcery.com>.
25331 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25333         * manual/check-safety.sh: New.
25334         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25336         * manual/terminal.texi: Document MTASC-safety properties.
25338         * manual/filesys.texi: Document MTASC-safety properties.
25340         * manual/errno.texi: Document MTASC-safety properties.
25342         * manual/intro.texi: Document safety identifiers and
25343         conditionals.
25345         * manual/string.texi (wcstok): Fix prototype.
25346         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25348         * manual/time.texi: Document MTASC-safety properties.
25350         * manual/string.texi: Document MTASC-safety properties.
25352         * manual/threads.texi: Document MTASC-safety properties.
25354         * manual/stdio.texi: Document MTASC-safety properties.
25356         * manual/syslog.texi: Document MTASC-safety properties.
25358         * manual/sysinfo.texi: Document MTASC-safety properties.
25360         * manual/startup.texi: Document MTASC-safety properties.
25362         * manual/socket.texi: Document MTASC-safety properties.
25364         * manual/signal.texi: Document MTASC-safety properties.
25366 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25368         * manual/setjmp.texi: Document MTASC-safety properties.
25370         * manual/search.texi: Document MTASC-safety properties.
25372         * manual/resource.texi: Document MTASC-safety properties.
25374         * manual/process.texi: Document MTASC-safety properties.
25376         * manual/platform.texi: Document MTASC-safety properties.
25378         * manual/pipe.texi: Document MTASC-safety properties.
25380         * manual/pattern.texi: Document MTASC-safety properties.
25382         * manual/message.texi: Document MTASC-safety properties.
25384         [BZ #12751]
25385         * manual/memory.texi: Document MTASC-safety properties.
25387         * manual/math.texi: Document MTASC-safety properties.
25389         * manual/locale.texi: Document MTASC-safety properties.
25391         * manual/llio.texi: Document MTASC-safety properties.
25393         * manual/libdl.texi: New.
25395         * manual/lang.texi: Document MTASC-safety properties.
25397         * manual/job.texi: Document MTASC-safety properties.
25399         * manual/getopt.texi: Document MTASC-safety properties.
25401         * manual/ctype.texi: Document MTASC-safety properties.
25403 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25405         [BZ #16046]
25406         * csu/libc-tls.c (static_map): Remove variable.
25407         (__libc_setup_tls): Use main executable's link map for TLS data.
25408         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25409         casing for LM_ID_BASE and GL(dl_nns).
25410         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25411         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25412         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25413         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25414         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25415         member.
25416         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25417         l_phnum members.
25419 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25421         * manual/debug.texi: Document MTASC-safety properties.
25423 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25425         [BZ #16510]
25426         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25427         of __x86_64__ when disabling x87 inline functions.
25429 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25431         * manual/charset.texi: Document MTASC-safety properties.
25433         * manual/crypt.texi: Document MTASC-safety properties.
25435         * manual/conf.texi: Document MTASC-safety properties.
25437         * manual/arith.texi: Document MTASC-safety properties.
25439         * manual/argp.texi: Document MTASC-safety properties.
25441         * manual/macros.texi: Introduce macros to document multi
25442         thread, asynchronous signal and asynchronous cancellation
25443         safety properties.
25444         * manual/intro.texi: Introduce the properties themselves.
25446 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25448         * sysdeps/sh/sh4/Makefile: New file.
25450 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25452         * math/gen-libm-test.pl ($srcdir): New variable.
25453         ($auto_input): Use it.
25455 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25457         [BZ #16506]
25458         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25459         access beyond array bounds when parsing netgroups file.
25461         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25462         the old buffer before realloc.
25464 2014-01-27  Allan McRae  <allan@archlinux.org>
25466         * po/fr.po: Update French translation from translation project.
25468 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25470         * sysdeps/sh/libm-test-ulps: Regenerate.
25472 2014-01-24  David S. Miller  <davem@davemloft.net>
25474         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25476 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25478         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25479         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25481 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25483         [BZ #16474]
25484         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25485         string pointers after reallocation.
25487 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25489         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25490         __SH4A__ instead of __SH_FPU_ANY__.
25492 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25494         * sysdeps/sh/fpu_control.h: New file.
25495         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25496         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25497         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25498         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25499         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25500         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25501         * sysdeps/sh/sys/ucontext.h: Remove.
25502         * sysdeps/sh/sys: Remove directory.
25504 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25506         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25507         s390/sys/ucontext.h.
25508         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25509         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25511 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25513         [BZ #15605]
25514         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25516 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25518         [BZ#16431]
25519         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25520         Adjust the vDSO correctly for internal calls.
25521         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25523 2014-01-20  Allan McRae  <allan@archlinux.org>
25525         * po/ca.po: Update Catalan translation from translation project.
25527 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25529         * sysdeps/s390/sotruss-lib.c: New file.
25531 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25533         [BZ#16430]
25534         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25535         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25536         local calls issues by not having a PLT stub required for IFUNC calls.
25537         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25539 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25541         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25542         * math/test-fpucw-static.c: Likewise.
25544 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25546         [BZ #16453]
25547         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25549 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25551         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25552         implementation for powerpc.
25554 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25556         [BZ #14782]
25557         * sysdeps/posix/system.c (__libc_system): Do not enable
25558         asynchronous cancellation.
25560 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25562         [BZ #16427]
25563         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25564         handling only for numbers special also in the IEEE case.
25566 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25568         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25570 2014-01-11  Allan McRae  <allan@archlinux.org>
25572         * po/bg.po: Update Bulgarian translation from translation project.
25574         * po/de.po: Update German translation from translation project.
25576 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25578         * sysdeps/generic/gcc-compat.h: New file.
25580 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25582         * benchtests/asin-inputs: Correct slow inputs.
25583         * benchtests/acos-inputs: Likewise.
25585 2014-01-10  Allan McRae  <allan@archlinux.org>
25587         * po:sv.po: Update Swedish translation from translation project.
25589         * po/vi.po: Update Vietnamese translation from translation project.
25591         * po/eo.po: Update Esperanto translation from translation project.
25593         * po/cs.po: Update Czech translation from translation project.
25595         * po/nl.po: Update Dutch translation from translation project.
25597         * po/pl.po: Update Polish translation from translation project.
25599         * po/ru.po: Update Russian translation from translation project.
25601         * po/uk.po: Update Ukrainian translation from translation project.
25603 2014-01-08  Brooks Moses  <bmoses@google.com>
25605         * elf/dl-load.c: Fix comment typo.
25607 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25609         * po/header.pot: Rename to...
25610         * po/pot.header: ... this.
25611         * po/Makefile: Use pot.header.
25613 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25614             Maxim Kuvyrkov  <maxim@kugelworks.com>
25616         [BZ #16394]
25617         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25618         SRC and DEST against LEN.
25620 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25622         [BZ #16414]
25623         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25624         implementation.
25625         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25627 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25631 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25633         [BZ #16408]
25634         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25635         for large positive arguments.
25637 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25639         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25641         * math/auto-libm-test-in: Mark various tests with
25642         xfail-rounding:ldbl-128ibm.
25643         * math/auto-libm-test-out: Regenerated.
25645         [BZ #16407]
25646         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25647         Increase overflow threshold.
25649 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25651         [BZ #14286]
25652         * stdio-common/vfprintf.c: Check for integer overflow.
25654 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25656         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25657         the first argument and return value of __tls_get_addr_internal.
25659 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25661         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25662         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25664 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25666         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25667         * sysdeps/s390/rtld-global-offsets.sym: New file.
25668         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25669         GLIBC_2.19 symbol.
25670         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25671         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25672         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25673         ... this.
25674         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25675         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25676         ... this.
25677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25678         Regenerate.
25679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25680         Regenerate.
25681         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25682         halfs of GPRs for high_gprs contexts.
25683         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25684         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25685         field.
25686         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25687         uc_flags field.
25688         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25689         64 bit versions:
25690         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25691         for high GPRs (uc_high_gprs) and for future extensions
25692         (__reserved).
25693         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25694         for future extensions (__reserved).
25695         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25696         64 bit versions:
25697         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25698         SC_HIGHGPRS offset definition.
25699         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25700         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25702         * Versions.def: Add GLIBC_2.19 for libpthread.
25703         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25704         siglongjmp for libpthread with GLIBC_2.19 symver.
25705         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25706         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25707         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25708         * sysdeps/s390/__longjmp.c: New file.
25709         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25710         * sysdeps/s390/longjmp.c: New file.
25711         * sysdeps/s390/setjmp.S: New file.
25712         * sysdeps/s390/sigjmp.S: New file.
25713         * sysdeps/s390/v1-longjmp.c: New file.
25714         * sysdeps/s390/v1-setjmp.h: New file.
25715         * sysdeps/s390/v1-sigjmp.c: New file.
25716         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25717         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25718         GLIBC_2.19 version.
25719         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25720         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25721         versioned symbols for ____longjmp_chk.
25722         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25723         Likewise.
25724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25725         Regenerate.
25726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25727         Regenerate.
25728         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25729         Regenerate.
25730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25731         Regenerate.
25732         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25733         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25734         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25735         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25736         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25737         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25738         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25739         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25740         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25741         * sysdeps/s390/rtld-__longjmp.c: New file.
25742         * sysdeps/s390/rtld-setjmp.S: New file.
25744 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25746         [BZ #16400]
25747         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25748         Return -__logl (x) for small positive arguments without evaluating
25749         a polynomial.
25751 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25753         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25754         Rename to ...
25755         (__ptrace_peeksiginfo_args): ... this.
25756         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25757         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25758         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25760 2014-01-06  Allan McRae  <allan@archlinux.org>
25762         * inet/netinet/in.h: Fix typo in comment.
25764 2014-01-05  Andreas Jaeger  <aj@suse.de>
25766         * sysdeps/i386/fpu/libm-test-ulps: Update.
25768 2014-01-05  Allan McRae  <allan@archlinux.org>
25770         * po/libc.pot: Regenerated.
25772         * malloc/memusagestat.c: Fix gettext call formatting.
25774 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25776         * nscd/nscd.c: Improve usage() output.
25778 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25780         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25781         * sysdeps/unix/sysv/linux/configure: Regenerated.
25782         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25783         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25785 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25787         [BZ #16390]
25788         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25789         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25791 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25793         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25794         extra tokens at end of #undef directive.
25795         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25796         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25797         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25799 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25801         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25803         * math/auto-libm-test-in: Mark various tests with
25804         xfail-rounding:ldbl-128ibm.
25805         * math/auto-libm-test-out: Regenerated.
25807 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25809         [BZ #16386]
25810         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25811         numbers with subnormal high part when calculating exponent.
25813         [BZ #16385]
25814         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25815         fabs.
25817         [BZ #16384]
25818         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25819         M_LN2l.
25820         (__ieee754_acoshl): Use __log1pl not __log1p.
25822 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25824         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25825         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25826         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25827         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25828         (reused_arena, arena_get2): Convert to GNU style.
25829         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25830         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25831         (memalign_check, __malloc_set_state): Likewise.
25832         * malloc/mallocbug.c (main): Likewise.
25833         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25834         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25835         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25836         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25837         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25838         (__posix_memalign, malloc_info): Likewise.
25839         * malloc/malloc.h: Likewise.
25840         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25841         (mallochook, memalignhook, reallochook, mabort): Likewise.
25842         * malloc/mcheck.h: Likewise.
25843         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25844         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25845         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25846         * malloc/morecore.c (__default_morecore): Likewise.
25847         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25848         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25849         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25850         (print_and_abort): Likewise.
25851         * malloc/obstack.h: Likewise.
25852         * malloc/set-freeres.c (__libc_freeres): Likewise.
25853         * malloc/tst-mallocstate.c (main): Likewise.
25854         * malloc/tst-mtrace.c (main): Likewise.
25855         * malloc/tst-realloc.c (do_test): Likewise.
25857 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25859         [BZ #16366]
25860         * nscd/netgroupcache.c (do_notfound): New function.
25861         (addgetnetgrentX): Use it.
25863         [BZ # 16365]
25864         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25865         NSS_STATUS_NOTFOUND.
25867 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25869         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25872 2014-01-01  Allan McRae  <allan@archlinux.org>
25874         * scripts/update-copyrights: Update configure input file suffix.
25876         * NEWS: Update copyright year.
25877         * catgets/gencat.c: Likewise.
25878         * csu/version.c: Likewise.
25879         * debug/catchsegv.sh: Likewise.
25880         * debug/pcprofiledump.c: Likewise.
25881         * debug/xtrace.sh: Likewise.
25882         * elf/ldconfig.c: Likewise.
25883         * elf/ldd.bash.in: Likewise.
25884         * elf/pldd.c: Likewise.
25885         * elf/sotruss.ksh: Likewise.
25886         * elf/sprof.c: Likewise.
25887         * iconv/iconv_prog.c: Likewise.
25888         * iconv/iconvconfig.c: Likewise.
25889         * locale/programs/locale.c: Likewise.
25890         * locale/programs/localedef.c: Likewise.
25891         * login/programs/pt_chown.c: Likewise.
25892         * malloc/memusage.sh: Likewise.
25893         * malloc/memusagestat.c: Likewise.
25894         * malloc/mtrace.pl: Likewise.
25895         * manual/libc.texinfo: Likewise.
25896         * nscd/nscd.c: Likewise.
25897         * nss/getent.c: Likewise.
25898         * nss/makedb.c: Likewise.
25899         * posix/getconf.c: Likewise.
25900         * scripts/test-installation.pl: Likewise.
25902         * All files with FSF copyright notices: Update copyright dates
25903         using scripts/update-copyrights.
25904         * intl/plural.c: Regenerated.
25905         * locale/programs/charmap-kw.h: Likewise.
25906         * locale/programs/locfile-kw.h: Likewise.
25908 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25910         * sysdeps/unix/sysv/linux/configure: Regenerated.
25911         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25912         the linux/fanotify.h header.
25913         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25914         HAVE_LINUX_FANOTIFY_H is defined.
25916 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25918         * benchtests/cos-inputs: New inputs.
25919         * benchtests/sin-inputs: Likewise.
25921         * benchtests/atan-inputs: New inputs. Fix name of multiple
25922         precision fallback inputs.
25924         * benchtests/atanh-inputs: New inputs.
25925         * benchtests/tanh-inputs: Likewise.
25927         * benchtests/acosh-inputs: New inputs.
25928         * benchtests/asinh-inputs: Likewise.
25930         * benchtests/cosh-inputs: New inputs.
25931         * benchtests/sinh-inputs: Likewise.
25933         * benchtests/acos-inputs: Add more inputs.
25934         * benchtests/asin-inputs: Likewise.
25936 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25938         [BZ #16375]
25939         * manual/arith.texi: Fix spelling.
25940         * manual/charset.texi: Likewise.
25941         * manual/errno.texi: Likewise.
25942         * manual/filesys.texi: Likewise.
25943         * manual/lang.texi: Likewise.
25944         * manual/llio.texi: Likewise.
25945         * manual/locale.texi: Likewise.
25946         * manual/message.texi: Likewise.
25947         * manual/resource.texi: Likewise.
25948         * manual/search.texi: Likewise.
25949         * manual/setjmp.texi: Likewise.
25950         * manual/stdio.texi: Likewise.
25951         * manual/string.texi: Likewise.
25952         * manual/sysinfo.texi: Likewise.
25953         * manual/time.texi: Likewise.
25955 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25957         * po/sl.po: New file.
25959 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25961         * .gitignore: Add core/.gdbinit/.gdb_history.
25963 2013-12-27  Allan McRae  <allan@archlinux.org>
25965         [BZ #16369]
25966         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25967         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25969 2013-12-24  Brooks Moses  <bmoses@google.com>
25971         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25972         all compilers that claim C++98 compliance, not just GCC.
25973         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25974         Likewise.
25976 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25978         * NEWS: Restore accidentally deleted bug-fix entries.
25980 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25981             Ondřej Bílka  <neleai@seznam.cz>
25983         [BZ #15073]
25984         * malloc/malloc.c (_int_free): Perform sanity check only if we
25985         have_lock.
25987 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25989         [BZ #12986]
25990         * manual/stdio.texi (String Input Conversions): Clarify that character
25991         classes are not supported.
25993 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25997 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25999         [BZ #16337]
26000         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26001         Calculate results for small negative arguments directly rather
26002         than using reflection formula with special underflow handling.
26004         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26005         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26006         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26007         (fchflags): Likewise.
26008         (revoke): Likewise.
26009         (setlogin): Likewise.
26010         (sigaltstack): Likewise.
26011         (wait4): Likewise.
26012         (sigblock): Remove.
26013         (sigsetmask): Likewise.
26014         (wait3): Likewise.
26015         (waitpid): Likewise.
26016         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26017         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26018         file.
26019         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26020         * sysdeps/unix/bsd/Makefile: ... here.
26021         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26022         * sysdeps/unix/bsd/Versions: ... here.
26023         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26024         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26025         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26026         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26027         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26028         * sysdeps/unix/bsd/sigblock.c: ... here.
26029         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26030         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26031         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26032         * sysdeps/unix/bsd/sigvec.c: ... here.
26033         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26034         * sysdeps/unix/bsd/tcdrain.c: ... here.
26035         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26036         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26037         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26038         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26039         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26040         * sysdeps/unix/bsd/wait.c: ... here.
26041         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26042         * sysdeps/unix/bsd/wait3.c: ... here.
26043         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26044         * sysdeps/unix/bsd/waitpid.c: ... here.
26046 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26048         [BZ #16356]
26049         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26050         round-to-nearest for [!USE_AS_EXPM1L].
26051         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26052         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26053         more tests of exp and exp10.  Expect some exp10 tests to miss
26054         exceptions or fail in directed rounding modes.
26055         * math/auto-libm-test-out: Regenerated.
26056         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26057         (exp10_test_tonearest): New function.
26058         (exp10_towardzero_test_data): New array.
26059         (exp10_test_towardzero): New function.
26060         (exp10_downward_test_data): New array.
26061         (exp10_test_downward): New function.
26062         (exp10_upward_test_data): New array.
26063         (exp10_test_upward): New function.
26064         (main): Call the new functions.
26065         * sysdeps/i386/fpu/libm-test-ulps: Update.
26066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26068 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26070         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26071         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26072         * math/auto-libm-test-out: Regenerated.
26073         * math/libm-test.inc (acosh_test_data): Add more tests.
26074         (atanh_test_data): Likewise.
26075         (ceil_test_data): Likewise.
26076         (copysign_test_data): Likewise.
26077         * sysdeps/i386/fpu/libm-test-ulps: Update.
26078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26080         * timezone/checktab.awk: Update from tzcode 2013i.
26081         * timezone/private.h: Likewise.
26082         * timezone/scheck.c: Likewise.
26083         * timezone/tzfile.h: Likewise.
26084         * timezone/tzselect.ksh: Likewise.
26085         * timezone/zdump.c: Likewise.
26086         * timezone/zic.c: Likewise.
26088         * math/auto-libm-test-in: Add tests of cpow.
26089         * math/auto-libm-test-out: Regenerated.
26090         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26091         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26092         mpc_cc_c.
26093         (func_calc_desc): Add mpc_cc_c union field.
26094         (test_functions): Add cpow.
26095         (special_fill_2pi): New function.
26096         (special_real_inputs): Add 2pi.
26097         (calc_generic_results): Handle mpc_cc_c.
26098         * sysdeps/i386/fpu/libm-test-ulps: Update.
26099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26101         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26102         csqrt, ctan and ctanh.
26103         * math/auto-libm-test-out: Regenerated.
26104         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26105         (TEST_COND_x86): Likewise.
26106         (ccos_test_data): Use AUTO_TESTS_c_c.
26107         (ccosh_test_data): Likewise.
26108         (cexp_test_data): Likewise.
26109         (clog_test_data): Likewise.
26110         (csqrt_test_data): Likewise.
26111         (ctan_test_data): Likewise.
26112         (ctan_tonearest_test_data): Likewise.
26113         (ctan_towardzero_test_data): Likewise.
26114         (ctan_downward_test_data): Likewise.
26115         (ctan_upward_test_data): Likewise.
26116         (ctanh_test_data): Likewise.
26117         (ctanh_tonearest_test_data): Likewise.
26118         (ctanh_towardzero_test_data): Likewise.
26119         (ctanh_downward_test_data): Likewise.
26120         (ctanh_upward_test_data): Likewise.
26121         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26122         mpc_c_c.
26123         (func_calc_desc): Add mpc_c_c union field.
26124         (FUNC_mpc_c_c): New macro.
26125         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26126         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26127         ctanh.
26128         (special_fill_min_subnorm_p120): New function.
26129         (special_real_inputs): Add min_subnorm_p120.
26130         (calc_generic_results): Handle mpc_c_c.
26131         * sysdeps/i386/fpu/libm-test-ulps: Update.
26132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26134 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26136         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26137         (do_sin_slow): New functions.
26138         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26139         (cslow2, csloww1, csloww2): Use the new functions.
26141         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26142         Use M to change sign of result instead of X.  Assume X is
26143         positive.
26144         (csloww1): Likewise.
26145         (__sin): Adjust.
26146         (__cos): Adjust.
26148         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26149         arguments A and DA.
26150         (__sin): Adjust.
26151         (__cos): Likewise.
26153         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26154         (__cos): Likewise.
26155         (sloww1): Don't adjust sign of DX.
26156         (csloww1): Likewise.
26157         (sloww2): Use X directly and don't adjust sign of DX.
26158         (csloww2): Likewise.
26160 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26162         * math/auto-libm-test-in: Add tests of cabs and carg.
26163         * math/auto-libm-test-out: Regenerated.
26164         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26165         (carg_test_data): Likewise.
26166         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26167         mpc_c_f.
26168         (func_calc_desc): Add mpc_c_f union field.
26169         (test_functions): Add cabs and carg.
26170         (calc_generic_results): Handle mpc_c_f.
26172         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26173         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26174         as a macro and a compat symbol.
26175         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26176         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26177         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26178         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26179         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26180         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26181         not use .hidden.
26182         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26183         Likewise.
26184         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26185         Likewise.
26186         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26187         Likewise.
26188         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26189         Likewise.
26190         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26191         Likewise.
26192         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26193         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26194         from GLIBC_2.3.2.
26196 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26200 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26202         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26203         trailing whitespace removed.
26204         * scripts/config.guess: Update to version 2013-11-29.
26205         * scripts/config.sub: Update to version 2013-10-01.
26207         * math/auto-libm-test-in: Add tests of sincos.
26208         * math/auto-libm-test-out: Regenerated.
26209         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26210         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26211         mpfr_f_11.
26212         (func_calc_desc): Add mpfr_f_11 union field.
26213         (test_functions): Add sincos.
26214         (calc_generic_results): Handle mpfr_f_11.
26215         * sysdeps/i386/fpu/libm-test-ulps: Update.
26216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26218 2013-12-19  Andreas Schwab  <schwab@suse.de>
26220         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26221         CALL_MCOUNT.
26222         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26223         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26224         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26226 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26228         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26229         * sysdeps/i386/fpu/libm-test-ulps: Update.
26230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26232         [BZ #16293]
26233         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26234         round-to-nearest mode when using frndint.
26235         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26236         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26237         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26238         Likewise.
26239         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26240         sinh test to fail.
26241         * math/auto-libm-test-out: Regenerated.
26242         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26243         (TEST_COND_x86): Likewise.
26244         (expm1_tonearest_test_data): New array.
26245         (expm1_test_tonearest): New function.
26246         (expm1_towardzero_test_data): New array.
26247         (expm1_test_towardzero): New function.
26248         (expm1_downward_test_data): New array.
26249         (expm1_test_downward): New function.
26250         (expm1_upward_test_data): New array.
26251         (expm1_test_upward): New function.
26252         (main): Run the new test functions.
26253         * sysdeps/i386/fpu/libm-test-ulps: Update.
26254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26256         * include/features.h: Update comment documenting feature test
26257         macros.  Mention _DEFAULT_SOURCE in comment.
26258         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26259         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26260         _BSD_SOURCE and _SVID_SOURCE.
26261         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26262         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26263         !_SVID_SOURCE]: Likewise.
26264         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26265         (__USE_POSIX_IMPLICITLY): Define.
26266         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26267         (_POSIX_SOURCE): Undefine and redefine.
26268         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26269         (_POSIX_C_SOURCE): Likewise.
26270         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26271         (Feature Test Macros): Update documentation of default features.
26273 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26275         * benchtests/Makefile: Add bench-strtok.
26276         * benchtests/bench-strtok.c: New file: strtok benchtest.
26278 2013-12-19  Allan McRae  <allan@archlinux.org>
26280         * manual/install.texi: Suppress menu for plain text output.
26281         * INSTALL: Regenerated.
26283 2013-12-18  Brooks Moses  <bmoses@google.com>
26285         [BZ #15846]
26286         * misc/getauxval.c: Include errno.h.
26287         (__getauxval): Set errno to ENOENT if the requested type is not
26288         found.
26289         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26290         don't declare with __attribute_const__.
26291         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26292         * manual/startup.texi: Document that getauxval sets errno.
26294 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26296         * math/auto-libm-test-in: Add tests of jn and yn.
26297         * math/auto-libm-test-out: Regenerated.
26298         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26299         (yn_test_data): Likewise.
26300         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26301         mpfr_if_f.
26302         (func_calc_desc): Add mpfr_if_f union field.
26303         (FUNC_mpfr_if_f): New macro.
26304         (test_functions): Add jn and yn.
26305         (calc_generic_results): Assert type of second input for
26306         mpfr_ff_f.  Handle mpfr_if_f.
26307         (output_for_one_input_case): Disable all checking for arguments
26308         fitting floating-point types in case of an integer argument.
26309         * sysdeps/i386/fpu/libm-test-ulps: Update.
26310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26313         Don't expect fegetround reference in libm.so.
26315 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26317         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26318         $(config-cflags-nofma).
26320 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26322         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26323         * math/auto-libm-test-out: Regenerated.
26325         [BZ #16338]
26326         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26327         to determine exponent and adjust argument to have exponent of -1.
26328         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26329         log2.
26330         * math/auto-libm-test-out: Regenerated.
26331         * sysdeps/i386/fpu/libm-test-ulps: Update.
26332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26334 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26336         * manual/probes.texi: Remove cases when per-thread arenas are
26337         disabled.
26339 2013-12-18  Andreas Schwab  <schwab@suse.de>
26341         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26342         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26343         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26344         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26345         * sysdeps/i386/i686/multiarch/Makefile: Update.
26346         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26348 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26350         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26351         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26353 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26355         [BZ #15968]
26356         Support TZ transition times < 00:00:00.
26357         This is needed for version-3 tz-format files; it supports time
26358         stamps past 2037 for America/Godthab (the only entry in the tz
26359         database for which this change is relevant).
26360         * manual/time.texi (TZ Variable): Document transition times
26361         from -167:59:59 through -00:00:01.
26362         * time/tzset.c (tz_rule): Time of day is now signed.
26363         (__tzset_parse_tz): Parse negative time of day.
26365         Document TZ transition times >= 25:00:00.
26366         * manual/time.texi (TZ Variable): Document transition times from
26367         25:00:00 through 167:59:59.  These are already supported, and this
26368         support will help with version-3 tz-format files.
26370         * manual/time.texi (TZ Variable): Modernize North America example
26371         to reflect current (i.e., 2007-and-later) daylight saving rules.
26373         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26375 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26377         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26378         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26379         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26380         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26381         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26382         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26383         * sysdeps/unix/bsd/clock.c: Likewise.
26384         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26385         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26386         * sysdeps/unix/bsd/init-posix.c: Likewise.
26387         * sysdeps/unix/bsd/poll.c: Likewise.
26388         * sysdeps/unix/bsd/ptsname.c: Likewise.
26389         * sysdeps/unix/bsd/seekdir.c: Likewise.
26390         * sysdeps/unix/bsd/setegid.c: Likewise.
26391         * sysdeps/unix/bsd/seteuid.c: Likewise.
26392         * sysdeps/unix/bsd/setgid.c: Likewise.
26393         * sysdeps/unix/bsd/setrgid.c: Likewise.
26394         * sysdeps/unix/bsd/setruid.c: Likewise.
26395         * sysdeps/unix/bsd/setsid.c: Likewise.
26396         * sysdeps/unix/bsd/setuid.c: Likewise.
26397         * sysdeps/unix/bsd/sigaction.c: Likewise.
26398         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26399         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26400         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26401         * sysdeps/unix/bsd/telldir.c: Likewise.
26402         * sysdeps/unix/bsd/times.c: Likewise.
26403         * sysdeps/unix/bsd/usleep.c: Likewise.
26405         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26406         ($(objpfx)libbsd-compat.a): Remove rule.
26408         * include/features.h (__FAVOR_BSD): Do not define.
26409         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26410         features conflicting with POSIX.
26411         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26412         (_BSD_SOURCE): Remove description of not being a subset of other
26413         feature test macros.
26414         * manual/job.texi (getpgrp): Do not document BSD version.
26415         (getpgid): Do not document by reference to BSD getpgrp.
26416         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26417         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26418         * signal/signal.h [__FAVOR_BSD]: Likewise.
26419         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26420         instead of making contents conditional on [__FAVOR_BSD].
26421         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26423 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26427 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26429         [BZ #16314]
26430         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26431         values below 2**-450, not 2**-500.
26432         * math/auto-libm-test-in: Don't allow spurious underflow from
26433         hypot.
26434         * math/auto-libm-test-out: Regenerated.
26436         [BZ #16316]
26437         [BZ #16330]
26438         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26439         values of ha and hb and sort them after adjusting subnormal
26440         arguments.
26441         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26442         Likewise.
26443         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26444         values of ea and eb and sort them after adjusting subnormal
26445         arguments.
26446         * math/auto-libm-test-in: Do not expect some hypot tests of
26447         subnormals to fail.  Add more hypot tests.
26448         * math/auto-libm-test-out: Regenerated.
26450 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26452         [BZ #13304]
26453         * sysdeps/sh/s_fma.c: New file.
26454         * sysdeps/sh/s_fmaf.c: New file.
26455         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26456         version.
26457         * sysdeps/sh/Implies: Add sh/soft-fp.
26459 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26461         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26462         level of indirection to members `objname', `errstring', `malloced'.
26463         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26464         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26465         it as the __longjmp argument (just pass 1 instead).
26466         (_dl_catch_error): Initialize C with argument pointers and address of
26467         volatile local ERRCODE rather than copying values out of C at return.
26469 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26471         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26472         * math/auto-libm-test-out: Regenerated.
26473         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26474         (hypot_test_data): Likewise.
26475         (pow_test_data): Likewise.
26476         (pow_tonearest_test_data): Likewise.
26477         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26478         mpfr_ff_f.
26479         (func_calc_desc): Add mpfr_ff_f union field.
26480         (FUNC_mpfr_ff_f): New macro.
26481         (test_functions): Add atan2, hypot and pow.
26482         (special_fill_min): New function.
26483         (special_fill_minus_min): Likewise.
26484         (special_fill_min_subnorm): Likewise.
26485         (special_fill_minus_min_subnorm): Likewise.
26486         (special_real_inputs): Add min, -min, min_subnorm and
26487         -min_subnorm.
26488         (calc_generic_results): Handle mpfr_ff_f.
26489         * sysdeps/i386/fpu/libm-test-ulps: Update.
26490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26492 2013-12-16  Will Newton  <will.newton@linaro.org>
26494         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26495         (Aligned Memory Blocks): Add documentation for aligned_alloc
26496         and suggest it as an alternative to posix_memalign.
26497         (Hooks for Malloc): Document __memalign_hook is also called
26498         for aligned_alloc.  (Summary of Malloc): Add summary for
26499         aligned alloc.  Document __memalign_hook is also called
26500         for aligned_alloc.
26502 2013-12-16  Will Newton  <will.newton@linaro.org>
26504         * manual/memory.texi (Malloc Examples): Clarify default
26505         alignment documentation.  Suggest posix_memalign rather
26506         than memalign or valloc.
26507         (Aligned Memory Blocks): Remove suggestion to use memalign
26508         or valloc.  Remove obsolete comment about BSD.
26509         Document memalign errno values and mark the function obsolete.
26510         Document posix_memalign returned error codes.  Mark valloc
26511         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26512         called for posix_memalign and valloc.
26513         (Summary of Malloc): Add posix_memalign to function summary.
26514         __memalign_hook is also called for posix_memalign and valloc.
26516 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26518         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26519         TAYLOR_SIN.
26520         (__sin): Adjust.
26521         (__cos): Likewise.
26522         (sloww): Use mynumber union.  Expand ternary operator into
26523         if-else statements.
26524         (cslow): use mynumber union.
26526 2013-12-16  Allan McRae  <allan@archlinux.org>
26528         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26529         * configure: Regenerated.
26531         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26533         [BZ #14120]
26534         * configure.ac: Added --enable-maintainer-mode. Check for
26535         autoconf when enabled.
26536         * configure: Regenerated.
26538         * nscd/nscd.service: New file.
26539         * nscd/nscd.tmpfiles: New file.
26541 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26543         [BZ #12100]
26544         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26545         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26546         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26547         (strstr): Add __strstr_sse2_unaligned ifunc.
26548         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26549         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26550         (strcasestr): Remove __strcasestr_sse42 ifunc.
26551         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26552         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26553         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26555 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26557         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26558         * sysdeps/sh/bits/fenv.h: ... here.
26559         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26561 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26563         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26565         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26566         hypotf multiarch implementations.
26567         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26568         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26569         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26570         multiarch hypot for PPC64.
26571         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26572         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26573         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26574         multiarch hypotf for PPC64.
26576         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26577         modff multiarch implementations.
26578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26581         multiarch modf for PPC64.
26582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26585         multiarch modff for PPC64.
26587         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26588         and logl multiarch implementations.
26589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26592         multiarch logb for PPC64.
26593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26596         multiarch logb for PPC64.
26597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26600         multiarch logb for PPC64.
26602         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26603         isinff multiarch implementation.
26604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26605         file.
26606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26608         multiarch isinf for PPC64.
26609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26610         file.
26611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26612         multiarch isinff for PPC64.
26614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26615         finitef multiarch implementation.
26616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26617         file.
26618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26620         multiarch finite for PPC64.
26621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26622         file.
26623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26624         multiarch finitef for PPC64.
26626         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26627         lrint multiarch implementation.
26628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26629         file.
26630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26632         multiarch llrint for PPC64.
26633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26634         multiarch lrint for PPC64.
26636         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26637         copysignf multiarch implementation.
26638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26639         file.
26640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26641         file.
26642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26643         multiarch copysign for PPC64.
26644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26645         multiarch copysignf for PPC64.
26647         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26648         multiarch implementation.
26649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26650         file.
26651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26652         file.
26653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26654         file.
26655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26656         file.
26657         multiarch llround for PPC64.
26658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26659         multiarch trunc for PPC64.
26660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26661         multiarch truncf for PPC64.
26663         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26664         multiarch implementation.
26665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26666         file.
26667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26668         file.
26669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26670         file.
26671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26672         file.
26673         multiarch llround for PPC64.
26674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26675         multiarch round for PPC64.
26676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26677         multiarch roundf for PPC64.
26679         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26680         multiarch implementation.
26681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26682         file.
26683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26684         file.
26685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26686         file.
26687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26688         file.
26689         multiarch llround for PPC64.
26690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26691         multiarch floor for PPC64.
26692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26693         multiarch floorf for PPC64.
26695         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26696         multiarch implementation.
26697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26698         file.
26699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26700         file.
26701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26702         file.
26703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26704         file.
26705         multiarch llround for PPC64.
26706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26707         multiarch ceil for PPC64.
26708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26709         multiarch ceilf for PPC64.
26711         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26712         multiarch implementation.
26713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26714         file.
26715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26716         file.
26717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26718         file.
26719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26720         multiarch llround for PPC64.
26721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26722         multiarch lround for PPC64.
26724         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26725         multiarch implementation.
26726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26729         file.
26730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26733         multiarch isnan for PPC64.
26734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26735         multiarch isnanf for PPC64.
26737         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26738         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26739         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26740         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26741         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26744         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26745         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26746         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26747         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26750         multiarch implementations.
26751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26752         (__libc_ifunc_impl_list): Likewise.
26753         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26754         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26755         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26756         multiarch stpcpy for PPC64.
26758         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26759         multiarch implementations.
26760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26761         (__libc_ifunc_impl_list): Likewise.
26762         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26763         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26764         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26765         multiarch strcpy for PPC64.
26767         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26768         redefine function name.
26769         (_wordcopy_fwd_dest_aligned): Likewise.
26770         (_wordcopy_bwd_aligned): Likewise.
26771         (_wordcopy_bwd_dest_aligned): Likewise.
26772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26773         multiarch implementations.
26774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26775         (__libc_ifunc_impl_list): Likewise.
26776         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26777         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26778         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26779         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26780         multiarch wcscpy for PPC64.
26782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26783         multiarch implementations.
26784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26785         (__libc_ifunc_impl_list): Likewise.
26786         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26787         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26788         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26789         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26790         multiarch wcscpy for PPC64.
26792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26793         multiarch implementations.
26794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26795         (__libc_ifunc_impl_list): Likewise.
26796         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26797         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26798         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26799         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26800         multiarch wcsrchr for PPC64.
26802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26803         multiarch implementations.
26804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26805         (__libc_ifunc_impl_list): Likewise.
26806         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26807         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26808         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26809         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26810         multiarch wcschr for PPC64.
26812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26813         multiarch implementations.
26814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26815         (__libc_ifunc_impl_list): Likewise.
26816         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26817         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26818         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26819         multiarch strchrnul for PPC64.
26821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26822         implementations.
26823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26824         (__libc_ifunc_impl_list): Likewise.
26825         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26826         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26827         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26828         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26829         strchr for PPC64.
26831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26832         implementations.
26833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26834         (__libc_ifunc_impl_list): Likewise.
26835         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26836         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26837         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26838         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26839         strncmp for PPC64.
26841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26842         multiarch implementations.
26843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26844         (__libc_ifunc_impl_list): Likewise.
26845         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26846         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26847         strncasecmp for PPC64.
26848         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26849         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26850         multiarch strncasecmp_l for PPC64.
26852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26853         multiarch implementations.
26854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26855         (__libc_ifunc_impl_list): Likewise.
26856         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26857         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26858         multiarch strcasecmp for PPC64.
26859         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26860         file.
26861         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26862         multiarch strcasecmp_l for PPC64.
26864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26865         implementations.
26866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26867         (__libc_ifunc_impl_list): Likewise.
26868         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26869         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26870         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26871         strnlen for PPC64.
26873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26874         implementations.
26875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26876         (__libc_ifunc_impl_list): Likewise.
26877         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26878         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26879         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26880         strlen for PPC64.
26882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26883         implementations.
26884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26885         (__libc_ifunc_impl_list): Likewise.
26886         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26887         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26888         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26889         rawmemrchr for PPC64.
26891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26892         implementation.
26893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26894         (__libc_ifunc_impl_list): Likewise.
26895         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26896         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26897         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26898         memrchr for PPC64.
26900         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26901         implementation.
26902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26903         (__libc_ifunc_impl_list): Likewise.
26904         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26905         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26906         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26907         memchr for PPC64.
26909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26910         implementation.
26911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26912         (__libc_ifunc_impl_list): Likewise.
26913         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26914         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26915         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26916         mempcpy for PPC64.
26918         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26919         avoid cretion of __bzero symbol.
26920         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26921         Likewise.
26922         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26923         Likewise.
26924         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26925         Likewise.
26926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26927         multiarch implementations.
26928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26929         (__libc_ifunc_impl_list): Likewise.
26930         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26931         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26932         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26933         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26934         bzero for PPC32.
26935         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26936         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26937         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26938         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26939         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26940         memset for PPC64.
26941         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26943         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26944         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26945         implementations.
26946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26947         (__libc_ifunc_impl_list): Likewise.
26948         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26949         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26950         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26951         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26952         memcmp for PPC64.
26954         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26955         multiarch for POWER/PPC64.
26956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26957         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26958         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26959         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26960         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26961         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26962         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26963         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26964         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26965         memcpy for PPC64.
26967         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26968         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26969         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26970         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26971         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26972         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26973         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26974         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26975         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26976         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26977         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26978         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26979         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26980         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26981         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26990 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26992         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26994 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26996         * benchtests/Makefile (bench): Add exp2 and log2.
26997         (LDLIBS-bench-exp2): Add -lm.
26998         (LDLIBS-bench-log2): Likewise.
26999         * benchtests/exp2-inputs: New inputs file.
27000         * benchtests/log2-inputs: New inputs file.
27001         * benchtests/log-inputs: Add new inputs.
27002         * benchtests/tan-inputs: Likewise.
27004 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27006         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27007         definition...
27008         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27009         (csloww2): ... from here.
27011         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27012         instead of structures.
27013         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27014         (POLYNOMIAL): Likewise.
27015         (TAYLOR_SLOW): Likewise.
27016         (__sin): Likewise.
27017         (__cos): Likewise.
27018         (slow1): Likewise.
27019         (slow2): Likewise.
27020         (sloww): Likewise.
27021         (sloww1); Likewise.
27022         (sloww2): Likewise.
27023         (bsloww1): Likewise.
27024         (bsloww2): Likewise.
27025         (cslow2): Likewise.
27026         (csloww): Likewise.
27027         (csloww1): Likewise.
27028         (csloww2): Likewise.
27030 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27032         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27033         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27034         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27035         * malloc/hooks.c (realloc_check): Likewise.
27037         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27038         * malloc/arena.c: Remove PER_THREAD conditional.
27039         [!PER_THREAD]: Remove code.
27040         (ptmalloc_unlock_all2): Likewise.
27041         (ptmalloc_init): Likewise.
27042         (_int_new_arena): Likewise.
27043         (arena_get2): Likewise.
27044         * malloc/hooks.c (__malloc_get_state): Likewise.
27045         (__malloc_set_state): Likewise.
27046         * malloc/malloc.c: Likewise.
27047         (struct malloc_state): Likewise.
27048         (struct malloc_par): Likewise.
27049         (__libc_realloc): Likewise.
27050         (__libc_mallopt): Likewise.
27052 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27054         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27056 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27058         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27059         macro to a function.  Check for zero perturb_byte.
27060         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27062         * malloc/malloc.c: (force_reg): Remove.
27063         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27064         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27065         force_reg by atomic_forced_read.
27066         * malloc/arena.c (ptmalloc_init): Likewise.
27067         * malloc/hooks.c (top_check): Likewise.
27069 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27073 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27075         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27077 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27079         * math/auto-libm-test-in: Add tests of lgamma.
27080         * math/auto-libm-test-out: Regenerated.
27081         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27082         (M_LOG_2_SQRT_PIl): Likewise.
27083         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27084         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27085         mpfr_f_f1.
27086         (func_calc_desc): Add mpfr_f_f1 union field.
27087         (ARGS1): New macro.
27088         (ARGS2): Likewise.
27089         (ARGS3): Likewise.
27090         (ARGS4): Likewise.
27091         (RET1): Likewise.
27092         (RET2): Likewise.
27093         (CALC): Likewise.
27094         (FUNC): Likewise.
27095         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27096         (test_functions): Add lgamma.
27097         (calc_generic_results): Handle mpfr_f_f1.
27098         * sysdeps/i386/fpu/libm-test-ulps: Update.
27099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27101 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27103         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27104         __mpn_add_n for PowerPC64/POWER7.
27105         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27106         __mpn_sub_n for PowerPC64/POWER7.
27108         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27109         __mpn_addmul_1 for PowerPC64.
27110         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27111         __mpn_submul_1 for PowerPC64.
27112         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27113         for PowerPC64.
27114         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27115         for PowerPC64.
27117 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27119         [BZ #15089]
27120         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27122 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27124         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27126         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27127         add multiarch folders.
27128         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27129         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27130         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27131         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27132         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27133         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27134         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27135         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27136         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27137         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27138         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27147         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27149         New file.
27150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27151         New file.
27152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27153         multiarch __ieee754_hypot for PowerPC32.
27154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27155         New file.
27156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27157         New file.
27158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27159         multiarch __ieee754_hypotf for PowerPC32.
27161         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27162         long_double_symbol only if __logbl is defined.
27163         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27164         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27165         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27166         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27167         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27168         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27169         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27170         path for implementation.
27171         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27172         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27174         logb, and logbl multiarch implementations for PowerPC32.
27175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27176         file.
27177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27178         file.
27179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27180         multiarch logb for PowerPC32.
27181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27182         file.
27183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27184         file.
27185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27186         multiarch logbf for PowerPC32.
27187         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27189         file.
27190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27191         multiarch logbl implementation for PowerPC32.
27193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27194         and modff multiarch implementations.
27195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27196         New file.
27197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27198         New file.
27199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27200         multiarch modf for PowerPC32.
27201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27202         New file.
27203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27204         New file.
27205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27206         multiarch modff for PowerPC32.
27208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27209         and lrintf multiarch implementations.
27210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27211         New file.
27212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27213         New file.
27214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27215         multiarch lrint for PowerPC32.
27216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27217         file: multiarch lrintf for PowerPC32.
27219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27220         and lroundf multiarch implementations.
27221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27222         New file.
27223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27224         New file.
27225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27226         New file.
27227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27228         multiarch lround for PowerPC32.
27229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27230         file: multiarch lroundf for PowerPC32.
27232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27233         copysign and copysignf multiarch implementations.
27234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27235         New file.
27236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27237         New file.
27238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27239         file: multiarch copysign for PowerPC32.
27240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27241         file: multiarch copysignf for PowerPC32.
27243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27244         and truncf multiarch implementations.
27245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27246         New file.
27247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27248         file.
27249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27250         multiarch trunc for PowerPC32.
27251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27252         New file.
27253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27254         New file.
27255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27256         multiarch truncf for PowerPC32.
27258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27259         and roundf multiarch implementations.
27260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27261         New file.
27262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27263         file.
27264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27265         multiarch round for PowerPC32.
27266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27267         New file.
27268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27269         New file.
27270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27271         multiarch roundf for PowerPC32.
27273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27274         and floorf multiarch implementations.
27275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27276         New file.
27277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27278         file.
27279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27280         multiarch floor for PowerPC32.
27281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27282         New file.
27283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27284         New file.
27285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27286         multiarch floorf for PowerPC32.
27288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27289         and ceilf multiarch implementations.
27290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27291         New file.
27292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27293         file.
27294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27295         multiarch ceil for PowerPC32.
27296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27297         New file.
27298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27299         file.
27300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27301         multiarch ceilf for PowerPC32.
27303         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27304         is defined.
27305         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27306         FINITEF is defined.
27307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27308         and finitef multiarch implementations.
27309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27310         New file.
27311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27312         file.
27313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27314         multiarch finite for PowerPC32.
27315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27316         New file.
27317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27318         file: multiarch finitef for PowerPC32.
27320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27321         and isinff multiarch implementations.
27322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27323         file.
27324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27325         file.
27326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27327         multiarch isinf for PowerPC32.
27328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27329         New file.
27330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27331         multiarch isinff for PowerPC32.
27333         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27334         alias when __isnan is defined.
27335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27336         and isnanf multiarch implementations.
27337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27338         file.
27339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27340         file.
27341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27342         file.
27343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27344         file.
27345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27346         multiarch isnan for PowerPC32.
27347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27348         New file.
27349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27350         New file.
27351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27352         multiarch isnanf for PowerPC32.
27354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27355         and sqrtf multiarch implementations.
27356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27357         file.
27358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27359         file.
27360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27361         multiarch sqrt for PowerPC32.
27362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27363         file.
27364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27365         file.
27366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27367         multiarch sqrtf for PowerPC32.
27369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27370         and llroundf multiarch implementations.
27371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27372         New file.
27373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27374         New file.
27375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27376         New file.
27377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27378         file: multiarch llround for PowerPC32.
27379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27380         file: multiarch llroundf for PowerPC32.
27382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27383         multiarch PowerPC32 fpu implementations.
27384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27385         New file.
27386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27387         New file.
27388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27389         multiarch llrint for PowerPC32.
27390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27391         New file.
27392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27393         New file.
27394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27395         file.
27397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27399         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27400         file.
27401         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27402         file.
27403         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27404         file.
27405         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27406         multiarch wordcopy for PPC32.
27407         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27408         wordcopy objects.
27409         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27410         (__libc_ifunc_impl_list): Likewise.
27411         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27412         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27413         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27414         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27415         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27416         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27418         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27419         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27420         file.
27421         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27422         file.
27423         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27424         file.
27425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27426         multiarch wcscpy for PPC32.
27427         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27428         multiarch objects.
27429         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27430         (__libc_ifunc_impl_list): Likewise.
27431         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27432         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27433         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27434         sysdeps/powerpc/power6/wcscpy.c.
27436         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27437         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27438         file.
27439         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27440         file.
27441         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27442         file.
27443         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27444         multiarch wcsrchr for PPC32.
27445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27446         multiarch objects.
27447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27448         (__libc_ifunc_impl_list): Likewise.
27449         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27450         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27451         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27452         sysdeps/powerpc/power6/wcsrchr.c.
27454         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27455         file.
27456         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27457         file.
27458         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27459         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27460         multiarch wcschr for PPc32.
27461         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27462         multiarch objects.
27463         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27464         (__libc_ifunc_impl_list): Likewise.
27465         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27466         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27467         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27468         sysdeps/powerpc/power6/wcschr.c.
27470         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27471         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27472         file.
27473         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27474         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27475         file: multiarch strchr for PPC32.
27476         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27477         multiarch objects.
27478         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27479         (__libc_ifunc_impl_list): Likewise.
27481         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27482         name.
27483         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27484         file.
27485         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27486         file.
27487         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27488         multiarch strchrnul for PPC32.
27489         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27490         multiarch objects.
27491         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27492         (__libc_ifunc_impl_list): Likewise.
27494         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27495         file.
27496         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27497         multiarch strncasecmp for PPC32.
27498         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27499         file.
27500         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27501         multiarch strncasecmp_l for PPC32.
27502         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27503         strncasecmp multiarch objects.
27504         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27505         (__libc_ifunc_impl_list): Likewise.
27507         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27508         file.
27509         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27510         multiarch strncasecmp for PPC32.
27511         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27512         New file.
27513         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27514         multiarch strcasecmp_l for PPC32.
27515         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27516         multiarch objects.
27517         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27518         (__libc_ifunc_impl_list): Likewise.
27520         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27521         file.
27522         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27523         file.
27524         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27525         multiarch strncmp for PPC32.
27526         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27527         multiarch objects.
27528         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27529         (__libc_ifunc_impl_list): Likewise.
27531         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27532         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27533         file.
27534         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27535         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27536         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27537         multiarch objects.
27538         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27539         (__libc_ifunc_impl_list): Likewise.
27541         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27542         file.
27543         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27544         file.
27545         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27546         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27547         multiarch objects.
27548         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27549         (__libc_ifunc_impl_list): Likewise.
27551         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27552         file.
27553         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27554         file.
27555         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27556         multiarch rawmemchr for PPC32.
27557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27558         multiarch objects.
27559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27560         (__libc_ifunc_impl_list): Likewise.
27562         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27563         file.
27564         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27565         file.
27566         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27567         file: memrchr multiarch for PPC32.
27568         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27569         multiarch objects.
27570         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27571         (__libc_ifunc_impl_list): Likewise.
27573         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27574         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27575         file.
27576         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27577         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27578         multiarch memchr for PPC32.
27579         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27580         multiarch objects.
27581         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27582         (__libc_ifunc_impl_list): Likewise.
27584         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27585         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27586         file.
27587         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27588         file.
27589         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27590         file: multiarch mempcpy for PPC32.
27591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27592         multiarch objects.
27593         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27594         (__libc_ifunc_impl_list): Likewise.
27596         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27597         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27598         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27599         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27600         multiarch bzero for PPC32.
27601         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27602         file.
27603         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27604         file.
27605         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27606         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27607         file: multiarch memset for PPC32.
27608         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27609         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27610         memset multiarch objects.
27611         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27612         (__libc_ifunc_impl_list): Likewise.
27614         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27615         file.
27616         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27617         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27618         memcmp for PPC32.
27619         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27620         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27621         multiarch objects.
27622         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27623         (__libc_ifunc_impl_list): Likewise.
27625         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27626         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27627         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27628         file.
27629         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27630         file.
27631         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27632         file.
27633         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27634         multiarch memcpy for PPC32.
27635         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27636         multiarch objects.
27637         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27638         (__libc_ifunc_impl_list): Likewise.
27640         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27641         support multiarch for POWER/PPC32.
27642         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27643         Likewise.
27644         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27646         Implies file to make multiarch folder appers before the fpu and
27647         default folder for power4 configuration.
27649 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27651         * scripts/bench.pl: Append volatile keyword to type.
27653 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27655         * sysdeps/sh/sotruss-lib.c: New file.
27656         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27658 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27662 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27664         [BZ #6810]
27665         * math/w_tgamma.c: Include <errno.h>.
27666         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27667         * math/w_tgammaf.c: Include <errno.h>.
27668         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27669         * math/w_tgammal.c: Include <errno.h>.
27670         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27671         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27672         underflow.  Add more tgamma tests.
27673         * math/auto-libm-test-out: Regenerated.
27674         * sysdeps/i386/fpu/libm-test-ulps: Update.
27675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27677         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27678         sin, sinh, tan, tanh, tgamma, y0 and y1.
27679         * math/auto-libm-test-out: Regenerated.
27680         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27681         (TEST_COND_x86): Likewise.
27682         (M_E2l): Remove macro.
27683         (M_E3l): Likewise.
27684         (M_2_SQRT_PIl): Likewise.
27685         (M_SQRT_PIl): Likewise.
27686         (M_1_DIV_El): Likewise.
27687         (log_test_data): Use AUTO_TESTS_f_f.
27688         (log10_test_data): Likewise.
27689         (log1p_test_data): Likewise.
27690         (log2_test_data): Likewise.
27691         (sin_test_data): Likewise.
27692         (sin_tonearest_test_data): Likewise.
27693         (sin_towardzero_test_data): Likewise.
27694         (sin_downward_test_data): Likewise.
27695         (sin_upward_test_data): Likewise.
27696         (sinh_test_data): Likewise.
27697         (sinh_tonearest_test_data): Likewise.
27698         (sinh_towardzero_test_data): Likewise.
27699         (sinh_downward_test_data): Likewise.
27700         (sinh_upward_test_data): Likewise.
27701         (tan_test_data): Likewise.
27702         (tan_tonearest_test_data): Likewise.
27703         (tan_towardzero_test_data): Likewise.
27704         (tan_downward_test_data): Likewise.
27705         (tan_upward_test_data): Likewise.
27706         (tanh_test_data): Likewise.
27707         (tgamma_test_data): Likewise.
27708         (y0_test_data): Likewise.
27709         (y1_test_data): Likewise.
27710         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27711         (special_real_inputs): Add pi/4.
27712         * sysdeps/i386/fpu/libm-test-ulps: Update.
27713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27715 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27717         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27718         "longjmp_target" static probes.
27719         (__longjmp): Rename to __longjmp_symbol.
27720         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27721         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27722         on which longjmp to generate.
27723         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27724         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27725         probe.
27726         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27727         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27728         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27729         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27730         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27731         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27733         __longjmp_symbol based on which __longjmp to generate.
27734         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27735         probe.
27736         (setjmp): Rename to setjmp_symbol.
27737         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27738         (_setjmp): Rename to _setjmp_symbol.
27739         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27740         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27741         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27742         which setjmp to generate.
27743         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27744         "longjmp_target" static probes.
27746 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27748         * benchtests/README: Add note about output arguments.
27749         * benchtests/bench-sincos.c: Remove file.
27750         * benchtests/sincos-inputs: New file.
27751         * scripts/bench.pl: Identify output arguments and define
27752         static variables for them.
27754         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27756         [BZ #15941]
27757         * Makefile (INSTALL): Add install-plain.texi as the primary
27758         dependency.
27759         * manual/install-plain.texi: New file.
27760         * manual/install.texi: Include node directive only for
27761         non-plaintext output.
27763 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27765         * stdlib/longlong.h: Update from GCC.
27767         [BZ #6807]
27768         [BZ #15901]
27769         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27770         * math/w_j0f.c (y0f): Likewise.
27771         * math/w_j0l.c (__y0l): Likewise.
27772         * math/w_j1.c (y1): Likewise.
27773         * math/w_j1f.c (y1f): Likewise.
27774         * math/w_j1l.c (__y1l): Likewise
27775         * math/w_jn.c (yn): Likewise.
27776         * math/w_jnf.c (ynf): Likewise.
27777         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27778         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27779         value for Bessel function domain errors outside _SVID_ mode.
27780         Adjust sign of return value for yn (negative integer, 0).
27781         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27782         by zero in return for negative x and set sign appropriately for
27783         negative n.
27784         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27785         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27786         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27787         expectations in error cases.
27788         (y1_test_data): Likewise.
27789         (yn_test_data): Likewise.
27790         * sysdeps/i386/fpu/libm-test-ulps: Update.
27791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27793 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27795         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27796         "64" to "64-v1".  Add "64-v2".
27797         (abi-64-options): Rename to ...
27798         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27799         (abi-64-condition): Rename to ...
27800         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27801         (abi-64-ld-soname): Rename to ...
27802         (abi-64-v1-ld-soname): ... this.
27803         (abi-64-v2-options): Define.
27804         (abi-64-v2-condition): Likewise.
27805         (abi-64-v2-ld-soname): Likewise.
27806         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27807         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27812 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27813             Alan Modra  <amodra@gmail.com>
27815         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27816         New versions for use with the ELFv2 ABI.
27817         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27818         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27819         declaration.
27820         (struct La_ppc64v2_retval): Likewise.
27821         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27822         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27823         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27824         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27825         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27826         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27827         Do not save or restore CR.
27828         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27829         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27830         return values for ELFv2 ABI.  Fix location of FPR return registers.
27831         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27832         updated values for _CALL_ELF == 2.
27833         (La_regs, La_retval, int_retval): Likewise.
27835 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27837         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27838         (FRAME_MIN_SIZE_PARM): Likewise.
27839         (FRAME_BACKCHAIN): Likewise.
27840         (FRAME_CR_SAVE): Likewise.
27841         (FRAME_LR_SAVE): Likewise.
27842         (FRAME_TOC_SAVE): Likewise.
27843         (FRAME_PARM_SAVE): Likewise.
27844         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27845         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27846         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27847         (call_mcount_parm_offset): New macro.
27848         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27849         (PROF): Use symbolic stack frame offsets.
27850         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27851         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27852         Redefine in terms of FRAME_MIN_SIZE.
27853         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27854         (_dl_profile_resolve): Likewise.  Update comment.
27855         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27856         symbols stack frame offsets.
27857         (__sigsetjmp): Likewise.
27858         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27859         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27860         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27861         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27864         (FRAME_BACKCHAIN): Remove.
27865         (FRAME_CR_SAVE): Likewise.
27866         (FRAME_LR_SAVE): Likewise.
27867         (FRAME_COMPILER_DW): Likewise.
27868         (FRAME_LINKER_DW): Likewise.
27869         (FRAME_TOC_SAVE): Likewise.
27870         (FRAME_PARM_SAVE): Likewise.
27871         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27872         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27873         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27875         (CHECK_SP): Use symbolic stack frame offsets.
27876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27877         zone" instead of caller's parameter save area for temp storage.
27878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27879         Likewise.  Also, use symbolic stack frame offsets.
27880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27881         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27882         our own stack frame instead of the caller's.
27883         (__socket): Use symbolic stack frame offsets.
27885 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27886             Alan Modra  <amodra@gmail.com>
27888         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27889         Define.
27890         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27891         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27892         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27893         New function.
27894         (elf_machine_fixup_plt): Call it.
27895         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27896         reloc arguments.
27897         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27898         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27899         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27900         r2 before calling target.
27902 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27903             Alan Modra  <amodra@gmail.com>
27905         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27906         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27907         versions of macros to support ELFv2 ABI.
27908         (LOCALENTRY): New macro.
27909         (ENTRY, EALIGN): Use it.
27910         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27911         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27912         fall through into ENTRY entry point.
27913         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27914         Only define if _CALL_ELF != 2.
27916         (elf_machine_matches_host): Verify ABI version matches.
27917         (RTLD_START): Use LOCALENTRY.
27918         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27919         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27920         (PLT_ENTRY_WORDS): New macro.
27921         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27922         (elf_machine_runtime_setup): Support ELFv2 ABI.
27923         (elf_machine_fixup_plt): Likewise.
27924         (elf_machine_plt_conflict): Likewise.
27925         (resolve_ifunc): Likewise.
27926         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27927         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27928         Likewise.
27929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27930         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27932         (makecontext): Support ELFv2 ABI.
27933         * elf/elf.h (EF_PPC64_ABI): Define.
27935 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27937         * sysdeps/powerpc/powerpc64/sysdep.h
27938         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27939         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27940         (ENTRY) [ASSEMBLER]: ... but instead here ...
27941         (EALIGN) [ASSEMBLER]: ... and here.
27942         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27943         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27944         (ENTRY_2) [!ASSEMBLER]: Use it.
27945         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27946         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27947         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27948         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27949         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27951         Use PPC64_LOAD_FUNCPTR.
27953         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27955 2013-12-04  Alan Modra  <amodra@gmail.com>
27957         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27958         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27959         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27960         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27962         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27963         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27964         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27965         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27966         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27967         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27969 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27972         (__makecontext): Fix incorrect CFI when backtracing out of
27973         context created via makecontext.
27974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27975         (__setcontext): Fix incorrect CFI during switch to new context.
27976         (__novec_setcontext): Likewise.
27978 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27980         [BZ #4772]
27981         * time/strptime_l.c (__strptime_internal): Allow modifiers
27982         in strptime.
27983         * time/tst-strptime.c (day_tests): Add testcase.
27985 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27987         * scripts/bench.pl: Skip over blank lines.
27989 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27991         [BZ #926]
27992         * manual/time.texi (Calendar Time): Clarify what timezone functions
27993         use.
27995 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27999 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28001         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28002         implementation.
28003         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28004         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28005         * debug/memset_chk.c (__memset_chk): Likewise.
28006         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28007         * debug/strncpy_chk.c: Likewise.
28009 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28011         [BZ #15268]
28012         [BZ #15425]
28013         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28014         (__ieee754_exp): For possibly underflowing results, check size of
28015         result and force underflow exception if required.
28016         * math/auto-libm-test-in: Add more tests of exp.
28017         * math/auto-libm-test-out: Regenerated.
28018         * sysdeps/i386/fpu/libm-test-ulps: Update.
28019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28021         [BZ #16283]
28022         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28023         * math/w_exp2f.c (__exp2f): Likewise.
28024         * math/w_exp2l.c (__exp2l): Likewise.
28025         * math/auto-libm-test-in: Do not allow missing errno on exp2
28026         underflow.
28027         * math/auto-libm-test-out: Regenerated.
28029 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28031         [BZ #16274]
28032         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28033         handle filename validation.
28034         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28035         (do_open): Delete.
28037 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28039         [BZ #6786]
28040         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28041         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28042         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28043         <float.h>.
28044         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28045         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28046         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28047         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28048         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28049         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28050         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28051         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28052         Add more erfc tests.
28053         * math/auto-libm-test-out: Regenerated.
28054         * sysdeps/i386/fpu/libm-test-ulps: Update.
28055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28057         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28058         exp2, expm1, j0 and j1.
28059         * math/auto-libm-test-out: Regenerated.
28060         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28061         (erfc_test_data): Likewise.
28062         (exp_test_data): Likewise.
28063         (exp_tonearest_test_data): Likewise.
28064         (exp_towardzero_test_data): Likewise.
28065         (exp_downward_test_data): Likewise.
28066         (exp_upward_test_data): Likewise.
28067         (exp10_test_data): Likewise.
28068         (exp2_test_data): Likewise.
28069         (expm1_test_data): Likewise.
28070         (j0_test_data): Likewise.
28071         (j1_test_data): Likewise.
28072         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28073         (input_flag_type): Add flag_xfail_rounding.
28074         (input_flags): Add xfail-rounding.
28075         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28076         (output_for_one_input_case): Handle flag_xfail_rounding.
28077         * sysdeps/i386/fpu/libm-test-ulps: Update.
28078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28080 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28082         [BZ #16289]
28083         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28084         division by 0.
28086 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28088         [BZ #16195]
28089         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28090         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28091         (STAP_PROBE0): New macro.
28092         (STAP_PROBE1): Likewise.
28093         (STAP_PROBE2): Likewise.
28094         (STAP_PROBE3): Likewise.
28095         (STAP_PROBE4): Likewise.
28097 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28099         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28101 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28103         * benchtests/Makefile (bench): Add sqrt.
28104         (LDLIBS-bench-sqrt): New.
28105         * benchtests/sqrt-input: New.
28107 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28109         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28110         (GAIH_EAI): Likewise.
28111         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28112         (gaih_inet): Likewise.
28113         (getaddrinfo): Don't use GAIH_EAI.
28115         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28116         (struct gaih): Remove definition.
28118 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28120         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28121         Use HERRNOP directly.
28123 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28127 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28129         * math/gen-auto-libm-tests.c (test_functions): Add more
28130         single-argument functions.
28131         (special_fill_pi_2): New function.
28132         (special_fill_minus_pi_2): Likewise.
28133         (special_fill_pi_6): Likewise.
28134         (special_fill_minus_pi_6): Likewise.
28135         (special_fill_pi_3): Likewise.
28136         (special_fill_2pi_3): Likewise.
28137         (special_fill_e): Likewise.
28138         (special_fill_1_e): Likewise.
28139         (special_fill_e_minus_1): Likewise.
28140         (special_real_inputs): Add more special inputs.
28141         (output_for_one_input_case): Do not require ERANGE on underflow to
28142         zero if round-to-nearest result does not underflow to zero, unless
28143         exact results required.
28144         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28145         atan, atanh, cbrt, cos and cosh.
28146         * math/auto-libm-test-out: Regenerated.
28147         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28148         (acos_tonearest_test_data): Likewise.
28149         (acos_towardzero_test_data): Likewise.
28150         (acos_downward_test_data): Likewise.
28151         (acos_upward_test_data): Likewise.
28152         (acosh_test_data): Likewise.
28153         (asin_test_data): Likewise.
28154         (asin_tonearest_test_data): Likewise.
28155         (asin_towardzero_test_data): Likewise.
28156         (asin_upward_test_data): Likewise.
28157         (asinh_test_data): Likewise.
28158         (atan_test_data): Likewise.
28159         (atanh_test_data): Likewise.
28160         (cbrt_test_data): Likewise.
28161         (cos_test_data): Likewise.
28162         (cos_tonearest_test_data): Likewise.
28163         (cos_towardzero_test_data): Likewise.
28164         (cos_downward_test_data): Likewise.
28165         (cos_upward_test_data): Likewise.
28166         (cosh_test_data): Likewise.
28167         (cosh_tonearest_test_data): Likewise.
28168         (cosh_towardzero_test_data): Likewise.
28169         (cosh_downward_test_data): Likewise.
28170         (cosh_upward_test_data): Likewise.
28171         * sysdeps/i386/fpu/libm-test-ulps: Update.
28172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28174 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28176         [BZ #6787]
28177         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28178         * math/w_exp10f.c (__exp10f): Likewise.
28179         * math/w_exp10l.c (__exp10l): Likewise.
28180         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28181         errno settings in existing tests.
28183         [BZ #14032]
28184         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28185         precision control set to double precision.
28186         * sysdeps/i386/fpu/w_sqrt.c: New file.
28187         * math/auto-libm-test-in: Add more tests.
28188         * math/auto-libm-test-out: Update.
28190         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28191         (sqrt_test_tonearest): New function.
28192         (sqrt_towardzero_test_data): New variable.
28193         (sqrt_test_towardzero): New function.
28194         (sqrt_downward_test_data): New variable.
28195         (sqrt_test_downward): New function.
28196         (sqrt_upward_test_data): New variable.
28197         (sqrt_test_upward): New function.
28198         (main): Call the new functions.
28200         * math/gen-auto-libm-tests.c: New file.
28201         * math/auto-libm-test-in: Likewise.
28202         * math/auto-libm-test-out: New generated file.
28203         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28204         variables.
28205         (%beautify): Add generated representations of zero.
28206         (top level): Set $auto_input and call parse_auto_input.
28207         (beautify): Remove trailing "f" from hex float constants.
28208         (parse_args): Handle XFAIL_TEST.
28209         (convert_condition): New function.
28210         (or_value): Likewise.
28211         (or_cond_value): Likewise.
28212         (generate_testfile): Handle AUTO_TESTS_* lines.
28213         (parse_auto_input): New function.
28214         * math/libm-test.inc (XFAIL_TEST): New macro.
28215         (ERRNO_UNCHANGED): Update value.
28216         (ERRNO_EDOM): Likewise.
28217         (ERRNO_ERANGE): Likewise.
28218         (IGNORE_RESULT): Likewise.
28219         (TEST_COND_flt_32): New macro.
28220         (TEST_COND_dbl_64): Likewise.
28221         (TEST_COND_ldbl_96_intel): Likewise.
28222         (TEST_COND_ldbl_96_m68k): Likewise.
28223         (TEST_COND_ldbl_128): Likewise.
28224         (TEST_COND_ldbl_128ibm): Likewise.
28225         (TEST_COND_long32): Likewise.
28226         (TEST_COND_long64): Likewise.
28227         (TEST_COND_before_rounding): Likewise.
28228         (TEST_COND_after_rounding): Likewise.
28229         (enable_test): Handle XFAIL_TEST flag.
28230         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28231         with finite results.
28232         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28233         auto-libm-test-out.
28235 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28236             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28238         [BZ #16214]
28239         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28240         __tls_get_addr_internal instead of __tls_get_offset in order to
28241         avoid GOT pointer dependency.  Make rtld export
28242         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28243         __tls_get_addr since we are a __tls_get_offset platform.
28244         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28245         GOT pointer being set up before.
28246         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28248 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28250         * manual/math.texi (Errors in Math Functions): Document accuracy
28251         goals.
28253         [BZ #15004]
28254         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28255         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28256         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28257         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28258         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28259         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28260         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28261         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28262         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28263         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28264         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28265         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28266         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28267         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28268         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28269         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28271         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28272         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28273         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28274         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28275         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28276         Likewise.
28277         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28278         Likewise.
28279         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28280         Likewise.
28281         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28282         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28283         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28284         atomic-feupdateenv and flt-rounds.
28285         * sysdeps/powerpc/nofpu/Versions (libc): Add
28286         __atomic_feholdexcept, __atomic_feclearexcept,
28287         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28288         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28289         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28290         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28291         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28292         here.
28293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28294         Update.
28296         * manual/arith.texi (FP Exceptions): Document that exceptions may
28297         not be raised when matherr is used.
28298         (Math Error Reporting): Document overflow in directed rounding
28299         modes.  Document that errno may not be set when finite values are
28300         returned on overflow.  Document intent to set errno on underflow
28301         only for underflow to zero.
28303         [BZ #16271]
28304         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28305         round-to-nearest then adjust result for other rounding modes.
28306         * include/fenv.h (fegetround): Use libm_hidden_proto.
28307         * math/fegetround.c (fegetround): Use libm_hidden_def.
28308         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28309         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28310         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28311         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28312         Likewise.
28313         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28314         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28315         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28316         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28318 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28320         [BZ #16077]
28321         * nss/Versions (libnss_files): Add
28322         _nss_files_gethostbyname3_r.
28323         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28324         New function.
28325         (HOST_DB_LOOKUP): Remove macro.
28326         (_nss_files_gethostbyname_r): Implement function without the
28327         HOST_DB_LOOKUP macro.
28328         (_nss_files_gethostbyname2_r): Likewise.
28330 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28332         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28334 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28336         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28337         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28338         warning.
28340 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28342         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28343         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28344         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28345         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28346         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28347         __fe_nomask_env_priv and attribute_hidden.
28348         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28349         (libc_feupdateenv_test_ppc): Likewise.
28350         (libc_feresetround_ppc): Likewise.
28351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28352         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28353         compat_symbol macro.
28354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28355         (__fe_nomask_env): Likewise.
28356         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28358 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28360         * string/Makefile: Remove ifunc tests.
28361         * string/test-string.h: Define TEST_IFUNC.
28362         * string/test-bcopy-ifunc.c: Remove.
28363         * string/test-bzero-ifunc.c: Likewise.
28364         * string/test-memccpy-ifunc.c: Likewise.
28365         * string/test-memchr-ifunc.c: Likewise.
28366         * string/test-memcmp-ifunc.c: Likewise.
28367         * string/test-memcpy-ifunc.c: Likewise.
28368         * string/test-memmem-ifunc.c: Likewise.
28369         * string/test-memmove-ifunc.c: Likewise.
28370         * string/test-mempcpy-ifunc.c: Likewise.
28371         * string/test-memrchr-ifunc.c: Likewise.
28372         * string/test-memset-ifunc.c: Likewise.
28373         * string/test-rawmemchr-ifunc.c: Likewise.
28374         * string/test-stpcpy-ifunc.c: Likewise.
28375         * string/test-stpncpy-ifunc.c: Likewise.
28376         * string/test-strcasecmp-ifunc.c: Likewise.
28377         * string/test-strcasestr-ifunc.c: Likewise.
28378         * string/test-strcat-ifunc.c: Likewise.
28379         * string/test-strchr-ifunc.c: Likewise.
28380         * string/test-strchrnul-ifunc.c: Likewise.
28381         * string/test-strcmp-ifunc.c: Likewise.
28382         * string/test-strcpy-ifunc.c: Likewise.
28383         * string/test-strcspn-ifunc.c: Likewise.
28384         * string/test-strlen-ifunc.c: Likewise.
28385         * string/test-strncasecmp-ifunc.c: Likewise.
28386         * string/test-strncat-ifunc.c: Likewise.
28387         * string/test-strncmp-ifunc.c: Likewise.
28388         * string/test-strncpy-ifunc.c: Likewise.
28389         * string/test-strnlen-ifunc.c: Likewise.
28390         * string/test-strpbrk-ifunc.c: Likewise.
28391         * string/test-strrchr-ifunc.c: Likewise.
28392         * string/test-strspn-ifunc.c: Likewise.
28393         * string/test-strstr-ifunc.c: Likewise.
28395 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28397         * benchtests/Makefile: Remove ifunc tests.
28398         * benchtests/bench-string.h: Define TEST_IFUNC.
28399         * benchtests/bench-bcopy-ifunc.c: Remove.
28400         * benchtests/bench-bzero-ifunc.c: Likewise.
28401         * benchtests/bench-memccpy-ifunc.c: Likewise.
28402         * benchtests/bench-memchr-ifunc.c: Likewise.
28403         * benchtests/bench-memcmp-ifunc.c: Likewise.
28404         * benchtests/bench-memcpy-ifunc.c: Likewise.
28405         * benchtests/bench-memmem-ifunc.c: Likewise.
28406         * benchtests/bench-memmove-ifunc.c: Likewise.
28407         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28408         * benchtests/bench-memrchr-ifunc.c: Likewise.
28409         * benchtests/bench-memset-ifunc.c: Likewise.
28410         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28411         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28412         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28413         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28414         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28415         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28416         * benchtests/bench-strcat-ifunc.c: Likewise.
28417         * benchtests/bench-strchr-ifunc.c: Likewise.
28418         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28419         * benchtests/bench-strcmp-ifunc.c: Likewise.
28420         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28421         * benchtests/bench-strcpy-ifunc.c: Likewise.
28422         * benchtests/bench-strcspn-ifunc.c: Likewise.
28423         * benchtests/bench-strlen-ifunc.c: Likewise.
28424         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28425         * benchtests/bench-strncat-ifunc.c: Likewise.
28426         * benchtests/bench-strncmp-ifunc.c: Likewise.
28427         * benchtests/bench-strncpy-ifunc.c: Likewise.
28428         * benchtests/bench-strnlen-ifunc.c: Likewise.
28429         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28430         * benchtests/bench-strrchr-ifunc.c: Likewise.
28431         * benchtests/bench-strsep-ifunc.c: Likewise.
28432         * benchtests/bench-strspn-ifunc.c: Likewise.
28433         * benchtests/bench-strstr-ifunc.c: Likewise.
28435 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28437         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28439 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28441         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28442         * rt/aio.h: Likewise.
28443         * sysdeps/gnu/bits/utmp.h: Likewise.
28444         * sysdeps/gnu/bits/utmpx.h: Likewise.
28445         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28446         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28447         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28448         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28449         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28450         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28451         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28452         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28453         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28454         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28455         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28456         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28457         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28459         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28460         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28461         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28462         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28463         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28464         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28465         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28466         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28467         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28468         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28469         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28470         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28471         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28472         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28473         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28474         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28475         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28476         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28477         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28478         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28479         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28480         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28481         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28482         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28483         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28484         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28485         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28486         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28488 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28490         [BZ #16245]
28491         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28492         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28494 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28496         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28497         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28498         Likewise.
28500 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28502         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28503         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28504         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28505         (__fesetround): Remove define.
28506         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28507         rounding and exceptions handling.
28508         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28509         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28510         (__fe_nomask_env): Likewise.
28511         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28512         __fegetround instead of fegetround.
28513         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28514         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28516 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28518         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28519         it's there.
28521         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28523 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28525         [BZ #11157]
28526         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28527         (encrypt_r): Likewise.
28528         * malloc/obstack.h (obstack_free): Likewise.
28529         * posix/unistd.h (encrypt): Likewise.
28531 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28533         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28534         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28535         DL_CALL_DT_FINI() that call the functions directly.
28536         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28537         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28538         * elf/dl-fini.c: Likewise.
28540 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28542         * malloc/hooks.c (memalign_check): Add alignment rounding.
28543         * malloc/malloc.c (_mid_memalign): New function.
28544         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28545         Implement by calling _mid_memalign.
28546         * manual/probes.texi (Memory Allocation Probes): Remove
28547         memory_valloc_retry and memory_pvalloc_retry.
28549 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28551         * locale/programs/locarchive.c (open_archive): Add const
28552         qualifier to ARCHIVEFNAME and copy default fname to
28553         DEFAULT_FNAME.
28555         [BZ #15601]
28556         * libio/tst-widetext.input: Rename Oriya to Odia.
28557         * locale/iso-639.def: Likewise.
28559         * manual/probes.texi (Mathematical Function Probes): Add
28560         documentation for sin, cos, asin and acos probes.
28561         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28562         (__sin32): Add slowasin probe.
28563         (__cos32): Add slowacos probe.
28564         (__mpsin): Add slowsin probe.
28565         (__mpcos): Add slowcos probe.
28567 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28569         [BZ #15483]
28570         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28571         thread-local __sim_exceptions_thread and global
28572         __sim_exceptions_global.
28573         (__sim_disabled_exceptions): Change to thread-local
28574         __sim_disabled_exceptions_thread and global
28575         __sim_disabled_exceptions_global.
28576         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28577         and global __sim_round_mode_global.
28578         (__simulate_exceptions): Use thread-local floating-point state and
28579         set global state from it as needed.
28580         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28581         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28582         __sim_round_mode_thread.
28583         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28584         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28585         and global __sim_exceptions_global.
28586         (__sim_disabled_exceptions): Change to thread-local
28587         __sim_disabled_exceptions_thread and global
28588         __sim_disabled_exceptions_global.
28589         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28590         and global __sim_round_mode_global.
28591         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28592         (SIM_SET_GLOBAL): Likewise.
28593         * sysdeps/powerpc/soft-fp/sfp-machine.h
28594         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28595         __sim_round_mode_thread.
28596         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28597         __sim_disabled_exceptions_thread.
28598         (__sim_exceptions): Change to __sim_exceptions_thread.
28599         (__sim_disabled_exceptions): Change to
28600         __sim_disabled_exceptions_thread.
28601         (__sim_round_mode): Change to __sim_round_mode_thread.
28602         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28603         thread-local floating-point state and set global state from it as
28604         needed.
28605         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28606         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28607         (__sim_disabled_exceptions): Remove extern declaration.
28608         (feenableexcept): Use thread-local floating-point state and set
28609         global state from it as needed.
28610         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28611         extern declaration.
28612         (__sim_disabled_exceptions): Likewise.
28613         (__sim_round_mode): Likewise.
28614         (__fegetenv): Use thread-local floating-point state.
28615         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28616         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28617         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28618         floating-point state and set global state from it as needed.
28619         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28620         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28621         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28622         Likewise.
28623         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28624         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28625         Likewise.
28626         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28627         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28628         Use __sim_round_mode_thread.
28629         * math/test-fenv-tls.c: New file.
28630         * math/Makefile (tests): Add test-fenv-tls.
28631         ($(objpfx)test-fenv-tls): Depend on
28632         $(common-objpfx)nptl/libpthread.so.
28634 2013-11-19  Andreas Schwab  <schwab@suse.de>
28636         * locale/programs/locale.c (show_info): Decode wordarray elements.
28637         * locale/categories.def (LC_MONETARY): Add element for
28638         _NL_MONETARY_CRNCYSTR.
28639         * locale/C-monetary.c (conversion_rate): New variable.
28640         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28641         element.
28643 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28645         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28646         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28648 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28650         * elf/Makefile (tst-auxv): New test.
28651         * elf/tst-auxv.c: New
28652         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28654 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28656         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28657         (hidden_proto): Caller changed.
28658         (hidden_tls_proto): New macro.
28659         (libc_hidden_tls_proto): Likewise.
28660         (rtld_hidden_tls_proto): Likewise.
28661         (libm_hidden_tls_proto): Likewise.
28662         (libresolv_hidden_tls_proto): Likewise.
28663         (librt_hidden_tls_proto): Likewise.
28664         (libdl_hidden_tls_proto): Likewise.
28665         (libnss_files_hidden_tls_proto): Likewise.
28666         (libnsl_hidden_tls_proto): Likewise.
28667         (libnss_nisplus_hidden_tls_proto): Likewise.
28668         (libutil_hidden_tls_proto): Likewise.
28670 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28672         [BZ #10253]
28673         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28674         (decompose_rpath): Defer expansion to fillin_rpath.
28675         (_dl_init_paths): Pass linkmap to fillin_rpath.
28677 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28679         * benchtests/Makefile: Add strsep.
28680         * benchtests/bench-strsep.c: New file: strsep benchtest.
28681         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28683 2013-11-18  Andreas Schwab  <schwab@suse.de>
28685         * locale/programs/locale.c (show_info) [case byte]: Check for
28686         '\377' instead of '\177'.
28687         * locale/C-monetary.c (not_available): Always use "\377".
28688         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28689         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28690         detect unavailable sign_posn locale elements.
28691         * locale/localeconv.c (__localeconv): For grouping and
28692         mon_grouping handle "\177" and "\377" like no grouping.
28693         (INT_ELEM): New macro.  Use it to set all numeric members.
28694         * locale/programs/ld-monetary.c (monetary_read)
28695         <tok_mon_grouping>: Normalize single -1 to the empty string.
28696         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28697         Likewise.
28699 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28701         [BZ #16055]
28702         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28703         when we match (nil).
28704         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28706 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28708         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28709         (NO_TEST_INLINE): Update value.
28710         (ERRNO_UNCHANGED): Likewise.
28711         (ERRNO_EDOM): Likewise.
28712         (ERRNO_ERANGE): Likewise.
28713         (IGNORE_RESULT): Likewise.
28714         (check_float_internal): Check signs of NaN results if
28715         TEST_NAN_SIGN used.
28716         (check_complex): Pass TEST_NAN_SIGN flag through to second
28717         check_float_internal call.
28718         (copysign_test_data): Add tests with quiet NaNs as second
28719         argument.  Use TEST_NAN_SIGN.
28720         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28721         TEST_NAN_SIGN.
28722         (signbit_test_data): Add tests of quiet NaN argument.
28723         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28725         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28726         $ignore_result.
28727         (parse_args): Handle function results specified as IGNORE.
28728         * math/libm-test.inc (IGNORE_RESULT): New macro.
28729         (check_float_internal): Do not check numerical result if flag
28730         IGNORE_RESULT set.
28731         (check_complex): Pass through IGNORE_RESULT to second
28732         check_float_internal call.
28733         (check_int): Do not check numerical result if flag IGNORE_RESULT
28734         set.
28735         (check_long): Likewise.
28736         (check_bool): Likewise.
28737         (check_longlong): Likewise.
28738         (lrint_test_data): Add tests of infinite and NaN arguments.
28739         (lrint_tonearest_test_data): Likewise.
28740         (lrint_towardzero_test_data): Likewise.
28741         (lrint_downward_test_data): Likewise.
28742         (lrint_upward_test_data): Likewise.
28743         (llrint_test_data): Likewise.
28744         (llrint_tonearest_test_data): Likewise.
28745         (llrint_towardzero_test_data): Likewise.
28746         (llrint_downward_test_data): Likewise.
28747         (llrint_upward_test_data): Likewise.
28748         (lround_test_data): Likewise.
28749         (llround_test_data): Likewise.
28751         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28752         (ERRNO_UNCHANGED): Update value.
28753         (ERRNO_EDOM): Likewise.
28754         (ERRNO_ERANGE): Likewise.
28755         (NO_TEST_INLINE_FLOAT): New macro.
28756         (NO_TEST_INLINE_DOUBLE): Likewise.
28757         (enable_test): New function.
28758         (RUN_TEST_f_f): Check enable_test before running test.
28759         (RUN_TEST_2_f): Likewise.
28760         (RUN_TEST_fff_f): Likewise.
28761         (RUN_TEST_c_f): Likewise.
28762         (RUN_TEST_f_f1): Likewise.
28763         (RUN_TEST_fF_f1): Likewise.
28764         (RUN_TEST_fI_f1): Likewise.
28765         (RUN_TEST_ffI_f1): Likewise.
28766         (RUN_TEST_c_c): Likewise.
28767         (RUN_TEST_cc_c): Likewise.
28768         (RUN_TEST_f_i): Likewise.
28769         (RUN_TEST_f_i_tg): Likewise.
28770         (RUN_TEST_ff_i_tg): Likewise.
28771         (RUN_TEST_f_b): Likewise.
28772         (RUN_TEST_f_b_tg): Likewise.
28773         (RUN_TEST_f_l): Likewise.
28774         (RUN_TEST_f_L): Likewise.
28775         (RUN_TEST_fFF_11): Likewise.
28776         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28777         conditionals.
28778         (cosh_test_data): Likewise.
28779         (exp_test_data): Likewise.
28780         (expm1_test_data): Likewise.
28781         (hypot_test_data): Likewise.
28782         (pow_test_data): Likewise.
28783         (sinh_test_data): Likewise.
28784         (tanh_test_data): Likewise.
28785         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28786         flags argument.
28788         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28789         tests with quiet NaN input and output.
28790         (acosh_test_data): Likewise.
28791         (asin_test_data): Likewise.
28792         (asinh_test_data): Likewise.
28793         (atan_test_data): Likewise.
28794         (atanh_test_data): Likewise.
28795         (atan2_test_data): Likewise.
28796         (cbrt_test_data): Likewise.
28797         (cos_test_data): Likewise.
28798         (cosh_test_data): Likewise.
28799         (erf_test_data): Likewise.
28800         (erfc_test_data): Likewise.
28801         (exp_test_data): Likewise.
28802         (exp10_test_data): Likewise.
28803         (exp2_test_data): Likewise.
28804         (expm1_test_data): Likewise.
28805         (hypot_test_data): Likewise.
28806         (j0_test_data): Likewise.
28807         (j1_test_data): Likewise.
28808         (jn_test_data): Likewise.
28809         (lgamma_test_data): Likewise.
28810         (log_test_data): Likewise.
28811         (log10_test_data): Likewise.
28812         (log1p_test_data): Likewise.
28813         (log2_test_data): Likewise.
28814         (pow_test_data): Likewise.
28815         (scalb_test_data): Likewise.
28816         (sin_test_data): Likewise.
28817         (sincos_test_data): Likewise.
28818         (sinh_test_data): Likewise.
28819         (tan_test_data): Likewise.
28820         (tanh_test_data): Likewise.
28821         (tgamma_test_data): Likewise.
28822         (y0_test_data): Likewise.
28823         (y1_test_data): Likewise.
28824         (yn_test_data): Likewise.
28826         [BZ #16167]
28827         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28828         argument being NaN and avoid computations with second argument in
28829         that case.
28830         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28831         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28832         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28834 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28836         * locale/iso-639.def: Add Chitwani Tharu (the).
28838 2013-11-14  Andreas Schwab  <schwab@suse.de>
28840         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28841         word instead of empty string.
28843 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28846         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28848         (__fe_nomask_env): Likewise.
28850 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28852         * benchtests/bench-timing.h: Include time.h.
28854 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28856         [BZ #15997]
28857         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28858         to 3.4.0 for x32.
28859         * sysdeps/unix/sysv/linux/configure: Regenerated.
28861 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28863         [BZ #16151]
28864         * stdlib/strtod_l.c (round_and_return): Do not consider
28865         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28866         exponent one less than half the least subnormal exponent.
28867         * stdlib/test-strtod-round-data: Add more tests.
28868         * stdlib/tst-strtod-round.c (tests): Regenerated.
28870 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28872         [BZ #14143]
28873         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28874         (__fe_mask_env): Likewise.
28875         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28876         libm_hidden_proto and add function prototype.
28877         (__fe_mask_env): Add function prototype.
28878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28879         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28881         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28883         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28885 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28887         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28888         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28890 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28892         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28893         of htab_find_slot().
28895 2013-11-11  David S. Miller  <davem@davemloft.net>
28897         [BZ #16150]
28898         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28899         symbol in the non-vis3 case in static builds.
28900         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28901         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28902         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28903         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28905 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28907         [BZ #387]
28908         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28909         it is empty.
28911 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28913         * benchtests/Makefile: Add bench-strtod.
28914         * benchtests/bench-strtod.c: New file: strtod benchtest
28916 2013-11-11  Andreas Schwab  <schwab@suse.de>
28918         [BZ #16153]
28919         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28920         terminating NUL in key length.
28922 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28924         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28925         Add artificial ODP entry for vDSO symbol for PPC64.
28926         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28927         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28929 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28931         [BZ #15374]
28932         * nss/getent.c (services_keys): Recognize services starting with digit.
28934 2013-11-06  David S. Miller  <davem@davemloft.net>
28936         [BZ #15985]
28937         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28938         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28940 2013-11-06  Will Newton  <will.newton@linaro.org>
28942         * manual/memory.texi (Malloc Examples): Remove register
28943         keyword from examples.
28945 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28947         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28949 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28951         [BZ #6981]
28952         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28953         depending on [__GCC_IEC_559 > 0].
28954         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28955         depending on [__GCC_IEC_559_COMPLEX > 0].
28957 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28959         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28960         to iso-639.def.
28962 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28964         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28966 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28968         [BZ #16112]
28969         * malloc/malloc (malloc_info): Do not handle first bin as
28970         special case.
28972 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28974         * locale/iso-639.def: Add Central Nahuatl (nhn).
28976 2013-11-01  Bruno Haible  <bruno@clisp.org>
28978         [BZ #7003]
28979         * manual/math.texi (BSD Random): Specify range upper bound as
28980         in POSIX.
28982 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28984         * locale/iso-639.def: Add Meadow Mari (mhr).
28986 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28988         [BZ #14752], [BZ #15763]
28989         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28990         Validate name.
28991         * rt/tst_shm.c: Add test for escaping directory.
28993 2013-10-31  Andreas Schwab  <schwab@suse.de>
28995         [BZ #15917]
28996         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28997         followed by 'x' as part of digit sequence.
28998         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29000 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29002         [BZ #16037]
29003         * configure.ac: allow GNU Make 4.0 and greater.
29004         * configure: Regenerated.
29006 2013-10-30  Will Newton  <will.newton@linaro.org>
29008         [BZ #16038]
29009         * malloc/hooks.c (memalign_check): Limit alignment to the
29010         maximum representable power of two.
29011         * malloc/malloc.c (__libc_memalign): Likewise.
29012         * malloc/tst-memalign.c (do_test): Add test for very
29013         large alignment values.
29014         * malloc/tst-posix_memalign.c (do_test): Likewise.
29016 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29018         [BZ #11087]
29019         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29020         (munmap_chunk): Likewise.
29021         (mremap_chunk): Likewise.
29023 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29025         [BZ #15799]
29026         * stdlib/div.c (div): Remove obsolete code.
29027         * stdlib/ldiv.c (ldiv): Likewise.
29028         * stdlib/lldiv.c (lldiv): Likewise.
29030 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29032         [BZ #16071]
29033         * nss/nss_files/files-XXX.c (get_contents_ret): New
29034         enumerator.
29035         (get_contents): New function.
29036         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29038 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29040         * configure.in: Moved to ...
29041         * configure.ac: ... here. Change reference to configure.in
29042         to configure.ac.
29043         * sysdeps/arm/preconfigure.ac: ... here.
29044         configure.in to configure.ac.
29045         * sysdeps/gnu/configure.in: Moved to ...
29046         * sysdeps/gnu/configure.ac: ... here.
29047         * sysdeps/i386/configure.in: Moved to ...
29048         * sysdeps/i386/configure.ac: ... here.
29049         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29050         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29051         * sysdeps/mach/configure.in: Moved to ...
29052         * sysdeps/mach/configure.ac: ... here.
29053         * sysdeps/mach/hurd/configure.in: Moved to ...
29054         * sysdeps/mach/hurd/configure.ac: ... here.
29055         * sysdeps/powerpc/configure.in: Moved to ...
29056         * sysdeps/powerpc/configure.ac: ... here.
29057         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29058         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29059         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29060         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29061         * sysdeps/s390/s390-32/configure.in: Moved to ...
29062         * sysdeps/s390/s390-32/configure.ac: ... here.
29063         * sysdeps/s390/s390-64/configure.in: Moved to ...
29064         * sysdeps/s390/s390-64/configure.ac: ... here.
29065         * sysdeps/sh/configure.in: Moved to ...
29066         * sysdeps/sh/configure.ac: ... here.
29067         * sysdeps/sparc/configure.in: Moved to ...
29068         * sysdeps/sparc/configure.ac: ... here.
29069         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29070         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29071         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29072         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29073         * sysdeps/x86_64/configure.in: Moved to ...
29074         * sysdeps/x86_64/configure.ac: ... here.
29075         * sysdeps/x86_64/preconfigure.in: Moved to ...
29076         * sysdeps/x86_64/preconfigure.ac: ... here.
29077         * aclocal.m4: Change reference to configure.in to configure.ac.
29078         * config.h.in: Likewise.
29079         * manual/install.texi: Likewise.
29080         * manual/maint.texi: Likewise.
29081         * Makefile: Likewise.
29082         * malloc/Makefile: Likewise.
29083         * nscd/Makefile: Likewise.
29084         * Makeconfig: Change reference to configure.in and
29085         preconfigure.in to configure.ac and preconfigure.ac
29086         respectively.
29087         * INSTALL: Regenerated.
29088         * configure: Likewise.
29089         * sysdeps/gnu/configure: Likewise.
29090         * sysdeps/i386/configure: Likewise.
29091         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29092         * sysdeps/mach/configure: Likewise.
29093         * sysdeps/mach/hurd/configure: Likewise.
29094         * sysdeps/powerpc/configure: Likewise.
29095         * sysdeps/powerpc/powerpc32/configure: Likewise.
29096         * sysdeps/powerpc/powerpc64/configure: Likewise.
29097         * sysdeps/s390/s390-32/configure: Likewise.
29098         * sysdeps/s390/s390-64/configure: Likewise.
29099         * sysdeps/sh/configure: Likewise.
29100         * sysdeps/sparc/configure: Likewise.
29101         * sysdeps/unix/sysv/linux/configure: Likewise.
29102         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29103         * sysdeps/x86_64/configure: Likewise.
29104         * sysdeps/x86_64/preconfigure: Likewise.
29106 2013-10-29  Andreas Schwab  <schwab@suse.de>
29108         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29110 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29112         * benchtests/pow-inputs: Add new inputs.
29114         * benchtests/exp-inputs: Add new inputs.
29116         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29117         conditional check for return value.
29118         (__cos32): Likewise.
29120 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29122         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29123         to provide a boost for large inputs with word alignment.
29124         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29125         implementation based on optimized PPC64 strcpy.
29126         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29127         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29128         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29129         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29131 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29133         [BZ #2801]
29134         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29136 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29138         [BZ #14876]
29139         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29140         * time/tst-strptime.c (day_tests): Add testcase.
29142 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29144         [BZ #14029]
29145         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29147 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29149         [BZ #16074]
29150         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29151         MAP_FAILED on error.
29153 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29155         [BZ #16072]
29156         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29157         heap for large requests.
29159 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29161         [BZ #9954]
29162         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29163         result if the result has no associated interface.
29164         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29165         interface for all 127.X.Y.Z addresses.
29167 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29169         * locale/iso-639.def: Add Ligurian (lij)
29171 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29173         [BZ #15825]
29174         * sunrpc/rpc_main.c: Document rpcgen -5.
29176 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29178         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29180 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29182         [BZ #10278]
29183         * posix/glob.c: Match only directories when trailing slash is present.
29184         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29185         (main): Add testcase.
29187 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29189         [BZ #15670]
29190         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29192 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29194         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29195         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29196         AUTH_DES and cindex for FIPS 140-2.
29197         (DES Encryption): Add cindex FIPS 46-3.
29199         * locale/locarchive.h (struct locarhandle): Add fname.
29200         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29201         if an optional argument was specified to --list-archive,
29202         otherwise NULL.
29203         * locale/programs/locarchive.c (show_archive_content): Take new
29204         argument fname and pass it via ah.fname to open_archive.
29205         * locale/programs/localedef.h: Update decl.
29206         (open_archive): If AH->fname is non-null, open that file
29207         rather than the default file name, and don't ignore ENOENT.
29208         (create_archive): Set AH.fname to NULL.
29209         (delete_locales_from_archive): Likewise.
29210         (add_locales_to_archive): Likewise.
29211         * locale/programs/locfile.c (write_all_categories): Likewise.
29213 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29214             Aldy Hernandez  <aldyh@redhat.com>
29216         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29217         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29218         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29219         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29220         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29221         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29222         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29223         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29224         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29225         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29226         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29227         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29228         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29229         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29230         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29231         Likewise.
29232         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29233         Likewise.
29234         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29235         Likewise.
29236         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29237         Likewise.
29238         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29239         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29240         Likewise.
29241         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29242         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29243         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29244         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29245         Likewise.
29246         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29247         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29248         * sysdeps/powerpc/preconfigure: Likewise.
29249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29250         Likewise.
29251         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29252         Replace contents of file by #include of <fenv_libc.h>.
29253         * sysdeps/powerpc/soft-fp/sfp-machine.h
29254         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29255         and <sys/prctl.h>.
29256         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29257         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29258         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29259         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29260         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29261         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29263         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29264         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29265         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29266         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29267         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29269         Allow copysignl PLT reference to be missing.
29271 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29272             Joseph Myers  <joseph@codesourcery.com
29274         [BZ #15948]
29275         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29276         single character.
29277         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29279 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29281         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29282         * elf/tst-tls1.c: Likewise.
29283         * elf/tst-tls10.h: Likewise.
29284         * elf/tst-tls14.c: Likewise.
29285         * elf/tst-tls2.c: Likewise.
29286         * elf/tst-tls3.c: Likewise.
29287         * elf/tst-tls4.c: Likewise.
29288         * elf/tst-tls5.c: Likewise.
29289         * elf/tst-tls6.c: Likewise.
29290         * elf/tst-tls7.c: Likewise.
29291         * elf/tst-tls8.c: Likewise.
29292         * elf/tst-tls9.c: Likewise.
29293         * elf/tst-tlsmod1.c: Likewise.
29294         * elf/tst-tlsmod13.c: Likewise.
29295         * elf/tst-tlsmod13a.c: Likewise.
29296         * elf/tst-tlsmod14a.c: Likewise.
29297         * elf/tst-tlsmod16a.c: Likewise.
29298         * elf/tst-tlsmod16b.c: Likewise.
29299         * elf/tst-tlsmod2.c: Likewise.
29300         * elf/tst-tlsmod3.c: Likewise.
29301         * elf/tst-tlsmod4.c: Likewise.
29302         * elf/tst-tlsmod5.c: Likewise.
29303         * elf/tst-tlsmod6.c: Likewise.
29305 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29307         [BZ #12486]
29308         * malloc/malloc.c: remove checks for statistics.
29310 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29312         [BZ #15277]
29313         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29314         * inet/tst-network.c: Add testcase.
29316 2013-10-17  Andreas Schwab  <schwab@suse.de>
29318         [BZ #15218]
29319         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29320         to determine canonical name.
29322 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29324         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29325         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29326         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29327         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29328         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29329         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29330         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29331         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29332         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29333         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29334         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29335         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29336         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29337         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29338         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29339         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29340         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29341         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29342         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29343         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29344         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29345         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29346         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29347         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29348         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29349         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29350         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29351         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29352         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29353         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29354         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29355         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29356         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29357         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29358         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29359         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29360         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29361         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29362         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29363         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29364         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29365         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29366         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29367         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29368         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29369         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29370         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29371         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29372         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29373         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29374         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29375         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29376         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29377         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29378         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29379         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29380         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29381         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29383 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29385         [BZ #16041]
29386         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29387         make result into a quiet NaN.
29389 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29391         * soft-fp/adddf3.c: Fix horizontal whitespace.
29392         * soft-fp/addsf3.c: Likewise.
29393         * soft-fp/addtf3.c: Likewise.
29394         * soft-fp/divdf3.c: Likewise.
29395         * soft-fp/divsf3.c: Likewise.
29396         * soft-fp/divtf3.c: Likewise.
29397         * soft-fp/double.h: Likewise.
29398         * soft-fp/eqdf2.c: Likewise.
29399         * soft-fp/eqsf2.c: Likewise.
29400         * soft-fp/eqtf2.c: Likewise.
29401         * soft-fp/extenddftf2.c: Likewise.
29402         * soft-fp/extended.h: Likewise.
29403         * soft-fp/extendsfdf2.c: Likewise.
29404         * soft-fp/extendsftf2.c: Likewise.
29405         * soft-fp/extendxftf2.c: Likewise.
29406         * soft-fp/fixdfdi.c: Likewise.
29407         * soft-fp/fixdfsi.c: Likewise.
29408         * soft-fp/fixdfti.c: Likewise.
29409         * soft-fp/fixsfdi.c: Likewise.
29410         * soft-fp/fixsfsi.c: Likewise.
29411         * soft-fp/fixsfti.c: Likewise.
29412         * soft-fp/fixtfdi.c: Likewise.
29413         * soft-fp/fixtfsi.c: Likewise.
29414         * soft-fp/fixtfti.c: Likewise.
29415         * soft-fp/fixunsdfdi.c: Likewise.
29416         * soft-fp/fixunsdfsi.c: Likewise.
29417         * soft-fp/fixunsdfti.c: Likewise.
29418         * soft-fp/fixunssfdi.c: Likewise.
29419         * soft-fp/fixunssfsi.c: Likewise.
29420         * soft-fp/fixunssfti.c: Likewise.
29421         * soft-fp/fixunstfdi.c: Likewise.
29422         * soft-fp/fixunstfsi.c: Likewise.
29423         * soft-fp/fixunstfti.c: Likewise.
29424         * soft-fp/floatdidf.c: Likewise.
29425         * soft-fp/floatdisf.c: Likewise.
29426         * soft-fp/floatditf.c: Likewise.
29427         * soft-fp/floatsidf.c: Likewise.
29428         * soft-fp/floatsisf.c: Likewise.
29429         * soft-fp/floatsitf.c: Likewise.
29430         * soft-fp/floattidf.c: Likewise.
29431         * soft-fp/floattisf.c: Likewise.
29432         * soft-fp/floattitf.c: Likewise.
29433         * soft-fp/floatundidf.c: Likewise.
29434         * soft-fp/floatundisf.c: Likewise.
29435         * soft-fp/floatunditf.c: Likewise.
29436         * soft-fp/floatunsidf.c: Likewise.
29437         * soft-fp/floatunsisf.c: Likewise.
29438         * soft-fp/floatunsitf.c: Likewise.
29439         * soft-fp/floatuntidf.c: Likewise.
29440         * soft-fp/floatuntisf.c: Likewise.
29441         * soft-fp/floatuntitf.c: Likewise.
29442         * soft-fp/fmadf4.c: Likewise.
29443         * soft-fp/fmasf4.c: Likewise.
29444         * soft-fp/fmatf4.c: Likewise.
29445         * soft-fp/gedf2.c: Likewise.
29446         * soft-fp/gesf2.c: Likewise.
29447         * soft-fp/getf2.c: Likewise.
29448         * soft-fp/ledf2.c: Likewise.
29449         * soft-fp/lesf2.c: Likewise.
29450         * soft-fp/letf2.c: Likewise.
29451         * soft-fp/muldf3.c: Likewise.
29452         * soft-fp/mulsf3.c: Likewise.
29453         * soft-fp/multf3.c: Likewise.
29454         * soft-fp/negdf2.c: Likewise.
29455         * soft-fp/negsf2.c: Likewise.
29456         * soft-fp/negtf2.c: Likewise.
29457         * soft-fp/op-1.h: Likewise.
29458         * soft-fp/op-2.h: Likewise.
29459         * soft-fp/op-4.h: Likewise.
29460         * soft-fp/op-8.h: Likewise.
29461         * soft-fp/op-common.h: Likewise.
29462         * soft-fp/quad.h: Likewise.
29463         * soft-fp/single.h: Likewise.
29464         * soft-fp/soft-fp.h: Likewise.
29465         * soft-fp/sqrtdf2.c: Likewise.
29466         * soft-fp/sqrtsf2.c: Likewise.
29467         * soft-fp/sqrttf2.c: Likewise.
29468         * soft-fp/subdf3.c: Likewise.
29469         * soft-fp/subsf3.c: Likewise.
29470         * soft-fp/subtf3.c: Likewise.
29471         * soft-fp/truncdfsf2.c: Likewise.
29472         * soft-fp/trunctfdf2.c: Likewise.
29473         * soft-fp/trunctfsf2.c: Likewise.
29474         * soft-fp/trunctfxf2.c: Likewise.
29475         * soft-fp/unorddf2.c: Likewise.
29476         * soft-fp/unordsf2.c: Likewise.
29477         * soft-fp/unordtf2.c: Likewise.
29479 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29481         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29482         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29484 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29486         * elf/dl-libc.c: Clear initfini list after freeing.
29488 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29490         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29491         * soft-fp/addsf3.c: Likewise.
29492         * soft-fp/addtf3.c: Likewise.
29493         * soft-fp/divdf3.c: Likewise.
29494         * soft-fp/divsf3.c: Likewise.
29495         * soft-fp/divtf3.c: Likewise.
29496         * soft-fp/double.h: Likewise.
29497         * soft-fp/eqdf2.c: Likewise.
29498         * soft-fp/eqsf2.c: Likewise.
29499         * soft-fp/eqtf2.c: Likewise.
29500         * soft-fp/extenddftf2.c: Likewise.
29501         * soft-fp/extended.h: Likewise.
29502         * soft-fp/extendsfdf2.c: Likewise.
29503         * soft-fp/extendsftf2.c: Likewise.
29504         * soft-fp/extendxftf2.c: Likewise.
29505         * soft-fp/fixdfdi.c: Likewise.
29506         * soft-fp/fixdfsi.c: Likewise.
29507         * soft-fp/fixdfti.c: Likewise.
29508         * soft-fp/fixsfdi.c: Likewise.
29509         * soft-fp/fixsfsi.c: Likewise.
29510         * soft-fp/fixsfti.c: Likewise.
29511         * soft-fp/fixtfdi.c: Likewise.
29512         * soft-fp/fixtfsi.c: Likewise.
29513         * soft-fp/fixtfti.c: Likewise.
29514         * soft-fp/fixunsdfdi.c: Likewise.
29515         * soft-fp/fixunsdfsi.c: Likewise.
29516         * soft-fp/fixunsdfti.c: Likewise.
29517         * soft-fp/fixunssfdi.c: Likewise.
29518         * soft-fp/fixunssfsi.c: Likewise.
29519         * soft-fp/fixunssfti.c: Likewise.
29520         * soft-fp/fixunstfdi.c: Likewise.
29521         * soft-fp/fixunstfsi.c: Likewise.
29522         * soft-fp/fixunstfti.c: Likewise.
29523         * soft-fp/floatdidf.c: Likewise.
29524         * soft-fp/floatdisf.c: Likewise.
29525         * soft-fp/floatditf.c: Likewise.
29526         * soft-fp/floatsidf.c: Likewise.
29527         * soft-fp/floatsisf.c: Likewise.
29528         * soft-fp/floatsitf.c: Likewise.
29529         * soft-fp/floattidf.c: Likewise.
29530         * soft-fp/floattisf.c: Likewise.
29531         * soft-fp/floattitf.c: Likewise.
29532         * soft-fp/floatundidf.c: Likewise.
29533         * soft-fp/floatundisf.c: Likewise.
29534         * soft-fp/floatunsidf.c: Likewise.
29535         * soft-fp/floatunsisf.c: Likewise.
29536         * soft-fp/floatuntidf.c: Likewise.
29537         * soft-fp/floatuntisf.c: Likewise.
29538         * soft-fp/floatuntitf.c: Likewise.
29539         * soft-fp/fmadf4.c: Likewise.
29540         * soft-fp/fmasf4.c: Likewise.
29541         * soft-fp/fmatf4.c: Likewise.
29542         * soft-fp/gedf2.c: Likewise.
29543         * soft-fp/gesf2.c: Likewise.
29544         * soft-fp/getf2.c: Likewise.
29545         * soft-fp/ledf2.c: Likewise.
29546         * soft-fp/lesf2.c: Likewise.
29547         * soft-fp/letf2.c: Likewise.
29548         * soft-fp/muldf3.c: Likewise.
29549         * soft-fp/mulsf3.c: Likewise.
29550         * soft-fp/multf3.c: Likewise.
29551         * soft-fp/negdf2.c: Likewise.
29552         * soft-fp/negsf2.c: Likewise.
29553         * soft-fp/negtf2.c: Likewise.
29554         * soft-fp/op-1.h: Likewise.
29555         * soft-fp/op-2.h: Likewise.
29556         * soft-fp/op-4.h: Likewise.
29557         * soft-fp/op-8.h: Likewise.
29558         * soft-fp/op-common.h: Likewise.
29559         * soft-fp/quad.h: Likewise.
29560         * soft-fp/single.h: Likewise.
29561         * soft-fp/soft-fp.h: Likewise.
29562         * soft-fp/sqrtdf2.c: Likewise.
29563         * soft-fp/sqrtsf2.c: Likewise.
29564         * soft-fp/sqrttf2.c: Likewise.
29565         * soft-fp/subdf3.c: Likewise.
29566         * soft-fp/subsf3.c: Likewise.
29567         * soft-fp/subtf3.c: Likewise.
29568         * soft-fp/truncdfsf2.c: Likewise.
29569         * soft-fp/trunctfdf2.c: Likewise.
29570         * soft-fp/trunctfsf2.c: Likewise.
29571         * soft-fp/trunctfxf2.c: Likewise.
29572         * soft-fp/unorddf2.c: Likewise.
29573         * soft-fp/unordsf2.c: Likewise.
29574         * soft-fp/unordtf2.c: Likewise.
29576 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29578         [BZ #15672]
29579         * misc/error.c (error_tail): Fix possible buffer overflow.
29581 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29583         [BZ #13028]
29584         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29585         address.
29587 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29589         [BZ #832]
29590         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29591         testing pipefail option.
29593 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29595         * soft-fp/double.h: Indent preprocessor directives inside #if.
29596         * soft-fp/extended.h: Likewise.
29597         * soft-fp/op-2.h: Likewise.
29598         * soft-fp/op-4.h: Likewise.
29599         * soft-fp/op-common.h: Likewise.
29600         * soft-fp/quad.h: Likewise.
29601         * soft-fp/single.h: Likewise.
29602         * soft-fp/soft-fp.h: Likewise.
29604 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29606         * iconv/iconv_prog.c: Fix typos.
29607         * stdio-common/psiginfo-data.h: Likewise.
29609 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29611         [BZ #15764]
29612         * locale/setlocale.c: Fix typo.
29614 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29616         [BZ #16036]
29617         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29618         signaling NaN arguments.
29619         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29620         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29622         [BZ #14910]
29623         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29624         unordered operands.
29625         * soft-fp/gesf2.c (__gesf2): Likewise.
29626         * soft-fp/getf2.c (__getf2): Likewise.
29627         * soft-fp/ledf2.c (__ledf2): Likewise.
29628         * soft-fp/lesf2.c (__lesf2): Likewise.
29629         * soft-fp/letf2.c (__letf2): Likewise.
29631         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29632         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29633         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29634         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29635         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29636         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29637         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29638         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29639         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29640         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29641         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29642         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29643         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29644         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29645         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29646         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29647         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29648         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29649         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29650         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29651         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29652         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29653         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29654         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29655         * soft-fp/floattidf.c (__floattidf): Likewise.
29656         * soft-fp/floattisf.c (__floattisf): Likewise.
29657         * soft-fp/floattitf.c (__floattitf): Likewise.
29658         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29659         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29660         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29661         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29662         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29663         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29664         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29665         * soft-fp/gesf2.c (__gesf2): Likewise.
29666         * soft-fp/getf2.c (__getf2): Likewise.
29667         * soft-fp/ledf2.c (__ledf2): Likewise.
29668         * soft-fp/lesf2.c (__lesf2): Likewise.
29669         * soft-fp/letf2.c (__letf2): Likewise.
29671         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29672         Undefine and redefine.
29673         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29674         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29675         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29676         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29677         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29678         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29679         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29680         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29681         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29682         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29683         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29684         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29685         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29686         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29687         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29689         [BZ #16032]
29690         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29691         without decrementing exponent if mantissa >= that for the
29692         denominator, not >.
29693         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29694         denominator, not >.  Decrement exponent in < case instead of
29695         incrementing in >= case.
29696         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29697         without decrementing exponent if mantissa >= that for the
29698         denominator, not >.
29700         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29701         computing saturated result for unsigned overflow.
29703 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29704             Jeff Law  <law@redhat.com>
29706         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29707         (atan2Mp): Add systemtap probe marker.
29708         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29709         (__ieee754_log): Add systemtap probe marker.
29710         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29711         (atanMp): Add systemtap probe marker.
29712         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29713         (tanMp): Add systemtap probe marker.
29714         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29715         (__slowexp): Add systemtap probe marker.
29716         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29717         (__slowpow): Add systemtap probe marker.
29718         * manual/probes.texi: Document probes.
29720 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29722         [BZ #15362]
29723         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29724         written.
29725         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29726         written.
29727         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29728         written to buffer but not flushed.
29729         * libio/iofwrite_u.c:  Likewise.
29730         * libio/iopadn.c:  Return bytes returned even if EOF was
29731         encountered.
29732         * libio/iowpadn.c:  Likewise.
29733         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29734         if _IO_padn does not write the whole buffer.
29735         [!COMPILE_WPRINTF] (PAD): Likewise.
29737 2013-10-10  David S. Miller  <davem@davemloft.net>
29739         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29740         directory block.
29742 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29744         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29745         instead of FSF address.
29746         * soft-fp/fixdfti.c: Likewise.
29747         * soft-fp/fixsfti.c: Likewise.
29748         * soft-fp/fixtfti.c: Likewise.
29749         * soft-fp/fixunsdfti.c: Likewise.
29750         * soft-fp/fixunssfti.c: Likewise.
29751         * soft-fp/fixunstfti.c: Likewise.
29752         * soft-fp/floattidf.c: Likewise.
29753         * soft-fp/floattisf.c: Likewise.
29754         * soft-fp/floattitf.c: Likewise.
29755         * soft-fp/floatuntidf.c: Likewise.
29756         * soft-fp/floatuntisf.c: Likewise.
29757         * soft-fp/floatuntitf.c: Likewise.
29758         * soft-fp/trunctfxf2.c: Likewise.
29760         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29761         * soft-fp/fixdfti.c: Likewise.
29762         * soft-fp/fixsfti.c: Likewise.
29763         * soft-fp/fixtfti.c: Likewise.
29764         * soft-fp/fixunsdfti.c: Likewise.
29765         * soft-fp/fixunssfti.c: Likewise.
29766         * soft-fp/fixunstfti.c: Likewise.
29767         * soft-fp/floattidf.c: Likewise.
29768         * soft-fp/floattisf.c: Likewise.
29769         * soft-fp/floattitf.c: Likewise.
29770         * soft-fp/floatuntidf.c: Likewise.
29771         * soft-fp/floatuntisf.c: Likewise.
29772         * soft-fp/floatuntitf.c: Likewise.
29773         * soft-fp/trunctfxf2.c: Likewise.
29775 2013-10-10  David S. Miller  <davem@davemloft.net>
29777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29779 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29781         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29782         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29783         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29784         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29785         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29786         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29787         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29789         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29790         for NaNs before doing comparisons on argument.
29791         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29792         Likewise.
29794 2013-10-10  Will Newton  <will.newton@linaro.org>
29796         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29797         passed to _int_memalign does not overflow.
29799 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29801         * scripts/bench.pl: Add include-sources directive.
29802         * benchtests/README: Update documentation.
29804 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29806         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29807         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29808         instead of FP_INIT_ROUNDMODE.
29809         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29810         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29812         [BZ #16034]
29813         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29814         copy class of input value.
29815         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29816         not handle exceptions.
29817         * soft-fp/negsf2.c (__negsf2): Likewise.
29818         * soft-fp/negtf2.c (__negtf2): Likewise.
29819         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29821 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29823         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29824         semicolon.  From Linux kernel.
29826 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29828         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29830 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29832         [BZ #156]
29833         * manual/socket.texi: Added statement about buffer
29834         for gethostbyname2_r.
29836 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29838         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29839         Use .p2align directive instead, throughout.
29840         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29841         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29842         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29843         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29844         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29845         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29846         * sysdeps/x86_64/strchr.S: Likewise.
29847         * sysdeps/x86_64/strrchr.S: Likewise.
29849 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29851         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29853         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29855         * sysdeps/generic/math_private.h (__mpsin1): Remove
29856         declaration.
29857         (__mpcos1): Likewise.
29858         (__mpsin): New argument __range_reduce.
29859         (__mpcos): Likewise.
29860         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29861         (slow): Use __mpsin and __mpcos.
29862         (slow1): Likewise.
29863         (slow2): Likewise.
29864         (sloww): Likewise.
29865         (sloww1): Likewise.
29866         (sloww2): Likewise.
29867         (bsloww): Likewise.
29868         (bsloww1): Likewise.
29869         (bsloww2): Likewise.
29870         (cslow2): Likewise.
29871         (csloww): Likewise.
29872         (csloww1): Likewise.
29873         (csloww2): Likewise.
29874         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29875         range_reduce.  Merge in __mpsin1.
29876         (__mpcos): Likewise.
29877         (__mpsin1): Remove.
29878         (__mpcos1): Likewise.
29880 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29882         * locale/loadlocale.c (_nl_intern_locale_data): Use
29883         LOCFILE_ALIGNED_P.
29884         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29885         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29886         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29887         obstack data is appropriately aligned.
29888         (obstack_int32_grow_fast): Likewise.
29889         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29890         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29891         (add_locale_uint32_array): Likewise.
29893 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29895         * benchtests/Makefile: Remove ARGLIST and RET variables.
29896         ($(objpfx)bench-%.c): Pass only function name to the script.
29897         * benchtests/README: Update documentation.
29898         * benchtests/acos-inputs: Add new directives.
29899         * benchtests/acosh-inputs: Likewise.
29900         * benchtests/asin-inputs: Likewise.
29901         * benchtests/asinh-inputs: Likewise.
29902         * benchtests/atan-inputs: Likewise.
29903         * benchtests/atanh-inputs: Likewise.
29904         * benchtests/cos-inputs: Likewise.
29905         * benchtests/cosh-inputs: Likewise.
29906         * benchtests/exp-inputs: Likewise.
29907         * benchtests/log-inputs: Likewise.
29908         * benchtests/pow-inputs: Likewise.
29909         * benchtests/rint-inputs: Likewise.
29910         * benchtests/sin-inputs: Likewise.
29911         * benchtests/sinh-inputs: Likewise.
29912         * benchtests/tan-inputs: Likewise.
29913         * benchtests/tanh-inputs: Likewise.
29914         * scripts/bench.pl: Add support for new directives.
29916 2013-10-07  Alan Modra  <amodra@gmail.com>
29918         * README: Fix careless merge.
29920 2013-10-05  Alan Modra  <amodra@gmail.com>
29922         * NEWS: Mention powerpc64le support and bugs fixed.
29923         * README: Both big-endian and little-endian powerpc64 supported.
29925 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29927         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29928         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29929         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29930         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29932 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29934         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29935         match prototype.
29937 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29939         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29940         Move -mhard-float appending from
29941         ports/sysdeps/powerpc/powerpc32/Makefile.
29942         [$(with-fp) = yes] (ASFLAGS): Likewise.
29943         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29944         * sysdeps/powerpc/nofpu: Move directory from
29945         ports/sysdeps/powerpc/nofpu.
29946         * sysdeps/powerpc/soft-fp: Move directory from
29947         ports/sysdeps/powerpc/soft-fp.
29948         * sysdeps/powerpc/powerpc32/405: Move directory from
29949         ports/sysdeps/powerpc/powerpc32/405.
29950         * sysdeps/powerpc/powerpc32/440: Move directory from
29951         ports/sysdeps/powerpc/powerpc32/440.
29952         * sysdeps/powerpc/powerpc32/464: Move directory from
29953         ports/sysdeps/powerpc/powerpc32/464.
29954         * sysdeps/powerpc/powerpc32/476: Move directory from
29955         ports/sysdeps/powerpc/powerpc32/476.
29956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29957         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29959         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29961         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29963         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29965         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29966         * README: Update for powerpc-*-linux-gnu software floating point
29967         support in libc.
29969         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29970         case to powerpc/powerpc32*.
29971         * sysdeps/unix/sysv/linux/configure: Regenerated.
29973         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29974         (_FPU_MASK_OM): Define as 0x04.
29975         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29976         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29977         0x00c10080.
29978         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29979         0x0000003c.
29980         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29983         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29984         getcontext_e500.
29985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29986         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29987         setcontext_e500.
29988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29989         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29990         and setcontext_e500.
29992 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29994         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29996 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29998         * manual/threads.texi (Default Thread Attributes): Fix typo.
30000 2013-10-04  Will Newton  <will.newton@linaro.org>
30002         * malloc/Makefile: Add tst-memalign.
30003         * malloc/tst-memalign.c: New file.
30005         * malloc/tst-posix_memalign.c: Add comments.
30006         (do_test): Add comments and call free on all potentially
30007         allocated pointers. Add space after cast.
30009         * malloc/tst-pvalloc.c: Add comments.
30010         (do_test): Add comments and call free on all potentially
30011         allocated pointers. Remove duplicate check for NULL pointer.
30012         Add space after cast.
30014         * malloc/tst-valloc.c: Add comments.
30015         (do_test): Add comments and call free on all potentially
30016         allocated pointers. Remove duplicate check for NULL pointer.
30017         Add space after cast.
30019 2013-10-04  Alan Modra  <amodra@gmail.com>
30021         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30022         Use stdint types in rather than __attribute__((mode())).
30023         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30025 2013-10-04  Alan Modra  <amodra@gmail.com>
30027         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30028         Correct handling of unaligned relocs for little-endian.
30029         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30031 2013-10-04  Alan Modra  <amodra@gmail.com>
30033         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30034         * configure: Regenerate.
30035         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30036         * shlib-versions: Likewise.
30038 2013-10-04  Alan Modra  <amodra@gmail.com>
30040         * string/tester.c (test_memrchr): Increment reported test cycle.
30042 2013-10-04  Alan Modra  <amodra@gmail.com>
30044         * string/test-memcpy.c (do_one_test): When reporting errors, print
30045         string address and don't overrun end of string.
30047 2013-10-04  Alan Modra  <amodra@gmail.com>
30049         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30050         insrdi.  Make better use of reg selection to speed exit slightly.
30051         Schedule entry path a little better.  Remove useless "are we done"
30052         checks on entry to main loop.  Handle wrapping around zero address.
30053         Correct main loop count.  Handle single left-over word from main
30054         loop inline rather than by using loop_small.  Remove extra word
30055         case in loop_small caused by wrong loop count.  Add little-endian
30056         support.
30057         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30058         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30059         cache hint.
30060         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30061         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30062         support.  Avoid rlwimi.
30063         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30065 2013-10-04  Alan Modra  <amodra@gmail.com>
30067         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30068         insrdi.  Formatting.
30069         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30070         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30071         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30072         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30073         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30074         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30076 2013-10-04  Alan Modra  <amodra@gmail.com>
30078         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30079         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30080         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30081         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30082         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30083         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30084         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30085         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30086         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30087         use of regs.  Use power7 mtocrf.  Tidy function tails.
30089 2013-10-04  Alan Modra  <amodra@gmail.com>
30091         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30092         Formatting.  Consistently use rXXX register defines or rN defines.
30093         Use early exit labels that avoid restoring unused non-volatile regs.
30094         Make cr field use more consistent with rWORDn compares.  Rename
30095         regs used as shift registers for unaligned loop, using rN defines
30096         for short lifetime/multiple use regs.
30097         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30098         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30099         addi 1,1,64 to pop stack frame.  Simplify return value code.
30100         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30102 2013-10-04  Alan Modra  <amodra@gmail.com>
30104         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30105         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30106         rather than rlwimi.
30107         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30108         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30109         little-endian support.  Correct typos.
30110         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30111         rather than rlwimi.
30112         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30113         in loop and entry code to keep "and." results.
30114         (strchr): Add little-endian support.  Comment.  Move cntlzd
30115         earlier in tail.
30116         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30118 2013-10-04  Alan Modra  <amodra@gmail.com>
30120         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30121         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30122         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30123         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30125 2013-10-04  Alan Modra  <amodra@gmail.com>
30127         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30128         (rTMP): Define as r11.
30129         (strcmp): Add little-endian support.  Optimise tail.
30130         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30131         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30132         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30133         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30134         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30135         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30136         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30138 2013-10-04  Alan Modra  <amodra@gmail.com>
30140         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30141         little-endian support.  Remove unnecessary "are we done" tests.
30142         Handle "s" wrapping around zero and extremely large "size".
30143         Correct main loop count.  Handle single left-over word from main
30144         loop inline rather than by using small_loop.  Correct comments.
30145         Delete "zero" tail, use "end_max" instead.
30146         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30148 2013-10-04  Alan Modra  <amodra@gmail.com>
30150         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30151         support.  Don't branch over align.
30152         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30153         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30154         support.  Rearrange tmp reg use to suit.  Comment.
30155         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30157 2013-10-04  Alan Modra  <amodra@gmail.com>
30159         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30161 2013-10-04  Alan Modra  <amodra@gmail.com>
30163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30164         conditional form of branch and link when obtaining pc.
30165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30167 2013-10-04  Alan Modra  <amodra@gmail.com>
30169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30170         HIWORD/LOWORD.
30171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30174 2013-10-04  Alan Modra  <amodra@gmail.com>
30176         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30177         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30178         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30179         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30180         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30181         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30182         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30183         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30184         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30185         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30187 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30188             Alistair Popple <alistair@ozlabs.au.ibm.com>
30189             Alan Modra <amodra@gmail.com>
30191         [BZ #15723]
30192         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30193         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30194         _dl_hwcap access for little-endian.
30195         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30196         destroy vmx regs when saving unaligned.
30197         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30198         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30199         destroy vmx regs when saving unaligned.
30201 2013-10-04  Alan Modra  <amodra@gmail.com>
30203         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30204         Don't use a union to pack hi/low value.
30206 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30208         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30209         for little-endian.
30210         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30211         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30212         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30213         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30214         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30216 2013-10-04  Alan Modra  <amodra@gmail.com>
30218         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30219         constants to usual value for .cst8 section, and remove redundant
30220         high address load.
30221         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30222         constant for 0x1p52.  Load little-endian words of double from
30223         correct stack offsets.
30225 2013-10-04  Alan Modra  <amodra@gmail.com>
30227         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30228         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30229         words of double from correct stack offsets.
30230         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30231         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30232         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30233         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30234         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30235         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30236         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30237         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30238         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30239         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30240         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30241         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30242         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30243         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30244         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30245         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30246         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30248 2013-10-04  Alan Modra  <amodra@gmail.com>
30250         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30251         64-bit int/double union.
30252         (_FPU_SETCW): Likewise.
30253         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30254         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30256 2013-10-04  Alan Modra  <amodra@gmail.com>
30258         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30259         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30261 2013-10-04  Alan Modra  <amodra@gmail.com>
30263         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30264         use vector int constants.
30265         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30267 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30269         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30270         array with long long.
30271         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30272         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30273         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30274         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30275         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30276         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30277         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30278         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30279         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30280         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30281         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30282         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30283         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30285 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30287         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30288         (__signbit): Likewise.  Correct for little-endian.
30289         (__signbitl): Call __signbit.
30290         (lrint): Correct for little-endian.
30291         (lrintf): Call lrint.
30293 2013-10-04  Alan Modra  <amodra@gmail.com>
30295         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30296         union 32-bit int array member with 64-bit int array.
30297         (t515, tm256): Double rather than long double.
30298         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30300 2013-10-04  Alan Modra  <amodra@gmail.com>
30302         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30303         Delete.
30304         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30305         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30306         version of math_ldbl.h.
30308 2013-10-04  Alan Modra  <amodra@gmail.com>
30310         [BZ #15734], [BZ #15735]
30311         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30312         all uses of ieee875 long double macros and unions.  Simplify test
30313         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30314         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30315         normalize after ldbl_extract_mantissa, and don't add hidden bit
30316         already handled.  Don't treat low word of ieee854 mantissa like
30317         low word of IBM long double and mask off bit when testing for
30318         zero.
30319         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30320         all uses of ieee875 long double macros and unions.  Simplify tests
30321         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30322         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30323         two1022, instead use their values.  Recognise that tests for large
30324         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30325         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30326         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30327         test for 0.0L and nan.  Correct negation.
30328         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30329         ieee875 long double macros and unions.  Correct output for large
30330         magnitude x.  Correct absolute value calculation.
30331         (__erfcl): Likewise.
30332         * math/libm-test.inc: Add tests for errors discovered in IBM long
30333         double versions of fmodl, remainderl, erfl and erfcl.
30335 2013-10-04  Alan Modra  <amodra@gmail.com>
30337         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30338         all uses of ieee854 long double macros and unions.  Simplify tests
30339         for long doubles that are fully specified by the high double.
30340         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30341         Likewise.
30342         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30343         Remove dead code too.
30344         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30345         (__ieee754_ynl): Likewise.
30346         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30347         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30348         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30349         Remove dead code too.
30350         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30351         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30352         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30353         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30354         Simplify.
30355         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30356         Simplify.
30357         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30358         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30359         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30360         Comment on variable precision.
30361         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30362         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30363         Likewise.
30364         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30365         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30366         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30367         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30368         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30370 2013-10-04  Alan Modra  <amodra@gmail.com>
30372         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30373         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30374         all uses of ieee854 long double macros and unions.
30375         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30376         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30377         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30378         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30379         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30380         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30381         Likewise.
30382         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30383         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30384         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30385         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30386         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30387         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30388         Simplify sign and nan test too.
30389         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30390         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30391         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30392         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30393         Likewise.
30394         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30395         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30396         Likewise.
30397         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30398         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30399         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30400         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30401         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30402         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30404 2013-10-04  Alan Modra  <amodra@gmail.com>
30406         * stdio-common/printf_size.c (__printf_size): Don't use
30407         union ieee854_long_double in fpnum union.
30408         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30409         signbit macro to retrieve sign from long double.
30410         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30411         retrieve sign from long double.
30412         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30413         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30414         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30415         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30416         * math/test-misc.c (main): Don't use union ieee854_long_double.
30418 2013-10-04  Alan Modra  <amodra@gmail.com>
30420         [BZ #15680]
30421         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30422         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30423         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30424         calculation.  Remove unnecessary test for denormal exponent.
30425         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30426         Correct handling of denormals.  Avoid undefined shift behaviour.
30427         Correct normalisation of low mantissa when low double is denormal.
30428         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30429         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30430         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30431         Correct normalisation of low mantissa.  Test for overflow of high
30432         mantissa and normalise.
30433         (ldbl_nearbyint): Use more readable constant for two52.
30434         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30435         (__mpn_construct_long_double): Fix test for overflow of high
30436         mantissa and correct normalisation.  Avoid undefined shift.
30438 2013-10-04  Alan Modra  <amodra@gmail.com>
30440         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30441         (union ibm_extended_long_double): Define as an array of ieee754_double.
30442         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30443         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30444         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30445         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30446         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30447         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30448         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30449         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30450         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30451         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30452         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30454 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30456         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30457         page size instead of calling getpagesize.
30459         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30460         (LOCFILE_ALIGN_MASK): Likewise.
30461         (LOCFILE_ALIGN_UP): Likewise.
30462         (LOCFILE_ALIGNED_P): Likewise.
30463         * locale/programs/ld-collate.c (collate_output): Use the new
30464         macros instead of __alignof__ (int32_t).
30465         * locale/weight.h (findidx): Likewise.
30467 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30469         [BZ #431]
30470         * manual/string.texi: Fix strncat and wcsncat.
30472 2013-10-03  Brooks Moses  <bmoses@google.com>
30474         [BZ #15915]
30475         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30476         * Makerules: ...here, and adjust associated comments.
30478 2013-10-02  Will Newton  <will.newton@linaro.org>
30480         * malloc/Makefile: Add tst-pvalloc.
30481         * malloc/tst-pvalloc.c: New file.
30483 2013-10-02  Will Newton  <will.newton@linaro.org>
30485         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30486         improve test coverage.
30488 2013-10-02  Will Newton  <will.newton@linaro.org>
30490         * malloc/Makefile: Add tst-posix_memalign.
30491         * malloc/tst-posix_memalign.c: New file.
30493 2013-10-01  Eric Blake  <eblake@redhat.com>
30495         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30496         Use __THROWNL rather than __THROW on static functions.
30498 2013-09-30  Petr Machata  <pmachata@redhat.com>
30500         * elf/elf.h (R_AARCH64_ABS16): New macro.
30501         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30502         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30503         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30504         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30505         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30506         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30507         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30508         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30509         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30510         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30511         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30512         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30513         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30514         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30515         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30516         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30517         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30518         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30519         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30520         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30521         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30522         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30523         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30524         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30525         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30526         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30527         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30528         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30529         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30530         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30531         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30532         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30533         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30534         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30535         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30536         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30537         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30538         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30539         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30540         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30541         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30542         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30543         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30544         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30545         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30546         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30547         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30548         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30549         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30550         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30551         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30552         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30553         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30554         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30555         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30556         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30557         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30558         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30559         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30560         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30561         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30562         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30563         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30564         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30565         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30566         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30567         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30568         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30569         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30570         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30571         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30572         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30573         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30574         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30575         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30576         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30577         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30578         (R_AARCH64_TLSDESC_LDR): Likewise.
30579         (R_AARCH64_TLSDESC_ADD): Likewise.
30580         (R_AARCH64_TLSDESC_CALL): Likewise.
30582 2013-09-30  Andreas Schwab  <schwab@suse.de>
30584         [BZ #15048]
30585         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30586         the nss database lookup.
30587         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30590 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30592         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30594 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30596         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30597         ${Bash-specific parameter/pattern/string} parameter expansion.
30598         * sysdeps/unix/make-syscalls.sh: Likewise.
30600 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30602         * sysdeps/sh/stackguard-macros.h: New file.
30604 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30606         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30607         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30608         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30609         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30610         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30611         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30613 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30615         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30616         Fix thread ID register.
30618 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30620         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30621         [POSIX || UNIX98]: Require rather than permitting all symbols from
30622         <time.h>.
30623         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30624         element of struct sched_param.
30625         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30626         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30627         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30628         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30629         constant.
30631 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30633         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30634         argument calculation.
30636 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30638         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30639         Expect macro.
30640         [POSIX] (pthread_attr_t): Do not require type.
30641         [POSIX] (pthread_cond_t): Likewise.
30642         [POSIX] (pthread_condattr_t): Likewise.
30643         [POSIX] (pthread_key_t): Likewise.
30644         [POSIX] (pthread_mutex_t): Likewise.
30645         [POSIX] (pthread_mutexattr_t): Likewise.
30646         [POSIX] (pthread_once_t): Likewise.
30647         [POSIX] (pthread_t): Likewise.
30648         [POSIX-based standards] (pthread_atfork): Expect function.
30650 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30651             Richard Sandiford  <richard@codesourcery.com>
30653         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30654         (swap_endianness_p): New extern variable.
30655         (set_big_endian): New inline function.
30656         (maybe_swap_uint32): Likewise.
30657         (maybe_swap_uint32_array): Likewise.
30658         (maybe_swap_uint32_obstack): Likewise.
30659         * locale/programs/locfile.c: Include <stdbool.h>.
30660         (swap_endianness_p): New variable.
30661         (add_locale_uint32): Call maybe_swap_uint32.
30662         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30663         (write_locale_data): Call maybe_swap_uint32_array.
30664         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30665         maybe_swap_uint32.
30666         (obstack_int32_grow_fast): Likewise.
30667         (output_weightwc): Call maybe_swap_uint32_obstack.
30668         (collate_output): Likewise.
30669         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30670         (OPT_LITTLE_ENDIAN): Likewise.
30671         (options): Add --little-endian and --big-endian options.
30672         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30673         * locale/programs/locarchive.c: Include "locfile.h".
30674         (GET): New macro.
30675         (SET): Likewise.
30676         (INC): Likewise.
30677         (create_archive): Use the new macros to access fields of
30678         structures directly mapped from or written to locale archives.
30679         (oldlocrecentcmp): Likewise.
30680         (enlarge_archive): Likewise.
30681         (insert_name): Likewise.
30682         (add_alias): Likewise.
30683         (add_locale): Likewise.
30684         (delete_locales_from_archive): Likewise.
30685         (show_archive_content): Likewise.
30686         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30687         locale data.
30689 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30691         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30692         http://www.gnu.org/doc/freemanuals.texi.
30693         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30695 2013-09-24  Will Newton  <will.newton@linaro.org>
30697         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30698         macro.
30700 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30702         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30703         unsigned char.
30705 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30707         * manual/threads.texi (POSIX Threads): Fix a typo.
30709 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30711         [BZ #14547]
30712         * string/tst-strcoll-overflow.c: New test case.
30713         * string/Makefile (xtests): Add tst-strcoll-overflow.
30714         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30715         cache if string sizes may cause integer overflow.
30717         [BZ #14547]
30718         * string/strcoll_l.c (coll_seq): New members rule, idx,
30719         save_idx and back_us.
30720         (get_next_seq_nocache): New function.
30721         (do_compare_nocache): New function.
30722         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30723         when malloc fails.
30725 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30727         [BZ #15754]
30728         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30729         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30730         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30732         [BZ #15754]
30733         * elf/Makefile (tests): Add tst-ptrguard1.
30734         (tests-static): Add tst-ptrguard1-static.
30735         (tst-ptrguard1-ARGS): Define.
30736         (tst-ptrguard1-static-ARGS): Define.
30737         * elf/tst-ptrguard1.c: New file.
30738         * elf/tst-ptrguard1-static.c: New file.
30739         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30740         * sysdeps/i386/stackguard-macros.h: Likewise.
30741         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30742         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30743         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30744         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30745         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30746         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30748 2013-09-23  Hector Marco  <hecmargi@upv.es>
30749             Ismael Ripoll  <iripoll@disca.upv.es>
30750             Carlos O'Donell  <carlos@redhat.com>
30752         [BZ #15754]
30753         * sysdeps/generic/stackguard-macros.h: Define
30754         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30755         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30756         Define __pointer_chk_guard_local.
30757         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30758         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30760 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30762         [BZ #15859]
30763         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30765 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30767         * include/string.h (__ffs): Declare as hidden.
30768         * string/ffs.c (__ffs): Define as hidden.
30769         * sysdeps/i386/ffs.c (__ffs): Likewise.
30770         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30771         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30772         * sysdeps/s390/ffs.c (__ffs): Likewise.
30773         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30775 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30777         * NEWS: Mention malloc probes.
30779         * malloc/arena.c (new_heap): New memory_heap_new probe.
30780         (grow_heap): New memory_heap_more probe.
30781         (shrink_heap): New memory_heap_less probe.
30782         (heap_trim): New memory_heap_free probe.
30783         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30784         (systrim): New memory_sbrk_less probe.
30785         * manual/probes.texi: Document them.
30787         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30788         * manual/probes.texi: Document it.
30790         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30791         (__libc_realloc): Add memory_realloc_retry probe.
30792         (__libc_memalign): Add memory_memalign_retry probe.
30793         (__libc_valloc): Add memory_valloc_retry probe.
30794         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30795         (__libc_calloc): Add memory_calloc_retry probe.
30796         * manual/probes.texi: Document them.
30798         * malloc/arena.c (get_free_list): Add probe
30799         memory_arena_reuse_free_list.
30800         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30801         and memory_arena_reuse.
30802         (arena_get2) [!PER_THREAD]: Likewise.
30803         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30804         memory_arena_reuse_realloc.
30805         * manual/probes.texi: Document them.
30807         * malloc/malloc.c (__libc_free): Add
30808         memory_mallopt_free_dyn_thresholds probe.
30809         (__libc_mallopt): Add multiple memory_mallopt probes.
30810         * manual/probes.texi: Document them.
30812         * malloc/malloc.c: Include stap-probe.h.
30813         (__libc_mallopt): Add memory_mallopt probe.
30814         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30815         * manual/probes.texi: New.
30816         * manual/Makefile (chapters): Add probes.
30817         * manual/threads.texi: Set next node.
30819 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30821         [BZ #15963, #13985]
30822         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30823         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30824         Add `Chinese' to `nan' entry name.
30826 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30828         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30829         (POLYNOMIAL): Likewise.
30830         (TAYLOR_SINCOS): Likewise.
30831         (TAYLOR_SLOW): Likewise.
30832         (__sin): Use TAYLOR_SINCOS.
30833         (__cos): Likewise.
30834         (slow): Use TAYLOR_SLOW.
30835         (sloww): Likewise.
30836         (bsloww): Likewise.
30837         (csloww): Likewise.
30839 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30841         * stdlib/strtod_l.c: Fix buffer overrun.
30843 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30845         * benchtests/Makefile (bench): Add sincos.
30846         * benchtests/bench-sincos.c: New file.
30848         * math/libm-test.inc (cos_test_data): New test inputs.
30849         (sin_test_data): Likewise.
30851         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30852         macro.
30853         (__sin): Use it.
30854         (__cos): Likewise.
30855         (slow1): Likewise.
30856         (slow2): Likewise.
30857         (sloww1): Likewise.
30858         (sloww2): Likewise.
30859         (bsloww1): Likewise.
30860         (bsloww2): Likewise.
30861         (cslow2): Likewise.
30862         (csloww1): Likewise.
30863         (csloww2): Likewise.
30865         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30866         function.
30867         (__sin): Use it.
30868         (__cos): Likewise.
30870         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30871         gotos.
30872         (__cos): Likewise.
30874 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30876         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30877         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30878         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30879         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30880         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30881         * elf/cache.c (print_entry): Handle the new cache flags.
30883 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30884             Aldy Hernandez  <aldyh@redhat.com>
30886         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30887         Change condition to [_SOFT_FLOAT].
30888         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30889         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30890         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30891         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30892         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30893         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30894         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30895         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30896         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30897         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30898         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30899         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30900         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30901         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30902         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30903         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30904         declaration.
30906 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30908         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30909         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30910         (__longjmp): Use LOAD_GP to load saved GPRs.
30911         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30912         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30913         (__sigsetjmp): Use SAVE_GP to save GPRs.
30915         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30916         Do not append -msoft-float.
30917         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30919 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30921         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30923 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30925         [BZ #15966]
30926         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30927         (_FPU_GETCW): Use initial "__" on variable and field names but not
30928         on macro parameter name.
30929         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30930         parentheses around reference to macro parameter.
30932 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30934         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30935         prototype.
30936         (ctype_startup): Use uint32_t in cast and sizeof for
30937         ctype->charnames.
30939 2013-09-11  Jia Liu  <proljc@gmail.com>
30941         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30942         __daddr_t_defined.
30943         [__FreeBSD__]: Likewise.
30945 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30948         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30949         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30950         (strchr): Remove __strchr_sse42 ifunc selection.
30951         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30952         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30954 2013-09-11  Will Newton  <will.newton@linaro.org>
30956         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30957         parameter to RES. Remove hardcoded 1000 value.
30958         * benchtests/bench-skeleton.c (main): Pass RES parameter
30959         to TIMING_INIT and multiply result by 1000.
30961 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30965 2013-09-11  Andreas Schwab  <schwab@suse.de>
30967         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30968         if not defined.
30969         (O_TMPFILE) [__USE_GNU]: Define.
30970         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30971         Define.
30973 2013-09-11  Will Newton  <will.newton@linaro.org>
30975         [BZ #15857]
30976         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30977         does not overflow.
30979 2013-09-11  Will Newton  <will.newton@linaro.org>
30981         [BZ #15856]
30982         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30983         does not overflow.
30985 2013-09-11  Will Newton  <will.newton@linaro.org>
30987         [BZ #15855]
30988         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30989         does not overflow.
30991 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30993         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30994         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30995         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30996         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30997         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30999 2013-09-10  Allan McRae  <allan@archlinux.org>
31001         [BZ #15748]
31002         * manual/arith.texi (Parsing of Floats): Clarify
31003         cross-reference.
31005         [BZ #15849]
31006         * manual/install.texi (Running make install): Mention
31007         --enable-pt-chown.
31008         * INSTALL: Regenerated.
31010 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31012         * csu/init-first.c (_init): Remove the !SHARED condition around
31013         FPU control word initialization.
31014         * elf/dl-support.c (_dl_fpu_control): New variable.
31015         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31016         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31017         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31018         * math/test-fpucw-static.c: New file.
31019         * math/test-fpucw-ieee.c: New file.
31020         * math/test-fpucw-ieee-static.c: New file.
31021         * math/Makefile (tests): Add `test-fpucw-ieee' and
31022         `$(tests-static)'.
31023         (tests-static): New variable.
31024         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31025         dependency to...
31026         [($(build-shared),yes)]
31027         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31028         ... this.
31029         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31030         New dependency.
31032 2013-09-09  Allan McRae  <allan@archlinux.org>
31034         [BZ #15939]
31035         * manual/string.texi (Collation Functions): Fix typo in
31036         strcoll example.
31037         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31039         [BZ #15893]
31040         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31042         [BZ #15892]
31043         * libio/memstream.c (open_memstream): Fix memory leak.
31044         * libio/wmemstream.c (open_wmemstream): Likewise.
31046         [BZ #15895]
31047         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31049 2013-09-09  Will Newton  <will.newton@linaro.org>
31051         * malloc/Makefile: Add tst-realloc to tests.
31052         * malloc/tst-realloc.c: New file.
31054 2013-09-09  Allan McRae  <allan@archlinux.org>
31056         [BZ #15844]
31057         * COPYING: Update from GNU website to fix FSF address.
31058         * COPYING.LIB: Likewise.
31060 2013-09-06  David S. Miller  <davem@davemloft.net>
31062         * po/zh_TW.po: Update Chinese (traditional) translation from
31063         translation project.
31065 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31066             Joseph Myers  <joseph@codesourcery.com>
31068         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31069         "localeinfo.h".
31070         (obstack_chunk_alloc): New macro.
31071         (obstack_chunk_free): Likewise.
31072         (record_offset): New function.
31073         (init_locale_data): Likewise.
31074         (align_locale_data): Likewise.
31075         (add_locale_empty): Likewise.
31076         (add_locale_raw_data): Likewise.
31077         (add_locale_raw_obstack): Likewise.
31078         (add_locale_string): Likewise.
31079         (add_locale_wstring): Likewise.
31080         (add_locale_uint32): Likewise.
31081         (add_locale_uint32_array): Likewise.
31082         (add_locale_char): Likewise.
31083         (start_locale_structure): Likewise.
31084         (end_locale_structure): Likewise.
31085         (start_locale_prelude): Likewise.
31086         (end_locale_prelude): Likewise.
31087         (write_locale_data): Take locale_file structure rather than an
31088         iovec.
31089         * locale/programs/locfile.h: Include "obstack.h".
31090         (struct locale_file): Change to store locale file contents instead
31091         of header.
31092         (init_locale_data): New prototype.
31093         (align_locale_data): Likewise.
31094         (add_locale_empty): Likewise.
31095         (add_locale_raw_data): Likewise.
31096         (add_locale_raw_obstack): Likewise.
31097         (add_locale_string): Likewise.
31098         (add_locale_wstring): Likewise.
31099         (add_locale_uint32): Likewise.
31100         (add_locale_uint32_array): Likewise.
31101         (add_locale_char): Likewise.
31102         (start_locale_structure): Likewise.
31103         (end_locale_structure): Likewise.
31104         (start_locale_prelude): Likewise.
31105         (end_locale_prelude): Likewise.
31106         (write_locale_data): Update prototype.
31107         * locale/programs/3level.h (struct TABLE): Remove result field.
31108         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31109         Use new locale_file interface.
31110         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31111         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31112         * locale/programs/ld-address.c (address_output): Use new
31113         locale_file interface.
31114         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31115         NO_ADD_LOCALE.
31116         (collate_finish): Don't call collseq_table_finalize.
31117         (collate_output): Use new locale_file interface.
31118         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31119         in file.
31120         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31121         (TABLE): Move defines earlier in file.
31122         (ELEMENT): Likewise.
31123         (DEFAULT): Likewise.
31124         (wctrans_table_add): Move macro and inline function earlier in
31125         file.
31126         (struct wctype_table): Move type earlier in file.
31127         (add_locale_wctype_table): New static prototype.
31128         (struct locale_ctype_t): Use logical types instead of struct iovec
31129         pointers for members.
31130         (ctype_output): Use new locale_file interface.
31131         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31132         new locale_file interface.
31133         (allocate_arrays): Update for use of new locale_file interface.
31134         * locale/programs/ld-identification.c (identification_output): Use
31135         new locale_file interface.
31136         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31137         * locale/programs/ld-messages.c (messages_output): Likewise.
31138         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31139         * locale/programs/ld-name.c (name_output): Likewise.
31140         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31141         * locale/programs/ld-paper.c (paper_output): Likewise.
31142         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31143         * locale/programs/ld-time.c (time_output): Likewise.
31145 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31147         * benchtests/Makefile: Add memrchr benchmark.
31148         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31149         benchmark as memrchr.
31150         * benchtests/bench-memrchr-ifunc.c: New file.
31151         * benchtests/bench-memrchr.c: New file.
31153 2013-09-06   Will Newton  <will.newton@linaro.org>
31155         * benchtests/Makefile (string-bench): Add memcpy.
31157 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31158             Cong Wang  <amwang@redhat.com>
31160         [BZ #15850]
31161         * sysdeps/unix/sysv/linux/bits/in.h
31162         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31163         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31164         before __USE_KERNEL_IPV6_DEFS uses.
31165         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31166         IPPROTO_BEETPH.
31167         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31168         sockaddr_in6, or ipv6_mreq.
31170 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31172         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31173         memory access for final bytes in some large inputs.
31174         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31176 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31178         * string/test-memrchr.c: New file.
31179         * string/test-memrchr-ifunc.c: New file.
31180         * string/Makefile: Add new memrchr testcase.
31182 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31184         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31185         fanotify_init returns EPERM.
31187 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31189         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31190         errors.
31191         (top level): Treat second token from macro or constant entries for
31192         allowed headers as allowed.
31193         * include/complex.h: Condition internal declarations on
31194         [!_ISOMAC].
31195         * include/fenv.h: Condition include of <stdbool.h> and internal
31196         declarations on [!_ISOMAC].
31198 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31200         [BZ #15923]
31201         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31203 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31205         * configure.in (--enable-versioning): Remove configure option.
31206         (libc_cv_asm_symver_directive): Remove configure test.
31207         (libc_cv_ld_version_script_option): Likewise.
31208         (VERSIONING): Remove variable and AC_SUBST.
31209         (DO_VERSIONING): Remove AC_DEFINE.
31210         * configure: Regenerated.
31211         * config.h.in (DO_VERSIONING): Remove macro.
31212         * Makerules [$(versioning) = yes]: Change conditionals to
31213         [$(build-shared) = yes].
31214         * config.make.in (versioning): Remove variable.
31215         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31216         [$(build-shared) = yes].
31217         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31218         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31219         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31220         [$(build-shared) = yes].
31221         * extra-lib.mk [$(versioning) = yes]: Likewise.
31222         * hurd/Makefile [$(versioning) = yes]: Likewise.
31223         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31224         [SHARED].
31225         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31226         [SHARED].
31227         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31228         [SHARED && !NO_HIDDEN].
31229         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31230         [SHARED].
31231         [SHARED && DO_VERSIONING]: Likewise..
31232         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31233         [$(build-shared) = yes].
31234         * manual/install.texi (--disable-versioning): Remove
31235         documentation.
31236         * INSTALL: Regenerated.
31237         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31238         to [SHARED].
31239         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31240         [$(build-shared) = yes].
31241         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31242         * sysdeps/i386/i686/multiarch/strstr-c.c
31243         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31244         [SHARED && !NO_HIDDEN].
31245         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31246         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31247         * sysdeps/powerpc/powerpc32/dl-machine.c
31248         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31249         * sysdeps/powerpc/powerpc32/sysdep.h
31250         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31251         to [SHARED && PIC && !NO_HIDDEN].
31252         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31253         conditional to [SHARED].
31255 2013-09-04   Will Newton  <will.newton@linaro.org>
31257         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31258         * benchtests/bench-string.h: Include bench-timing.h instead
31259         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31260         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31261         call to HP_TIMING_DIFF_INIT.
31262         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31263         instead of hp-timing.h macros.
31264         * benchtests/bench-memchr.c: Likewise.
31265         * benchtests/bench-memcmp.c: Likewise.
31266         * benchtests/bench-memcpy.c: Likewise.
31267         * benchtests/bench-memmem.c: Likewise.
31268         * benchtests/bench-memmove.c: Likewise.
31269         * benchtests/bench-memset.c: Likewise.
31270         * benchtests/bench-rawmemchr.c: Likewise.
31271         * benchtests/bench-strcasecmp.c: Likewise.
31272         * benchtests/bench-strcasestr.c: Likewise.
31273         * benchtests/bench-strcat.c: Likewise.
31274         * benchtests/bench-strchr.c: Likewise.
31275         * benchtests/bench-strcmp.c: Likewise.
31276         * benchtests/bench-strcpy.c: Likewise.
31277         * benchtests/bench-strcpy_chk.c: Likewise.
31278         * benchtests/bench-strlen.c: Likewise.
31279         * benchtests/bench-strncasecmp.c: Likewise.
31280         * benchtests/bench-strncat.c: Likewise.
31281         * benchtests/bench-strncmp.c: Likewise.
31282         * benchtests/bench-strncpy.c: Likewise.
31283         * benchtests/bench-strnlen.c: Likewise.
31284         * benchtests/bench-strpbrk.c: Likewise.
31285         * benchtests/bench-strrchr.c: Likewise.
31286         * benchtests/bench-strspn.c: Likewise.
31287         * benchtests/bench-strstr.c: Likewise.
31289 2013-09-04  Will Newton  <will.newton@linaro.org>
31291         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31293 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31295         [BZ #15427]
31296         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31297         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31298         * math/libm-test.inc (lgamma_test_data): Add more tests.
31299         * sysdeps/i386/fpu/libm-test-ulps: Update.
31300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31302 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31304         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31305         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31306         Add ifunc.
31307         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31308         Add strcmp-sse2-unaligned
31309         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31311 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31313         * Versions.def (libc): Add GLIBC_2.19.
31315 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31317         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31318         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31320 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31322         [BZ #14155]
31323         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31324         intermediate calculations in recurrence.
31325         (__ieee754_ynf): Likewise.
31326         * math/libm-test.inc (jn_test_data): Do not allow spurious
31327         underflow exception.  Add more tests.
31328         (yn_test_data): Add more tests.
31329         * sysdeps/i386/fpu/libm-test-ulps: Update.
31330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31332 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31334         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31336 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31338         * csu/init-first.c: Fix then/than typos.
31339         * locale/programs/ld-collate.c: Likewise.
31340         * locale/programs/linereader.h: Likewise.
31341         * manual/charset.texi: Likewise.
31342         * manual/filesys.texi: Likewise.
31343         * manual/stdio.texi: Likewise.
31344         * manual/string.texi: Likewise.
31345         * stdlib/fmtmsg.c: Likewise.
31346         * sysdeps/i386/stpncpy.S: Likewise.
31347         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31348         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31349         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31350         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31352 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31354         * elf/dl-open.c: Fix typos.
31355         * iconvdata/gbbig5.c: Likewise.
31356         * iconvdata/iso-2022-jp.c: Likewise.
31357         * iconv/gconv_int.h: Likewise.
31358         * iconv/loop.c: Likewise.
31359         * nis/rpcsvc/nis.h: Likewise.
31360         * resolv/ns_name.c: Likewise.
31361         * stdio-common/vfscanf.c: Likewise.
31362         * streams/stropts.h: Likewise.
31363         * sunrpc/rpc_thread.c: Likewise.
31364         * sysdeps/i386/strpbrk.S: Likewise.
31365         * sysdeps/ieee754/k_standard.c: Likewise.
31366         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31367         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31368         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31369         * sysdeps/mach/hurd/profil.c: Likewise.
31370         * sysdeps/s390/dl-procinfo.h: Likewise.
31371         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31372         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31373         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31374         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31375         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31377 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31379         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31380         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31382 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31384         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31385         aix specific files.
31386         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31387         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31388         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31389         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31390         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31391         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31392         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31393         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31395 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31396             Roland McGrath  <roland@hack.frob.com>
31398         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31399         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31401 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31403         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31404         __executable_start symbol instead of _start.
31406 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31408         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31409         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31410         Move macros to...
31411         * sysdeps/gnu/ldsodefs.h: ... this new file.
31413         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31414         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31415         instead of ELFOSABI_LINUX.
31417         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31418         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31419         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31420         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31421         Likewise.
31422         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31423         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31424         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31425         Likewise.
31426         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31427         (ibm_extended_long_double): Add ieee_nan member.
31428         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31429         (do_test): New function.
31431         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31432         TEST_TRUNC.
31433         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31434         functions, renamed from truncdfsf_test, trunctfsf_test,
31435         trunctfdf_test.
31436         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31437         functions.
31438         (do_test): Run all these.
31440 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31442         * argp/argp-help.c: Fix typos.
31443         * argp/argp-parse.c: Likewise.
31444         * debug/backtracesyms.c: Likewise.
31445         * elf/elf.h: Likewise.
31446         * malloc/malloc.c: Likewise.
31447         * nis/nis_print.c: Likewise.
31448         * resolv/res_comp.c: Likewise.
31449         * stdlib/stdlib.h: Likewise.
31450         * sunrpc/clnt_tcp.c: Likewise.
31451         * sunrpc/clnt_udp.c: Likewise.
31452         * sunrpc/clnt_unix.c: Likewise.
31453         * sysdeps/unix/bsd/ptsname.c: Likewise.
31454         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31455         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31457         Likewise.
31458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31459         Likewise.
31460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31461         Likewise.
31462         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31464 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31466         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31467         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31469 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31471         [BZ #15897]
31472         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31473         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31474         ($(objpfx)bug-dl-leaf): New rule.
31475         ($(objpfx)bug-dl-leaf.so): Likewise.
31476         ($(objpfx)bug-dl-leaf.out): Likewise.
31477         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31478         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31479         * dlfcn/bug-dl-leaf.c: New test.
31480         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31481         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31482         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31483         (dlclose): Likewise.
31484         (dlmopen): Likewise.
31486 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31488         * include/netdb.h [!_ISOMAC]:
31489         Don't include <tls.h>.
31490         (h_errno, __libc_h_errno): Move declaration and macros out of
31491         [_LIBC_REENTRANT].
31493         * include/resolv.h [_RESOLV_H_]:
31494         Don't include <tls.h>.
31495         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31496         * resolv/res_libc.c: Don't include <tls.h>.
31497         (_res): Use __attribute__ ((nocommon)) in place of
31498         __attribute__ ((section (".bss"))).
31500         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31501         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31503         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31505         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31506         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31508         * resolv/res_mkquery.c: Include <sys/time.h>.
31510         * inet/ifreq.c: Moved to ...
31511         * sysdeps/unix/ifreq.c: ... here.
31512         * inet/ifreq.c: New file, true stub version.
31514         * socket/sa_len.c: New file.
31515         * socket/Makefile (aux): Add it.
31516         * sysdeps/unix/sysv/linux/Makefile
31517         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31518         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31519         and #include <socket/sa_len.c>.
31520         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31521         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31523         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31524         * bits/socket.h: ... here.
31526         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31527         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31528         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31530 2013-08-27  Andreas Schwab  <schwab@suse.de>
31532         [BZ #15736]
31533         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31534         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31535         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31536         * string/test-strcasecmp.c (test_main): Run tests in several
31537         locales.
31538         * string/test-strncasecmp.c (test_main): Likewise.
31540         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31541         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31542         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31543         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31544         (__strncasecmp_ssse3) [PIC]: Likewise.
31546 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31548         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31550         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31551         instead of explicitly declaring xdecrypt.
31552         * nis/nss_nis/nis-publickey.c: Likewise.
31554 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31556         [BZ #15890]
31557         * nscd/aicache.c: Include res_hconf.h.
31558         (addhstaiX): Initialize res_hconf.
31560 2013-08-26  Andreas Schwab  <schwab@suse.de>
31562         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31563         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31565 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31567         * nscd/aicache.c (addhstaiX): Fix indentation.
31569 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31571         * configure.ac: Quote $build_pt_chown test.
31572         * configure: Regenerated.
31574 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31576         [BZ #15532]
31577         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31578         * math/s_cexpf.c (__cexpf): Likewise.
31579         * math/s_cexpl.c (__cexpl): Likewise.
31580         * math/libm-test.inc (cexp_test_data): Correct expected return
31581         value for NaN + i0.  Add another test.
31583 2013-08-22  David S. Miller  <davem@davemloft.net>
31585         * po/ca.po: Update Catalan translation from translation project.
31586         * po/uk.po: Add Ukrainian translations from translation project.
31588 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31590         [BZ #15797]
31591         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31592         is infinite, not alongside NaN test.
31593         * math/s_fdimf.c (__fdimf): Likewise.
31594         * math/s_fdiml.c (__fdiml): Likewise.
31595         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31596         errno is unchanged.
31598 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31600         * argp/argp-help.c: Fix typos.
31601         * crypt/speeds.c: Likewise.
31602         * csu/check_fds.c: Likewise.
31603         * elf/dl-load.c: Likewise.
31604         * elf/dl-open.c: Likewise.
31605         * elf/reldep3.c: Likewise.
31606         * elf/reldep.c: Likewise.
31607         * elf/sprof.c: Likewise.
31608         * iconv/iconv_charmap.c: Likewise.
31609         * iconv/skeleton.c: Likewise.
31610         * iconv/strtab.c: Likewise.
31611         * io/lockf64.c: Likewise.
31612         * libio/libioP.h: Likewise.
31613         * resolv/gai_notify.c: Likewise.
31614         * resolv/ns_name.c: Likewise.
31615         * resolv/ns_samedomain.c: Likewise.
31616         * resolv/res_send.c: Likewise.
31617         * stdlib/random.c: Likewise.
31618         * sunrpc/rpc/xdr.h: Likewise.
31619         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31620         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31621         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31622         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31623         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31624         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31625         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31626         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31627         * sysdeps/mach/hurd/check_fds.c: Likewise.
31628         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31629         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31630         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31631         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31632         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31633         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31634         * sysdeps/pthread/aio_notify.c: Likewise.
31635         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31636         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31637         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31638         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31639         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31641 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31643         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31644         version if bit_Slow_SSE4_2 is set.
31645         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31646         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31648 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31650         [BZ #15867]
31651         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31652         trampoline stack frame information.
31653         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31654         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31655         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31656         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31657         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31658         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31659         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31660         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31661         sa_flags value.
31662         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31663         interrupting a syscall and set with option SA_SIGINFO.
31665 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31667         [BZ #15531]
31668         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31669         argument is infinite.
31670         * math/s_cprojf.c (__cprojf): Likewise.
31671         * math/s_cprojl.c (__cprojl): Likewise.
31672         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31673         * math/libm-test.inc (cproj_test_data): Add more tests.
31675         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31677         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31678         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31679         size.  Use __ffs to determine corresponding shift.
31681 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31682             Roland McGrath  <roland@hack.frob.com>
31684         * Makefile (INSTALL): Remove trailing blank lines from output of
31685         makeinfo.
31687 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31689         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31690         Align 32 bit compat elf_greg to 8 bytes.
31692 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31694         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31696 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31698         * string/strcoll_l.c (coll_seq): New structure.
31699         (get_next_seq_cached): New function.
31700         (get_next_seq): New function.
31701         (do_compare): New function.
31702         (STRCOLL): Use GNU style definition.  Simplify implementation
31703         by using get_next_seq, get_next_seq_cached and do_compare.
31705 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31707         [BZ #14699]
31708         CVE-2013-4237
31709         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31710         member.
31711         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31712         member.
31713         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31714         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31715         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31716         conditional.
31717         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31718         GETDENTS_64BIT_ALIGNED.
31719         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31720         * manual/filesys.texi (Reading/Closing Directory): Document
31721         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31722         strongly.
31723         * manual/conf.texi (Limits for Files): Add portability note to
31724         NAME_MAX, PATH_MAX.
31725         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31727 2013-08-13  Andreas Schwab  <schwab@suse.de>
31729         [BZ #15749]
31730         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31731         of fabs.
31732         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31733         LDBL_MAX_EXP >= 16384]: Add tests for it.
31735 2013-08-12  David S. Miller  <davem@davemloft.net>
31737         * version.h (RELEASE): Set to "development".
31738         (VERSION): Set to "2.18.90".
31739         * NEWS: Add 2.19 section.
31741 2013-08-03  David S. Miller  <davem@davemloft.net>
31743         * po/ko.po: Update Korean translation from translation project.
31745 2013-08-01  David S. Miller  <davem@davemloft.net>
31747         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31748         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31749         Bilka.
31751 2013-07-30  David S. Miller  <davem@davemloft.net>
31753         * po/fr.po: Update French translation from translation project.
31755 2013-07-28  David S. Miller  <davem@davemloft.net>
31757         * po/cs.po: Update Czech translation from translation project.
31759         * po/sv.po: Update Swedish translation from translation project.
31761 2013-07-27  David S. Miller  <davem@davemloft.net>
31763         * po/eo.po: Update Esperanto translation from translation project.
31765         * po/vi.po: Update Vietnamese translation from translation project.
31767         * po/de.po: Update German translation from translation project.
31769 2013-07-26  David S. Miller  <davem@davemloft.net>
31771         * po/bg.po: Update Bulgarian translation from translation project.
31773         * po/nl.po: Update Dutch translation from translation project.
31774         * po/pl.po: Update Polish translation from translation project.
31775         * po/ru.po: Update Russian translation from translation project.
31777 2013-07-24  David S. Miller  <davem@davemloft.net>
31779         * po/libc.pot: Update.
31781 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31783         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31784         variable page size.
31785         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31786         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31787         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31789 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31791         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31793 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31794             Andreas Schwab  <schwab@suse.de>
31795             Roland McGrath  <roland@hack.frob.com>
31796             Joseph Myers  <joseph@codesourcery.com>
31797             Carlos O'Donell  <carlos@redhat.com>
31799         [BZ #15755]
31800         * config.h.in: Define HAVE_PT_CHOWN.
31801         * config.make.in (build-pt-chown): New variable.
31802         * configure.in (--enable-pt_chown): New configure option.
31803         * configure: Regenerate.
31804         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31805         build-pt-chown is enabled.
31806         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31807         pt_chown to fix pty ownership.
31808         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31809         CLOSE_ALL_FDS.
31810         * manual/install.texi (Configuring and compiling): Mention
31811         --enable-pt_chown. Add @findex for grantpt.
31812         * INSTALL: Regenerate.
31814 2013-07-20  David S. Miller  <davem@davemloft.net>
31816         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31817         difference between 32-bit and 64-bit.
31819 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31821         [BZ #15711]
31822         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31823         Avoid system header dependency with -ffreestanding.
31824         ($(objpfx)bits/syscall%d): Likewise.
31826 2013-07-13  David S. Miller  <davem@davemloft.net>
31828         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31829         underflows from atanl/atan2l due to bug 15319.
31830         (casinh_test_data): Likewise.
31832 2013-07-07  David S. Miller  <davem@davemloft.net>
31834         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31836 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31838         * sysdeps/i386/fpu/libm-test-ulps: Update.
31839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31841 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31843         * configure.in (--enable-lock-elision): Fix message text.
31844         * INSTALL: Regenerate.
31845         * configure: Regenerate.
31847 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31851 2013-07-03  Andreas Jaeger  <aj@suse.de>
31853         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31854         define.
31855         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31856         (ptrace_peeksiginfo_args): Add.
31857         (__ptrace_peeksiginfo_flags): Add.
31858         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31859         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31860         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31862 2013-07-03  Allan McRae  <allan@archlinux.org>
31864         * sysdeps/i386/fpu/libm-test-ulps: Update.
31866 2013-07-02  David S. Miller  <davem@davemloft.net>
31868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31870 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31872         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31874 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31876         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31879 2013-07-02  Andi Kleen <ak@linux.intel.com>
31881         * config.h.in (ENABLE_LOCK_ELISION): Add.
31882         * configure.in (--enable-lock-elision): Add option.
31883         * manual/install.texi: Document --enable lock elision.
31884         * configure: Regenerate
31885         * INSTALL: Regenerate.
31887 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31889         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31890         SSE4.2 strcasecmp for libc.a.
31891         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31893 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31895         [BZ #13304]
31896         * soft-fp/op-common.h (_FP_FMA): New macro.
31897         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31898         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31899         (_FP_MUL_MEAT_1_imm): ... here.
31900         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31901         (_FP_MUL_MEAT_1_wide): ... here.
31902         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31903         (_FP_MUL_MEAT_1_hard): ... here.
31904         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31905         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31906         (_FP_MUL_MEAT_2_wide): ... here.
31907         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31908         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31909         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31910         (_FP_MUL_MEAT_2_gmp): ... here.
31911         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31912         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31913         (_FP_MUL_MEAT_4_wide): ... here.
31914         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31915         (_FP_MUL_MEAT_4_gmp): ... here.
31916         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31917         (_FP_WFRACBITS_DW_S): Likewise.
31918         (_FP_WFRACXBITS_DW_S): Likewise.
31919         (_FP_HIGHBIT_DW_S): Likewise.
31920         (FP_FMA_S): Likewise.
31921         (_FP_FRAC_HIGH_DW_S): Likewise.
31922         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31923         (_FP_WFRACBITS_DW_D): Likewise.
31924         (_FP_WFRACXBITS_DW_D): Likewise.
31925         (_FP_HIGHBIT_DW_D): Likewise.
31926         (FP_FMA_D): Likewise.
31927         (_FP_FRAC_HIGH_DW_D): Likewise.
31928         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31929         (_FP_WFRACBITS_DW_E): Likewise.
31930         (_FP_WFRACXBITS_DW_E): Likewise.
31931         (_FP_HIGHBIT_DW_E): Likewise.
31932         (FP_FMA_E): Likewise.
31933         (_FP_FRAC_HIGH_DW_E): Likewise.
31934         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31935         (_FP_WFRACBITS_DW_Q): Likewise.
31936         (_FP_WFRACXBITS_DW_Q): Likewise.
31937         (_FP_HIGHBIT_DW_Q): Likewise.
31938         (FP_FMA_Q): Likewise.
31939         (_FP_FRAC_HIGH_DW_Q): Likewise.
31940         * soft-fp/fmasf4.c: New file.
31941         * soft-fp/fmadf4.c: Likewise.
31942         * soft-fp/fmatf4.c: Likewise.
31944 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31947         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31948         Silvermont.
31949         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31950         macro.
31951         (index_Slow_SSE4_2): Likewise.
31952         (index_Prefer_PMINUB_for_stringop): Likewise.
31953         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31954         bit_Slow_SSE4_2 is set.
31955         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31956         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31958 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31960         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31961         rtld_global._dl_hwcap2.
31962         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31963         POWER8.
31964         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31965         POWER8 feature descriptions defined in _dl_hwcap2.
31966         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31967         string handling for POWER8 feature bits.
31968         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31969         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31970         _dl_powerpc_cap_flags.
31971         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31972         * sysdeps/powerpc/rtld-global-offsets.sym
31973         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31974         _dl_hwcap2 in the rtld_global_ro structure.
31976 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31978         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31979         hardware capabilities in support of AT_HWCAP2.
31980         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31981         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31982         GLRO(dl_hwcap2).
31983         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31984         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31985         explicitly the unknown a_type display mechanism is used.
31986         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31987         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31988         struct member.
31989         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31990         to macro prototype for AT_HWCAP2 support.
31991         * sysdeps/i386/dl-procinfo.h: Likewise.
31992         * sysdeps/s390/dl-procinfo.h: Likewise.
31993         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31994         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31995         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31996         return -1 for unknown a_type display fallback.
31997         * sysdeps/sparc/dl-procinfo.h: Likewise.
31998         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31999         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32001 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32003         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32004         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32006 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32008         [BZ #12492]
32009         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32010         mprotect making __stack_prot writable.
32012 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32013             Joseph Myers  <joseph@codesourcery.com>
32015         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32016         as being properly aligned.
32018 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32020         * dlfcn/modstatic5.c: New file.
32021         * dlfcn/tststatic5.c: New file.
32022         * dlfcn/Makefile (tests): Add tststatic5.
32023         (tests-static): Likewise.
32024         (modules-names): Add modstatic5.
32025         (tststatic5-ENV): New variable.
32026         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32028         [BZ #15022]
32029         * elf/dl-support.c (_dl_main_map): New variable.
32030         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32031         (_dl_nns, _dl_load_adds): Set to 1.
32032         (_dl_initial_searchlist): Refer to _dl_main_map.
32033         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32034         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32035         call to _dl_get_origin.
32036         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32037         around call_map.
32038         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32039         * dlfcn/modstatic3.c: New file.
32040         * dlfcn/tststatic3.c: New file.
32041         * dlfcn/tststatic4.c: New file.
32042         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32043         (tests-static): Likewise.
32044         (modules-names): Add modstatic3.
32045         (tststatic3-ENV, tststatic4-ENV): New variables.
32046         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32047         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32049 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32051         * configure.in (CC): Require GCC version 4.4 or later.
32052         * configure: Regenerated.
32053         * manual/install.texi (Tools for Compilation): Update GCC version
32054         requirement.
32055         * INSTALL: Regenerated.
32057 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32059         [BZ #15674]
32060         * string/test-memcmp.c (check2): New.
32061         (main): Call check2.
32063         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32065 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32067         [BZ #15022]
32068         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32069         over to...
32070         (dl_open_worker) [!SHARED]: ... here.
32072 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32074         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32076 2013-06-25  Richard Henderson  <rth@redhat.com>
32078         * locale/programs/locarchive.c: Include <libc-internal.h>
32080 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32082         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32083         trailing whitespace removed.
32085 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32087         [BZ #10283]
32088         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32089         * locale/programs/locarchive.c: Include libc-mmap.h.
32090         (prepare_address_space): Take two new outputs (the mmap base and len).
32091         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32092         values.
32093         (create_archive): Declare new mmap base and len values for
32094         prepare_address_space, and store the result in ah.
32095         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32096         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32097         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32098         Declare new mmap base and len values for
32099         prepare_address_space, and store the result in new_ah.
32100         (open_archive): Declare new mmap base and len values for
32101         prepare_address_space, and store the result in ah.
32102         (close_archive): If ah->mmap_base is not NULL, use that and
32103         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32104         * sysdeps/generic/libc-mmap.h: New file.
32106 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32108         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32109         (ALIGN_UP): Likewise.
32110         (PTR_ALIGN_DOWN): Likewise.
32111         (PTR_ALIGN_UP): Likewise.
32113 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32115         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32116         entry mapped to PPC_PLATFORM_POWER8.
32117         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32118         POWER8.
32119         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32120         (_dl_string_platform): Add case for exporting platform position for
32121         POWER8.
32122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32123         search path to sysdeps/powerpc/powerpc32/power8 directory.
32124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32125         search path to sysdeps/powerpc/powerpc64/power8 directory.
32126         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32127         power7 directories.
32128         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32129         power7 directories.
32131 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32133         * INSTALL: Regenerate.
32135         * nscd/connections.c (nscd_init): Fix comment.
32137 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32139         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32141         [BZ #15667]
32142         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32143         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32145 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32147         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32148         DL_DST_REQ_STATIC.
32149         (DL_DST_REQ_STATIC): Remove macro.
32151 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32153         [BZ #7006]
32154         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32155         with a shift of 0 bits.
32157 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32159         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32160         $(tststatic-ENV).
32162 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32164         [BZ #15655]
32165         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32167 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32169         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32170         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32171         accepts -fno-tree-loop-distribute-patterns.
32172         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32173         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32174         recursive call.
32175         * string/memset.c (memset): Likewise.
32176         * string/test-memmove.c (simple_memmove): Disable loop transformation
32177         to library calls.
32178         * string/test-memset.c (simple_memset): Likewise.
32179         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32180         * benchtests/bench-memset.c (simple_memset): Likewise.
32181         * configure: Regenerated.
32183 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32185         * math/test-misc.c (main): Ignore fesetround failure when failures
32186         of subsequent rounding tests would be ignored.
32188         [BZ #15654]
32189         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32190         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32191         * math/fegetenv.c (__fegetenv): Return 0.
32192         * math/fegetexcept.c (fegetexcept): Return 0.
32193         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32194         FE_TONEAREST.
32195         * math/feholdexcpt.c (feholdexcept): Return 0.
32196         * math/fesetenv.c (__fesetenv): Return 0.
32197         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32198         argument FE_TONEAREST.
32199         * math/feupdateenv.c (__feupdateenv): Return 0.
32200         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32202 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32204         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32205         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32206         ($(objpfx)rtld-%.os rules): Use them.
32208 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32210         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32211         fields.
32213 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32215         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32216         length of target pattern, then descending length of dependency pattern.
32217         * configure.in (AWK): Require gawk 3.1.2 or newer.
32218         * manual/install.texi (Tools for Compilation): Say that we do.
32219         * configure: Regenerated.
32221         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32222         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32223         * scripts/sysd-rules.awk: ... this new script.
32224         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32225         than a glob-style pattern.
32227 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32229         * math/test-misc.c (main): Do not treat incorrectly rounded
32230         conversions as failure unless ROUNDING_TESTS passes.
32232 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32234         [BZ #15631]
32235         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32236         restore exception state around main square root computation, then
32237         check for inexactness explicitly.
32239         * math/libm-test.inc (fma_test_data): Add another test.
32241 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32243         * manual/threads.texi (Non-POSIX Extensions): New document
32244         node.  Document pthread_getattr_default_np and
32245         pthread_setattr_default_np.
32247         * Versions.def (libpthread): Add GLIBC_2.18.
32248         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32250         Likewise.
32251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32252         Likewise.
32253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32254         Likewise.
32255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32256         Likewise.
32257         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32258         Likewise.
32259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32260         Likewise.
32261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32262         Likewise.
32263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32264         Likewise.
32265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32266         Likewise.
32268 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32270         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32271         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32273 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32274             H.J. Lu  <hjl.tools@gmail.com>
32276         [BZ #15627]
32277         * sysdeps/x86_64/rtld-memset.c: Remove file.
32278         * sysdeps/x86_64/rtld-memset.S: New file.
32280 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32282         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32283         (test_in_one_mode): Take arguments for whether the rounding mode
32284         is supported for each floating-point type.
32285         (do_test): Pass new arguments to test_in_one_mode using
32286         ROUNDING_TESTS.
32288 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32290         * posix/tst-waitid.c (do_test): Distinguish different instances of
32291         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32292         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32293         before entering the kernel for waitpid.
32295 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32297         * NEWS: Fix note on clock function precision.  Text by Roland
32298         McGrath.
32300 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32302         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32303         it into place only when and if the sanity check passes.
32305 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32307         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32308         output for whether conversion result is exact.  Take argument
32309         indicating whether type is IBM long double.
32310         (round_for_all): Change need_exact field to ibm_ld.
32311         * stdlib/tst-strtod-round.c (struct exactness): New type.
32312         (struct test): Change bool ld_ok field to struct exactness exact.
32313         (TEST): Update all definitions for change to field.
32314         (tests): Regenerate array contents.
32315         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32316         field value.  Check for IBM long double here.
32317         (do_test): Update calls to test_in_one_mode.
32319 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32321         [BZ #12515]
32322         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32323         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32325 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32327         [BZ #15605]
32328         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32329         generated by the compiler on loop optimizations.
32330         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32331         general definitions.
32333 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32335         * math/bug-nextafter.c: Include <math-tests.h>.
32336         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32337         the relevant type.
32338         * math/bug-nexttoward.c: Include <math-tests.h>.
32339         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32340         the relevant type.
32341         * math/test-misc.c: Include <math-tests.h>.
32342         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32343         the relevant type.
32345 2013-06-12  Andreas Jaeger  <aj@suse.de>
32347         * po/ia.po: Update Interlingua translation from translation
32348         project.
32350 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32352         * include/fenv.h: Include stdbool.h.
32353         (struct rm_ctx): New structure.
32354         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32355         Define macro.
32356         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32357         (SET_RESTORE_ROUNDF): Likewise.
32358         (SET_RESTORE_ROUNDL): Likewise.
32359         (SET_RESTORE_ROUND_NOEX): Likewise.
32360         (SET_RESTORE_ROUND_NOEXF): Likewise.
32361         (SET_RESTORE_ROUND_NOEXL): Likewise.
32362         (SET_RESTORE_ROUND_53BIT): Likewise.
32363         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32364         (libc_feresetround_noexf_ctx): Likewise.
32365         (libc_feresetround_noexl_ctx): Likewise.
32366         (libc_feholdsetround_53bit_ctx): Likewise.
32367         (libc_feresetround_53bit_ctx): Likewise.
32368         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32369         (libc_feholdexcept_setround_sse_ctx): New function.
32370         (libc_fesetenv_sse_ctx): Likewise.
32371         (libc_feupdateenv_sse_ctx): Likewise.
32372         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32373         (libc_feholdexcept_setround_387_ctx): Likewise.
32374         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32375         (libc_feholdsetround_387_prec_ctx): Likewise.
32376         (libc_feholdsetround_387_ctx): Likewise.
32377         (libc_feholdsetround_387_53bit_ctx): Likewise.
32378         (libc_feholdsetround_sse_ctx): Likewise.
32379         (libc_feresetround_sse_ctx): Likewise.
32380         (libc_feresetround_387_ctx): Likewise.
32381         (libc_feupdateenv_387_ctx): Likewise.
32382         (libc_feholdexcept_setroundf_ctx): Define macro.
32383         (libc_fesetenvf_ctx): Likewise.
32384         (libc_feupdateenvf_ctx): Likewise.
32385         (libc_feholdsetroundf_ctx): Likewise.
32386         (libc_feresetroundf_ctx): Likewise.
32387         (libc_feholdexcept_setround_ctx): Likewise.
32388         (libc_fesetenv_ctx): Likewise.
32389         (libc_feupdateenv_ctx): Likewise.
32390         (libc_feholdsetround_ctx): Likewise.
32391         (libc_feresetround_ctx): Likewise.
32392         (libc_feholdexcept_setroundl_ctx): Likewise.
32393         (libc_feupdateenvl_ctx): Likewise.
32394         (libc_feholdsetroundl_ctx): Likewise.
32395         (libc_feresetroundl_ctx): Likewise.
32396         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32397         (libc_feresetround_53bit_ctx): Likewise.
32399 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32401         * locale/iso-639.def: Convert to UTF-8.
32403 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32405         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32406         (EXCEPTION_TESTS_double): Likewise.
32407         (EXCEPTION_TESTS_long_double): Likewise.
32408         (EXCEPTION_TESTS): Likewise.
32409         * math/libm-test.inc (test_exceptions): Only test exceptions if
32410         EXCEPTION_TESTS (FLOAT).
32412 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32414         * benchtests/Makefile (string-bench): Add strcpy_chk and
32415         stpcpy_chk.
32416         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32417         * benchtests/bench-stpcpy_chk.c: New file.
32418         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32419         * benchtests/bench-strcpy_chk.c: New file.
32420         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32421         code.
32422         (do_test): Likewise.
32424 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32426         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32427         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32428         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32429         with tabs where appropriate.
32430         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32431         dl-procinfo.h.
32432         [PPC_PLATFORM_PPC440]: Likewise.
32433         [PPC_PLATFORM_PPC464]: Likewise.
32434         [PPC_PLATFORM_PPC476]: Likewise.
32435         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32436         ppc464, and ppc476 platform strings merging from ports/
32437         dl-procinfo.h.
32439 2013-06-11  Andreas Schwab  <schwab@suse.de>
32441         [BZ #14991]
32442         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32443         (from_ucs4_idx): Regenerate.
32444         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32445         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32446         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32447         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32448         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32449         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32450         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32451         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32452         from FROM_LOOP and TO_LOOP specific macros.
32453         (BODY): Handle combining characters.
32454         * iconvdata/BIG5HKSCS.irreversible: Update.
32455         * iconvdata/BIG5HKSCS.precomposed: New file.
32456         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32457         characters.
32458         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32460 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32462         * include/sys/time.h: Fix indentation and add copyright header.
32464         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32465         (do_test): Likewise.
32466         * string/test-memchr.c (do_one_test): Likewise.
32467         (do_test): Likewise.
32468         * string/test-memcmp.c (do_one_test): Likewise.
32469         (do_test): Likewise.
32470         * string/test-memcpy.c (do_one_test): Likewise.
32471         (do_test): Likewise.
32472         * string/test-memmem.c (do_one_test): Likewise.
32473         (do_test): Likewise.
32474         (do_random_tests): Likewise.
32475         * string/test-memmove.c (do_one_test): Likewise.
32476         (do_test): Likewise.
32477         * string/test-memset.c (do_one_test): Likewise.
32478         (do_test): Likewise.
32479         * string/test-rawmemchr.c (do_one_test): Likewise.
32480         (do_test): Likewise.
32481         * string/test-strcasecmp.c (do_one_test): Likewise.
32482         (do_test): Likewise.
32483         * string/test-strcasestr.c (do_one_test): Likewise.
32484         (do_test): Likewise.
32485         * string/test-strcat.c (do_one_test): Likewise.
32486         (do_test): Likewise.
32487         * string/test-strchr.c (do_one_test): Likewise.
32488         (do_test): Likewise.
32489         * string/test-strcmp.c (do_one_test): Likewise.
32490         (do_test): Likewise.
32491         * string/test-strcpy.c (do_one_test): Likewise.
32492         (do_test): Likewise.
32493         * string/test-string.h: Likewise.
32494         (test_init): Likewise.
32495         * string/test-strlen.c (do_one_test): Likewise.
32496         (do_test): Likewise.
32497         * string/test-strncasecmp.c (do_one_test): Likewise.
32498         (do_test): Likewise.
32499         * string/test-strncat.c (do_one_test): Likewise.
32500         (do_test): Likewise.
32501         * string/test-strncmp.c (do_one_test): Likewise.
32502         (do_test_limit): Likewise.
32503         (do_test): Likewise.
32504         * string/test-strncpy.c (do_one_test): Likewise.
32505         (do_test): Likewise.
32506         * string/test-strnlen.c (do_one_test): Likewise.
32507         (do_test): Likewise.
32508         * string/test-strpbrk.c (do_one_test): Likewise.
32509         (do_test): Likewise.
32510         * string/test-strrchr.c (do_one_test): Likewise.
32511         (do_test): Likewise.
32512         * string/test-strspn.c (do_one_test): Likewise.
32513         (do_test): Likewise.
32514         * string/test-strstr.c (do_one_test): Likewise.
32515         (do_test): Likewise.
32517         * benchtests/Makefile (string-bench): Add string benchmarks.
32518         * benchtests/bench-bcopy-ifunc.c: New file.
32519         * benchtests/bench-bcopy.c: New file.
32520         * benchtests/bench-bzero-ifunc.c: New file.
32521         * benchtests/bench-bzero.c: New file.
32522         * benchtests/bench-memccpy-ifunc.c: New file.
32523         * benchtests/bench-memccpy.c: New file.
32524         * benchtests/bench-memchr-ifunc.c: New file.
32525         * benchtests/bench-memchr.c: New file.
32526         * benchtests/bench-memcmp-ifunc.c: New file.
32527         * benchtests/bench-memcmp.c: New file.
32528         * benchtests/bench-memmem-ifunc.c: New file.
32529         * benchtests/bench-memmem.c: New file.
32530         * benchtests/bench-memmove-ifunc.c: New file.
32531         * benchtests/bench-memmove.c: New file.
32532         * benchtests/bench-mempcpy-ifunc.c: New file.
32533         * benchtests/bench-mempcpy.c: New file.
32534         * benchtests/bench-memset-ifunc.c: New file.
32535         * benchtests/bench-memset.c: New file.
32536         * benchtests/bench-rawmemchr-ifunc.c: New file.
32537         * benchtests/bench-rawmemchr.c: New file.
32538         * benchtests/bench-stpcpy-ifunc.c: New file.
32539         * benchtests/bench-stpcpy.c: New file.
32540         * benchtests/bench-stpncpy-ifunc.c: New file.
32541         * benchtests/bench-stpncpy.c: New file.
32542         * benchtests/bench-strcasecmp-ifunc.c: New file.
32543         * benchtests/bench-strcasecmp.c: New file.
32544         * benchtests/bench-strcasestr-ifunc.c: New file.
32545         * benchtests/bench-strcasestr.c: New file.
32546         * benchtests/bench-strcat-ifunc.c: New file.
32547         * benchtests/bench-strcat.c: New file.
32548         * benchtests/bench-strchr-ifunc.c: New file.
32549         * benchtests/bench-strchr.c: New file.
32550         * benchtests/bench-strchrnul-ifunc.c: New file.
32551         * benchtests/bench-strchrnul.c: New file.
32552         * benchtests/bench-strcmp-ifunc.c: New file.
32553         * benchtests/bench-strcmp.c: New file.
32554         * benchtests/bench-strcpy-ifunc.c: New file.
32555         * benchtests/bench-strcpy.c: New file.
32556         * benchtests/bench-strcspn-ifunc.c: New file.
32557         * benchtests/bench-strcspn.c: New file.
32558         * benchtests/bench-strlen-ifunc.c: New file.
32559         * benchtests/bench-strlen.c: New file.
32560         * benchtests/bench-strncasecmp-ifunc.c: New file.
32561         * benchtests/bench-strncasecmp.c: New file.
32562         * benchtests/bench-strncat-ifunc.c: New file.
32563         * benchtests/bench-strncat.c: New file.
32564         * benchtests/bench-strncmp-ifunc.c: New file.
32565         * benchtests/bench-strncmp.c: New file.
32566         * benchtests/bench-strncpy-ifunc.c: New file.
32567         * benchtests/bench-strncpy.c: New file.
32568         * benchtests/bench-strnlen-ifunc.c: New file.
32569         * benchtests/bench-strnlen.c: New file.
32570         * benchtests/bench-strpbrk-ifunc.c: New file.
32571         * benchtests/bench-strpbrk.c: New file.
32572         * benchtests/bench-strrchr-ifunc.c: New file.
32573         * benchtests/bench-strrchr.c: New file.
32574         * benchtests/bench-strspn-ifunc.c: New file.
32575         * benchtests/bench-strspn.c: New file.
32576         * benchtests/bench-strstr-ifunc.c: New file.
32577         * benchtests/bench-strstr.c: New file.
32579         * benchtests/Makefile: Disable parallel execution of targets.
32580         (string-bench): Add memcpy.
32581         (benchset): New variable to store a list of benchmark sets.
32582         (bench-func): Renamed from bench.
32583         (bench-set): New target.
32584         (bench): Depend on bench-func and bench-set.
32585         * benchtests/README: Add section on benchmark sets.
32586         * benchtests/bench-memcpy-ifunc.c: New file.
32587         * benchtests/bench-memcpy.c: New file.
32588         * benchtests/bench-string.h: New file.
32590 2013-06-11  Andreas Schwab  <schwab@suse.de>
32592         [BZ #15577]
32593         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32594         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32595         values in the triple.
32596         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32597         terminator in the group key.
32599 2013-06-11  Andreas Jaeger  <aj@suse.de>
32601         * po/zh_TW.po: Update Chinese (traditional) translation from
32602         translation project.
32604 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32606         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32607         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32608         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32609         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32610         (clock_getcpuclockid): Likewise.
32611         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32612         Add weak_alias and libc_hidden_def.
32613         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32614         * rt/clock_gettime.c (clock_gettime): Rename to
32615         __clock_gettime.  Add weak_alias and libc_hidden_def.
32616         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32617         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32618         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32619         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32620         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32621         Likewise.
32622         * rt/clock_settime.c (clock_settime): Rename to
32623         __clock_settime.  Add weak_alias and libc_hidden_def.
32624         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32626 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32628         * mach/err_boot.sub: Remove trailing whitespace.
32629         * mach/err_ipc.sub: Likewise.
32630         * mach/err_mach.sub: Likewise.
32632         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32633         (ROUNDING_TESTS_double): Likewise.
32634         (ROUNDING_TESTS_long_double): Likewise.
32635         (ROUNDING_TESTS): Likewise.
32636         * math/libm-test.inc: Include <math-tests.h>.
32637         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32638         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32639         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32640         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32642 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32644         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32645         of assigning.
32647 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32649         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32650         otherwise empty TRANS lines.
32651         * sysdeps/gnu/errlist.c: Regenerated.
32653         * catgets/gencat.c (error_print): Use (void) in function
32654         definition.
32655         * crypt/crypt_util.c (__init_des): Likewise.
32656         * crypt/speeds.c (Stop): Likewise.
32657         (main): Likewise.
32658         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32659         * inet/ruserpass.c (token): Likewise.
32660         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32661         * intl/localealias.c (extend_alias_table): Likewise.
32662         * intl/plural-exp.c (init_germanic_plural): Likewise.
32663         * libio/fcloseall.c (__fcloseall): Likewise.
32664         * libio/genops.c (_IO_flush_all): Likewise.
32665         (_IO_flush_all_linebuffered): Likewise.
32666         (_IO_cleanup): Likewise.
32667         (_IO_iter_begin): Likewise.
32668         (_IO_iter_end): Likewise.
32669         (_IO_list_lock): Likewise.
32670         (_IO_list_unlock): Likewise.
32671         (_IO_list_resetlock): Likewise.
32672         * libio/getchar.c (getchar): Likewise.
32673         * libio/getchar_u.c (getchar_unlocked): Likewise.
32674         * libio/getwchar.c (getwchar): Likewise.
32675         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32676         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32677         * login/getpt.c (__getpt): Likewise.
32678         * login/tst-utmp.c (main): Likewise.
32679         * malloc/hooks.c (__malloc_check_init): Likewise.
32680         * malloc/malloc.c (__malloc_stats): Likewise.
32681         * malloc/mtrace.c (tr_break): Likewise.
32682         (mtrace): Likewise.
32683         (muntrace): Likewise.
32684         * misc/fstab.c (endfsent): Likewise.
32685         * misc/getclktck.c (__getclktck): Likewise.
32686         * misc/getdtsz.c (__getdtablesize): Likewise.
32687         * misc/gethostid.c (gethostid): Likewise.
32688         * misc/getpagesize.c (__getpagesize): Likewise.
32689         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32690         (__get_nprocs): Likewise.
32691         (__get_phys_pages): Likewise.
32692         (__get_avphys_pages): Likewise.
32693         * misc/getttyent.c (getttyent): Likewise.
32694         (setttyent): Likewise.
32695         (endttyent): Likewise.
32696         * misc/getusershell.c (getusershell): Likewise.
32697         (endusershell): Likewise.
32698         (setusershell): Likewise.
32699         (initshells): Likewise.
32700         * misc/hsearch.c (__hdestroy): Likewise.
32701         * misc/sync.c (sync): Likewise.
32702         * misc/syslog.c (closelog_internal): Likewise.
32703         (closelog): Likewise.
32704         * misc/ttyslot.c (ttyslot): Likewise.
32705         * misc/vhangup.c (vhangup): Likewise.
32706         * posix/fork.c (__fork): Likewise.
32707         * posix/getegid.c (__getegid): Likewise.
32708         * posix/geteuid.c (__geteuid): Likewise.
32709         * posix/getgid.c (__getgid): Likewise.
32710         * posix/getpid.c (__getpid): Likewise.
32711         * posix/getppid.c (__getppid): Likewise.
32712         * posix/getuid.c (__getuid): Likewise.
32713         * posix/pause.c (pause): Likewise.
32714         * posix/setpgrp.c (setpgrp): Likewise.
32715         * posix/setsid.c (__setsid): Likewise.
32716         * posix/test-vfork.c (noop): Likewise.
32717         * resolv/gethnamaddr.c (_endhtent): Likewise.
32718         (_gethtent): Likewise.
32719         (ht_endhostent): Likewise.
32720         (gethostent): Likewise.
32721         (dns_service): Likewise.
32722         * stdlib/drand48.c (drand48): Likewise.
32723         * stdlib/lrand48.c (lrand48): Likewise.
32724         * stdlib/mrand48.c (mrand48): Likewise.
32725         * stdlib/rand.c (rand): Likewise.
32726         * stdlib/random.c (__random): Likewise.
32727         * stdlib/setenv.c (clearenv): Likewise.
32728         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32729         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32730         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32731         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32732         (__get_nprocs): Likewise.
32733         (__get_phys_pages): Likewise.
32734         (__get_avphys_pages): Likewise.
32735         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32736         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32737         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32738         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32739         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32740         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32741         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32742         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32743         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32744         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32745         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32746         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32747         * sysdeps/posix/clock.c (clock): Likewise.
32748         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32749         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32750         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32751         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32752         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32753         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32754         (__get_nprocs_conf): Likewise.
32755         (__get_phys_pages): Likewise.
32756         (__get_avphys_pages): Likewise.
32757         * time/clock.c (clock): Likewise.
32758         * time/tzset.c (__tzname_max): Likewise.
32760 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32762         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32763         (__bswap_32): Do not use "register".
32764         * crypt/crypt.c (_ufc_doit_r): Likewise.
32765         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32766         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32767         * gmon/gmon.c (__monstartup): Likewise.
32768         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32769         * hurd/hurdmalloc.c (more_memory): Likewise.
32770         (malloc): Likewise.
32771         (free): Likewise.
32772         (realloc): Likewise.
32773         (malloc_fork_prepare): Likewise.
32774         (malloc_fork_parent): Likewise.
32775         (malloc_fork_child): Likewise.
32776         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32777         (_svcauth_des): Likewise.
32778         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32779         * inet/inet_net.c (inet_network): Likewise.
32780         * inet/inet_netof.c (inet_netof): Likewise.
32781         * inet/rcmd.c (__validuser2_sa): Likewise.
32782         * io/fts.c (fts_open): Likewise.
32783         (fts_load): Likewise.
32784         (fts_close): Likewise.
32785         (fts_read): Likewise.
32786         (fts_children): Likewise.
32787         (fts_build): Likewise.
32788         (fts_stat): Likewise.
32789         (fts_sort): Likewise.
32790         (fts_alloc): Likewise.
32791         (fts_lfree): Likewise.
32792         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32793         (_IO_file_xsgetn): Likewise.
32794         (_IO_file_xsgetn_mmap): Likewise.
32795         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32796         (_IO_cookie_write): Likewise.
32797         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32798         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32799         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32800         * malloc/obstack.c (_obstack_begin): Likewise.
32801         (_obstack_begin_1): Likewise.
32802         (_obstack_newchunk): Likewise.
32803         (_obstack_allocated_p): Likewise.
32804         (obstack_free): Likewise.
32805         (_obstack_memory_used): Likewise.
32806         * misc/getttyent.c (getttynam): Likewise.
32807         (getttyent): Likewise.
32808         (skip): Likewise.
32809         (value): Likewise.
32810         * misc/getusershell.c (initshells): Likewise.
32811         * misc/syslog.c (__vsyslog_chk): Likewise.
32812         * misc/ttyslot.c (ttyslot): Likewise.
32813         * nis/nis_hash.c (__nis_hash): Likewise.
32814         * posix/fnmatch_loop.c (FCT): Likewise.
32815         * posix/getconf.c (print_all): Likewise.
32816         (main): Likewise.
32817         * posix/getopt.c (exchange): Likewise.
32818         * posix/glob.c (globfree): Likewise.
32819         (prefix_array): Likewise.
32820         (__glob_pattern_type): Likewise.
32821         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32822         (NS_GET32): Likewise.
32823         (NS_PUT16): Likewise.
32824         (NS_PUT32): Likewise.
32825         * resolv/gethnamaddr.c (getanswer): Likewise.
32826         (gethostbyname2): Likewise.
32827         (gethostbyaddr): Likewise.
32828         (_gethtent): Likewise.
32829         (_gethtbyname2): Likewise.
32830         (_gethtbyaddr): Likewise.
32831         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32832         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32833         * resolv/res_init.c (__res_vinit): Likewise.
32834         (net_mask): Likewise.
32835         * resolv/res_mkquery.c (outchar): Likewise.
32836         (PRINT): Likewise.
32837         * stdio-common/printf_fp.c (outchar): Likewise.
32838         (PRINT): Likewise.
32839         * stdio-common/printf_fphex.c (outchar): Likewise.
32840         (PRINT): Likewise.
32841         * stdio-common/printf_size.c (outchar): Likewise.
32842         (PRINT): Likewise.
32843         * stdio-common/test_rdwr.c (main): Likewise.
32844         * stdio-common/tfformat.c (matches): Likewise.
32845         * stdio-common/vfprintf.c (outchar): Likewise.
32846         (printf_unknown): Likewise.
32847         (buffered_vfprintf): Likewise.
32848         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32849         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32850         (ReadFile): Likewise.
32851         * stdlib/qsort.c (SWAP): Likewise.
32852         (_quicksort): Likewise.
32853         * stdlib/setenv.c (__add_to_environ): Likewise.
32854         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32855         * stdlib/strtol_l.c (__strtol_l): Likewise.
32856         * stdlib/tst-strtod.c (main): Likewise.
32857         * stdlib/tst-strtol.c (main): Likewise.
32858         * stdlib/tst-strtoll.c (main): Likewise.
32859         * string/bits/string2.h (__strcmp_cc): Likewise.
32860         (__strcmp_cg): Likewise.
32861         (__strcspn_c1): Likewise.
32862         (__strcspn_c2): Likewise.
32863         (__strcspn_c3): Likewise.
32864         (__strspn_c1): Likewise.
32865         (__strspn_c2): Likewise.
32866         (__strspn_c3): Likewise.
32867         (__strsep_1c): Likewise.
32868         (__strsep_2c): Likewise.
32869         (__strsep_3c): Likewise.
32870         * string/memccpy.c (__memccpy): Likewise.
32871         * string/stpcpy.c (__stpcpy): Likewise.
32872         * string/strcmp.c (strcmp): Likewise.
32873         * string/strrchr.c (strrchr): Likewise.
32874         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32875         Likewise.
32876         * sysdeps/mach/hurd/getcwd.c
32877         (_hurd_canonicalize_directory_name_internal): Likewise.
32878         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32879         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32880         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32881         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32882         Likewise, in both definitions.
32883         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32884         definitions.
32885         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32886         64] (__bswap_64): Likewise.
32887         * time/test_time.c (main): Likewise.
32888         * time/tzfile.c (__tzfile_read): Likewise.
32889         (__tzfile_compute): Likewise.
32890         * time/tzset.c (__tzset_parse_tz): Likewise.
32891         (tzset_internal): Likewise.
32892         (compute_change): Likewise.
32893         * wcsmbs/wcscat.c (__wcscat): Likewise.
32894         * wcsmbs/wcschr.c (wcschr): Likewise.
32895         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32896         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32897         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32898         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32899         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32900         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32901         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32902         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32903         * wcsmbs/wmemset.c (wmemset): Likewise.
32905 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32907         * scripts/config.guess: Update to version 2013-05-16.
32908         * scripts/config.sub: Update to version 2013-04-24.
32909         * scripts/install-sh: Update to version 2011-11-20.07.
32910         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32911         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32913 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32915         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32916         * elf/sln.c: Likewise.
32917         * hurd/hurd/ioctl.h: Likewise.
32918         * hurd/hurdmalloc.c: Likewise.
32919         * hurd/xattr.c: Likewise.
32920         * include/shlib-compat.h: Likewise.
32921         * inet/ruserpass.c: Likewise.
32922         * libio/iofgets_u.c: Likewise.
32923         * libio/iofgetws_u.c: Likewise.
32924         * locale/programs/ld-identification.c: Likewise.
32925         * locale/programs/ld-time.c: Likewise.
32926         * mach/msg-destroy.c: Likewise.
32927         * nss/nss_files/files-netgrp.c: Likewise.
32928         * resolv/res_data.c: Likewise.
32929         * soft-fp/op-1.h: Likewise.
32930         * soft-fp/op-2.h: Likewise.
32931         * soft-fp/op-4.h: Likewise.
32932         * soft-fp/op-common.h: Likewise.
32933         * stdio-common/printf_fphex.c: Likewise.
32934         * stdlib/strtod_l.c: Likewise.
32935         * sunrpc/rpc/clnt.h: Likewise.
32936         * sysdeps/generic/framestate.c: Likewise.
32937         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32938         * sysdeps/i386/bsd-setjmp.S: Likewise.
32939         * sysdeps/i386/__longjmp.S: Likewise.
32940         * sysdeps/i386/setjmp.S: Likewise.
32941         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32942         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32943         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32944         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32945         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32946         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32947         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32948         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32949         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32950         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32951         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32952         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32953         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32954         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32955         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32956         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32957         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32958         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32959         * sysdeps/ieee754/support.c: Likewise.
32960         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32961         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32962         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32963         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32964         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32965         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32966         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32967         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32968         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32969         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32970         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32971         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32972         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32973         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32974         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32975         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32976         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32979 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32981         * posix/transbug.c: Remove executable mode.
32983 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32985         * crypt/speeds.c: Remove trailing whitespace.
32986         * dlfcn/default.c: Likewise.
32987         * elf/ifuncdep2.c: Likewise.
32988         * elf/ifuncmain1.c: Likewise.
32989         * elf/ifuncmain1vis.c: Likewise.
32990         * elf/testobj.h: Likewise.
32991         * elf/tst-stackguard1.c: Likewise.
32992         * gmon/sys/gmon.h: Likewise.
32993         * hurd/hurdmsg.c: Likewise.
32994         * hurd/new-fd.c: Likewise.
32995         * hurd/ports-get.c: Likewise.
32996         * iconvdata/ibm1008_420.c: Likewise.
32997         * inet/tst-getni1.c: Likewise.
32998         * inet/tst-getni2.c: Likewise.
32999         * libio/ioungetc.c: Likewise.
33000         * libio/wfiledoalloc.c: Likewise.
33001         * manual/libm-err-tab.pl: Likewise.
33002         * math/w_dremf.c: Likewise.
33003         * misc/ftruncate.c: Likewise.
33004         * posix/bug-glob2.c: Likewise.
33005         * posix/tst-pcre.c: Likewise.
33006         * posix/wait4.c: Likewise.
33007         * resolv/README: Likewise.
33008         * resolv/res_debug.h: Likewise.
33009         * resolv/tst-inet_ntop.c: Likewise.
33010         * setjmp/bug269-setjmp.c: Likewise.
33011         * soft-fp/extended.h: Likewise.
33012         * soft-fp/op-1.h: Likewise.
33013         * soft-fp/op-2.h: Likewise.
33014         * soft-fp/op-4.h: Likewise.
33015         * soft-fp/op-8.h: Likewise.
33016         * soft-fp/testit.c: Likewise.
33017         * stdio-common/bug16.c: Likewise.
33018         * stdlib/random.c: Likewise.
33019         * sunrpc/rpcsvc/rquota.x: Likewise.
33020         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33021         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33022         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33023         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33024         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33025         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33026         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33027         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33028         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33029         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33030         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33031         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33032         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33033         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33034         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33035         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33036         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33037         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33038         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33039         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33040         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33041         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33042         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33043         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33044         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33045         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33046         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33047         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33048         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33049         * sysdeps/ieee754/s_lib_version.c: Likewise.
33050         * sysdeps/mach/hurd/check_fds.c: Likewise.
33051         * sysdeps/mach/hurd/getsockname.c: Likewise.
33052         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33053         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33054         * sysdeps/powerpc/bits/link.h: Likewise.
33055         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33056         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33057         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33058         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33059         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33060         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33061         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33062         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33063         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33064         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33065         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33066         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33067         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33068         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33069         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33070         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33071         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33072         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33073         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33074         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33075         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33076         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33077         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33078         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33079         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33080         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33081         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33082         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33083         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33084         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33085         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33086         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33087         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33088         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33089         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33090         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33091         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33092         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33093         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33094         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33095         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33096         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33097         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33098         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33099         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33100         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33101         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33102         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33103         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33104         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33105         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33106         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33107         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33108         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33109         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33110         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33111         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33112         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33113         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33114         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33115         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33116         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33117         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33118         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33119         * sysdeps/powerpc/sysdep.h: Likewise.
33120         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33121         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33122         * sysdeps/sh/dl-trampoline.S: Likewise.
33123         * sysdeps/sh/memset.S: Likewise.
33124         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33125         * sysdeps/sh/strlen.S: Likewise.
33126         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33127         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33128         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33129         * sysdeps/sparc/sparc32/rem.S: Likewise.
33130         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33131         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33132         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33133         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33134         * sysdeps/sparc/sparc32/urem.S: Likewise.
33135         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33136         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33137         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33138         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33139         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33140         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33141         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33142         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33143         * sysdeps/unix/bsd/times.c: Likewise.
33144         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33145         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33149         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33150         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33151         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33152         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33153         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33154         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33155         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33156         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33157         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33158         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33159         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33160         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33161         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33162         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33163         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33164         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33165         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33166         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33167         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33168         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33169         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33170         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33171         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33172         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33173         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33174         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33175         * sysdeps/x86_64/strcspn.S: Likewise.
33177 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33179         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33180         generated file.  Regenerate properly from gen-translit.pl.
33181         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33182         locale/C-translit.h.
33184 2013-06-05  Andreas Schwab  <schwab@suse.de>
33186         [BZ #15100]
33187         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33188         week as 6 instead of -1.
33189         * time/tst-strptime.c (day_tests): Add test case.
33191 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33193         * sysdeps/generic/math_private.h
33194         (libc_feholdexcept_setround_53bit): Replace with
33195         libc_feholdsetround_53bit.
33196         (libc_feupdateenv_53bit): Replace with
33197         libc_feresetround_53bit.
33198         (SET_RESTORE_ROUND_53BIT): Adjust.
33200 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33202         * string/test-strchrnul.c: Add copyright header.
33204         * posix/tst-getaddrinfo4.c: Increase test timeout.
33206 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33208         [BZ #15536]
33209         * math/libm-test.inc (MAX_EXP): Remove
33210         (MIN_EXP): Define.
33211         (ulp): Use MIN_EXP - MANT_DIG.
33212         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33214 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33216         * po/be.po: Revert last change.
33217         * po/zh_CN.po: Likewise.
33218         * po/header.pot: Likewise.
33220 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33222         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33223         link-libc-deps to empty as target-specific variable.
33224         * Makerules (link-libc-args): New variable.
33225         (libc-for-link): Likewise.
33226         (link-libc-deps): Likewise.
33227         (lib%.so): Depend on $(link-libc-deps).  Link with
33228         $(link-libc-args).
33229         (build-module): Link with $(link-libc-args).
33230         (build-module-asneeded): Likewise.
33231         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33232         list of objects.
33233         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33234         target-specific variable.
33235         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33236         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33237         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33238         libc.
33239         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33240         libc and ld.so.
33241         ($(objpfx)libpcprofile.so): Likewise.
33242         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33243         libc_nonshared.a.
33244         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33245         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33246         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33247         $(link-libc-deps).
33248         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33249         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33250         * login/Makefile ($(objpfx)libutil.so): Likewise.
33251         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33252         * math/Makefile ($(objpfx)libm.so): Likewise.
33253         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33254         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33255         variable instead of depending directly on libc.
33256         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33257         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33258         $(link-libc-deps).
33259         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33260         libc.
33261         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33262         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33263         ($(objpfx)libanl.so): Likewise.
33264         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33265         ld.so.
33266         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33267         $(link-libc-deps).
33268         * sysdeps/i386/fpu/Makefile: Remove file.
33269         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33270         ($(objpfx)libm.so): Remove dependency on ld.so.
33272 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33274         [BZ # 15553]
33275         * nis/yp_xdr.c (XDRMAXNAME): Define.
33276         (XDRMAXRECORD): Define.
33277         (xdr_domainname): Use XDRMAXNAME.
33278         (xdr_mapname): Likewise.
33279         (xdr_peername): Likewise.
33280         (xdr_keydat): Use XDRMAXRECORD.
33281         (xdr_valdat): Likewise.
33283 2013-05-30  Jeff Law  <law@redhat.com>
33285         [BZ #14256]
33286         * manual/errno.texi (ESTALE): Update to account for more than
33287         just NFS file systems.
33288         * sysdeps/gnu/errlist.c: Regenerated.
33290 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33292         [BZ #15465]
33293         * elf/Makefile (tests): Add tst-null-argv.
33294         (modules-names):  Add tst-null-argv-lib.
33295         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33296         (tst-null-argv-ENV): Set environment for tst-null-argv.
33297         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33298         (RTLD_PROGNAME): New macro.
33299         * elf/tst-null-argv.c: New test case.
33300         * elf/tst-null-argv-lib.c: Library for test case.
33301         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33302         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33303         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33304         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33305         * elf/dl-init.c (call_init): Likewise.
33306         (_dl_init): Likewise.
33307         * elf/dl-load.c (print_search_path): Likewise.
33308         (_dl_map_object): Likewise.
33309         * elf/dl-lookup.c (do_lookup_x): Likewise.
33310         (add_dependency): Likewise.
33311         (_dl_lookup_symbol_x): Likewise.
33312         (_dl_debug_bindings): Likewise.
33313         * elf/dl-open.c (_dl_show_scope): Likewise.
33314         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33315         * elf/dl-version.c (match_symbol): Likewise.
33316         (_dl_check_map_versions): Likewise.
33317         * elf/rtld.c (dl_main): Likewise.
33318         (print_unresolved): Use RTLD_PROGNAME.
33319         (print_missing_version): Likewise.
33320         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33321         (elf_machine_rela): Likewise.
33322         * sysdeps/powerpc/powerpc32/dl-machine.c
33323         (__process_machine_rela): Likewise.
33324         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33325         Likewise.
33326         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33327         Likewise.
33328         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33329         Likewise.
33330         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33331         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33332         Likewise.
33333         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33334         Likewise.
33335         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33337 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33339         * po/be.po: Add descriptive title.
33340         * po/zh_CN.po: Likewise.
33341         * po/header.pot: Likewise.
33343 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33345         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33346         error message.
33347         (enlarge_archive): Likewise.
33349 2013-05-28  Ben North  <ben@redfrontdoor.org>
33351         * manual/arith.texi (frexp): It is the magnitude of the return
33352         value which lies in [0.5, 1), not the return value itself.
33354 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33358 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33360         * stdio-common/bug26.c (main): Correct fscanf template.
33362         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33363         declare _dl_skip_args.
33365         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33366         Don't declare.
33368         * manual/platform.texi: Add missing @end deftypefun.
33370 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33372         [BZ #15529]
33373         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33374         bit of mantissa of 2^16382.
33375         * math/libm-test.inc (hypot_test_data): Add more tests.
33377         * math/libm-test.inc: Add drem and pow10 to list of tested
33378         functions.
33379         (pow10_test): New function.
33380         (drem_test): Likewise.
33381         (drem_test_tonearest): Likewise.
33382         (drem_test_towardzero): Likewise.
33383         (drem_test_downward): Likewise.
33384         (drem_test_upward): Likewise.
33385         (main): Call the new functions.
33387         * math/libm-test.inc (finite_test_data): Remove.
33388         (finite_test): Run tests from isfinite_test_data.
33389         (gamma_test_data): Remove.
33390         (gamma_test): Run tests from lgamma_test_data.
33391         * sysdeps/i386/fpu/libm-test-ulps: Update.
33392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33394 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33396         * manual/platform.texi: Add PowerPC PPR function set documentation.
33397         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33398         implementation.
33400 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33402         * math/libm-test.inc (MAX_EXP): Define.
33403         (ULPDIFF): Define.
33404         (ulp): New function.
33405         (check_float_internal): Use ULPDIFF.
33406         (cpow_test): Disable failing test.
33407         (check_ulp): Test ulp() implemetnation.
33408         (main): Call check_ulp before starting tests.
33410 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33412         * math/gen-libm-test.pl (generate_testfile): Do not handle
33413         START_DATA and END_DATA.
33414         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33415         END_DATA.
33416         (acos_tonearest_test_data): Likewise.
33417         (acos_towardzero_test_data): Likewise.
33418         (acos_downward_test_data): Likewise.
33419         (acos_upward_test_data): Likewise.
33420         (acosh_test_data): Likewise.
33421         (asin_test_data): Likewise.
33422         (asin_tonearest_test_data): Likewise.
33423         (asin_towardzero_test_data): Likewise.
33424         (asin_downward_test_data): Likewise.
33425         (asin_upward_test_data): Likewise.
33426         (asinh_test_data): Likewise.
33427         (atan_test_data): Likewise.
33428         (atanh_test_data): Likewise.
33429         (atan2_test_data): Likewise.
33430         (cabs_test_data): Likewise.
33431         (cacos_test_data): Likewise.
33432         (cacosh_test_data): Likewise.
33433         (carg_test_data): Likewise.
33434         (casin_test_data): Likewise.
33435         (casinh_test_data): Likewise.
33436         (catan_test_data): Likewise.
33437         (catanh_test_data): Likewise.
33438         (cbrt_test_data): Likewise.
33439         (ccos_test_data): Likewise.
33440         (ccosh_test_data): Likewise.
33441         (ceil_test_data): Likewise.
33442         (cexp_test_data): Likewise.
33443         (cimag_test_data): Likewise.
33444         (clog_test_data): Likewise.
33445         (clog10_test_data): Likewise.
33446         (conj_test_data): Likewise.
33447         (copysign_test_data): Likewise.
33448         (cos_test_data): Likewise.
33449         (cos_tonearest_test_data): Likewise.
33450         (cos_towardzero_test_data): Likewise.
33451         (cos_downward_test_data): Likewise.
33452         (cos_upward_test_data): Likewise.
33453         (cosh_test_data): Likewise.
33454         (cosh_tonearest_test_data): Likewise.
33455         (cosh_towardzero_test_data): Likewise.
33456         (cosh_downward_test_data): Likewise.
33457         (cosh_upward_test_data): Likewise.
33458         (cpow_test_data): Likewise.
33459         (cproj_test_data): Likewise.
33460         (creal_test_data): Likewise.
33461         (csin_test_data): Likewise.
33462         (csinh_test_data): Likewise.
33463         (csqrt_test_data): Likewise.
33464         (ctan_test_data): Likewise.
33465         (ctan_tonearest_test_data): Likewise.
33466         (ctan_towardzero_test_data): Likewise.
33467         (ctan_downward_test_data): Likewise.
33468         (ctan_upward_test_data): Likewise.
33469         (ctanh_test_data): Likewise.
33470         (ctanh_tonearest_test_data): Likewise.
33471         (ctanh_towardzero_test_data): Likewise.
33472         (ctanh_downward_test_data): Likewise.
33473         (ctanh_upward_test_data): Likewise.
33474         (erf_test_data): Likewise.
33475         (erfc_test_data): Likewise.
33476         (exp_test_data): Likewise.
33477         (exp_tonearest_test_data): Likewise.
33478         (exp_towardzero_test_data): Likewise.
33479         (exp_downward_test_data): Likewise.
33480         (exp_upward_test_data): Likewise.
33481         (exp10_test_data): Likewise.
33482         (exp2_test_data): Likewise.
33483         (expm1_test_data): Likewise.
33484         (fabs_test_data): Likewise.
33485         (fdim_test_data): Likewise.
33486         (finite_test_data): Likewise.
33487         (floor_test_data): Likewise.
33488         (fma_test_data): Likewise.
33489         (fma_towardzero_test_data): Likewise.
33490         (fma_downward_test_data): Likewise.
33491         (fma_upward_test_data): Likewise.
33492         (fmax_test_data): Likewise.
33493         (fmin_test_data): Likewise.
33494         (fmod_test_data): Likewise.
33495         (fpclassify_test_data): Likewise.
33496         (frexp_test_data): Likewise.
33497         (gamma_test_data): Likewise.
33498         (hypot_test_data): Likewise.
33499         (ilogb_test_data): Likewise.
33500         (isfinite_test_data): Likewise.
33501         (isgreater_test_data): Likewise.
33502         (isgreaterequal_test_data): Likewise.
33503         (isinf_test_data): Likewise.
33504         (isless_test_data): Likewise.
33505         (islessequal_test_data): Likewise.
33506         (islessgreater_test_data): Likewise.
33507         (isnan_test_data): Likewise.
33508         (isnormal_test_data): Likewise.
33509         (issignaling_test_data): Likewise.
33510         (isunordered_test_data): Likewise.
33511         (j0_test_data): Likewise.
33512         (j1_test_data): Likewise.
33513         (jn_test_data): Likewise.
33514         (ldexp_test_data): Likewise.
33515         (lgamma_test_data): Likewise.
33516         (lrint_test_data): Likewise.
33517         (lrint_tonearest_test_data): Likewise.
33518         (lrint_towardzero_test_data): Likewise.
33519         (lrint_downward_test_data): Likewise.
33520         (lrint_upward_test_data): Likewise.
33521         (llrint_test_data): Likewise.
33522         (llrint_tonearest_test_data): Likewise.
33523         (llrint_towardzero_test_data): Likewise.
33524         (llrint_downward_test_data): Likewise.
33525         (llrint_upward_test_data): Likewise.
33526         (log_test_data): Likewise.
33527         (log10_test_data): Likewise.
33528         (log1p_test_data): Likewise.
33529         (log2_test_data): Likewise.
33530         (logb_test_data): Likewise.
33531         (logb_downward_test_data): Likewise.
33532         (lround_test_data): Likewise.
33533         (llround_test_data): Likewise.
33534         (modf_test_data): Likewise.
33535         (nearbyint_test_data): Likewise.
33536         (nextafter_test_data): Likewise.
33537         (nexttoward_test_data): Likewise.
33538         (pow_test_data): Likewise.
33539         (pow_tonearest_test_data): Likewise.
33540         (pow_towardzero_test_data): Likewise.
33541         (pow_downward_test_data): Likewise.
33542         (pow_upward_test_data): Likewise.
33543         (remainder_test_data): Likewise.
33544         (remainder_tonearest_test_data): Likewise.
33545         (remainder_towardzero_test_data): Likewise.
33546         (remainder_downward_test_data): Likewise.
33547         (remainder_upward_test_data): Likewise.
33548         (remquo_test_data): Likewise.
33549         (rint_test_data): Likewise.
33550         (rint_tonearest_test_data): Likewise.
33551         (rint_towardzero_test_data): Likewise.
33552         (rint_downward_test_data): Likewise.
33553         (rint_upward_test_data): Likewise.
33554         (round_test_data): Likewise.
33555         (scalb_test_data): Likewise.
33556         (scalbn_test_data): Likewise.
33557         (scalbln_test_data): Likewise.
33558         (signbit_test_data): Likewise.
33559         (sin_test_data): Likewise.
33560         (sin_tonearest_test_data): Likewise.
33561         (sin_towardzero_test_data): Likewise.
33562         (sin_downward_test_data): Likewise.
33563         (sin_upward_test_data): Likewise.
33564         (sincos_test_data): Likewise.
33565         (sinh_test_data): Likewise.
33566         (sinh_tonearest_test_data): Likewise.
33567         (sinh_towardzero_test_data): Likewise.
33568         (sinh_downward_test_data): Likewise.
33569         (sinh_upward_test_data): Likewise.
33570         (sqrt_test_data): Likewise.
33571         (tan_test_data): Likewise.
33572         (tan_tonearest_test_data): Likewise.
33573         (tan_towardzero_test_data): Likewise.
33574         (tan_downward_test_data): Likewise.
33575         (tan_upward_test_data): Likewise.
33576         (tanh_test_data): Likewise.
33577         (tgamma_test_data): Likewise.
33578         (trunc_test_data): Likewise.
33579         (y0_test_data): Likewise.
33580         (y1_test_data): Likewise.
33581         (yn_test_data): Likewise.
33582         (significand_test_data): Likewise.
33584         * math/gen-libm-test.pl (@functions): Remove variable.
33585         (generate_testfile): Don't handle START and END lines.
33586         * math/libm-test.inc (START): New macro.
33587         (END): Likewise.
33588         (END_COMPLEX): Likewise.
33589         (acos_test): Use END macro without arguments.
33590         (acos_test_tonearest): Likewise.
33591         (acos_test_towardzero): Likewise.
33592         (acos_test_downward): Likewise.
33593         (acos_test_upward): Likewise.
33594         (acosh_test): Likewise.
33595         (asin_test): Likewise.
33596         (asin_test_tonearest): Likewise.
33597         (asin_test_towardzero): Likewise.
33598         (asin_test_downward): Likewise.
33599         (asin_test_upward): Likewise.
33600         (asinh_test): Likewise.
33601         (atan_test): Likewise.
33602         (atanh_test): Likewise.
33603         (atan2_test): Likewise.
33604         (cabs_test): Likewise.
33605         (cacos_test): Use END_COMPLEX macro without arguments.
33606         (cacosh_test): Likewise.
33607         (carg_test): Use END macro without arguments.
33608         (casin_test): Use END_COMPLEX macro without arguments.
33609         (casinh_test): Likewise.
33610         (catan_test): Likewise.
33611         (catanh_test): Likewise.
33612         (cbrt_test): Use END macro without arguments.
33613         (ccos_test): Use END_COMPLEX macro without arguments.
33614         (ccosh_test): Likewise.
33615         (ceil_test): Use END macro without arguments.
33616         (cexp_test): Use END_COMPLEX macro without arguments.
33617         (cimag_test): Use END macro without arguments.
33618         (clog_test): Use END_COMPLEX macro without arguments.
33619         (clog10_test): Likewise.
33620         (conj_test): Likewise.
33621         (copysign_test): Use END macro without arguments.
33622         (cos_test): Likewise.
33623         (cos_test_tonearest): Likewise.
33624         (cos_test_towardzero): Likewise.
33625         (cos_test_downward): Likewise.
33626         (cos_test_upward): Likewise.
33627         (cosh_test): Likewise.
33628         (cosh_test_tonearest): Likewise.
33629         (cosh_test_towardzero): Likewise.
33630         (cosh_test_downward): Likewise.
33631         (cosh_test_upward): Likewise.
33632         (cpow_test): Use END_COMPLEX macro without arguments.
33633         (cproj_test): Likewise.
33634         (creal_test): Use END macro without arguments.
33635         (csin_test): Use END_COMPLEX macro without arguments.
33636         (csinh_test): Likewise.
33637         (csqrt_test): Likewise.
33638         (ctan_test): Likewise.
33639         (ctan_test_tonearest): Likewise.
33640         (ctan_test_towardzero): Likewise.
33641         (ctan_test_downward): Likewise.
33642         (ctan_test_upward): Likewise.
33643         (ctanh_test): Likewise.
33644         (ctanh_test_tonearest): Likewise.
33645         (ctanh_test_towardzero): Likewise.
33646         (ctanh_test_downward): Likewise.
33647         (ctanh_test_upward): Likewise.
33648         (erf_test): Use END macro without arguments.
33649         (erfc_test): Likewise.
33650         (exp_test): Likewise.
33651         (exp_test_tonearest): Likewise.
33652         (exp_test_towardzero): Likewise.
33653         (exp_test_downward): Likewise.
33654         (exp_test_upward): Likewise.
33655         (exp10_test): Likewise.
33656         (exp2_test): Likewise.
33657         (expm1_test): Likewise.
33658         (fabs_test): Likewise.
33659         (fdim_test): Likewise.
33660         (finite_test): Likewise.
33661         (floor_test): Likewise.
33662         (fma_test): Likewise.
33663         (fma_test_towardzero): Likewise.
33664         (fma_test_downward): Likewise.
33665         (fma_test_upward): Likewise.
33666         (fmax_test): Likewise.
33667         (fmin_test): Likewise.
33668         (fmod_test): Likewise.
33669         (fpclassify_test): Likewise.
33670         (frexp_test): Likewise.
33671         (gamma_test): Likewise.
33672         (hypot_test): Likewise.
33673         (ilogb_test): Likewise.
33674         (isfinite_test): Likewise.
33675         (isgreater_test): Likewise.
33676         (isgreaterequal_test): Likewise.
33677         (isinf_test): Likewise.
33678         (isless_test): Likewise.
33679         (islessequal_test): Likewise.
33680         (islessgreater_test): Likewise.
33681         (isnan_test): Likewise.
33682         (isnormal_test): Likewise.
33683         (issignaling_test): Likewise.
33684         (isunordered_test): Likewise.
33685         (j0_test): Likewise.
33686         (j1_test): Likewise.
33687         (jn_test): Likewise.
33688         (ldexp_test): Likewise.
33689         (lgamma_test): Likewise.
33690         (lrint_test): Likewise.
33691         (lrint_test_tonearest): Likewise.
33692         (lrint_test_towardzero): Likewise.
33693         (lrint_test_downward): Likewise.
33694         (lrint_test_upward): Likewise.
33695         (llrint_test): Likewise.
33696         (llrint_test_tonearest): Likewise.
33697         (llrint_test_towardzero): Likewise.
33698         (llrint_test_downward): Likewise.
33699         (llrint_test_upward): Likewise.
33700         (log_test): Likewise.
33701         (log10_test): Likewise.
33702         (log1p_test): Likewise.
33703         (log2_test): Likewise.
33704         (logb_test): Likewise.
33705         (logb_test_downward): Likewise.
33706         (lround_test): Likewise.
33707         (llround_test): Likewise.
33708         (modf_test): Likewise.
33709         (nearbyint_test): Likewise.
33710         (nextafter_test): Likewise.
33711         (nexttoward_test): Likewise.
33712         (pow_test): Likewise.
33713         (pow_test_tonearest): Likewise.
33714         (pow_test_towardzero): Likewise.
33715         (pow_test_downward): Likewise.
33716         (pow_test_upward): Likewise.
33717         (remainder_test): Likewise.
33718         (remainder_test_tonearest): Likewise.
33719         (remainder_test_towardzero): Likewise.
33720         (remainder_test_downward): Likewise.
33721         (remainder_test_upward): Likewise.
33722         (remquo_test): Likewise.
33723         (rint_test): Likewise.
33724         (rint_test_tonearest): Likewise.
33725         (rint_test_towardzero): Likewise.
33726         (rint_test_downward): Likewise.
33727         (rint_test_upward): Likewise.
33728         (round_test): Likewise.
33729         (scalb_test): Likewise.
33730         (scalbn_test): Likewise.
33731         (scalbln_test): Likewise.
33732         (signbit_test): Likewise.
33733         (sin_test): Likewise.
33734         (sin_test_tonearest): Likewise.
33735         (sin_test_towardzero): Likewise.
33736         (sin_test_downward): Likewise.
33737         (sin_test_upward): Likewise.
33738         (sincos_test): Likewise.
33739         (sinh_test): Likewise.
33740         (sinh_test_tonearest): Likewise.
33741         (sinh_test_towardzero): Likewise.
33742         (sinh_test_downward): Likewise.
33743         (sinh_test_upward): Likewise.
33744         (sqrt_test): Likewise.
33745         (tan_test): Likewise.
33746         (tan_test_tonearest): Likewise.
33747         (tan_test_towardzero): Likewise.
33748         (tan_test_downward): Likewise.
33749         (tan_test_upward): Likewise.
33750         (tanh_test): Likewise.
33751         (tgamma_test): Likewise.
33752         (trunc_test): Likewise.
33753         (y0_test): Likewise.
33754         (y1_test): Likewise.
33755         (yn_test): Likewise.
33756         (significand_test): Likewise.
33758 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33760         [BZ #15381]
33761         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33763 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33765         [BZ #14894]
33766         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33767         __ppc_mdoio and __ppc_mdoom.
33768         * manual/platform.texi: Document new functions __ppc_yield,
33769         __ppc_mdoio and __ppc_mdoom.
33771 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33773         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33774         (main): Mention "tls" pseudo-hwcap is legacy.
33775         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33777 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33779         * math/gen-libm-test.pl (parse_args): Output only string of
33780         arguments as text for test name, not full call or descriptions of
33781         tests for extra outputs.
33782         (generate_testfile): Do not pass function name to parse_args.
33783         Generate this_func variable from START.
33784         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33785         field to arg_str.
33786         (struct test_ff_f_data): Likewise.
33787         (test_ff_f_data_nexttoward): Likewise.
33788         (struct test_fi_f_data): Likewise.
33789         (struct test_fl_f_data): Likewise.
33790         (struct test_if_f_data): Likewise.
33791         (struct test_fff_f_data): Likewise.
33792         (struct test_c_f_data): Likewise.
33793         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33794         (struct test_fF_f1_data): Likewise.
33795         (struct test_ffI_f1_data): Likewise.
33796         (struct test_c_c_data): Rename test_name field to arg_str.
33797         (struct test_cc_c_data): Likewise.
33798         (struct test_f_i_data): Likewise.
33799         (struct test_ff_i_data): Likewise.
33800         (struct test_f_l_data): Likewise.
33801         (struct test_f_L_data): Likewise.
33802         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33803         and extra2_name.
33804         (COMMON_TEST_SETUP): New macro.
33805         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33806         (COMMON_TEST_CLEANUP): Likewise.
33807         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33808         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33809         macros.
33810         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33811         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33812         macros.
33813         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33814         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33815         cleanup macros.
33816         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33817         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33818         macros.
33819         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33820         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33821         macros.
33822         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33823         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33824         cleanup macros.
33825         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33826         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33827         cleanup macros.
33828         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33829         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33830         cleanup macros.
33831         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33832         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33833         macros.
33834         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33835         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33836         macros.
33837         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33838         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33839         macros.
33840         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33841         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33842         cleanup macros.
33843         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33844         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33845         cleanup macros.
33846         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33847         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33848         macros.
33849         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33850         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33851         cleanup macros.
33852         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33853         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33854         macros.
33855         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33856         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33857         macros.
33858         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33859         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33860         cleanup macros.
33861         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33863 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33865         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33866         to _sifields.sigfault.
33867         (si_addr_lsb): Define new macro.
33868         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33869         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33870         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33872 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33874         [BZ #15441]
33875         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33876         returns -1.
33877         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33878         null return -1.
33879         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33880         loading the domain.
33882 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33884         * math/gen-libm-test.pl (parse_args): Do not include expected
33885         result in test name.
33886         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33887         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33888         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33889         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33890         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33893 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33895         * benchtests/Makefile: Sort function entries.
33897         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33898         tanh, asinh, acosh, atanh.
33899         * benchtests/acos-inputs: New file.
33900         * benchtests/acosh-inputs: New file.
33901         * benchtests/asin-inputs: New file.
33902         * benchtests/asinh-inputs: New file.
33903         * benchtests/atanh-inputs: New file.
33904         * benchtests/cosh-inputs: New file.
33905         * benchtests/log-inputs: New file.
33906         * benchtests/sinh-inputs: New file.
33907         * benchtests/tanh-inputs: New file.
33909 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33911         [BZ #15339]
33912         * posix/tst-getaddrinfo4.c: New test.
33913         * posix/Makefile (tests): Add it.
33915 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33917         [BZ #15339]
33918         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33919         when no services were used.
33920         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33921         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33923 2013-05-21  Andreas Schwab  <schwab@suse.de>
33925         [BZ #15014]
33926         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33927         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33928         successful.
33929         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33930         redundant variable declarations and reallocation of buffer when
33931         parsing as IPv6 address.  Always set NSS status when called from
33932         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33933         buffer too small.  Correct computation of needed size.
33934         * nss/Makefile (tests): Add test-digits-dots.
33935         * nss/test-digits-dots.c: New test.
33937 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33939         * benchtests/Makefile: Remove instructions for adding
33940         benchmark tests.
33941         * benchtests/README: New file to explain how to execute and
33942         enhance the benchmark tests.
33944 2013-05-21  Andreas Schwab  <schwab@suse.de>
33946         [BZ #15493]
33947         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33948         * setjmp/tst-sigsetjmp.c: New test.
33950 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33952         * sysdeps/x86_64/memset.S (memset): New implementation.
33953         (__bzero): Likewise.
33954         (__memset_tail): New function.
33956 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33958         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33959         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33960         __memcpy_sse2_unaligned ifunc selection.
33961         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33962         Add memcpy-sse2-unaligned.S.
33963         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33964         Add: __memcpy_sse2_unaligned.
33966 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33968         [BZ #15490]
33969         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33970         math_force_eval before restoring floating-point envrionment.
33971         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33972         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33973         Likewise.
33974         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33975         <math_private.h>.
33976         (__nearbyintl): Use math_force_eval before restoring
33977         floating-point environment.
33978         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33980         * math/gen-libm-test.pl (special_functions): Remove.
33981         (parse_args): Don't handle TEST_extra.  Handle functions with no
33982         return value.
33983         * math/libm-test.inc (struct test_sincos_data): Replace with
33984         struct test_fFF_11_data.
33985         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33986         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33987         (sincos_test_data): Change element type to struct
33988         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33989         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33990         RUN_TEST_LOOP_sincos.
33991         * math/README.libm-test: Don't mention special handling of
33992         individual functions.
33993         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33994         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33995         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33996         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33997         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34000         * math/gen-libm-test.pl (get_variable): Remove function.
34001         (parse_args): Don't show pointer parameters to call in test
34002         names.  Use "extra output N" in test names for extra outputs
34003         rather than naming variables.
34005 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34007         [BZ #15488]
34008         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34009         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34010         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34011         double tests.
34012         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34013         disable.
34014         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34015         check_long_double.
34017         * math/gen-libm-test.pl (@tests): Remove variable.
34018         ($count): Likewise.
34019         (new_test): Remove function.
34020         (show_exceptions): New function.
34021         (special_functions): Use show_exceptions instead of new_test.
34022         (parse_args): Likewise.
34023         (generate_testfile): Pass only function name in generated call to
34024         print_max_error or print_complex_max_error.
34025         (get_ulps): Do not handle complex tests specially.
34026         (output_test): Rename to ...
34027         (get_all_ulps_for_test): ... this.  Return a string rather than
34028         printing to a file.  Require ulps to be present.
34029         (output_ulps): Generate arrays rather than #defines.
34030         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34031         (struct ulp_data): New type.
34032         (BUILD_COMPLEX_ULP): Remove macro.
34033         (compare_ulp_data): New function.
34034         (find_ulps): Likewise.
34035         (find_test_ulps): Likewise.
34036         (find_function_ulps): Likewise.
34037         (find_complex_function_ulps): Likewise.
34038         (print_max_error): Determine allowed ulps using
34039         find_function_ulps.
34040         (print_complex_max_error): Determine allowed ulps using
34041         find_complex_function_ulps.
34042         (check_float_internal): Determine max ulps using find_test_ulps.
34043         (check_float): Do not take max_ulp parameter.  Update call to
34044         check_float_internal.
34045         (check_complex): Likewise.
34046         (check_int): Do not take max_ulp parameter.
34047         (check_long): Likewise.
34048         (check_bool): Likewise.
34049         (check_longlong): Likewise.
34050         (struct test_f_f_data): Remove max_ulp field.
34051         (struct test_ff_f_data): Likewise.
34052         (struct test_ff_f_data_nexttoward): Likewise.
34053         (struct test_fi_f_data): Likewise.
34054         (struct test_fl_f_data): Likewise.
34055         (struct test_if_f_data): Likewise.
34056         (struct test_fff_f_data): Likewise.
34057         (struct test_c_f_data): Likewise.
34058         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34059         (struct test_fF_f1_data): Likewise.
34060         (struct test_ffI_f1_data): Likewise.
34061         (struct test_c_c_data): Remove max_ulp field.
34062         (struct test_cc_c_data): Likewise.
34063         (struct test_f_i_data): Likewise.
34064         (struct test_ff_i_data): Likewise.
34065         (struct test_f_l_data): Likewise.
34066         (struct test_f_L_data): Likewise.
34067         (struct test_sincos_data): Likewise.
34068         (RUN_TEST_f_f): Do not handle ulps.
34069         (RUN_TEST_LOOP_f_f): Likewise.
34070         (RUN_TEST_2_f): Likewise.
34071         (RUN_TEST_LOOP_2_f): Likewise.
34072         (RUN_TEST_fff_f): Likewise.
34073         (RUN_TEST_LOOP_fff_f): Likewise.
34074         (RUN_TEST_c_f): Likewise.
34075         (RUN_TEST_LOOP_c_f): Likewise.
34076         (RUN_TEST_f_f1): Likewise.
34077         (RUN_TEST_LOOP_f_f1): Likewise.
34078         (RUN_TEST_fF_f1): Likewise.
34079         (RUN_TEST_LOOP_fF_f1): Likewise.
34080         (RUN_TEST_fI_f1): Likewise.
34081         (RUN_TEST_LOOP_fI_f1): Likewise.
34082         (RUN_TEST_ffI_f1): Likewise.
34083         (RUN_TEST_LOOP_ffI_f1): Likewise.
34084         (RUN_TEST_c_c): Likewise.
34085         (RUN_TEST_LOOP_c_c): Likewise.
34086         (RUN_TEST_cc_c): Likewise.
34087         (RUN_TEST_LOOP_cc_c): Likewise.
34088         (RUN_TEST_f_i): Likewise.
34089         (RUN_TEST_LOOP_f_i): Likewise.
34090         (RUN_TEST_f_i_tg): Likewise.
34091         (RUN_TEST_LOOP_f_i_tg): Likewise.
34092         (RUN_TEST_ff_i_tg): Likewise.
34093         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34094         (RUN_TEST_f_b): Likewise.
34095         (RUN_TEST_LOOP_f_b): Likewise.
34096         (RUN_TEST_f_b_tg): Likewise.
34097         (RUN_TEST_LOOP_f_b_tg): Likewise.
34098         (RUN_TEST_f_l): Likewise.
34099         (RUN_TEST_LOOP_f_l): Likewise.
34100         (RUN_TEST_f_L): Likewise.
34101         (RUN_TEST_LOOP_f_L): Likewise.
34102         (RUN_TEST_sincos): Likewise.
34103         (RUN_TEST_LOOP_sincos): Likewise.
34105 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34107         [BZ #15480]
34108         [BZ #15485]
34109         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34110         main case of finite arguments, set rounding mode to FE_TONEAREST
34111         and discard exceptions.
34112         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34113         exceptions.
34114         (remainder_tonearest_test_data): New variable.
34115         (remainder_test_tonearest): New function.
34116         (remainder_towardzero_test_data): New variable.
34117         (remainder_test_towardzero): New function.
34118         (remainder_downward_test_data): New variable.
34119         (remainder_test_downward): New function.
34120         (remainder_upward_test_data): New variable.
34121         (remainder_test_upward): New function.
34122         (main): Call the new test functions.
34124         * math/libm-test.inc (struct test_f_f1_data): Remove field
34125         extra_init.
34126         (struct test_fF_f1_data): Likewise.
34127         (struct test_ffI_f1_data): Likewise.
34128         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34129         based on value of EXTRA_EXPECTED.
34130         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34131         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34132         EXTRA_VAR based on value of EXTRA_EXPECTED.
34133         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34134         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34135         EXTRA_VAR based on value of EXTRA_EXPECTED.
34136         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34137         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34138         EXTRA_VAR based on value of EXTRA_EXPECTED.
34139         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34140         * math/gen-libm-test.pl (parse_args): Don't output initializers
34141         for extra output values.
34143         * math/libm-test.inc (check_int): Expect result to be exactly
34144         equal to expected value and do not handle ulps.
34145         (check_long): Likewise.
34146         (check_longlong): Likewise.
34148         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34149         exceptions.
34150         (cimag_test_data): Likewise.
34151         (conj_test_data): Likewise.
34152         (copysign_test_data): Likewise.
34153         (cproj_test_data): Likewise.
34154         (creal_test_data): Likewise.
34155         (fabs_test_data): Likewise.
34156         (fdim_test_data): Likewise.
34157         (finite_test_data): Likewise.
34158         (floor_test_data): Likewise.
34159         (fmax_test_data): Likewise.
34160         (fmin_test_data): Likewise.
34161         (fmod_test_data): Likewise.
34162         (fpclassify_test_data): Likewise.
34163         (frexp_test_data): Likewise.
34164         (ilogb_test_data): Likewise.
34165         (isfinite_test_data): Likewise.
34166         (isgreater_test_data): Likewise.
34167         (isgreaterequal_test_data): Likewise.
34168         (isinf_test_data): Likewise.
34169         (isless_test_data): Likewise.
34170         (islessequal_test_data): Likewise.
34171         (islessgreater_test_data): Likewise.
34172         (isnan_test_data): Likewise.
34173         (isnormal_test_data): Likewise.
34174         (issignaling_test_data): Likewise.
34175         (isunordered_test_data): Likewise.
34176         (ldexp_test_data): Likewise.
34177         (lrint_test_data): Likewise.
34178         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34179         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34180         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34181         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34182         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34183         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34184         test input.
34185         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34186         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34187         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34188         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34189         that test input.
34190         (lrint_downward_test_data): Test for "inexact" exceptions.
34191         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34192         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34193         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34194         test input.
34195         (lrint_upward_test_data): Test for "inexact" exceptions.
34196         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34197         test input.
34198         (llrint_test_data): Test for "inexact" exceptions.
34199         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34200         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34201         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34202         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34203         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34204         (llrint_downward_test_data): Test for "inexact" exceptions.
34205         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34206         (llrint_upward_test_data): Test for "inexact" exceptions.
34207         (logb_test_data): Likewise.
34208         (logb_downward_test_data): Likewise.
34209         (nextafter_test_data): Likewise.
34210         (nexttoward_test_data): Likewise.
34211         (remainder_test_data): Likewise.
34212         (remquo_test_data): Likewise.
34213         (scalbn_test_data): Likewise.
34214         (scalbln_test_data): Likewise.
34215         (signbit_test_data): Likewise.
34216         (sqrt_test_data): Likewise.
34217         (significand_test_data): Likewise.
34219 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34221         [BZ #15424]
34222         * benchtests/bench-modf.c (struct args): Mark arg0 as
34223         volatile.
34224         * scripts/bench.pl: Mark members of struct args as volatile.
34226 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34228         [BZ # 15497]
34229         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34230         negative infinity on POWER6 or lower.
34231         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34233 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34235         [BZ #15442]
34236         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34237         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34238         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34239         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34240         (_FP_SETQNAN): New macro.
34241         (_FP_SETQNAN_SEMIRAW): Likewise.
34242         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34243         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34244         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34245         (FP_EXTEND): Use _FP_FRAC_SNANP.
34246         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34247         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34248         into account.
34249         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34250         New macro.
34251         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34252         Likewise.
34254 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34256         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34257         with DIVIDE_BY_ZERO_EXCEPTION.
34258         (gamma_test_data): Likewise.
34259         (lgamma_test_data): Likewise.
34260         (log_test_data): Likewise.
34261         (log10_test_data): Likewise.
34262         (log2_test_data): Likewise.
34263         (tgamma_test_data): Likewise.
34265         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34266         (acos_test_tonearest): Likewise.
34267         (acos_test_towardzero): Likewise.
34268         (acos_test_downward): Likewise.
34269         (acos_test_upward): Likewise.
34270         (acosh_test): Likewise.
34271         (asin_test): Likewise.
34272         (asin_test_tonearest): Likewise.
34273         (asin_test_towardzero): Likewise.
34274         (asin_test_downward): Likewise.
34275         (asin_test_upward): Likewise.
34276         (asinh_test): Likewise.
34277         (atan_test): Likewise.
34278         (atanh_test): Likewise.
34279         (atan2_test): Likewise.
34280         (cabs_test): Likewise.
34281         (cacos_test): Likewise.
34282         (cacosh_test): Likewise.
34283         (casin_test): Likewise.
34284         (casinh_test): Likewise.
34285         (catan_test): Likewise.
34286         (catanh_test): Likewise.
34287         (cbrt_test): Likewise.
34288         (ccos_test): Likewise.
34289         (ccosh_test): Likewise.
34290         (cexp_test): Likewise.
34291         (clog_test): Likewise.
34292         (clog10_test): Likewise.
34293         (cos_test): Likewise.
34294         (cos_test_tonearest): Likewise.
34295         (cos_test_towardzero): Likewise.
34296         (cos_test_downward): Likewise.
34297         (cos_test_upward): Likewise.
34298         (cosh_test): Likewise.
34299         (cosh_test_tonearest): Likewise.
34300         (cosh_test_towardzero): Likewise.
34301         (cosh_test_downward): Likewise.
34302         (cosh_test_upward): Likewise.
34303         (cpow_test): Likewise.
34304         (csin_test): Likewise.
34305         (csinh_test): Likewise.
34306         (csqrt_test): Likewise.
34307         (ctan_test): Likewise.
34308         (ctan_test_tonearest): Likewise.
34309         (ctan_test_towardzero): Likewise.
34310         (ctan_test_downward): Likewise.
34311         (ctan_test_upward): Likewise.
34312         (ctanh_test): Likewise.
34313         (ctanh_test_tonearest): Likewise.
34314         (ctanh_test_towardzero): Likewise.
34315         (ctanh_test_downward): Likewise.
34316         (ctanh_test_upward): Likewise.
34317         (erf_test): Likewise.
34318         (erfc_test): Likewise.
34319         (exp_test): Likewise.
34320         (exp_test_tonearest): Likewise.
34321         (exp_test_towardzero): Likewise.
34322         (exp_test_downward): Likewise.
34323         (exp_test_upward): Likewise.
34324         (exp10_test): Likewise.
34325         (exp2_test): Likewise.
34326         (expm1_test): Likewise.
34327         (fmod_test): Likewise.
34328         (gamma_test): Likewise.
34329         (hypot_test): Likewise.
34330         (j0_test): Likewise.
34331         (j1_test): Likewise.
34332         (jn_test): Likewise.
34333         (lgamma_test): Likewise.
34334         (log_test): Likewise.
34335         (log10_test): Likewise.
34336         (log1p_test): Likewise.
34337         (log2_test): Likewise.
34338         (logb_test_downward): Likewise.
34339         (pow_test): Likewise.
34340         (pow_test_tonearest): Likewise.
34341         (pow_test_towardzero): Likewise.
34342         (pow_test_downward): Likewise.
34343         (pow_test_upward): Likewise.
34344         (remainder_test): Likewise.
34345         (remquo_test): Likewise.
34346         (sin_test): Likewise.
34347         (sin_test_tonearest): Likewise.
34348         (sin_test_towardzero): Likewise.
34349         (sin_test_downward): Likewise.
34350         (sin_test_upward): Likewise.
34351         (sincos_test): Likewise.
34352         (sinh_test): Likewise.
34353         (sinh_test_tonearest): Likewise.
34354         (sinh_test_towardzero): Likewise.
34355         (sinh_test_downward): Likewise.
34356         (sinh_test_upward): Likewise.
34357         (sqrt_test): Likewise.
34358         (tan_test): Likewise.
34359         (tan_test_tonearest): Likewise.
34360         (tan_test_towardzero): Likewise.
34361         (tan_test_downward): Likewise.
34362         (tan_test_upward): Likewise.
34363         (tanh_test): Likewise.
34364         (tgamma_test): Likewise.
34365         (y0_test): Likewise.
34366         (y1_test): Likewise.
34367         (yn_test): Likewise.
34369         * math/gen-libm-test.pl (adjust_arg): Remove function.
34370         (special_function): Remove argument $in_func.  Only handle
34371         generating output for tables of tests, not inside functions.
34372         (parse_args): Likewise.
34373         (generate_testfile): Remove variable $in_func.  Update call to
34374         parse_args.
34375         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34376         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34377         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34378         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34379         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34380         (MAX_VALUE_INIT): Rename macro to max_value.
34381         (MIN_VALUE_INIT): Rename macro to min_value.
34382         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34383         (plus_zero): Remove variable.
34384         (minus_zero): Likewise.
34385         (plus_infty): Likewise.
34386         (minus_infty): Likewise.
34387         (qnan_value): Likewise.
34388         (max_value): Likewise.
34389         (min_value): Likewise.
34390         (min_subnorm_value): Likewise.
34392 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34394         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34395         uint64_t or uint32_t usage.
34396         * crypt/sha256-block.c: Likewise.
34397         * crypt/sha256-crypt.c: Likewise.
34398         * crypt/sha256.c: Likewise.
34399         * crypt/sha512-block.c: Likewise.
34400         * crypt/sha512-crypt.c: Likewise.
34401         * crypt/sha512.c: Likewise.
34402         * debug/backtrace-tst.c: Likewise.
34403         * debug/pcprofiledump.c: Likewise.
34404         * elf/cache.c: Likewise.
34405         * elf/dl-cache.c: Likewise.
34406         * elf/dl-misc.c: Likewise.
34407         * elf/dl-profile.c: Likewise.
34408         * elf/dl-support.c: Likewise.
34409         * elf/ldconfig.c: Likewise.
34410         * elf/sprof.c: Likewise.
34411         * iconv/dummy-repertoire.c: Likewise.
34412         * iconv/iconv_charmap.c: Likewise.
34413         * iconv/skeleton.c: Likewise.
34414         * iconvdata/8bit-generic.c: Likewise.
34415         * iconvdata/cp737.h: Likewise.
34416         * iconvdata/cp775.h: Likewise.
34417         * iconvdata/ibm1008.h: Likewise.
34418         * iconvdata/ibm1025.h: Likewise.
34419         * iconvdata/ibm1046.h: Likewise.
34420         * iconvdata/ibm1097.h: Likewise.
34421         * iconvdata/ibm1112.h: Likewise.
34422         * iconvdata/ibm1122.h: Likewise.
34423         * iconvdata/ibm1123.h: Likewise.
34424         * iconvdata/ibm1124.h: Likewise.
34425         * iconvdata/ibm1129.h: Likewise.
34426         * iconvdata/ibm1130.h: Likewise.
34427         * iconvdata/ibm1132.h: Likewise.
34428         * iconvdata/ibm1133.h: Likewise.
34429         * iconvdata/ibm1137.h: Likewise.
34430         * iconvdata/ibm1140.h: Likewise.
34431         * iconvdata/ibm1141.h: Likewise.
34432         * iconvdata/ibm1142.h: Likewise.
34433         * iconvdata/ibm1143.h: Likewise.
34434         * iconvdata/ibm1144.h: Likewise.
34435         * iconvdata/ibm1145.h: Likewise.
34436         * iconvdata/ibm1146.h: Likewise.
34437         * iconvdata/ibm1147.h: Likewise.
34438         * iconvdata/ibm1148.h: Likewise.
34439         * iconvdata/ibm1149.h: Likewise.
34440         * iconvdata/ibm1153.h: Likewise.
34441         * iconvdata/ibm1154.h: Likewise.
34442         * iconvdata/ibm1155.h: Likewise.
34443         * iconvdata/ibm1156.h: Likewise.
34444         * iconvdata/ibm1157.h: Likewise.
34445         * iconvdata/ibm1158.h: Likewise.
34446         * iconvdata/ibm1160.h: Likewise.
34447         * iconvdata/ibm1161.h: Likewise.
34448         * iconvdata/ibm1162.h: Likewise.
34449         * iconvdata/ibm1163.h: Likewise.
34450         * iconvdata/ibm1164.h: Likewise.
34451         * iconvdata/ibm1166.h: Likewise.
34452         * iconvdata/ibm1167.h: Likewise.
34453         * iconvdata/ibm12712.h: Likewise.
34454         * iconvdata/ibm1390.h: Likewise.
34455         * iconvdata/ibm1399.h: Likewise.
34456         * iconvdata/ibm16804.h: Likewise.
34457         * iconvdata/ibm4517.h: Likewise.
34458         * iconvdata/ibm4899.h: Likewise.
34459         * iconvdata/ibm4909.h: Likewise.
34460         * iconvdata/ibm4971.h: Likewise.
34461         * iconvdata/ibm5347.h: Likewise.
34462         * iconvdata/ibm803.h: Likewise.
34463         * iconvdata/ibm856.h: Likewise.
34464         * iconvdata/ibm901.h: Likewise.
34465         * iconvdata/ibm902.h: Likewise.
34466         * iconvdata/ibm9030.h: Likewise.
34467         * iconvdata/ibm9066.h: Likewise.
34468         * iconvdata/ibm921.h: Likewise.
34469         * iconvdata/ibm922.h: Likewise.
34470         * iconvdata/ibm9448.h: Likewise.
34471         * iconvdata/isiri-3342.h: Likewise.
34472         * iconvdata/jis0201.h: Likewise.
34473         * include/link.h: Likewise.
34474         * include/netdb.h: Likewise.
34475         * inet/check_native.c: Likewise.
34476         * inet/check_pf.c: Likewise.
34477         * inet/getipv4sourcefilter.c: Likewise.
34478         * inet/getnameinfo.c: Likewise.
34479         * inet/getsourcefilter.c: Likewise.
34480         * inet/htonl.c: Likewise.
34481         * inet/setipv4sourcefilter.c: Likewise.
34482         * inet/setsourcefilter.c: Likewise.
34483         * inet/test-inet6_opt.c: Likewise.
34484         * inet/tst-network.c: Likewise.
34485         * locale/C-collate.c: Likewise.
34486         * locale/C-ctype.c: Likewise.
34487         * locale/C-time.c: Likewise.
34488         * locale/C-translit.h: Likewise.
34489         * locale/loadarchive.c: Likewise.
34490         * locale/programs/3level.h: Likewise.
34491         * locale/programs/charmap.c: Likewise.
34492         * locale/programs/charmap.h: Likewise.
34493         * locale/programs/ld-address.c: Likewise.
34494         * locale/programs/ld-collate.c: Likewise.
34495         * locale/programs/ld-ctype.c: Likewise.
34496         * locale/programs/ld-identification.c: Likewise.
34497         * locale/programs/ld-measurement.c: Likewise.
34498         * locale/programs/ld-messages.c: Likewise.
34499         * locale/programs/ld-monetary.c: Likewise.
34500         * locale/programs/ld-name.c: Likewise.
34501         * locale/programs/ld-numeric.c: Likewise.
34502         * locale/programs/ld-paper.c: Likewise.
34503         * locale/programs/ld-telephone.c: Likewise.
34504         * locale/programs/ld-time.c: Likewise.
34505         * locale/programs/linereader.c: Likewise.
34506         * locale/programs/locale.c: Likewise.
34507         * locale/programs/locarchive.c: Likewise.
34508         * locale/programs/locfile.h: Likewise.
34509         * locale/programs/repertoire.c: Likewise.
34510         * locale/programs/simple-hash.c: Likewise.
34511         * locale/programs/simple-hash.h: Likewise.
34512         * malloc/memusage.c: Likewise.
34513         * malloc/memusagestat.c: Likewise.
34514         * nis/nis_defaults.c: Likewise.
34515         * nis/nis_hash.c: Likewise.
34516         * nis/nis_print.c: Likewise.
34517         * nis/nis_xdr.c: Likewise.
34518         * nscd/connections.c: Likewise.
34519         * nscd/hstcache.c: Likewise.
34520         * nscd/nscd_gethst_r.c: Likewise.
34521         * nscd/nscd_getserv_r.c: Likewise.
34522         * nscd/nscd_helper.c: Likewise.
34523         * nscd/servicescache.c: Likewise.
34524         * nss/makedb.c: Likewise.
34525         * nss/nss_db/db-XXX.c: Likewise.
34526         * nss/nss_db/db-initgroups.c: Likewise.
34527         * nss/nss_db/db-netgrp.c: Likewise.
34528         * nss/nss_files/files-network.c: Likewise.
34529         * nss/nss_files/files-parse.c: Likewise.
34530         * posix/bug-regex5.c: Likewise.
34531         * posix/fnmatch_loop.c: Likewise.
34532         * posix/regcomp.c: Likewise.
34533         * posix/regexec.c: Likewise.
34534         * posix/tst-rfc3484-2.c: Likewise.
34535         * posix/tst-rfc3484-3.c: Likewise.
34536         * posix/tst-rfc3484.c: Likewise.
34537         * resolv/nss_dns/dns-canon.c: Likewise.
34538         * resolv/nss_dns/dns-network.c: Likewise.
34539         * resolv/res_init.c: Likewise.
34540         * resolv/res_mkquery.c: Likewise.
34541         * resolv/tst-aton.c: Likewise.
34542         * stdlib/cxa_atexit.c: Likewise.
34543         * stdlib/cxa_finalize.c: Likewise.
34544         * stdlib/gen-fpioconst.c: Likewise.
34545         * stdlib/strtol_l.c: Likewise.
34546         * string/tst-endian.c: Likewise.
34547         * sunrpc/auth_des.c: Likewise.
34548         * sunrpc/clnt_udp.c: Likewise.
34549         * sunrpc/rtime.c: Likewise.
34550         * sunrpc/svcauth_des.c: Likewise.
34551         * sunrpc/xdr.c: Likewise.
34552         * sunrpc/xdr_intXX_t.c: Likewise.
34553         * sunrpc/xdr_rec.c: Likewise.
34554         * sysdeps/generic/ldconfig.h: Likewise.
34555         * sysdeps/generic/ldsodefs.h: Likewise.
34556         * sysdeps/generic/memusage.h: Likewise.
34557         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34558         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34559         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34560         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34561         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34562         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34563         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34564         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34565         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34566         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34567         * sysdeps/posix/getaddrinfo.c: Likewise.
34568         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34569         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34570         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34571         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34572         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34573         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34574         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34575         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34576         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34577         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34578         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34579         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34580         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34581         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34582         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34583         * sysdeps/x86_64/dl-tls.h: Likewise.
34584         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34585         * time/alt_digit.c: Likewise.
34586         * time/era.c: Likewise.
34587         * wcsmbs/tst-c16c32-1.c: Likewise.
34589 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34591         * math/libm-test.inc (struct test_sincos_data): New type.
34592         (RUN_TEST_LOOP_sincos): New macro.
34593         (sincos_test_data): New variable.
34594         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34596 2013-05-16  Richard Henderson  <rth@redhat.com>
34598         * math/atest-exp2.c (LIMB64): New macro.
34599         (CONSTSZ): New macro.
34600         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34601         (hexdig): Move ...
34602         (print_mpn_fp): ... to function scope.
34603         (read_mpn_hex): Remove.
34604         (get_log2): Remove.
34605         (exp2_mpn): Use mp_log2.
34606         (main): Use mp_exp1.
34608 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34610         * math/libm-test.inc: Remove comment about not testing "inexact"
34611         exceptions.
34612         (INEXACT_EXCEPTION): New macro.
34613         (NO_INEXACT_EXCEPTION): Likewise.
34614         (INVALID_EXCEPTION_OK): Update value.
34615         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34616         (OVERFLOW_EXCEPTION_OK): Likewise.
34617         (UNDERFLOW_EXCEPTION_OK): Likewise.
34618         (IGNORE_ZERO_INF_SIGN): Likewise.
34619         (ERRNO_UNCHANGED): Likewise.
34620         (ERRNO_EDOM): Likewise.
34621         (ERRNO_ERANGE): Likewise.
34622         (test_exceptions): Handle testing "inexact" exceptions.
34623         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34624         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34625         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34626         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34627         INEXACT_EXCEPTION.
34628         (rint_towardzero_test_data): Likewise.
34629         (rint_downward_test_data): Likewise.
34630         (rint_upward_test_data): Likewise.
34632         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34633         with OVERFLOW_EXCEPTION.
34634         (exp10_test_data): Likewise.
34635         (exp2_test_data): Likewise.
34636         (expm1_test_data): Likewise.
34637         (lgamma_test_data): Likewise.
34638         (pow_test_data): Likewise.
34639         (tgamma_test_data): Likewise.
34640         (yn_test_data): Remove duplicate test of overflow.
34642         * math/libm-test.inc (struct test_cc_c_data): New type.
34643         (RUN_TEST_LOOP_cc_c): New macro.
34644         (cpow_test_data): New variable.
34645         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34647         * math/libm-test.inc (struct test_f_L_data): New type.
34648         (RUN_TEST_LOOP_f_L): New macro.
34649         (llrint_test_data): New variable.
34650         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34651         (llrint_tonearest_test_data): New variable.
34652         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34653         (llrint_towardzero_test_data): New variable.
34654         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34655         (llrint_downward_test_data): New variable.
34656         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34657         (llrint_upward_test_data): New variable.
34658         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34659         (llround_test_data): New variable.
34660         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34662 2013-05-13  Peter Collingbourne  <pcc@google.com>
34664         * math/atest-exp2.c (get_log2): Remove const attribute.
34666 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34668         * math/libm-test.inc (struct test_f_l_data): New type.
34669         (RUN_TEST_LOOP_f_l): New macro.
34670         (lrint_test_data): New variable.
34671         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34672         (lrint_tonearest_test_data): New variable.
34673         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34674         (lrint_towardzero_test_data): New variable.
34675         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34676         (lrint_downward_test_data): New variable.
34677         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34678         (lrint_upward_test_data): New variable.
34679         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34680         (lround_test_data): New variable.
34681         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34683 2013-05-15  Peter Collingbourne  <pcc@google.com>
34685         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34686         (EXTRACT_WORDS64) Use where appropriate.
34687         (INSERT_WORDS64) Likewise.
34689         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34690         constraints with x constraints.
34691         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34693         * malloc/obstack.c (_obstack_compat): Add initializer.
34695 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34697         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34698         si_trapno and add si_addr_lsb to _sifields.sigfault.
34699         (si_trapno): Remove macro.
34700         (si_addr_lsb): Define new macro.
34701         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34703 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34705         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34706         instead of TEST_f_l.
34707         (llrint_test_tonearest): Likewise.
34708         (llrint_test_towardzero): Likewise.
34709         (llrint_test_downward): Likewise.
34710         (llrint_test_upward): Likewise.
34711         (llround_test): Likewise.
34713         * math/libm-test.inc (struct test_f_i_data): Add comment.
34714         (RUN_TEST_LOOP_f_b): New macro.
34715         (RUN_TEST_LOOP_f_b_tg): Likewise.
34716         (finite_test_data): New variable.
34717         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34718         (isfinite_test_data): New variable.
34719         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34720         (isinf_test_data): New variable.
34721         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34722         (isnan_test_data): New variable.
34723         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34724         (isnormal_test_data): New variable.
34725         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34726         (issignaling_test_data): New variable.
34727         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34728         (signbit_test_data): New variable.
34729         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34731         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34732         with INVALID_EXCEPTION.
34733         (acosh_test_data): Likewise.
34734         (asin_test_data): Likewise.
34735         (atanh_test_data): Likewise.
34736         (fmod_test_data): Likewise.
34737         (log_test_data): Likewise.
34738         (log10_test_data): Likewise.
34739         (log2_test_data): Likewise.
34740         (pow_test_data): Likewise.
34741         (sqrt_test_data): Likewise.
34742         (y0_test_data): Likewise.
34743         (y1_test_data): Likewise.
34744         (yn_test_data): Likewise.
34746         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34747         function contents.
34749         * math/libm-test.inc (struct test_ff_i_data): New type.
34750         (RUN_TEST_LOOP_ff_i_tg): New macro.
34751         (isgreater_test_data): New variable.
34752         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34753         (isgreaterequal_test_data): New variable.
34754         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34755         (isless_test_data): New variable.
34756         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34757         (islessequal_test_data): New variable.
34758         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34759         (islessgreater_test_data): New variable.
34760         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34761         (isunordered_test_data): New variable.
34762         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34764 2013-05-14  David S. Miller  <davem@davemloft.net>
34766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34768 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34770         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34772         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34773         extra_test to int.
34774         (struct test_f_i_data): Change type of max_ulp to int.
34776         * math/libm-test.inc (test_ffI_f1_data): New type.
34777         (RUN_TEST_LOOP_ffI_f1): New macro.
34778         (remquo_test_data): New variable.
34779         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34781         * setjmp/tst-setjmp-fp.c: New file.
34782         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34783         (link-libm): New variable.
34784         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34786         * math/libm-test.inc (struct test_f_i_data): New type.
34787         (RUN_TEST_LOOP_f_i): New macro.
34788         (RUN_TEST_LOOP_f_i_tg): Likewise.
34789         (fpclassify_test_data): New variable.
34790         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34791         (ilogb_test_data): New variable.
34792         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34794         * math/libm-test.inc (scalbln_test): Correct function name in END
34795         call.
34797         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34798         (RUN_TEST_LOOP_fI_f1): New macro.
34799         (frexp_test_data): New variable.
34800         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34802         * math/libm-test.inc (struct test_fF_f1_data): New type.
34803         (RUN_TEST_LOOP_fF_f1): New macro.
34804         (modf_test_data): New variable.
34805         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34807         * math/libm-test.inc (struct test_f_f1_data): New type.
34808         (RUN_TEST_LOOP_f_f1): New macro.
34809         (gamma_test_data): New variable.
34810         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34811         (lgamma_test_data): New variable.
34812         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34814 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34816         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34817         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34818         (main): Comment "tls" pseudo-hwcap.
34820 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34822         * math/libm-test.inc (struct test_fl_f_data): New type.
34823         (RUN_TEST_LOOP_fl_f): New variable.
34824         (scalbln_test_data): New variable.
34825         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34827         * math/libm-test.inc (struct test_fi_f_data): New type.
34828         (RUN_TEST_LOOP_fi_f): New macro.
34829         (ldexp_test_data): New variable.
34830         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34831         (scalbn_test_data): New variable.
34832         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34834         * math/libm-test.inc (struct test_c_f_data): New type.
34835         (RUN_TEST_LOOP_c_f): New macro.
34836         (cabs_test_data): New variable.
34837         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34838         (carg_test_data): New variable.
34839         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34840         (cimag_test_data): New variable.
34841         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34842         (creal_test_data): New variable.
34843         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34845         * math/libm-test.inc (struct test_if_f_data): New type.
34846         (RUN_TEST_LOOP_if_f): New macro.
34847         (jn_test_data): New variable.
34848         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34849         (yn_test_data): New variable.
34850         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34852         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34854 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34856         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34857         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34859 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34861         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34862         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34863         (bench-deps): Add bench-timing.h.
34864         * benchtests-bench-skeleton.c: Include bench-timing.h.
34865         (main): Use TIMING_* macros instead of clock_gettime.
34866         * benchtests/bench-timing.h: New file.
34868         [BZ #14582]
34869         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34870         Renamed from _LIB_VERSION.
34871         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34873 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34875         * math/libm-test.inc (struct test_fff_f_data): New type.
34876         (RUN_TEST_LOOP_fff_f): New macro.
34877         (fma_test_data): New variable.
34878         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34879         (fma_towardzero_test_data): New variable.
34880         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34881         (fma_downward_test_data): New variable.
34882         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34883         (fma_upward_test_data): New variable.
34884         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34886         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34887         (struct test_c_c_data): New type.
34888         (RUN_TEST_LOOP_c_c): New macro.
34889         (cacos_test_data): New variable.
34890         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34891         (cacosh_test_data): New variable.
34892         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34893         (casin_test_data): New variable.
34894         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34895         (casinh_test_data): New variable.
34896         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34897         (catan_test_data): New variable.
34898         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34899         (catanh_test_data): New variable.
34900         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34901         (ccos_test_data): New variable.
34902         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34903         (ccosh_test_data): New variable.
34904         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34905         (cexp_test_data): New variable.
34906         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34907         (clog_test_data): New variable.
34908         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34909         (clog10_test_data): New variable.
34910         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34911         (conj_test_data): New variable.
34912         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34913         (cproj_test_data): New variable.
34914         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34915         (csin_test_data): New variable.
34916         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34917         (csinh_test_data): New variable.
34918         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34919         (csqrt_test_data): New variable.
34920         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34921         (ctan_test_data): New variable.
34922         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34923         (ctan_tonearest_test_data): New variable.
34924         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34925         (ctan_towardzero_test_data): New variable.
34926         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34927         (ctan_downward_test_data): New variable.
34928         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34929         (ctan_upward_test_data): New variable.
34930         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34931         (ctanh_test_data): New variable.
34932         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34933         (ctanh_tonearest_test_data): New variable.
34934         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34935         (ctanh_towardzero_test_data): New variable.
34936         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34937         (ctanh_downward_test_data): New variable.
34938         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34939         (ctanh_upward_test_data): New variable.
34940         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34941         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34942         of BUILD_COMPLEX.
34944         * math/libm-test.inc (struct test_ff_f_data): New type.
34945         (struct test_ff_f_data_nexttoward): Likewise.
34946         (RUN_TEST_LOOP_2_f): New macro.
34947         (RUN_TEST_LOOP_ff_f): Likewise.
34948         (atan2_test_data): New variable.
34949         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34950         (copysign_test_data): New variable.
34951         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34952         (fdim_test_data): New variable.
34953         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34954         (fmax_test_data): New variable.
34955         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34956         (fmin_test_data): New variable.
34957         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34958         (fmod_test_data): New variable.
34959         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34960         (hypot_test_data): New variable.
34961         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34962         (nextafter_test_data): New variable.
34963         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34964         (nexttoward_test_data): New variable.
34965         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34966         (pow_test_data): New variable.
34967         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34968         (pow_tonearest_test_data): New variable.
34969         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34970         (pow_towardzero_test_data): New variable.
34971         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34972         (pow_downward_test_data): New variable.
34973         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34974         (pow_upward_test_data): New variable.
34975         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34976         (remainder_test_data): New variable.
34977         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34978         (scalb_test_data): New variable.
34979         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34980         * sysdeps/i386/fpu/libm-test-ulps: Update.
34982 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34984         * math/libm-test.inc (fma_test): Use max_value instead of local
34985         variable fltmax.
34986         (nextafter_test): Likewise.
34988         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34989         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34990         (acos_downward_test_data): New variable.
34991         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34992         (acos_upward_test_data): New variable.
34993         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34994         (acosh_test_data): New variable.
34995         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34996         (asin_test_data): New variable.
34997         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34998         (asin_tonearest_test_data): New variable.
34999         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35000         (asin_towardzero_test_data): New variable.
35001         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35002         (asin_downward_test_data): New variable.
35003         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35004         (asin_upward_test_data): New variable.
35005         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35006         (asinh_test_data): New variable.
35007         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35008         (atan_test_data): New variable.
35009         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35010         (atanh_test_data): New variable.
35011         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35012         (cbrt_test_data): New variable.
35013         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35014         (ceil_test_data): New variable.
35015         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35016         (cos_test_data): New variable.
35017         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35018         (cos_tonearest_test_data): New variable.
35019         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35020         (cos_towardzero_test_data): New variable.
35021         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35022         (cos_downward_test_data): New variable.
35023         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35024         (cos_upward_test_data): New variable.
35025         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35026         (cosh_test_data): New variable.
35027         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35028         (cosh_tonearest_test_data): New variable.
35029         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35030         (cosh_towardzero_test_data): New variable.
35031         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35032         (cosh_downward_test_data): New variable.
35033         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35034         (cosh_upward_test_data): New variable.
35035         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35036         (erf_test_data): New variable.
35037         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35038         (erfc_test_data): New variable.
35039         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35040         (exp_test_data): New variable.
35041         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35042         (exp_tonearest_test_data): New variable.
35043         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35044         (exp_towardzero_test_data): New variable.
35045         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35046         (exp_downward_test_data): New variable.
35047         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35048         (exp_upward_test_data): New variable.
35049         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35050         (exp10_test_data): New variable.
35051         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35052         (exp2_test_data): New variable.
35053         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35054         (expm1_test_data): New variable.
35055         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35056         (fabs_test_data): New variable.
35057         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35058         (floor_test_data): New variable.
35059         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35060         (j0_test_data): New variable.
35061         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35062         (j1_test_data): New variable.
35063         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35064         (log_test_data): New variable.
35065         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35066         (log10_test_data): New variable.
35067         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35068         (log1p_test_data): New variable.
35069         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35070         (log2_test_data): New variable.
35071         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35072         (logb_test_data): New variable.
35073         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35074         (logb_downward_test_data): New variable.
35075         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35076         (nearbyint_test_data): New variable.
35077         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35078         (rint_test_data): New variable.
35079         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35080         (rint_tonearest_test_data): New variable.
35081         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35082         (rint_towardzero_test_data): New variable.
35083         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35084         (rint_downward_test_data): New variable.
35085         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35086         (rint_upward_test_data): New variable.
35087         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35088         (round_test_data): New variable.
35089         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35090         (sin_test_data): New variable.
35091         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35092         (sin_tonearest_test_data): New variable.
35093         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35094         (sin_towardzero_test_data): New variable.
35095         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35096         (sin_downward_test_data): New variable.
35097         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35098         (sin_upward_test_data): New variable.
35099         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35100         (sinh_test_data): New variable.
35101         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35102         (sinh_tonearest_test_data): New variable.
35103         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35104         (sinh_towardzero_test_data): New variable.
35105         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35106         (sinh_downward_test_data): New variable.
35107         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35108         (sinh_upward_test_data): New variable.
35109         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35110         (sqrt_test_data): New variable.
35111         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35112         (tan_test_data): New variable.
35113         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35114         (tan_tonearest_test_data): New variable.
35115         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35116         (tan_towardzero_test_data): New variable.
35117         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35118         (tan_downward_test_data): New variable.
35119         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35120         (tan_upward_test_data): New variable.
35121         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35122         (tanh_test_data): New variable.
35123         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35124         (tgamma_test_data): New variable.
35125         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35126         (trunc_test_data): New variable.
35127         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35128         (y0_test_data): New variable.
35129         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35130         (y1_test_data): New variable.
35131         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35132         (significand_test_data): New variable.
35133         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35135 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35137         [BZ #12387]
35138         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35140 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35142         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35144 2013-05-10  Andreas Jaeger  <aj@suse.de>
35146         [BZ #15448]
35147         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35148         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35150 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35152         * math/gen-libm-test.pl (adjust_arg): New function.
35153         (special_functions): Handle generating output in both functions
35154         and arrays.
35155         (parse_args): Likewise.
35156         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35157         $in_func argument to parse_args.
35158         * math/libm-test.inc (struct test_f_f_data): New type.
35159         (IF_ROUND_INIT_): New macro.
35160         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35161         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35162         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35163         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35164         (ROUND_RESTORE_): Likewise.
35165         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35166         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35167         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35168         (ROUND_RESTORE_FE_UPWARD): Likewise.
35169         (RUN_TEST_LOOP_f_f): New macro.
35170         (acos_test_data): New variable.
35171         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35172         (acos_tonearest_test_data): New variable.
35173         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35175 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35177         * benchtests/bench-skeleton.c (startup): Fix coding style.
35179 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35181         [BZ #6809]
35182         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35183         negative infinity argument.
35184         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35185         negative infinity argument.
35186         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35187         negative infinity argument.
35188         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35189         domain errors.
35191 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35193         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35194         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35195         * iconv/iconv_prog.c (main): Likewise.
35196         * locale/programs/charmap-dir.c (charmap_readdir)
35197         (fopen_uncompressed): Likewise.
35198         * locale/programs/locfile.c (siblings_uncached)
35199         (write_locale_data): Use lstat64 instead of lstat.
35200         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35201         stat.
35203 2013-05-10  Andreas Jaeger  <aj@suse.de>
35205         [BZ #15395]
35206         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35207         localization.
35208         Include <locale.h>.
35210 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35212         * elf/dl-close.c (_dl_close_worker): Add comments.
35214 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35216         [BZ #15359]
35217         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35218         high part of pi/2.
35219         (__ieee754_rem_pio2l): Update comments.
35221         [BZ #15429]
35222         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35223         high part of pi/2.
35224         (__ieee754_rem_pio2l): Update comments.
35226         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35227         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35229         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35230         M_PI_4l.
35232         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35233         (M_PI_34_LOG10El): Likewise.
35234         (M_PI2_LOG10El): Likewise.
35235         (M_PI4_LOG10El): Likewise.
35236         (M_PI_LOG10El): Likewise.
35238 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35242 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35244         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35245         (MINUS_ZERO_INIT): Likewise.
35246         (PLUS_INFTY_INIT): Likewise.
35247         (MINUS_INFTY_INIT): Likewise.
35248         (QNAN_VALUE_INIT): Likewise.
35249         (MAX_VALUE_INIT): Likewise.
35250         (MIN_VALUE_INIT): Likewise.
35251         (MIN_SUBNORM_VALUE_INIT): Likewise.
35252         (plus_zero): Initialize with PLUS_ZERO_INIT.
35253         (minus_zero): Initialize with MINUS_ZERO_INIT.
35254         (plus_infty): Initialize with PLUS_INFTY_INIT.
35255         (minus_infty): Initialize with MINUS_INFTY_INIT.
35256         (qnan_value): Initialize with QNAN_VALUE_INIT.
35257         (max_value): Initialize with MAX_VALUE_INIT.
35258         (min_value): Initialize with MIN_VALUE_INIT.
35259         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35261         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35262         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35263         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35264         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35266         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35267         (RUN_TEST_2_f): Likewise.
35268         (RUN_TEST_ff_f): Likewise.
35269         (RUN_TEST_fi_f): Likewise.
35270         (RUN_TEST_fl_f): Likewise.
35271         (RUN_TEST_fff_f): Likewise.
35272         (RUN_TEST_c_f): Likewise.
35273         (RUN_TEST_f_f1): Likewise.
35274         (RUN_TEST_fF_f1): Likewise.
35275         (RUN_TEST_fI_f1): Likewise.
35276         (RUN_TEST_ffI_f1): Likewise.
35277         (RUN_TEST_c_c): Likewise.
35278         (RUN_TEST_cc_c): Likewise.
35279         (RUN_TEST_f_i): Likewise.
35280         (RUN_TEST_f_i_tg): Likewise.
35281         (RUN_TEST_ff_i_tg): Likewise.
35282         (RUN_TEST_f_b): Likewise.
35283         (RUN_TEST_f_b_tg): Likewise.
35284         (RUN_TEST_f_l): Likewise.
35285         (RUN_TEST_f_L): Likewise.
35286         (RUN_TEST_sincos): Likewise.
35287         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35288         whether to show exceptions.  Do not include ");\n" in return
35289         value.
35290         (special_functions): Output call to RUN_TEST_sincos instead of
35291         check_float calls.  Update calls to new_test.
35292         (parse_args): Output call to single RUN_TEST_* macro instead of
35293         check_* calls and other assignments.  Update calls to new_test.
35295         [BZ #2546]
35296         [BZ #2560]
35297         [BZ #5159]
35298         [BZ #15426]
35299         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35300         input to result for tgamma overflow.
35301         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35302         (gamma_coeff): New variable.
35303         (NCOEFF): New macro.
35304         (gamma_positive): New function.
35305         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35306         underflow here.  Use gamma_positive instead of exp (lgamma) for
35307         other arguments.
35308         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35309         (gamma_coeff): New variable.
35310         (NCOEFF): New macro.
35311         (gammaf_positive): New function.
35312         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35313         underflow here.  Use gamma_positive instead of exp (lgamma) for
35314         other arguments.
35315         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35316         (gamma_coeff): New variable.
35317         (NCOEFF): New macro.
35318         (gammal_positive): New function.
35319         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35320         underflow here.  Use gamma_positive instead of exp (lgamma) for
35321         other arguments.
35322         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35323         (gamma_coeff): New variable.
35324         (NCOEFF): New macro.
35325         (gammal_positive): New function.
35326         (__ieee754_gammal_r): Handle positive infinity, overflow and
35327         underflow here.  Handle NaN the same as positive infinity.  Remove
35328         check x < 0xffffffff for negative integers.  Use gamma_positive
35329         instead of exp (lgamma) for other arguments.
35330         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35331         (gamma_coeff): New variable.
35332         (NCOEFF): New macro.
35333         (gammal_positive): New function.
35334         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35335         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35336         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35337         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35338         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35339         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35340         * sysdeps/generic/math_private.h (__gamma_productf): New
35341         prototype.
35342         (__gamma_product): Likewise.
35343         (__gamma_productl): Likewise.
35344         * math/Makefile (libm-calls): Add gamma_product.
35345         * math/libm-test.inc (tgamma_test): Add more tests.
35346         * sysdeps/i386/fpu/libm-test-ulps: Update.
35347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35349 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35351         * benchtests/bench-skeleton.c (main): Preheat CPU.
35353 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35355         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35357 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35359         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35360         and _dl_skip_args_internal.
35362 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35364         * manual/message.texi (Message Translation): Talk about users.
35365         Message to key mapping impacts design.
35367 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35369         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35371         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35373         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35374         * sysdeps/wordsize-64/glob64.c: ... here.
35376         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35377         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35378         New macros.
35380         * debug/getlogin_r_chk.c: Moved to ...
35381         * login/getlogin_r_chk.c: ... here.
35382         * debug/Makefile (routines): Move getlogin_r_chk to ...
35383         * login/Makefile (routines): ... here.
35384         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35385         * login/Versions (libc: GLIBC_2.4): ... here.
35387         * io/poll.c (__poll): Renamed from poll.
35388         Add libc_hidden_def.
35389         (poll): Define as weak alias.
35391         * debug/ptsname_r_chk.c: Moved to ...
35392         * login/ptsname_r_chk.c: ... here.
35393         * debug/Makefile (routines): Move ptsname_r_chk to ...
35394         * login/Makefile (routines): ... here.
35395         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35396         * login/Versions (libc: GLIBC_2.4): ... here.
35398         * posix/getlogin.c: Moved to ...
35399         * login/getlogin.c: ... here.
35400         * posix/getlogin_r.c: Moved to ...
35401         * login/getlogin_r.c: ... here.
35402         * posix/getlogin_r.c: Moved to ...
35403         * login/getlogin_r.c: ... here.
35404         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35405         * login/Makefile (routines): ... here.
35406         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35407         * login/Versions (libc: GLIBC_2.0): ... here.
35409         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35410         (setrlimit): Define as weak alias.
35412         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35413         Call __ names for open, ftruncate, and close.
35414         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35415         (truncate): Define as weak alias.
35417 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35419         * math/gen-libm-test.pl (parse_args): Initialize x before each
35420         test of frexp, modf and remquo.
35422         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35423         test signgam value.
35425 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35427         [BZ #15418]
35428         [BZ #15419]
35429         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35430         internal tests.
35431         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35433 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35435         * elf/dl-writev.h: New file.
35436         * elf/dl-misc.c: Include it.
35437         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35438         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35440 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35442         * math/libm-test.inc (noXFails): Remove variable.
35443         (noXPasses): Likewise.
35444         (BUILD_COMPLEX_INT): Remove macro.
35445         (print_screen): Remove xfail argument.
35446         (print_screen_max_error): Likewise.
35447         (update_stats): Likewise.
35448         (print_max_error): Likewise.  Update calls to other affected
35449         functions.
35450         (print_complex_max_error): Likewise.
35451         (test_single_exception): Update calls to print_screen.
35452         (test_single_errno): Likewise.
35453         (check_float_internal): Remove xfail argument.  Update calls to
35454         other affected functions.
35455         (check_float): Likewise.
35456         (check_complex): Likewise.
35457         (check_int): Likewise.
35458         (check_long): Likewise.
35459         (check_bool): Likewise.
35460         (check_longlong): Likewise.
35461         (main): Don't print noXFails and noXPasses.
35462         * math/gen-libm-test.pl (top level): Don't mention expected
35463         failure handling in comment.
35464         (new_test): Don't handle expected failures.
35465         (parse_args): Don't mention expected failure handling in comment.
35466         (generate_testfile): Don't handle expected failures.
35467         (parse_ulps): Likewise.
35468         (print_ulps_file): Likewise.
35469         (get_failure): Remove function.
35470         (output_test): Don't handle expected failures.
35471         * make/README.libm-test: Don't mention expected failure handling.
35473         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35474         (minus_zero): Likewise.
35475         (plus_infty): Likewise.
35476         (minus_infty): Likewise.
35477         (qnan_value): Likewise.
35478         (max_value): Likewise.
35479         (min_value): Likewise.
35480         (min_subnorm_value): Likewise.
35481         (initialize): Do not initialize those variables dynamically.
35483 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35485         * io/open.c (__open_2): Moved to ...
35486         * io/open_2.c: ... this new file.
35487         * io/open64.c (__open64_2): Moved to ...
35488         * io/open64_2.c: ... this new file.
35489         * io/openat.c (__openat_2): Moved to ...
35490         * io/openat_2.c: ... this new file.
35491         * io/openat64.c (__openat64_2): Moved to ...
35492         * io/openat64_2.c: ... this new file.
35493         * io/Makefile (routines): Add them.
35494         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35495         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35496         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35497         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35498         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35499         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35500         (__openat64): Add hidden_ver.
35501         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35502         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35504         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35505         Separately conditionalize setting of GLRO(dl_sysinfo) so
35506         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35507         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35509 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35511         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35512         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35513         definition.
35514         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35515         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35516         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35517         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35518         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35520 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35522         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35523         test signgam value.
35525         * math/libm-test.inc (hypot_test): Do not use
35526         IGNORE_ZERO_INF_SIGN.
35528 2013-05-03  Andreas Jaeger  <aj@suse.de>
35530         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35531         Linux 3.9.
35532         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35533         (PF_MAX): Adjust for VSOCK change.
35535 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35539 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35541         [BZ #15264]
35542         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35543         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35544         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35546 2013-05-02  David S. Miller  <davem@davemloft.net>
35548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35550 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35552         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35554 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35556         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35558 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35560         [BZ #14952]
35561         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35562         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35563         Use __attribute__ ((__gnu_inline__)).
35564         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35565         Don't use __attribute__ ((__gnu_inline__)).
35567 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35569         [BZ #15423]
35570         * math/s_catan.c (__catan): Handle small real or imaginary part of
35571         input specially to avoid spurious underflow.
35572         * math/s_catanf.c (__catanf): Likewise.
35573         * math/s_catanh.c (__catanh): Likewise.
35574         * math/s_catanhf.c (__catanhf): Likewise.
35575         * math/s_catanhl.c (__catanhl): Likewise.
35576         * math/s_catanl.c (__catanl): Likewise.
35577         * math/libm-test.inc (catan_test): Add more tests.
35578         (catanh_test): Likewise.
35579         * sysdeps/i386/fpu/libm-test-ulps: Update.
35580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35582 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35586 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35588         [BZ #15416]
35589         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35590         accurately for denominator in atan2.
35591         * math/s_catanf.c (__catanf): Likewise.
35592         * math/s_catanh.c (__catanh): Likewise.
35593         * math/s_catanhf.c (__catanhf): Likewise.
35594         * math/s_catanhl.c (__catanhl): Likewise.
35595         * math/s_catanl.c (__catanl): Likewise.
35596         * math/libm-test.inc (catan_test): Add more tests.
35597         (catanh_test): Likewise.
35598         * sysdeps/i386/fpu/libm-test-ulps: Update.
35599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35601 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35603         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35605         * benchtests/Makefile (bench): Remove slow benchmarks.
35606         * benchtests/atan-inputs: Add slow benchmark inputs.
35607         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35608         (BENCH_FUNC): Accept variant offset.
35609         (VARIANT): Define.
35610         * benchtests/bench-skeleton.c (main): Run benchmark for each
35611         variant.
35612         * benchtests/cos-inputs: Add slow benchmark inputs.
35613         * benchtests/exp-inputs: Likewise.
35614         * benchtests/pow-inputs: Likewise.
35615         * benchtests/sin-inputs: Likewise.
35616         * benchtests/slowatan-inputs: Remove.
35617         * benchtests/slowatan.c: Remove.
35618         * benchtests/slowcos-inputs: Remove.
35619         * benchtests/slowcos.c: Remove.
35620         * benchtests/slowexp-inputs: Remove.
35621         * benchtests/slowexp.c: Remove.
35622         * benchtests/slowpow-inputs: Remove.
35623         * benchtests/slowpow.c: Remove.
35624         * benchtests/slowsin-inputs: Remove.
35625         * benchtests/slowsin.c: Remove.
35626         * benchtests/slowtan-inputs: Remove.
35627         * benchtests/slowtan.c: Remove.
35628         * benchtests/tan-inputs: Add slow benchmark inputs.
35629         * scripts/bench.pl: Parse comments and directives.
35631         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35632         in CPPFLAGS.
35633         ($(objpfx)bench-%.c): Remove *-ITER.
35634         * benchtests/bench-modf.c: Remove definition of ITER.
35635         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35636         (main): Loop for DURATION seconds instead of fixed number of
35637         iterations.
35638         * scripts/bench.pl: Don't expect iterations in parameters.
35640 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35642         * io/fchdir.c (__fchdir): Renamed from fchdir.
35643         (fchdir): Define as weak alias.
35645 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35647         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35648         (ERRNO_EDOM): Likewise.
35649         (ERRNO_ERANGE): Likewise.
35650         (noErrnoTests): New variable.
35651         (init_max_error): Set errno to 0.
35652         (test_single_errno): New function.
35653         (test_errno): Likewise.
35654         (check_float_internal): Call test_errno.  Set errno to 0.
35655         (check_complex): Refer to errno tests in comment.
35656         (check_int): Call test_errno.  Set errno to 0.
35657         (check_long): Likewise.
35658         (check_bool): Likewise.
35659         (check_longlong): Likewise.
35660         (cos_test): Use ERRNO_* flags for errno tests instead of
35661         check_int.
35662         (expm1_test): Likewise.
35663         (fmod_test): Likewise.
35664         (ilogb_test): Likewise.
35665         (lgamma_test): Likewise.
35666         (pow_test): Likewise.
35667         (remainder_test): Likewise.
35668         (sin_test): Likewise.
35669         (tan_test): Likewise.
35670         (yn_test): Likewise.
35671         (initialize): Set errno to 0.
35672         (main): Print number of errno tests.
35673         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35675 2013-04-29  Andreas Jaeger  <aj@suse.de>
35677         [BZ #15084]
35678         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35679         and RES_USEVC.
35681         [BZ #15085]
35682         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35683         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35684         unimplemented.
35686         [BZ #15380]
35687         * stdlib/random.c (__initstate): Return NULL if
35688         __initstate fails.
35690         [BZ #15086]
35691         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35692         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35693         RES_SNGLKUPREOP.
35695 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35699 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35701         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35702         of individual tests.
35703         (casin_test): Likewise.
35704         (casinh_test): Likewise.
35706 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35708         [BZ #15409]
35709         * math/s_catan.c (__catan): Handle arguments with large real or
35710         imaginary part separately without squaring.
35711         * math/s_catanf.c (__catanf): Likewise.
35712         * math/s_catanh.c (__catanh): Likewise.
35713         * math/s_catanhf.c (__catanhf): Likewise.
35714         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35715         and redefine.
35716         (__catanhl): Handle arguments with large real or imaginary part
35717         separately without squaring.
35718         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35719         and redefine.
35720         (__catanl): Handle arguments with large real or imaginary part
35721         separately without squaring.
35722         * math/libm-test.inc (catan_test): Add more tests.
35723         (catanh_test): Likewise.
35724         * sysdeps/i386/fpu/libm-test-ulps: Update.
35725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35727 2013-04-27  Andreas Jaeger  <aj@suse.de>
35729         [BZ #15007]
35730         * stdlib/stdlib.h: Update guards for qecvt.
35731         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35732         <stdlib.h>.
35734 2013-04-27  Allan McRae  <allan@archlinux.org>
35736         * sysdeps/i386/fpu/libm-test-ulps: Update.
35738 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35740         [BZ #15406]
35741         * math/s_catan.c: Include <float.h>.
35742         (__catan): Ensure underflow exception occurs for underflowed
35743         result.
35744         * math/s_catanf.c: Include <float.h>.
35745         (__catanf): Ensure underflow exception occurs for underflowed
35746         result.
35747         * math/s_catanh.c: Include <float.h>.
35748         (__catanh): Ensure underflow exception occurs for underflowed
35749         result.
35750         * math/s_catanhf.c: Include <float.h>.
35751         (__catanhf): Ensure underflow exception occurs for underflowed
35752         result.
35753         * math/s_catanhl.c: Include <float.h>.
35754         (__catanhl): Ensure underflow exception occurs for underflowed
35755         result.
35756         * math/s_catanl.c: Include <float.h>.
35757         (__catanl): Ensure underflow exception occurs for underflowed
35758         result.
35759         * math/libm-test.inc (catan_test): Add more tests.
35760         (catanh_test): Likewise.
35762         [BZ #15405]
35763         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35764         underflowed result.
35765         * math/s_ccoshf.c (__ccoshf): Likewise.
35766         * math/s_ccoshl.c (__ccoshl): Likewise.
35767         * math/s_csin.c (__csin): Likewise.
35768         * math/s_csinf.c (__csinf): Likewise.
35769         * math/s_csinh.c (__csinh): Likewise.
35770         * math/s_csinhf.c (__csinhf): Likewise.
35771         * math/s_csinhl.c (__csinhl): Likewise.
35772         * math/s_csinl.c (__csinl): Likewise.
35773         * math/libm-test.inc (ccos_test): Add more tests.
35774         (ccosh_test): Likewise.
35775         (csin_test): Likewise.
35776         (csinh_test): Likewise.
35778 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35780         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35781         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35782         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35783         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35784         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35785         powerpc/power5+/fpu folders.
35786         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35789 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35791         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35793 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35795         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35796         additions to variable.
35797         [$(config-machine) = x86_64] (modules-names): Likewise.
35798         ($(objpfx)tst-audit3): Remove dependency.
35799         ($(objpfx)tst-audit3.out): Likewise.
35800         ($(objpfx)tst-audit4): Likewise.
35801         ($(objpfx)tst-audit4.out): Likewise.
35802         ($(objpfx)tst-audit5): Likewise.
35803         ($(objpfx)tst-audit5.out): Likewise.
35804         ($(objpfx)tst-audit6): Likewise.
35805         ($(objpfx)tst-audit6.out): Likewise.
35806         ($(objpfx)tst-audit7): Likewise.
35807         ($(objpfx)tst-audit7.out): Likewise.
35808         (tst-audit3-ENV): Remove variable.
35809         (tst-audit4-ENV): Likewise.
35810         (tst-audit5-ENV): Likewise.
35811         (tst-audit6-ENV): Likewise.
35812         (tst-audit7-ENV): Likewise.
35813         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35814         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35815         addition to variable.
35816         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35817         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35818         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35819         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35820         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35821         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35822         tst-audit3, tst-audit4 and tst-audit5.
35823         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35824         tst-audit6 and tst-audit7.
35825         [$(subdir) = elf] (modules-names): Add audit modules for those
35826         tests.
35827         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35828         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35829         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35830         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35831         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35832         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35833         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35834         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35835         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35836         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35837         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35838         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35839         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35840         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35841         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35842         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35843         Likewise.
35844         [$(subdir) = elf && $(config-cflags-avx) = yes]
35845         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35846         [$(subdir) = elf && $(config-cflags-avx) = yes]
35847         (CFLAGS-tst-auditmod4a.c): Likewise.
35848         [$(subdir) = elf && $(config-cflags-avx) = yes]
35849         (CFLAGS-tst-auditmod4b.c): Likewise.
35850         [$(subdir) = elf && $(config-cflags-avx) = yes]
35851         (CFLAGS-tst-auditmod6b.c): Likewise.
35852         [$(subdir) = elf && $(config-cflags-avx) = yes]
35853         (CFLAGS-tst-auditmod6c.c): Likewise.
35854         [$(subdir) = elf && $(config-cflags-avx) = yes]
35855         (CFLAGS-tst-auditmod7b.c): Likewise.
35856         * elf/tst-audit3.c: Move to ...
35857         * sysdeps/x86_64/tst-audit3.c: ... here.
35858         * elf/tst-audit4.c: Move to ...
35859         * sysdeps/x86_64/tst-audit4.c: ... here.
35860         * elf/tst-audit5.c: Move to ...
35861         * sysdeps/x86_64/tst-audit5.c: ... here.
35862         * elf/tst-audit6.c: Move to ...
35863         * sysdeps/x86_64/tst-audit6.c: ... here.
35864         * elf/tst-audit7.c: Move to ...
35865         * sysdeps/x86_64/tst-audit7.c: ... here.
35866         * elf/tst-auditmod3a.c: Move to ...
35867         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35868         * elf/tst-auditmod3b.c: Move to ...
35869         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35870         * elf/tst-auditmod4a.c: Move to ...
35871         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35872         * elf/tst-auditmod4b.c: Move to ...
35873         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35874         * elf/tst-auditmod5a.c: Move to ...
35875         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35876         * elf/tst-auditmod5b.c: Move to ...
35877         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35878         * elf/tst-auditmod6a.c: Move to ...
35879         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35880         * elf/tst-auditmod6b.c: Move to ...
35881         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35882         * elf/tst-auditmod6c.c: Move to ...
35883         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35884         * elf/tst-auditmod7a.c: Move to ...
35885         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35886         * elf/tst-auditmod7b.c: Move to ...
35887         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35889 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35891         [BZ #15366]
35892         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35893         define unconditionally.
35894         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35895         define unconditionally.
35896         (INT8_C, INT16_C, etc.): Likewise.
35898 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35900         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35901         __ehdr_start with hidden visibility.
35903         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35905 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35907         * math/libm-test.inc (cos_test): Use accurate hex constants.
35908         (sincost_test): Likewise.
35910 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35912         * math/libm-test.inc (catan_test): Add more tests.
35913         (catanh_test): Likewise.
35915         * math/s_catanf.c (__catanf): Use suffixed floating-point
35916         constants.
35917         * math/s_catanhf.c (__catanhf): Likewise.
35918         * math/s_catanhl.c (__catanhl): Likewise.
35919         * math/s_catanl.c (__catanl): Likewise.
35921         [BZ #15394]
35922         * math/s_catan.c (__catan): Calculate imaginary part of result
35923         with log1p not log unless computing log of number close to 0.
35924         * math/s_catanf.c (__catanf): Likewise.
35925         * math/s_catanl.c (__catanl): Likewise.
35926         * math/s_catanh.c (__catanh): Calculate real part of result with
35927         log1p not log unless computing log of number close to 0.
35928         * math/s_catanhf.c (__catanhf): Likewise.
35929         * math/s_catanhl.c (__catanhl): Likewise.
35930         * math/libm-test.inc (catan_test): Add more tests.
35931         (catanh_test): Likewise.
35932         * sysdeps/i386/fpu/libm-test-ulps: Update.
35933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35935 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35937         * benchtests/Makefile: Mention files in which fast and slow
35938         paths of math functions are implemented.
35940 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35942         * sysdeps/posix/timespec_get.c: New file.
35944 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35946         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35947         POWER.
35948         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35949         for POWER.
35950         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35951         powerpc/power5/fpu folders.
35952         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35953         * benchtests/Makefile: Add modf testcase.
35954         * benchtests/bench-modf.c: New file: Benchmark test for mo
35956 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35958         [BZ #14888]
35959         * time/Makefile (tests): Add tst-strptime-whitespace.
35960         * time/strptime_l.c (get_number): Use ISSPACE.
35961         (__strptime_internal): Likewise.
35962         * time/tst-strptime-whitespace.c: New test case.
35964 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35966         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35967         member.
35968         (_nss_files_init): Set it here.
35970 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35972         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35973         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35974         unsigned.
35976 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35978         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35980 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35982         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35983         size just once.
35985 2013-04-21  David S. Miller  <davem@davemloft.net>
35987         * po/ru.po: Update Russion translation from translation project.
35989 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35991         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35992         and setfsgid.
35994 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35996         * configure.in: Remove i386 configure warning. Remove i386 case.
35997         * configure: Regenerate.
35998         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35999         Add example to error message.
36000         * sysdeps/i386/configure: Regenerate.
36002 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36004         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36005         slowtan.
36006         * benchtests/cos-inputs: New file.
36007         * benchtests/slowcos-inputs: New file.
36008         * benchtests/slowcos.c: New file.
36009         * benchtests/slowtan-inputs: New file.
36010         * benchtests/slowtan.c: New file.
36011         * benchtests/tan-inputs: New file.
36013 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36015         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36016         considered kosher.
36018 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36020         * benchtests/Makefile: Include cppflags-iterator.mk to add
36021         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36023         * Makefile.in (bench-clean): New target.
36024         * benchtests/Makefile (bench-clean): Likewise.
36026 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36028         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36030 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36032         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36034 2013-04-15  Andreas Schwab  <schwab@suse.de>
36036         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36037         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36038         * nscd/pwdcache.c (cache_addpw): Likewise.
36039         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36040         more than recsize.
36042 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36044         * benchtests/Makefile (bench): Write all output to
36045         bench-out.tmp together.
36047 2013-04-15  Andreas Schwab  <schwab@suse.de>
36049         * nscd/nscd.c (main): Don't fork again after closing files.
36051 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36053         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36055         * benchtests/Rules (bench-deps): Collect dependencies into a
36056         single variable.  Add Makefile to dependencies.
36057         ($(objpfx)bench-%.c): Depend on bench-deps.
36059 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36060             Xavier Roche  <roche+kml2@exalead.com>
36062         [BZ #15361]
36063         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36064         just that it's a file descriptor.
36065         * manual/llio.texi (Synchronizing AIO Operations): Update description
36066         for EBADF error from aio_fsync.
36068 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36070         * Rules (bench): Move target definition...
36071         * benchtests/Makefile: ... here.
36073 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36075         * math/libm-test.inc (cos_test): Fix PI/2 test.
36076         (sincos_test): Likewise.
36077         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36078         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36080 2013-04-11  Andreas Schwab  <schwab@suse.de>
36082         [BZ #13988]
36083         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36084         accept exponent character only when digits were seen.
36085         * stdio-common/Makefile (tests): Add bug26.
36086         * stdio-common/bug26.c: New file.
36088         [BZ #14293]
36089         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36090         non-freeable.
36092 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36094         * Makeconfig (rtld-prefix): Define built linker prefix.
36095         * Rules (run-bench): Use it.
36096         * math/Makefile (run-regen-ulps): Likewise.
36098         * Rules (bench): Remove eval.
36100 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36101             Roland McGrath  <roland@hack.frob.com>
36102             Ondrej Bilka  <neleai@seznam.cz>
36104         [BZ #15346]
36105         * time/getdate.c: Include ctype.h and alloca.h.
36106         (__getdate_r): Trim leading and trailing spaces of input.
36107         * time/tst-getdate.c (tests): Add tests with leading and
36108         trailing spaces.
36110 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36112         [BZ #14280]
36113         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36114         when computing value.
36116 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36118         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36119         Use testrun.sh to run libm tests.
36121         [BZ #15309]
36122         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36124 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36126         [BZ #15264]
36127         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36129 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36131         * Makefile.in (regen-ulps): New target.
36132         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36133         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36134         [ifneq (no,$(PERL)] (regen-ulps): New target.
36135         [ifeq (no,$(PERL)] (regen-ulps): New target.
36136         * math/libm-test.inc (ulps_file_name): Define.
36137         (output_dir): New variable.
36138         (options): Add "output-dir" option.
36139         (parse_opt): Handle 'o' case.
36140         (main): If output_dir is non-NULL use it as a prefix
36141         otherwise use "".
36142         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36144 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36146         [BZ #10060, #10062]
36147         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36148         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36149         fail configure if __sync_val_compare_and_swap is not inlined.
36150         * sysdeps/i386/configure: Regenerate.
36151         * configure.in: Build for i686 when configured for i386.
36152         * configure: Regenerate.
36153         * README: Remove i386 reference.
36155 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36157         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36158         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36160 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36162         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36163         (lmsnanval): New variables.
36164         (F): Add conversion tests.
36165         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36166         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36168         * stdio-common/tstdiomisc.c (F): Properly collect individual
36169         tests' results.
36171         [BZ #14686, #15336]
36172         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36173         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36174         Instead, use input NaN values or generate a qNaN by arithmetic
36175         operation.  Also fix bugs to comply with the standard.
36176         * math/libm-test.inc (remainder_test): Add more tests.
36178         [BZ #15335, #15342]
36179         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36180         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36181         input NaN values or generate a qNaN by arithmetic operation.
36183         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36184         unreachable code.
36186         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36187         definitions.
36189 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36191         [BZ #14478]
36192         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36193         underflowed result.
36194         * math/s_cexpf.c (__cexpf): Likewise.
36195         * math/s_cexpl.c (__cexpl): Likewise.
36196         * math/libm-test.inc (cexp_test): Add more tests.
36198 2013-04-03  Andreas Schwab  <schwab@suse.de>
36200         [BZ #15330]
36201         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36202         order arrays from heap if bigger than alloca cutoff.
36204 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36206         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36207         (SNAN_TESTS_double): Refer to GCC PR56831.
36208         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36209         GCC PR56828.
36211 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36213         * Rules (bench): Move bench.out after the run is complete.
36215         * Rules (bench): Echo currently running benchmark.
36217         * benchtests/Makefile (bench): Add atan and slowatan.
36218         * benchtests/atan-inputs: New file.
36219         * benchtests/slowatan-inputs: New file.
36220         * benchtests/slowatan.c: New file.
36222         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36223         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36224         its value.
36226         [BZ #15305]
36227         * sysdeps/unix/sysv/linux/kernel-features.h
36228         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36229         __ASSUME_XFS_RESTRICTED_CHOWN.
36230         * sysdeps/unix/sysv/linux/pathconf.c
36231         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36232         Save and restore errno.
36234 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36236         [BZ #15327]
36237         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36238         arguments using __kernel_casinh.
36239         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36240         arguments using __kernel_casinhf.
36241         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36242         arguments using __kernel_casinhl.
36243         * math/libm-test.inc (cacosh_test): Add more tests.
36244         * sysdeps/i386/fpu/libm-test-ulps: Update.
36245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36247 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36249         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36250         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36252         * bench/Makefile (bench): Add sin and slowsin.
36253         * benchtests/sin-inputs: New file.
36254         * benchtests/slowsin-inputs: New file.
36255         * benchtests/slowsin.c: New file.
36257         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36258         (bench): Add slowexp and slowpow.
36259         (exp-ITER): Increase iterations.
36260         (pow-ITER): Likewise.
36261         * benchtests/exp-inputs: Change input.
36262         * benchtests/pow-inputs: Likewise.
36263         * benchtests/slowexp-inputs: New file.
36264         * benchtests/slowexp.c: New file.
36265         * benchtests/slowpow-inputs: New file.
36266         * benchtests/slowpow.c: New file.
36268 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36270         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36271         instructions.
36272         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36273         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36274         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36275         * benchtests/Makefile: Add rint benchtest.
36276         * benchtests/rint-inputs: Input for rint benchtest.
36278 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36280         * Versions.def (libm): Add GLIBC_2.18.
36281         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36282         hidden libm prototypes.
36283         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36284         * math/Makefile (libm-calls): Add s_issignaling.
36285         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36286         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36287         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36288         declaration.
36289         * math/math.h [__USE_GNU] (issignaling): New macro.
36290         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36291         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36292         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36293         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36294         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36295         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36296         * manual/arith.texi (issignaling): New section.
36297         * manual/libm-err-tab.pl (@all_functions): Update comment.
36298         * math/gen-libm-test.pl (parse_args): Apply special handling for
36299         issignaling.
36300         * math/libm-test.inc (print_float, issignaling_test): New
36301         functions.
36302         (check_float_internal): Add issignaling checks.
36303         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36304         default definition.
36305         * sysdeps/powerpc/math-tests.h: New file.
36306         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36307         tests.
36308         * math/test-snan.c (TEST_FUNC): Likewise.
36310 2013-03-30  David S. Miller  <davem@davemloft.net>
36312         * po/de.po: Update from translation team.
36314 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36316         [BZ #10357]
36317         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36318         imaginary part less than 1.0 and real part less than 0.5
36319         specially.
36320         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36321         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36322         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36323         (cacos_test): Add more tests.
36324         (casin_test): Likewise.
36325         (casinh_test): Likewise.
36326         * sysdeps/i386/fpu/libm-test-ulps: Update.
36327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36329 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36331         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36332         ONE with its value.
36334         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36335         (__pow_mp): Replace ONE and MONE with their values.
36336         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36337         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36338         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36339         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36340         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36341         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36343         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36345         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36346         (__pow_mp): Replace ZERO and MZERO with their values.
36347         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36348         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36349         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36350         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36351         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36352         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36353         (__sqr): Likewise.
36355         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36357         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36359 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36361         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36362         Declare with __attribute__ ((weak)).
36363         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36364         Call __call_tls_dtors only if it's not NULL.
36366 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36368         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36369         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36370         magic __ehdr_start linker symbol if it's defined.
36371         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36372         them up here if it was already done.
36374         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36375         (_dl_aux_init): Use const in cast when setting it.
36376         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36377         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36378         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36380         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36381         Declare them here.
36382         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36383         * csu/libc-tls.c: Nor here.
36384         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36386         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36387         (__libc_message): Never call vsyslog.
36389 2013-03-28  Alan Modra  <amodra@gmail.com>
36391         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36392         Define as empty.
36393         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36394         Likewise.
36396 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36398         [BZ #15214]
36399         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36400         underflow.
36401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36403 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36405         [BZ #15304]
36406         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36407         Don't add gid passed as argument.
36409         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36411 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36413         [BZ #15307]
36414         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36415         imaginary part between 1.0 and 1.5 and real part less than 0.5
36416         specially.
36417         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36418         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36419         * math/libm-test.inc (cacos_test): Add more tests.
36420         (casin_test): Likewise.
36421         (casinh_test): Likewise.
36422         * sysdeps/i386/fpu/libm-test-ulps: Update.
36423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36425 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36427         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36428         constants.
36429         (norm): Likewise.
36430         (denorm): Likewise.
36431         (__dbl_mp): Likewise.
36432         (add_magnitudes): Likewise.
36433         (sub_magnitudes): Likewise.
36434         (__add): Likewise.
36435         (__sub): Likewise.
36436         (__mul): Likewise.
36437         (__sqr): Likewise.
36438         (__inv): Likewise.
36439         (__dvd): Likewise.
36441         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36442         commented code.
36443         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36444         (__dubcos): Likewise.
36445         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36446         (__ieee754_acos): Likewise.
36447         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36448         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36449         (__exp1): Likewise.
36450         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36451         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36452         (log1): Likewise.
36453         (my_log2): Likewise.
36454         (checkint): Likewise.
36455         * sysdeps/ieee754/dbl-64/e_remainder.c
36456         (__ieee754_remainder): Likewise.
36457         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36458         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36459         (bsloww): Likewise.
36460         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36462         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36463         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36464         MANTISSA_STORE_T to store computations on mantissa.  Use
36465         macros for rounding and division.
36466         (denorm): Likewise.
36467         (__dbl_mp): Likewise.
36468         (add_magnitudes): Likewise.
36469         (sub_magnitudes): Likewise.
36470         (__mul): Likewise.
36471         (__sqr): Likewise.
36472         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36473         powers of two in terms of TWOPOW macro.
36474         (mp_no): Make type of mantissa as MANTISSA_T.
36475         [!RADIXI]: Define RADIXI.
36476         [!TWO52]: Define TWO52.
36477         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36479 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36481         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36482         llroundl symbol when building for PPC32.
36484 2013-03-24  Mark H Weaver  <mhw@netris.org>
36486         * manual/arith.texi (Normalization Functions): Fix prototypes for
36487         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36489 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36491         [BZ #13889]
36492         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36493         high value to check if expl overflow.
36494         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36495         to check for underflow and overflow.
36496         * math/libm-test.inc: Add exp test.
36498 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36500         [BZ #11120]
36501         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36502         with NOT_IN_libc.
36504 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36506         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36507         symbol.
36509 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36511         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36512         wrap blocks consisting of several statements.
36514         * sysdeps/generic/math-tests.h: New file.
36515         * sysdeps/i386/fpu/math-tests.h: Likewise.
36516         * math/test-snan.c: Include it.
36517         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36519 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36521         [BZ #15285]
36522         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36523         (__ieee754_j0l): Do not improve calculations using cos of twice
36524         input for inputs above LDBL_MAX / 2.0L.
36525         (__ieee754_y0l): Likewise.
36526         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36527         (__ieee754_j1l): Do not improve calculations using cos of twice
36528         input for inputs above LDBL_MAX / 2.0L.
36529         (__ieee754_y1l): Likewise.
36530         * math/libm-test.inc (j0_test): Add another test.
36531         (j1_test): Likewise.
36532         (y0_test): Likewise.
36533         (y1_test): Likewise.
36534         * sysdeps/i386/fpu/libm-test-ulps: Update.
36536 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36538         * Rules ($(objpfx)bench-%.c): Include code from a C source
36539         file.
36541 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36543         [BZ #15287]
36544         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36545         imaginary part 1.0 and real part less than 0.5 specially.
36546         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36547         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36548         * math/libm-test.inc (cacos_test): Add more tests.
36549         (casin_test): Likewise.
36550         (casinh_test): Likewise.
36551         * sysdeps/i386/fpu/libm-test-ulps: Update.
36552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36554 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36556         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36557         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36559 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36561         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36562         * config.make.in (config-cflags-sse4): Remove variable.
36563         (config-cflags-avx): Likewise.
36564         (config-cflags-sse2avx): Likewise.
36565         (config-cflags-novzeroupper): Likewise.
36566         (config-asflags-i686): Likewise.
36567         (have-mfma4): Likewise.
36568         (have-as-vis3): Likewise.
36569         (MIG): Likewise.
36570         * configure.in (MIG): Do not AC_SUBST.
36571         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36572         (libc_cv_cc_sse4): Do not AC_SUBST.
36573         (libc_cv_cc_avx): Likewise.
36574         (libc_cv_cc_sse2avx): Likewise.
36575         (libc_cv_cc_novzeroupper): Likewise.
36576         (libc_cv_cc_fma4): Likewise.
36577         (libc_cv_as_i686): Likewise.
36578         (libc_cv_sparc_as_vis3): Likewise.
36579         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36580         LIBC_CONFIG_VAR.
36581         (config-asflags-i686): Likewise.
36582         (config-cflags-avx): Likewise.
36583         (config-cflags-sse2avx): Likewise.
36584         (have-mfma4): Likewise.
36585         (config-cflags-novzeroupper): Likewise.
36586         * sysdeps/mach/configure.in (MIG): Likewise.
36587         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36588         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36589         LIBC_CONFIG_VAR.
36590         (config-cflags-avx): Likewise.
36591         (config-cflags-sse2avx): Likewise.
36592         (have-mfma4): Likewise.
36593         (config-cflags-novzeroupper): Likewise.
36594         * configure: Regenerated.
36595         * sysdeps/i386/configure: Likewise.
36596         * sysdeps/mach/configure: Likewise.
36597         * sysdeps/sparc/configure: Likewise.
36598         * sysdeps/x86_64/configure: Likewise.
36600 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36602         [BZ #14812]
36603         * locale/programs/localedef.c (options): Put N_ translation marker
36604         on argument names, not just descriptions.
36606 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36608         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36610 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36612         [BZ #14176]
36613         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36615 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36617         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36618         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36619         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36620         [!BEFORE_ABORT] (before_abort): New function.
36621         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36622         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36623         (writev_for_fatal): New function.
36624         (WRITEV_FOR_FATAL): New macro; call that.
36625         (backtrace_and_maps): New function.
36626         (BEFORE_ABORT): New macro; call that.
36627         (struct str_list): Type removed.
36628         (__libc_message, __libc_fatal): Functions removed.
36629         Include <sysdeps/posix/libc_fatal.c> instead.
36631 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36633         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36634         constants.
36635         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36636         double constants.
36638 2013-03-19  Andreas Schwab  <schwab@suse.de>
36640         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36641         * sysdeps/gnu/configure: Regenerate.
36643         * configure.in: Substitute libc_cv_rtlddir.
36644         * configure: Regenerate.
36645         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36646         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36647         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36648         * elf/Makefile (install-others, CFLAGS-interp.c)
36649         (ldso_install, common-ldd-rewrite): Likewise.
36650         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36651         $(inst_slibdir)/$(rtld-installed-name).
36652         * scripts/rellns-sh: Add -p option.
36653         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36654         for source.
36656 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36658         * manual/nptl.texi: Renamed to ...
36659         * manual/threads.texi: ... this.
36660         * manual/Makefile (chapters): Update.
36662 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36664         [BZ #14812]
36665         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36666         on argument names, not just descriptions.
36667         * malloc/memusagestat.c (options): Likewise.
36668         * nss/getent.c (options): Likewise.
36670 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36672         [BZ #14812]
36673         * iconv/iconv_prog.c (options): Put N_ translation marker
36674         on argument names, not just descriptions.
36675         * iconv/iconvconfig.c (options): Likewise.
36677 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36679         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36680         implementation which is faster on all x86_64 architectures.
36681         Tested on AMD, Intel Nehalem, SNB, IVB.
36682         * sysdeps/x86_64/strnlen.S: Likewise.
36684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36685         Remove all multiarch strlen and strnlen versions.
36686         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36687         Remove strlen and strnlen related parts.
36689         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36690         Inline strlen part.
36691         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36693         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36694         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36695         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36696         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36697         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36698         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36700 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36702         * manual/memory.texi (Malloc Tunable Parameters):
36703         Sort parameters alphabetically. Add comments for missing entries.
36705 2013-03-17  David S. Miller  <davem@davemloft.net>
36707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36709 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36711         [BZ #15283]
36712         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36713         for arguments at most half maximum finite value.
36714         * math/libm-test.inc (j0_test): Add more tests.
36715         (j1_test): Likewise.
36716         (y0_test): Likewise.
36717         (y1_test): Likewise.
36718         * sysdeps/i386/fpu/libm-test-ulps: Update.
36719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36721         [BZ #14155]
36722         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36723         1 / x and functions P and Q for arguments above 0x1p256L.
36724         (__ieee754_y0l): Likewise.
36725         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36726         (__ieee754_y1l): Likewise.
36727         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36728         (j1_test): Likewise.
36729         (y0_test): Likewise.
36730         (y1_test): Likewise.
36732 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36734         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36735         variable.
36737 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36739         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36740         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36741         zero since it's initialized to EXEC_PAGESIZE.
36743         * sysdeps/unix/sysv/linux/ldsodefs.h
36744         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36745         * sysdeps/generic/ldsodefs.h: ... here.
36747 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36749         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36751         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36752         math/test-snan.c.
36753         * math/test-snan.c: Renamed from
36754         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36755         * math/Makefile (tests): Add test-snan.
36756         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36757         test-powerpc-snan.
36759         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36760         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36761         functions.
36762         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36763         __builtin_nan family of functions.
36764         * math/libm-test.inc (initialize): Initialize qnan_value with
36765         __builtin_nan family of functions.
36766         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36767         Remove variables.
36768         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36769         Remove functions.
36770         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36771         storage class.  Initialize qNaN_var and sNaN_var with
36772         __builtin_nan and __builtin_nans families of functions,
36773         respectively.
36775         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36776         (sqrt_test): Remove duplicate test with qNaN input.
36777         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36778         (round_test, signbit_test, significand_test): Note missing +/-Inf
36779         as well as qNaN tests.
36781         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36782         qNaN_var.  Fix a few strings, too.
36783         * math/libm-test.inc (nan_value): Rename to qnan_value.
36784         * math/gen-libm-test.pl (%beautify): Adjust to that.
36785         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36786         * math/test-misc.c (main): Likewise.
36787         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36788         to __qnan_bytes, and __qnan_union, respectively.
36789         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36790         Likewise.
36791         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36792         and lqnanval, respectively.
36793         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36794         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36795         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36796         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36798         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36799         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36800         doubles.
36802         * math/test-misc.c (main): Fix copy'n'pastos.
36803         * misc/tst-efgcvt.c (special): Likewise.
36805         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36806         Remove declarations.
36808 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36810         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36811         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36812         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36813         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36815 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36817         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36818         macro to return vdso values correctly in IFUNC implementations.
36819         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36820         Optimization by using IFUNC.
36822 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36823             Richard Henderson  <rth@redhat.com>
36824             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36826         * Makefile.in (bench): New target.
36827         * NEWS: Mention the benchmark framework.
36828         * Rules (bench): Likewise.
36829         (binaries-bench): Generate binaries for functions to
36830         benchmark.
36831         * benchtests/Makefile: New makefile for benchmark tests.
36832         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36833         programs.
36834         * benchtests/exp-inputs: New input file for EXP function.
36835         * benchtests/pow-inputs: New input file for POW function.
36836         * scripts/bench.pl: New script to generate source files for
36837         benchmark programs.
36839 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36841         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36842         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36843         computations on mantissa.  Use macros for rounding and
36844         division.
36845         (denorm): Likewise.
36846         (__dbl_mp): Likewise.
36847         (add_magnitudes): Likewise.
36848         (sub_magnitudes): Likewise.
36849         (__mul): Likewise.
36850         (__sqr): Likewise.
36851         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36852         powers of two in terms of TWOPOW macro.
36853         (mp_no): Make type of mantissa as MANTISSA_T.
36854         [!RADIXI]: Define RADIXI.
36855         [!TWO52]: Define TWO52.
36856         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36858         * manual/nptl.texi (cindex): Modify threads to pthreads.
36860 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36862         * sysdeps/x86_64/preconfigure: Regenerated.
36864 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36866         [BZ #14155]
36867         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36868         0x1p28 and above.
36869         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36870         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36871         0x1p28 and above.
36872         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36873         * math/libm-test.inc (j0_test): Do not allow one spurious
36874         underflow exception.
36875         (y1_test): Likewise.
36877 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36879         * manual/Makefile (chapters): Add nptl.
36880         * manual/debug.texi (Debugging Support): Add link to Threads
36881         chapter.
36882         * manual/nptl.texi: New file.
36884         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36886 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36888         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36889         for non-NULL pointer before the memory validity test. Pointed
36890         out by Holger Brunck <holger.brunck@keymile.com>.
36892 2013-03-13  Andreas Schwab  <schwab@suse.de>
36894         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36895         instead of .os.
36897 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36899         * timezone/zic.c: Update from tzcode 2013b.
36901 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36903         * manual/install.texi (Configuring and compiling):
36904         Mention i686 and i586.
36905         * INSTALL: Regenerate.
36907 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36909         * sysdeps/init_array/elf-init.c: New file.
36910         * csu/elf-init.c
36911         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36912         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36914         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36915         __gmon_start__ as global, but as static with a .preinit_array pointer.
36916         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36917         * sysdeps/init_array/crti.S: New file, empty except for comments.
36918         * sysdeps/init_array/crtn.S: Likewise.
36920 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36922         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36923         definining bcopy.
36924         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36925         Remove Prefer_SSE_for_memop.
36926         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36927         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36928         HAS_PREFER_SSE_FOR_MEMOP.
36929         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36930         memset-x86-64.
36931         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36932         Remove bzero, memset ifunc support.
36933         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36934         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36935         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36936         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36938 2013-03-11  Andreas Schwab  <schwab@suse.de>
36940         [BZ #15234]
36941         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36942         by SHLIB_COMPAT.
36943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36944         (GLIBC_2.16): Remove pthread_atfork.
36946 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36948         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36949         (ptestcases.h): Likewise.
36951 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36953         * Makeconfig ($(common-objpfx)config.status): Depend on
36954         sysdeps/*/preconfigure{,.in} too.
36956 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36958         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36959         (__free_hook): Use void * instead of __malloc_ptr_t.
36960         (__malloc_hook): Likewise.
36961         (__realloc_hook): Likewise.
36962         (__memalign_hook): Likewise.
36963         (__after_morecore_hook): Likewise.
36964         * malloc/arena.c (save_malloc_hook): Likewise.
36965         (save_free_hook): Likewise.
36966         * malloc/hooks.c (malloc_hook_ini): Likewise.
36967         (realloc_hook_ini): Likewise.
36968         (memalign_hook_ini): Likewise.
36969         * malloc/malloc.c (malloc_hook_ini): Likewise.
36970         (realloc_hook_ini): Likewise.
36971         (memalign_hook_ini): Likewise.
36972         (__free_hook): Likewise.
36973         (__malloc_hook): Likewise.
36974         (__realloc_hook): Likewise.
36975         (__memalign_hook): Likewise.
36976         (__libc_malloc): Likewise.
36977         (__libc_free): Likewise.
36978         (__libc_realloc): Likewise.
36979         (__libc_memalign): Likewise.
36980         (__libc_valloc): Likewise.
36981         (__libc_pvalloc): Likewise.
36982         (__libc_calloc): Likewise.
36983         (__posix_memalign): Likewise.
36984         * malloc/morecore.c (__sbrk): Likewise.
36985         (__default_morecore): Likewise.
36987         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36989         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36990         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36991         __malloc_ptrdiff_t.
36993         * malloc/malloc.h (__malloc_size_t): Remove macro.
36994         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36995         __malloc_size_t.
36996         (old_memalign_hook): Likewise.
36997         (old_realloc_hook): Likewise.
36998         (struct hdr): Likewise.
36999         (flood): Likewise.
37000         (mallochook): Likewise.
37001         (memalignhook): Likewise.
37002         (reallochook): Likewise.
37003         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37004         (tr_old_realloc_hook): Likewise.
37005         (tr_old_memalign_hook): Likewise.
37006         (tr_mallochook): Likewise.
37007         (tr_reallochook): Likewise.
37008         (tr_memalignhook): Likewise.
37010 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37012         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37013         default_ldbl_pack and using as default implementation.
37014         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37015         implementation.
37016         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37017         redundant definition.
37018         (ldbl_insert_mantissa): Likewise.
37019         (ldbl_canonicalize): Likewise.
37020         (ldbl_nearbyint): Likewise.
37021         (ldbl_pack): Rename to ldbl_pack_ppc.
37022         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37023         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37024         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37026 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37028         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37029         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37030         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37031         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37032         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37033         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37034         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37035         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37037 2013-03-07  Andreas Jaeger  <aj@suse.de>
37039         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37040         bits/mman-linux.h.
37042 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37044         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37045         Include mpa.h and declare __MPEXP.
37046         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37047         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37048         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37049         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37050         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37051         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37052         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37054         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37055         (__slowpow): Use long double EXPL and LOGL functions to
37056         compute POW.
37057         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37058         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37059         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37060         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37061         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37062         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37064         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37065         intermediate variable to calculate exponent.
37066         (__sqr): Likewise.
37067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37068         Likewise.
37069         (__sqr): Likewise.
37071         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37072         [!NO__SQR]: Define __sqr.
37073         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37074         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37075         sysdeps/ieee754/dbl-64/mpa.c.
37076         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37078         [BZ #12723]
37079         * posix/Makefile (tests): Add tst-pathconf.
37080         * posix/tst-pathconf.c: New test case.
37081         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37082         _PC_PIPE_BUF.
37083         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37085 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37087         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37089 2013-03-06  Andreas Jaeger  <aj@suse.de>
37091         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37092         definition via __MAP_ANONYMOUS.
37094         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37095         it's not part of Linux headers.
37097         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37098         (MAP_HUGE_MASK): Define.
37100         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37101         Define.
37102         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37103         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37104         Define.
37105         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37106         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37107         Define.
37108         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37109         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37110         Define.
37111         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37113         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37114         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37115         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37116         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37117         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37118         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37120         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37121         Handle f2fs.
37123         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37124         Handle f2fs and efivarfs.
37126         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37127         f2fs.
37129         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37130         (EFIVARFS_MAGIC): Add.
37131         (F2FS_LINK_MAX): Add.
37133 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37135         * stdio-common/vfprintf.c: Replace __builtin_expect with
37136         __glibc_unlikely.
37138 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37140         [BZ #13550]
37141         * sysdeps/generic/bp-sym.h: Remove file.
37142         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37143         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37144         <bp-sym.h> and <bp-asm.h>.
37145         (__longjmp): Don't use BP_SYM.
37146         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37147         and <bp-asm.h>.
37148         (memcpy): Don't use BP_SYM.
37149         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37150         <bp-sym.h> and <bp-asm.h>.
37151         (memcpy): Don't use BP_SYM.
37152         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37153         <bp-asm.h>.
37154         (memcpy): Don't use BP_SYM.
37155         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37156         <bp-asm.h>.
37157         (memset): Don't use BP_SYM.
37158         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37159         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37160         (__bzero): Don't use BP_SYM.
37161         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37162         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37163         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37164         <bp-sym.h> and <bp-asm.h>.
37165         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37166         pointers.
37167         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37168         <bp-sym.h> and <bp-asm.h>.
37169         (memcpy): Don't use BP_SYM.
37170         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37171         <bp-sym.h> and <bp-asm.h>.
37172         (memset): Don't use BP_SYM.
37173         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37174         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37175         (__bzero): Don't use BP_SYM.
37176         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37177         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37178         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37179         <bp-sym.h> and <bp-asm.h>.
37180         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37181         pointers.
37182         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37183         <bp-sym.h> and <bp-asm.h>.
37184         (memcpy): Don't use BP_SYM.
37185         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37186         <bp-sym.h> and <bp-asm.h>.
37187         (memset): Don't use BP_SYM.
37188         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37189         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37190         (__bzero): Don't use BP_SYM.
37191         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37192         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37193         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37194         <bp-sym.h> and <bp-asm.h>.
37195         (__memchr): Don't use BP_SYM.
37196         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37197         <bp-sym.h> and <bp-asm.h>.
37198         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37199         pointers.
37200         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37201         <bp-sym.h> and <bp-asm.h>.
37202         (memcpy): Don't use BP_SYM.
37203         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37204         <bp-sym.h> and <bp-asm.h>.
37205         (__mempcpy): Don't use BP_SYM.
37206         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37207         <bp-sym.h> and <bp-asm.h>.
37208         (__memrchr): Don't use BP_SYM.
37209         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37210         <bp-sym.h> and <bp-asm.h>.
37211         (memset): Don't use BP_SYM.
37212         (__bzero): Likewise.
37213         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37214         <bp-sym.h> and <bp-asm.h>.
37215         (__rawmemchr): Don't use BP_SYM.
37216         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37217         <bp-sym.h> and <bp-asm.h>.
37218         (__STRCMP): Don't use BP_SYM.
37219         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37220         <bp-sym.h> and <bp-asm.h>.
37221         (strchr): Don't use BP_SYM.
37222         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37223         <bp-sym.h> and <bp-asm.h>.
37224         (__strchrnul): Don't use BP_SYM.
37225         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37226         <bp-sym.h> and <bp-asm.h>.
37227         (strlen): Don't use BP_SYM.
37228         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37229         <bp-sym.h> and <bp-asm.h>.
37230         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37231         pointers.
37232         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37233         <bp-sym.h> and <bp-asm.h>.
37234         (__strnlen): Don't use BP_SYM.
37235         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37236         <bp-sym.h> and <bp-asm.h>.
37237         (__GI__setjmp): Don't use BP_SYM.
37238         (_setjmp): Likewise.
37239         (__sigsetjmp): Likewise.
37240         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37241         (L(start_addresses)): Don't use BP_SYM.
37242         (_start): Likewise.
37243         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37244         <bp-asm.h>.
37245         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37246         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37247         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37248         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37249         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37250         <bp-asm.h>.
37251         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37252         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37253         about bounded pointers.
37254         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37255         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37256         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37257         <bp-asm.h>.
37258         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37259         about bounded pointers.  Remove GKM FIXME comments.
37260         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37261         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37262         <bp-asm.h>.
37263         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37264         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37265         Remove GKM FIXME comments.
37266         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37267         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37268         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37269         <bp-asm.h>.
37270         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37271         about bounded pointers.  Remove GKM FIXME comment.
37272         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37273         and <bp-asm.h>.
37274         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37275         pointers.
37276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37277         <bp-sym.h> and <bp-asm.h>.
37278         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37280         <bp-sym.h> and <bp-asm.h>.
37281         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37282         comment.
37284 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37286         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37287         call free(NULL).
37289 2013-03-05  David S. Miller  <davem@davemloft.net>
37291         * po/es.po: Update from translation team.
37293 2013-03-05  Andreas Jaeger  <aj@suse.de>
37295         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37296         <bits/mman-linux.h>.
37297         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37298         is fine.
37299         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37300         <bits/mman-linux.h> to end of file.
37301         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37302         is fine.
37303         * sysdeps/unix/sysv/linux/x86/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/sparc/bits/mman.h: Move include of
37308         <bits/mman-linux.h> to end of file.
37310         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37311         (MCL_CURRENT, MCL_FUTURE): Define here.
37313 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37315         [BZ #15232]
37316         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37317         attribute_hidden.
37318         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37320 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37322         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37323         fourth parameter needed for rt_sigprocmask syscall.
37324         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37325         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37326         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37327         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37328         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37329         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37331 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37333         [BZ #13550]
37334         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37335         comment about bounded pointers.
37336         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37337         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37339 2013-03-04  Andreas Jaeger  <aj@suse.de>
37341         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37342         common definitions.
37344         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37345         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37346         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37347         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37348         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37349         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37351 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37353         [BZ #15055]
37354         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37355         __ieee754_sqrl instead of __sqrl.
37357 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37359         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37360         * sysdeps/powerpc/fpu_control.h: ... here.
37361         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37362         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37363         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37364         * sysdeps/powerpc/bits/mathinline.h: ... here.
37366 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37368         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37369         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37370         to just [NEED_DL_SYSINFO_DSO].
37371         * elf/dl-support.c: Likewise.
37372         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37373         * elf/rtld.c (dl_main): Likewise.
37374         * elf/setup-vdso.h (setup_vdso): Likewise.
37375         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37376         * sysdeps/unix/sysv/linux/dl-sysdep.c
37377         (_dl_discover_osversion): Likewise.
37379 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37381         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37382         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37384 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37386         * NEWS: Mention libm performance improvements and non-x86 PI
37387         futex support.
37389         * csu/libc-start.c (__pthread_initialize_minimal): Change
37390         function arguments.
37391         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37393 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37395         [BZ #13550]
37396         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37397         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37398         <bp-sym.h> and <bp-asm.h>.
37399         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37400         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37401         and <bp-asm.h>.
37402         (memcpy): Don't use BP_SYM.
37403         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37404         <bp-asm.h>.
37405         (__mpn_add_n): Don't use BP_SYM.
37406         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37407         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37408         and <bp-asm.h>.
37409         (__mpn_addmul_1): Don't use BP_SYM.
37410         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37411         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37412         <bp-sym.h>.
37413         (_setjmp): Don't use BP_SYM.
37414         (__novmx_setjmp): Likewise.
37415         (__GI__setjmp): Likewise.
37416         (__vmx_setjmp): Likewise.
37417         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37418         <bp-sym.h>.
37419         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37420         (__bzero): Don't use BP_SYM.
37421         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37422         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37423         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37424         <bp-sym.h> and <bp-asm.h>.
37425         (memcpy): Don't use BP_SYM.
37426         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37427         <bp-sym.h> and <bp-asm.h>.
37428         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37429         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37430         <bp-sym.h> and <bp-asm.h>.
37431         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37432         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37433         <bp-asm.h>.
37434         (__mpn_lshift): Don't use BP_SYM.
37435         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37436         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37437         <bp-asm.h>.
37438         (memset): Don't use BP_SYM.
37439         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37440         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37441         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37442         <bp-asm.h>.
37443         (__mpn_mul_1): Don't use BP_SYM.
37444         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37445         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37446         <bp-sym.h> and <bp-asm.h>.
37447         (memcmp): Don't use BP_SYM.
37448         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37449         <bp-sym.h> and <bp-asm.h>.
37450         (memcpy): Don't use BP_SYM.
37451         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37452         <bp-sym.h> and <bp-asm.h>.
37453         (memset): Don't use BP_SYM.
37454         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37455         <bp-sym.h> and <bp-asm.h>.
37456         (strncmp): Don't use BP_SYM.
37457         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37458         <bp-sym.h> and <bp-asm.h>.
37459         (memcpy): Don't use BP_SYM.
37460         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37461         <bp-sym.h> and <bp-asm.h>.
37462         (memset): Don't use BP_SYM.
37463         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37464         <bp-sym.h> and <bp-asm.h>.
37465         (__memchr): Don't use BP_SYM.
37466         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37467         <bp-sym.h> and <bp-asm.h>.
37468         (memcmp): Don't use BP_SYM.
37469         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37470         <bp-sym.h> and <bp-asm.h>.
37471         (memcpy): Don't use BP_SYM.
37472         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37473         <bp-sym.h> and <bp-asm.h>.
37474         (__mempcpy): Don't use BP_SYM.
37475         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37476         <bp-sym.h> and <bp-asm.h>.
37477         (__memrchr): Don't use BP_SYM.
37478         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37479         <bp-sym.h> and <bp-asm.h>.
37480         (memset): Don't use BP_SYM.
37481         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37482         <bp-sym.h> and <bp-asm.h>.
37483         (__rawmemchr): Don't use BP_SYM.
37484         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37485         <bp-sym.h> and <bp-asm.h>.
37486         (__STRCMP): Don't use BP_SYM.
37487         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37488         <bp-sym.h> and <bp-asm.h>.
37489         (strchr): Don't use BP_SYM.
37490         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37491         <bp-sym.h> and <bp-asm.h>.
37492         (__strchrnul): Don't use BP_SYM.
37493         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37494         <bp-sym.h> and <bp-asm.h>.
37495         (strlen): Don't use BP_SYM.
37496         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37497         <bp-sym.h> and <bp-asm.h>.
37498         (strncmp): Don't use BP_SYM.
37499         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37500         <bp-sym.h> and <bp-asm.h>.
37501         (__strnlen): Don't use BP_SYM.
37502         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37503         <bp-asm.h>.
37504         (__mpn_rshift): Don't use BP_SYM.
37505         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37506         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37507         <bp-sym.h> and <bp-asm.h>.
37508         (__sigsetjmp): Don't use BP_SYM.
37509         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37510         (L(start_addresses)): Don't use BP_SYM.
37511         (_start): Likewise.
37512         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37513         <bp-asm.h>.
37514         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37515         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37516         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37517         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37518         <bp-asm.h>.
37519         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37520         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37521         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37522         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37523         <bp-asm.h>.
37524         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37525         comments.
37526         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37527         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37528         <bp-asm.h>.
37529         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37530         FIXME comments.
37531         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37532         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37533         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37534         <bp-asm.h>.
37535         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37536         comment.
37537         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37538         and <bp-asm.h>.
37539         (strncmp): Don't use BP_SYM,
37540         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37541         <bp-asm.h>.
37542         (__mpn_sub_n): Don't use BP_SYM.
37543         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37544         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37545         and <bp-asm.h>.
37546         (__mpn_submul_1): Don't use BP_SYM.
37547         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37549         <bp-sym.h> and <bp-asm.h>.
37550         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37552         <bp-sym.h> and <bp-asm.h>.
37553         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37554         comment.
37556 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37558         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37559         Use ZK to minimize writes to Z.
37560         (sub_magnitudes): Simplify code a bit.
37561         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37562         Use ZK to minimize writes to Z.
37563         (sub_magnitudes): Simplify code a bit.
37565 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37567         * csu/gmon-start.c: Add special exception to license text.
37569 2013-02-27  Richard Henderson  <rth@redhat.com>
37571         * scripts/config.guess: Update from config.git.
37572         * scripts/config.sub: Likewise.
37574 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37576         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37578         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37580         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37582         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37584         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37586 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37588         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37589         [$(build-shared = yes].
37591 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37593         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37594         (__mul): Reduce iterations for calculating mantissa.
37596         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37597         MPTWO.
37598         (__mpranred): Likewise.
37600         [BZ #15160]
37601         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37602         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37604 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37606         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37607         Define __attribute__.
37609 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37611         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37612         unused.
37613         * posix/regex_internal.h (__attribute): Remove.
37614         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37615         (re_string_context_at): Likewise.
37616         (bitset_not): Use __attribute__ and mark function as possibly
37617         unused.
37618         (bitset_merge): Likewise.
37619         (bitset_mask): Likewise.
37620         (re_string_char_size_at): Likewise.
37621         (re_string_wchar_at): Likewise.
37622         (re_string_elem_size_at): Likewise.
37624 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37626         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37627         code.
37628         (cc32): Likewise.
37630         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37631         (__acr): Likewise.
37632         (__cpy): Likewise.
37633         (norm): Likewise.
37634         (denorm): Likewise.
37635         (__dbl_mp): Likewise.
37636         (add_magnitudes): Likewise.
37637         (sub_magnitudes): Likewise.
37638         (__mul): Likewise.
37639         (__inv): Likewise.
37641         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37642         style.
37644         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37645         style.
37647         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37648         code.
37650         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37651         up changes with default code.
37652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37653         Likewise.
37655 2013-02-24  Allan McRae  <allan@archlinux.org>
37657         * manual/socket.texi (The Internet Namespace): Order menu items
37658         to match that in the file.
37660         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37661         node listing of the info page menu.
37663 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37665         [BZ #13550]
37666         * sysdeps/i386/bp-asm.h: Remove file.
37667         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37668         (PARMS): Do not use macros from bp-asm.h.
37669         (S1): Likewise.
37670         (S2): Likewise.
37671         (SIZE): Likewise.
37672         (__mpn_add_n): Do not use BP_SYM
37673         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37674         "bp-asm.h".
37675         (PARMS): Do not use macros from bp-asm.h.
37676         (S1): Likewise.
37677         (SIZE): Likewise.
37678         (__mpn_addmul_1): Do not use BP_SYM
37679         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37680         "bp-asm.h".
37681         (PARMS): Do not use macros from bp-asm.h.
37682         (SIGMSK): Likewise.
37683         (_setjmp): Likewise.  Do not use BP_SYM.
37684         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37685         "bp-asm.h".
37686         (PARMS): Do not use macros from bp-asm.h.
37687         (SIGMSK): Likewise.
37688         (setjmp): Likewise.  Do not use BP_SYM.
37689         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37690         "bp-asm.h".
37691         (PARMS): Do not use macros from bp-asm.h.
37692         (__frexp): Do not use BP_SYM.
37693         (frexp): Likewise.
37694         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37695         "bp-asm.h".
37696         (PARMS): Do not use macros from bp-asm.h.
37697         (__frexpf): Do not use BP_SYM.
37698         (frexpf): Likewise.
37699         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37700         "bp-asm.h".
37701         (PARMS): Do not use macros from bp-asm.h.
37702         (__frexpl): Do not use BP_SYM.
37703         (frexpl): Likewise.
37704         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37705         "bp-asm.h".
37706         (PARMS): Do not use macros from bp-asm.h.
37707         (__remquo): Do not use BP_SYM.
37708         (remquo): Likewise.
37709         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37710         "bp-asm.h".
37711         (PARMS): Do not use macros from bp-asm.h.
37712         (__remquof): Do not use BP_SYM.
37713         (remquof): Likewise.
37714         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37715         "bp-asm.h".
37716         (PARMS): Do not use macros from bp-asm.h.
37717         (__remquol): Do not use BP_SYM.
37718         (remquol): Likewise.
37719         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37720         "bp-asm.h".
37721         (PARMS): Do not use macros from bp-asm.h.
37722         (DEST): Likewise.
37723         (SRC): Likewise.
37724         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37725         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37726         "bp-asm.h".
37727         (PARMS): Do not use macros from bp-asm.h.
37728         (strlen): Do not use BP_SYM.
37729         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37730         "bp-asm.h".
37731         (PARMS): Do not use macros from bp-asm.h.
37732         (S1): Likewise.
37733         (S2): Likewise.
37734         (SIZE): Likewise.
37735         (__mpn_add_n): Do not use BP_SYM.
37736         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37737         "bp-asm.h".
37738         (PARMS): Do not use macros from bp-asm.h.
37739         (S1): Likewise.
37740         (SIZE): Likewise.
37741         (__mpn_addmul_1): Do not use BP_SYM.
37742         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37743         weak_alias.
37744         (bzero): Likewise.
37745         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37746         "bp-asm.h".
37747         (PARMS): Do not use macros from bp-asm.h.
37748         (S): Likewise.
37749         (SIZE): Likewise.
37750         (__mpn_lshift): Do not use BP_SYM.
37751         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37752         "bp-asm.h".
37753         (PARMS): Do not use macros from bp-asm.h.
37754         (DEST): Likewise.
37755         (SRC): Likewise.
37756         (LEN): Likewise.
37757         (memcpy): Likewise.  Do not use BP_SYM.
37758         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37759         libc_hidden_def and weak_alias.
37760         (mempcpy): Do not use BP_SYM in weak_alias.
37761         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37762         "bp-asm.h".
37763         (PARMS): Do not use macros from bp-asm.h.
37764         (DEST): Likewise.
37765         (LEN): Likewise.
37766         [!BZERO_P] (CHR): Likewise.
37767         (memset): Likewise.  Do not use BP_SYM.
37768         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37769         "bp-asm.h".
37770         (PARMS): Do not use macros from bp-asm.h.
37771         (S1): Likewise.
37772         (SIZE): Likewise.
37773         (__mpn_mul_1): Do not use BP_SYM.
37774         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37775         "bp-asm.h".
37776         (PARMS): Do not use macros from bp-asm.h.
37777         (S): Likewise.
37778         (SIZE): Likewise.
37779         (__mpn_rshift): Do not use BP_SYM.
37780         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37781         "bp-asm.h".
37782         (PARMS): Do not use macros from bp-asm.h.
37783         (STR): Likewise.
37784         (CHR): Likewise.
37785         (strchr): Likewise.  Do not use BP_SYM.
37786         (index): Do not use BP_SYM in weak_alias.
37787         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37788         "bp-asm.h".
37789         (PARMS): Do not use macros from bp-asm.h.
37790         (DEST): Likewise.
37791         (SRC): Likewise.
37792         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37793         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37794         "bp-asm.h".
37795         (PARMS): Do not use macros from bp-asm.h.
37796         (strlen): Do not use BP_SYM.
37797         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37798         "bp-asm.h".
37799         (PARMS): Do not use macros from bp-asm.h.
37800         (S1): Likewise.
37801         (S2): Likewise.
37802         (SIZE): Likewise.
37803         (__mpn_sub_n): Do not use BP_SYM.
37804         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37805         "bp-asm.h".
37806         (PARMS): Do not use macros from bp-asm.h.
37807         (S1): Likewise.
37808         (SIZE): Likewise.
37809         (__mpn_submul_1): Do not use BP_SYM.
37810         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37811         "bp-asm.h".
37812         (PARMS): Do not use macros from bp-asm.h.
37813         (S1): Likewise.
37814         (S2): Likewise.
37815         (SIZE): Likewise.
37816         (__mpn_add_n): Do not use BP_SYM.
37817         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37818         weak_alias.
37819         (bzero): Likewise.
37820         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37821         "bp-asm.h".
37822         (PARMS): Do not use macros from bp-asm.h.
37823         (BLK2): Likewise.
37824         (LEN): Likewise.
37825         (memcmp): Do not use BP_SYM.
37826         (bcmp): Do not use BP_SYM in weak_alias.
37827         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37828         "bp-asm.h".
37829         (PARMS): Do not use macros from bp-asm.h.
37830         (DEST): Likewise.
37831         (SRC): Likewise.
37832         (LEN): Likewise.
37833         (memcpy): Likewise.  Do not use BP_SYM.
37834         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37835         "bp-asm.h".
37836         (PARMS): Do not use macros from bp-asm.h.
37837         (DEST): Likewise.
37838         (SRC): Likewise.
37839         (LEN): Likewise.
37840         (memmove): Likewise.  Do not use BP_SYM.
37841         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37842         "bp-asm.h".
37843         (PARMS): Do not use macros from bp-asm.h.
37844         (DEST): Likewise.
37845         (SRC): Likewise.
37846         (LEN): Likewise.
37847         (__mempcpy): Likewise.  Do not use BP_SYM.
37848         (mempcpy): Do not use BP_SYM in weak_alias.
37849         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37850         "bp-asm.h".
37851         (PARMS): Do not use macros from bp-asm.h.
37852         (DEST): Likewise.
37853         (LEN): Likewise.
37854         [!BZERO_P] (CHR): Likewise.
37855         (memset): Likewise.  Do not use BP_SYM.
37856         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37857         "bp-asm.h".
37858         (PARMS): Do not use macros from bp-asm.h.
37859         (STR2): Likewise.
37860         (strcmp): Do not use BP_SYM.
37861         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37862         "bp-asm.h".
37863         (PARMS): Do not use macros from bp-asm.h.
37864         (STR): Likewise.
37865         (DELIM): Likewise.
37866         [USE_AS_STRTOK_R] (SAVE): Likewise.
37867         (FUNCTION): Likewise.  Do not use BP_SYM.
37868         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37869         aliases.
37870         (strtok_r): Likewise.
37871         (__GI___strtok_r): Likewise.
37872         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37873         (PARMS): Do not use macros from bp-asm.h.
37874         (S): Likewise.
37875         (SIZE): Likewise.
37876         (__mpn_lshift): Do not use BP_SYM.
37877         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37878         (PARMS): Do not use macros from bp-asm.h.
37879         (STR): Likewise.
37880         (CHR): Likewise.
37881         (__memchr): Do not use BP_SYM.
37882         (memchr): Do not use BP_SYM in weak_alias.
37883         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37884         (PARMS): Do not use macros from bp-asm.h.
37885         (BLK2): Likewise.
37886         (LEN): Likewise.
37887         (memcmp): Do not use BP_SYM.
37888         (bcmp): Do not use BP_SYM in weak_alias.
37889         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37890         (PARMS): Do not use macros from bp-asm.h.
37891         (S1): Likewise.
37892         (SIZE): Likewise.
37893         (__mpn_mul_1): Do not use BP_SYM.
37894         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37895         "bp-asm.h".
37896         (PARMS): Do not use macros from bp-asm.h.
37897         (STR): Likewise.
37898         (CHR): Likewise.
37899         (__rawmemchr): Do not use BP_SYM.
37900         (rawmemchr): Do not use BP_SYM in weak_alias.
37901         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37902         (PARMS): Do not use macros from bp-asm.h.
37903         (S): Likewise.
37904         (SIZE): Likewise.
37905         (__mpn_rshift): Do not use BP_SYM.
37906         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37907         (PARMS): Do not use macros from bp-asm.h.
37908         (SIGMSK): Likewise.
37909         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37910         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37911         (_start): Do not use BP_SYM.
37912         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37913         (PARMS): Do not use macros from bp-asm.h.
37914         (DEST): Likewise.
37915         (SRC): Likewise.
37916         (__stpcpy): Likewise.  Do not use BP_SYM.
37917         (stpcpy): Do not use BP_SYM in weak_alias.
37918         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37919         "bp-asm.h".
37920         (PARMS): Do not use macros from bp-asm.h.
37921         (DEST): Likewise.
37922         (SRC): Likewise.
37923         (LEN): Likewise.
37924         (__stpncpy): Likewise.  Do not use BP_SYM.
37925         (stpncpy): Do not use BP_SYM in weak_alias.
37926         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37927         (PARMS): Do not use macros from bp-asm.h.
37928         (STR): Likewise.
37929         (CHR): Likewise.
37930         (strchr): Likewise.  Do not use BP_SYM.
37931         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37932         "bp-asm.h".
37933         (PARMS): Do not use macros from bp-asm.h.
37934         (STR): Likewise.
37935         (CHR): Likewise.
37936         (__strchrnul): Likewise.  Do not use BP_SYM.
37937         (strchrnul): Do not use BP_SYM in weak_alias.
37938         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37939         "bp-asm.h".
37940         (PARMS): Do not use macros from bp-asm.h.
37941         (STOP): Likewise.
37942         (strcspn): Do not use BP_SYM.
37943         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37944         "bp-asm.h".
37945         (PARMS): Do not use macros from bp-asm.h.
37946         (STR): Likewise.
37947         (STOP): Likewise.
37948         (strpbrk): Likewise.  Do not use BP_SYM.
37949         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37950         "bp-asm.h".
37951         (PARMS): Do not use macros from bp-asm.h.
37952         (STR): Likewise.
37953         (CHR): Likewise.
37954         (strrchr): Likewise.  Do not use BP_SYM.
37955         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37956         (PARMS): Do not use macros from bp-asm.h.
37957         (SKIP): Likewise.
37958         (strspn): Do not use BP_SYM.
37959         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37960         (PARMS): Do not use macros from bp-asm.h.
37961         (STR): Likewise.
37962         (DELIM): Likewise.
37963         (SAVE): Likewise.
37964         (FUNCTION): Likewise.  Do not use BP_SYM.
37965         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37966         aliases.
37967         (strtok_r): Likewise.
37968         (__GI___strtok_r): Likewise.
37969         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37970         (PARMS): Do not use macros from bp-asm.h.
37971         (S1): Likewise.
37972         (S2): Likewise.
37973         (SIZE): Likewise.
37974         (__mpn_sub_n): Do not use BP_SYM.
37975         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37976         "bp-asm.h".
37977         (PARMS): Do not use macros from bp-asm.h.
37978         (S1): Likewise.
37979         (SIZE): Likewise.
37980         (__mpn_submul_1): Do not use BP_SYM.
37981         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37982         <bp-sym.h>.
37983         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37984         and <bp-asm.h>.
37985         (PARMS): Do not use macros from bp-asm.h.
37986         (FLAGS): Likewise.
37987         (PTID): Likewise.
37988         (TLS): Likewise.
37989         (CTID): Likewise.
37990         (__clone): Do not use BP_SYM.
37991         (clone): Do not use BP_SYM in weak_alias.
37992         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37993         and <bp-asm.h>.
37994         (PARMS): Do not use macros from bp-asm.h.
37995         (LEN): Likewise.
37996         (__mmap64): Do not use BP_SYM.
37997         (mmap64): Do not use BP_SYM in weak_alias.
37998         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37999         <bp-sym.h> and <bp-asm.h>.
38000         (PARMS): Do not use macros from bp-asm.h.
38001         (__posix_fadvise64_l64): Do not use BP_SYM.
38002         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38003         (PARMS): Do not use macros from bp-asm.h.
38004         (NSOPS): Likewise.
38005         (semtimedop): Do not use BP_SYM.
38006         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38007         and <bp-asm.h>.
38009 2013-02-21  Allan McRae  <allan@archlinux.org>
38011         * manual/message.texi (Charset conversion in gettext):
38012         Move @end statement to beginning of line.
38014 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38016         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38017         static.
38018         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38019         Likewise.
38021         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38022         (denorm): Likewise.
38023         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38024         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38026 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38028         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38029         tail-call to the resolved function if pltexit isn't needed.
38031 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38033         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38034         or Y being zero as being unlikely.
38035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38036         Likewise.
38038 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38040         * manual/nss.texi (System Databases and Name Service Switch):
38041         Remove frobnicate @pxref.
38043 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38045         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38046         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38048 2013-02-20  Petr Machata  <pmachata@redhat.com>
38050         * elf/elf.h (R_ARM_TARGET1): New macro.
38051         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38052         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38053         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38054         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38055         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38056         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38057         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38058         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38059         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38060         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38061         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38062         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38063         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38064         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38065         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38066         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38067         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38068         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38069         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38070         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38071         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38072         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38073         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38074         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38075         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38076         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38077         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38078         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38079         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38080         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38081         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38082         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38083         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38084         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38085         (R_ARM_THM_GOT_BREL12): Likewise.
38086         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38087         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38088         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38089         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38090         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38091         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38092         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38093         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38094         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38096 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38098         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38099         __attribute_used__ to __attribute__ ((unused)).
38101 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38103         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38104         powerpc mpa.c.
38105         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38106         comment formatting.
38107         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38109 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38111         [BZ #13550]
38112         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38113         Remove macro.
38114         (ENTER): Remove both macro definitions.
38115         (LEAVE): Likewise.
38116         (CHECK_BOUNDS_LOW): Likewise.
38117         (CHECK_BOUNDS_HIGH): Likewise.
38118         (CHECK_BOUNDS_BOTH): Likewise.
38119         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38120         (RETURN_BOUNDED_POINTER): Likewise.
38121         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38122         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38123         (POP_ERRNO_LOCATION_RETURN): Likewise.
38124         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38125         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38126         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38127         macros.
38128         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38129         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38130         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38131         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38132         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38133         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38134         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38135         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38136         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38137         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38138         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38139         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38140         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38141         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38142         removed macros.
38143         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38144         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38145         macros.
38146         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38147         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38148         * sysdeps/i386/i586/memset.S (memset): Likewise.
38149         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38150         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38151         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38152         macros.
38153         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38154         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38155         Change uses of L(2) to L(out).
38156         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38157         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38158         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38159         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38160         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38161         removed macros.
38162         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38163         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38164         macros.
38165         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38166         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38167         (RETURN): Do not use macro LEAVE.
38168         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38169         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38170         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38171         * sysdeps/i386/i686/memset.S (memset): Likewise.
38172         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38173         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38174         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38175         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38176         Likewise.
38177         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38178         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38179         L(1_2) and L(1_3) into L(1).
38180         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38181         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38182         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38183         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38184         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38185         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38186         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38187         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38188         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38189         macros.
38190         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38191         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38192         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38193         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38194         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38195         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38196         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38197         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38198         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38199         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38200         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38201         * sysdeps/i386/strspn.S (strspn): Likewise.
38202         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38203         conditional code.
38204         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38205         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38206         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38207         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38208         L(1_3) into L(1_1).
38209         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38210         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38211         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38212         macros.
38213         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38215 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38217         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38218         macro.
38220 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38222         * math/atest-exp.c (exp_mpn): Remove ROUND.
38223         * math/atest-exp2.c (exp_mpn): Likewise.
38224         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38226         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38227         * stdlib/tst-tls-atexit-lib.c: Likewise.
38228         * stdlib/tst-tls-atexit.c: Likewise.
38230 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38232         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38233         and __attribute_alloc_size__.
38235 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38237         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38238         __attribute_alloc_size__.
38239         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38240         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38242 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38244         * include/programs/xmalloc.h: New file.
38245         * catgets/gencat.c: Include it.
38246         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38247         * elf/pldd.c: Likewise.
38248         * iconv/iconv_charmap.c: Likewise.
38249         * iconv/iconvconfig.c: Likewise.
38250         * iconv/strtab.c: Likewise.
38251         * locale/programs/locale.c: Likewise.
38252         * locale/programs/localedef.h: Likewise.
38253         * locale/programs/simple-hash.c: Likewise.
38254         * nscd/nscd.h: Likewise.
38255         * nss/makedb.c: Likewise.
38256         * sysdeps/generic/ldconfig.h: Likewise.
38258 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38260         * Versions.def: Add GLIBC_2.18.
38261         * include/link.h (struct link_map): New member l_tls_dtor_count.
38262         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38263         (__call_tls_dtors): Likewise.
38264         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38265         __cxa_thread_atexit_impl.
38266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38267         Likewise.
38268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38269         Likewise.
38270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38271         Likewise.
38272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38273         Likewise.
38274         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38276         Likewise.
38277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38278         Likewise.
38279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38281         Likewise.
38282         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38283         (tests): Add test case tst-tls-atexit.
38284         (modules-names): Add shared library for tst-tls-atexit.
38285         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38286         (GLIBC_PRIVATE): Add __call_tls_dtors.
38287         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38288         for libstdc++.
38289         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38290         * stdlib/tst-tls-atexit.c: New test case.
38291         * stdlib/tst-tls-atexit-lib.c: New test case.
38293         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38295         * elf/Versions (ld): Add _dl_find_dso_for_object.
38296         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38297         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38298         (dl_open_worker): Use _dl_find_dso_for_object.
38299         * elf/dl-sym.c (do_sym): Likewise.
38300         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38302 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38304         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38305         Syntactic changes only.
38306         (_dl_runtime_profile): Do a tail-call to the resolved function.
38308 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38310         [BZ #13550]
38311         * sysdeps/x86_64/bp-asm.h: Remove file.
38312         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38313         <bp-sym.h> and <bp-asm.h>.
38314         (__clone): Do not use BP_SYM.
38315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38316         <bp-sym.h> and <bp-asm.h>.
38317         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38318         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38319         "bp-asm.h".
38320         (_setjmp): Do not use BP_SYM.
38321         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38322         "bp-asm.h".
38323         (setjmp): Do not use BP_SYM.
38324         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38325         libc_hidden_def.
38326         (mempcpy): Do not use BP_SYM in weak_alias.
38327         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38328         "bp-asm.h".
38329         (strchr): Do not use BP_SYM.
38330         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38331         "bp-asm.h".
38332         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38333         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38334         (_start): Do not use BP_SYM.
38335         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38336         "bp-asm.h".
38337         (strcat): Do not use BP_SYM.
38338         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38339         "bp-asm.h".
38340         (STRCMP): Do not use BP_SYM.
38341         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38342         "bp-asm.h".
38343         (STRCPY): Do not use BP_SYM.
38344         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38345         "bp-asm.h".
38346         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38347         "bp-asm.h".
38348         (FUNCTION): Do not use BP_SYM.
38349         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38350         weak_alias.
38351         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38353 2013-02-17  Andreas Jaeger  <aj@suse.de>
38355         * time/Versions: Sort entries.
38356         * string/Versions: Likewise.
38357         * resolv/Versions: Likewise.
38358         * posix/Versions: Likewise.
38359         * iconv/Versions: Likewise.
38360         * elf/Versions: Likewise.
38361         * wcsmbs/Versions: Likewise.
38363 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38365         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38366         loop termination condition.
38368         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38369         variable to calculate EZ.
38370         (__sqr): Likewise.
38372         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38373         the lower precision input.
38375 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38377         [BZ #13550]
38378         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38379         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38380         (run-via-rtld-prefix): Do not handle %-bp tests.
38381         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38382         (all-object-suffixes): Remove .ob.
38383         (bppfx): Remove variable.
38384         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38385         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38386         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38387         [$(build-bounded) = yes] (libtype.ob): Likewise.
38388         * Makerules (elide-routines.ob): Remove variable.
38389         (do-tests-clean): Do not handle *-bp.out.
38390         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38391         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38392         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38393         (tests): Do not include $(tests-bp.out).
38394         (xtests): Do not include $(xtests-bp.out).
38395         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38396         [$(build-bounded) = yes] ($(addprefix
38397         $(objpfx),$(binaries-bounded))): Remove rule.
38398         ($(objpfx)%-bp.out): Remove rule.
38399         * config.make.in (build-bounded): Remove variable.
38400         * crypt/Makefile [$(build-bounded) = yes]
38401         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38402         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38403         append to variable.
38404         [$(build-bounded) = yes] (install-lib): Likewise.
38405         [$(build-bounded) = yes] (generated): Likewise.
38406         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38407         Remove rule.
38408         * intl/Makefile [$(build-bounded) = yes]
38409         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38410         * math/Makefile [$(build-bounded) = yes]
38411         ($(tests:%=$(objpfx)%-bp): Likewise.
38412         * misc/Makefile [$(build-bounded) = yes]
38413         ($(objpfx)tst-tsearch-bp): Likewise.
38414         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38415         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38416         Remove dependency.
38417         * string/Makefile (o-objects.ob): Remove variable.
38418         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38419         (CFLAGS-.ob): Remove variable.
38420         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38421         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38422         both definitions of variable.
38423         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38424         (ASFLAGS-.ob): Remove variable.
38426 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38428         [BZ #13550]
38429         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38430         Remove __BOUNDED_POINTERS__ from condition.
38431         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38432         * string/bits/string2.h [!__NO_STRING_INLINES &&
38433         !__BOUNDED_POINTERS__]: Likewise.
38434         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38435         Likewise.
38436         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38437         Remove conditional code.
38438         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38439         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38440         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38441         condition.
38443         [BZ #13550]
38444         * csu/libc-start.c: Do not include <bp-sym.h>.
38445         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38446         * elf/dl-open.c: Do not include <bp-sym.h>.
38447         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38448         * math/fegetenv.c: Do not include <bp-sym.h>.
38449         (fegetenv): Do not use BP_SYM in versioned symbols.
38450         * nptl/sysdeps/pthread/bits/libc-lockP.h
38451         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38452         <bp-sym.h>.
38453         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38454         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38455         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38456         (__pthread_mutex_destroy): Likewise.
38457         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38458         (__pthread_mutex_lock): Likewise.
38459         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38460         (__pthread_mutex_trylock): Likewise.
38461         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38462         (__pthread_mutex_unlock): Likewise.
38463         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38464         (__pthread_mutexattr_init): Likewise.
38465         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38466         (__pthread_mutexattr_destroy): Likewise.
38467         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38468         (__pthread_mutexattr_settype): Likewise.
38469         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38470         (__pthread_rwlock_init): Likewise.
38471         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38472         (__pthread_rwlock_destroy): Likewise.
38473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38474         (__pthread_rwlock_rdlock): Likewise.
38475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38476         (__pthread_rwlock_tryrdlock): Likewise.
38477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38478         (__pthread_rwlock_wrlock): Likewise.
38479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38480         (__pthread_rwlock_trywrlock): Likewise.
38481         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38482         (__pthread_rwlock_unlock): Likewise.
38483         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38484         (__pthread_key_create): Likewise.
38485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38486         (__pthread_setspecific): Likewise.
38487         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38488         (__pthread_getspecific): Likewise.
38489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38490         Likewise.
38491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38492         (_pthread_cleanup_push_defer): Likewise.
38493         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38494         (_pthread_cleanup_pop_restore): Likewise.
38495         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38496         (pthread_setcancelstate): Likewise.
38497         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38498         <bp-sym.h>.
38499         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38500         (memchr): Do not use BP_SYM in weak_alias.
38501         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38502         (fegetenv): Do not use BP_SYM in versioned symbols.
38503         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38504         (fesetenv): Do not use BP_SYM in versioned symbols.
38505         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38506         (feupdateenv): Do not use BP_SYM in versioned symbols.
38507         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38508         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38509         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38510         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38511         (open64): Do not use BP_SYM in weak_alias.
38512         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38513         (fegetenv): Do not use BP_SYM in versioned symbols.
38514         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38515         (fesetenv): Do not use BP_SYM in versioned symbols.
38516         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38517         (feupdateenv): Do not use BP_SYM in versioned symbols.
38518         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38519         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38520         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38521         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38522         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38523         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38524         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38525         <bp-sym.h>.
38526         (__libc_start_main): Do not use BP_SYM.
38528 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38530         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38531         redundant return line.
38532         (norm): Likewise.
38533         (denorm): Likewise.
38534         (dbl_mp): Likewise.
38535         (sub_magnitudes): Likewise.
38536         (__add): Likewise.
38537         (__sub): Likewise.
38538         (__mul): Likewise.
38539         (__inv): Likewise.
38540         (__dvd): Likewise.
38541         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38542         (norm): Likewise.
38543         (denorm): Likewise.
38544         (dbl_mp): Likewise.
38545         (sub_magnitudes): Likewise.
38546         (__add): Likewise.
38547         (__sub): Likewise.
38548         (__mul): Likewise.
38549         (__inv): Likewise.
38550         (__dvd): Likewise.
38552         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38553         instead of __mul.
38554         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38555         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38556         (cc32): Likewise.
38558         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38559         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38560         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38561         of __mul for squares.
38562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38563         function
38564         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38565         Likewise.
38566         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38567         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38569 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38571         [BZ #13550]
38572         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38573         code.
38574         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38575         prototype or function definition.  Rename ubp_* variables and
38576         parameters.  Remove argv definitions conditional on
38577         [__BOUNDED_POINTERS__].
38578         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38579         * elf/dl-runtime.c (_dl_fixup): Likewise.
38580         * include/set-hooks.h (RUN_HOOK): Likewise.
38581         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38582         definition.
38583         * string/strcpy.c (strcpy): Do not use __unbounded.
38584         * sysdeps/generic/frame.h (struct layout): Likewise.
38585         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38586         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38587         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38588         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38589         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38590         (__backtrace): Likewise.
38591         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38592         use __ptrvalue.
38593         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38594         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38595         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38596         Likewise.
38597         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38598         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38599         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38600         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38601         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38602         Do not use __unbounded.
38603         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38604         Rename __unboundedrlimits parameter to rlimits in prototype.
38605         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38606         Do not use __unbounded.
38607         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38608         not use __ptrvalue.
38609         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38610         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38611         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38612         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38613         __ptrvalue or __unbounded.
38614         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38615         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38616         use __unbounded.
38617         (__new_msgctl): Do not use __ptrvalue.
38618         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38619         __unbounded.
38620         (__libc_msgrcv): Do not use __ptrvalue.
38621         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38622         startup_info): Do not use __unbounded.
38623         (__libc_start_main): Likewise.  Rename ubp_* variables and
38624         parameters.  Remove argv definitions conditional on
38625         [__BOUNDED_POINTERS__].
38626         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38627         __ptrvalue.
38628         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38629         use __unbounded.
38630         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38631         or __ptrvalue.
38632         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38633         use __unbounded.
38634         (__new_shmctl): Do not use __ptrvalue.
38635         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38636         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38637         Likewise.
38638         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38639         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38640         (__libc_sigaction): Likewise.
38641         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38642         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38643         Likewise.
38644         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38646 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38648         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38650         * string/mempcpy.c: Implement by calling memcpy.
38652 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38654         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38656         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38657         evaluation.
38659         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38660         values in the mantissa.
38662         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38663         minimize writes to Z.
38664         (sub_magnitudes): Simplify code a bit.
38666 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38668         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38669         from the message.  The linker prefixes all warnings with that already.
38671 2013-02-12  Andreas Schwab  <schwab@suse.de>
38673         [BZ #15078]
38674         * posix/regexec.c (extend_buffers): Add parameter min_len.
38675         (check_matching): Pass minimum needed length.
38676         (clean_state_log_if_needed): Likewise.
38677         (get_subexp): Likewise.
38678         * posix/Makefile (tests): Add bug-regex34.
38679         (bug-regex34-ENV): Define.
38680         * posix/bug-regex34.c: New file.
38682         [BZ #11561]
38683         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38684         elements compare against the byte sequence of it, not its name.
38685         * posix/Makefile (tests): Add bug-regex35.
38686         (bug-regex35-ENV): Define.
38687         * posix/bug-regex35.c: New file.
38689 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38691         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38692         comment.
38693         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38694         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38695         (CHECK_EOL): Add undef.
38697 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38699         * bits/stdlib-bsearch.h: New file.
38700         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38701         * stdlib/stdlib.h: Likewise.
38703 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38705         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38706         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38707         declaration.
38708         * manual/search.texi (Array Search Function): Add missing const in
38709         lfind prototype.
38710         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38711         declaration to use rlim_t.
38712         (Basic Scheduling Functions): Remove erroneous const from
38713         sched_getparam prototype.  Remove erroneous * from
38714         sched_get_priority_max and sched_get_priority_min prototypes.
38715         (Resource Usage): Fix summary @comment on vtimes to refer to
38716         sys/vtimes.h rather than vtimes.h.
38717         Add missing *s in vtimes prototype.
38718         (Limits on Resources): Fix ulimit prototype to return long int.
38719         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38720         prototypes to use long int rather than double.
38721         (BSD Random): Fix initstate and setstate to use char *, not void *.
38722         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38723         prototype to make second argument 'struct aiocb64 *const[]'.
38724         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38725         (Status of AIO Operations): Remove erroneous const in aio_return and
38726         aio_return64 prototypes.
38727         (Synchronizing I/O): Fix sync prototype to return void.
38728         * manual/startup.texi (Suboptions): Remove an erroneous const in
38729         getsubopt prototype.
38730         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38731         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38732         use size_t rather than int.
38733         (Scanning All Users): Likewise for getpwent_r.
38734         (Setting Groups): Add missing const to setgroups prototype.
38735         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38736         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38737         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38738         'const void *' rather than 'const char *'.
38739         (Host Address Functions): Likewise for inet_ntop.
38740         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38741         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38742         ssize_t for return value.
38743         (Sending Data): Likewise for send, sendto, sendmsg.
38744         (Socket Option Functions): Add a missing const in setsockopt prototype.
38745         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38746         use wchar_t for the argument.
38747         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38748         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38749         take no arguments.
38750         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38751         double/float/long double for second argument.
38752         Fix return types of significand, significandf, significandl.
38753         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38754         argument in fchmod prototype.
38755         (File Owner): Use uid_t and gid_t in fchown prototype.
38756         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38757         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38758         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38759         use 'const struct dirent **' as argument types to CMP function pointer
38760         argument.
38761         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38762         (File Times): Fix summary magic @comment for struct utimbuf and utime
38763         to refer to utime.h, not time.h.
38764         * manual/string.texi (Argz Functions): Add missing const in
38765         argz_extract and argz_next prototypes.
38766         (Finding Tokens in a String): Likewise for basename.
38767         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38768         (Copying and Concatenation): Fix typo in wmemmove prototype.
38769         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38770         (Signal Stack): Remove erroneous const in sigstack prototype.
38771         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38772         prototype.
38773         (Simple Calendar Time): Likewise for stime.
38774         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38775         prototype.
38776         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38777         say sys/sysctl.h instead.
38778         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38779         and vsyslog prototypes.
38781 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38783         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38784         Remove.
38786 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38788         * misc/sys/mman.h: Fix typo in mremap comment.
38790 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38792         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38793         the '\0' terminator.
38795 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38797         [BZ #13550]
38798         * debug/segfault.c: Don't include <bp-checks.h>.
38799         * sysdeps/generic/bp-checks.h: Remove file.
38800         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38801         (__GETDENTS): Don't use CHECK_N.
38802         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38803         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38804         (__getgroups): Don't use CHECK_N.
38805         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38806         (setgroups): Don't use CHECK_N.
38807         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38808         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38809         (__libc_msgrcv): Don't use CHECK_N.
38810         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38811         (__libc_msgsnd): Don't use CHECK_N.
38812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38813         <bp-checks.h>.
38814         (__libc_pread): Don't use CHECK_N.
38815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38816         include <bp-checks.h>.
38817         (__libc_pread64): Don't use CHECK_N.
38818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38819         include <bp-checks.h>.
38820         (__libc_pwrite): Don't use CHECK_N.
38821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38822         include <bp-checks.h>.
38823         (__libc_pwrite64): Don't use CHECK_N.
38824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38825         <bp-checks.h>.
38826         (__libc_pread): Don't use CHECK_N.
38827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38828         include <bp-checks.h>.
38829         (__libc_pread64): Don't use CHECK_N.
38830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38831         include <bp-checks.h>.
38832         (__libc_pwrite): Don't use CHECK_N.
38833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38834         include <bp-checks.h>.
38835         (__libc_pwrite64): Don't use CHECK_N.
38836         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38837         (do_pread): Don't use CHECK_N.
38838         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38839         (do_pread64): Don't use CHECK_N.
38840         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38841         (do_pwrite): Don't use CHECK_N.
38842         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38843         (do_pwrite64): Don't use CHECK_N.
38844         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38845         (__libc_readv): Don't use CHECK_N.
38846         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38847         (semop): Don't use CHECK_N.
38848         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38849         <bp-checks.h>.
38850         (semtimedop): Don't use CHECK_N.
38851         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38852         (__libc_pread): Don't use CHECK_N.
38853         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38854         <bp-checks.h>.
38855         (__libc_pread64): Don't use CHECK_N.
38856         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38857         <bp-checks.h>.
38858         (__libc_pwrite): Don't use CHECK_N.
38859         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38860         <bp-checks.h>.
38861         (__libc_pwrite64): Don't use CHECK_N.
38862         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38863         <bp-checks.h>.
38864         (__libc_msgrcv): Don't use CHECK_N.
38865         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38866         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38867         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38868         (__libc_writev): Don't use CHECK_N.
38870 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38872         * string/strcpy.c: Removed unused variable.
38874         * Makeconfig (+sysdep-includes): Define with := rather than =.
38875         Use an existing include/ subdir of each sysdeps dir before it.
38877 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38879         * nscd/connection.c (register_traced_file): Comment function.
38880         [HAVE_INOTIFY] (union __inev): Define.
38881         [HAVE_INOTIFY] (inotify_check_files): New function.
38882         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38883         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38884         clear_db_cache.
38885         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38887 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38889         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38890         loaded if not already and that a failure is permanent.
38892 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38894         [BZ #15006]
38895         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38896         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38898 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38900         [BZ #13550]
38901         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38902         (CHECK_1_NULL_OK): Likewise.
38903         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38904         (__fxstat): Do not use CHECK_1.
38905         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38906         <bp-checks.h>.
38907         (___fxstat64): Do not use CHECK_1.
38908         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38909         <bp-checks.h>.
38910         (__fxstatat): Do not use CHECK_1.
38911         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38912         <bp-checks.h>.
38913         (__fxstatat64): Do not use CHECK_1.
38914         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38915         <bp-checks.h>.
38916         (__fxstat): Do not use CHECK_1.
38917         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38918         <bp-checks.h>.
38919         (__fxstatat): Do not use CHECK_1.
38920         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38921         <bp-checks.h>.
38922         (__getresgid): Do not use CHECK_1.
38923         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38924         <bp-checks.h>.
38925         (__getresuid): Do not use CHECK_1.
38926         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38927         <bp-checks.h>.
38928         (__lxstat): Do not use CHECK_1.
38929         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38930         <bp-checks.h>.
38931         (__old_msgctl): Do not use CHECK_1.
38932         (__new_msgctl): Likewise.
38933         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38934         <bp-checks.h>.
38935         (__new_setrlimit): Do not use CHECK_1.
38936         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38937         <bp-checks.h>.
38938         (__old_shmctl): Do not use CHECK_1.
38939         (__new_shmctl): Likewise.
38940         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38941         <bp-checks.h>.
38942         (__xstat): Do not use CHECK_1.
38943         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38944         (__lxstat): Do not use CHECK_1.
38945         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38946         <bp-checks.h>.
38947         (___lxstat64): Do not use CHECK_1.
38948         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38949         (__old_msgctl): Do not use CHECK_1.
38950         (__new_msgctl): Likewise.
38951         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38952         <bp-checks.h>.
38953         (__gettimeofday): Do not use CHECK_1.
38954         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38955         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38956         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38957         <bp-checks.h>.
38958         (__gettimeofday): Do not use CHECK_1.
38959         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38960         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38961         (__new_shmctl): Do not use CHECK_1.
38962         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38963         <bp-checks.h>.
38964         (do_sigtimedwait): Do not use CHECK_1.
38965         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38966         <bp-checks.h>.
38967         (do_sigwaitinfo): Do not use CHECK_1.
38968         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38969         <bp-checks.h>.
38970         (msgctl): Do not use CHECK_1.
38971         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38972         <bp-checks.h>.
38973         (shmctl): Do not use CHECK_1.
38974         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38975         (ustat): Do not use CHECK_1.
38976         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38977         <bp-checks.h>.
38978         (__fxstat): Do not use CHECK_1.
38979         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38980         <bp-checks.h>.
38981         (__fxstatat): Do not use CHECK_1.
38982         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38983         <bp-checks.h>.
38984         (__lxstat): Do not use CHECK_1.
38985         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38986         <bp-checks.h>.
38987         (__xstat): Do not use CHECK_1.
38988         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38989         (__xstat): Do not use CHECK_1.
38990         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38991         (___xstat64): Do not use CHECK_1.
38993         [BZ #13550]
38994         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38995         definitions.
38996         (CHECK_BOUNDS_HIGH): Likewise.
38997         * string/strcpy.c: Do not include <bp-checks.h>.
38998         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39000 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39002         * nscd/nscd-client.h (__nscd_drop_map_ref):
39003         Add __attribute__ ((unused)).
39004         * nis/nss-nisplus.h (niserr2nss): Likewise.
39006         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39007         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39009         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39010         Remove inline keyword.
39011         * include/rounding-mode.h (round_away): Likewise.
39012         * libio/wfileops.c (adjust_wide_data): Likewise.
39013         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39014         (__m128i_strloadu_tolower): Likewise.
39015         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39016         (__m128i_strloadu_tolower): Likewise.
39017         * time/mktime.c (ydhms_diff): Likewise.
39018         * locale/elem-hash.h (elem_hash): Likewise.
39019         * locale/setlocale.c (setdata): Likewise.
39020         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39021         (re_string_wchar_at): Likewise.
39022         (bitset_not, bitset_merge, bitset_mask): Likewise.
39023         [!(__GNUC__ > 3)] (inline): Remove macro.
39024         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39025         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39026         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39027         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39028         * string/memcmp.c (memcmp_bytes): Likewise.
39029         * locale/programs/locarchive.c (compute_hashval): Likewise.
39030         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39031         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39032         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39033         * nss/getent.c (print_rpc, print_protocols): Likewise.
39034         (print_passwd, print_group, print_aliases): Likewise.
39035         * nis/nss-nisplus.h (niserr2nss): Likewise.
39036         * nscd/connections.c (restart_p): Likewise.
39037         Change return type to bool.
39039 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39041         * Makeconfig (all-Depend-files): Add existing
39042         $(sorted-subdirs:=/Depend) files.
39043         (all-subdirs): Remove nss.
39044         * sysdeps/unix/inet/Subdirs: Add it here instead.
39045         * hesiod/Depend: New file.
39047         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39048         instead of calling alloca.
39050         * io/lseek.c (__lseek): Rename to __libc_lseek.
39051         Define __lseek as an alias.
39053         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39055 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39057         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39058         else clause and remove check for non-standard endianness.
39060 2013-02-04  David S. Miller  <davem@davemloft.net>
39062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39064 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39066         [BZ #13550]
39067         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39068         (__ubp_memchr): Remove prototype.
39069         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39070         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39071         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39072         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39073         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39074         Remove alias.
39075         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39076         (__ubp_memchr): Likewise.
39077         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39078         (__ubp_memchr): Likewise.
39079         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39080         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39081         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39082         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39083         CHECK_STRING.
39084         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39085         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39086         (__getcwd): Do not use CHECK_STRING.
39087         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39088         <bp-checks.h>.
39089         (__real_chown): Do not use CHECK_STRING.
39090         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39091         <bp-checks.h>.
39092         (fchownat): Do not use CHECK_STRING.
39093         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39094         CHECK_STRING.
39095         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39096         <bp-checks.h>.
39097         (__lchown): Do not use CHECK_STRING.
39098         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39099         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39100         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39101         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39103         include <bp-checks.h>.
39104         (truncate64): Do not use CHECK_STRING.
39105         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39106         <bp-checks.h>.
39107         (__real_chown): Do not use CHECK_STRING.
39108         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39109         <bp-checks.h>.
39110         (__lchown): Do not use CHECK_STRING.
39111         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39112         <bp-checks.h>.
39113         (__chown): Do not use CHECK_STRING.
39114         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39115         <bp-checks.h>.
39116         (truncate64): Do not use CHECK_STRING.
39117         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39118         Likewise.
39119         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39120         (__xmknod): Do not use CHECK_STRING.
39121         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39122         <bp-checks.h>.
39123         (__xmknodat): Do not use CHECK_STRING.
39124         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39125         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39127 2013-02-04  Andreas Schwab  <schwab@suse.de>
39129         [BZ #14142]
39130         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39131         * include/netdb.h: Likewise for h_errno.
39132         * elf/tst-stackguard1.c: Include <tls.h>.
39134 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39136         * elf/link.h (struct link_map): Extend the l_addr comment.
39137         * include/link.h (struct link_map): Likewise.
39139 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39141         [BZ #13550]
39142         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39143         (BOUNDED_1): Remove macro.
39144         * debug/backtrace.c: Don't include <bp-checks.h>.
39145         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39146         (__backtrace): Likewise.
39147         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39148         <bp-checks.h>.
39149         (__backtrace): Don't use BOUNDED_1.
39150         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39151         <bp-checks.h>.
39152         (__backtrace): Don't use BOUNDED_1.
39153         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39154         (__backtrace): Don't use BOUNDED_1.
39155         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39156         (shmat): Don't use BOUNDED_N.
39158 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39160         [BZ #13550]
39161         * sysdeps/generic/bp-start.h: Remove file.
39162         * csu/libc-start.c: Don't include <bp-start.h>.
39163         (LIBC_START_MAIN): Set up __environ directly instead of using
39164         INIT_ARGV_and_ENVIRON.
39165         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39166         <bp-start.h>.
39168         [BZ #13550]
39169         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39170         definitions.
39171         (CHECK_FCNTL): Likewise.
39172         (CHECK_N_PAGES): Likewise.
39174         [BZ #13550]
39175         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39176         definitions.
39177         (CHECK_SIGSET_NULL_OK): Likewise.
39178         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39179         <bp-checks.h>.
39180         (sigpending): Don't use CHECK_SIGSET.
39181         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39182         <bp-checks.h>.
39183         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39184         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39185         <bp-checks.h>.
39186         (do_sigsuspend): Don't use CHECK_SIGSET.
39187         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39188         use CHECK_SIGSET.
39189         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39190         (do_sigwait): Don't use CHECK_SIGSET.
39191         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39192         use CHECK_SIGSET.
39193         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39194         include <bp-checks.h>.
39195         (sigpending): Don't use CHECK_SIGSET.
39196         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39197         include <bp-checks.h>.
39198         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39199         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39200         <bp-checks.h>.
39201         (sigpending): Don't use CHECK_SIGSET.
39202         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39203         <bp-checks.h>.
39204         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39206         [BZ #13550]
39207         * sysdeps/generic/bp-semctl.h: Remove file.
39208         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39209         <bp-checks.h> and <bp-semctl.h>.
39210         (__old_semctl): Don't use CHECK_SEMCTL.
39211         (__new_semctl): Likewise.
39212         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39213         and <bp-semctl.h>.
39214         (__old_semctl): Don't use CHECK_SEMCTL.
39215         (__new_semctl): Likewise.
39216         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39217         <bp-checks.h> and <bp-semctl.h>.
39218         (__old_semctl): Don't use CHECK_SEMCTL.
39219         (__new_semctl): Likewise.
39220         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39221         <bp-checks.h> and <bp-semctl.h>.
39222         (semctl): Don't use CHECK_SEMCTL.
39224         [BZ #13550]
39225         * Makerules (elide-bp-thunks): Remove variable.
39226         (elide-routines.oS): Don't use $(elide-bp-thunks).
39227         (elide-routines.os): Likewise.
39228         (elide-routines.o): Likewise.
39229         (elide-routines.op): Likewise.
39230         (elide-routines.og): Likewise.
39231         (objects): Don't use $(bp-thunks).
39232         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39233         include.
39234         (common-generated): Do not add s-proto-bp.d.
39235         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39236         (int): Likewise.
39237         (typ): Likewise.
39238         Do not generate makefile rules for bounded-pointer thunks.
39239         * sysdeps/generic/bp-thunks.h: Remove file.
39240         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39241         * sysdeps/unix/s-proto-bp.S: Likewise.
39243         [BZ #15062]
39244         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39245         parts of result separately when argument is not close to line from
39246         -i to i and one part of argument is small.
39247         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39248         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39249         * math/libm-test.inc (cacos_test): Add more tests.
39250         (casin_test): Likewise.
39251         (casinh_test): Likewise.
39252         * sysdeps/i386/fpu/libm-test-ulps: Update.
39253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39255 2013-01-31  David S. Miller  <davem@davemloft.net>
39257         * po/de.po: Update from translation team.
39259 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39261         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39263 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39265         * configure.in (_AC_PROG_CC_C89): New definition.
39266         * configure: Regenerate.
39268         * configure.in (AC_PROG_CPP): New definition.
39269         * configure: Regenerate.
39271 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39273         * debug/tst-backtrace.h: New file.
39274         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39275         (ret): Remove variable.
39276         (x): Likewise.
39277         (FAIL): Remove macro.
39278         (NO_INLINE): Likewise.
39279         (fn1): Use match function instead of strstr.
39280         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39281         (ret): Remove variable.
39282         (x): Likewise.
39283         (FAIL): Remove macro.
39284         (NO_INLINE): Likewise.
39285         (fn): Use match function instead of strstr.
39286         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39287         (ret): Remove variable.
39288         (x): Likewise.
39289         (FAIL): Remove macro.
39290         (NO_INLINE): Likewise.
39291         (handle_signal): Use match function instead of strstr.
39292         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39293         (ret): Remove variable.
39294         (x): Likewise.
39295         (FAIL): Remove macro.
39296         (NO_INLINE): Likewise.
39297         (handle_signal): Use match function instead of strstr.
39299 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39301         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39303 2013-01-23  David S. Miller  <davem@davemloft.net>
39305         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39306         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39307         argument of CAS if possible.
39308         * sysdeps/sparc/sparc64/bits/atomic.h
39309         (__arch_compare_and_exchange_val_32_acq): Likewise.
39310         (__arch_compare_and_exchange_val_64_acq): Likewise.
39312 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39314         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39315         * sysdeps/posix/ulimit.c: ... this.
39316         Include <limits.h>.
39317         * sysdeps/unix/bsd/ulimit.c: Remove file.
39319 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39321         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39322         (LDFLAGS-tst-array5): Likewise.
39324 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39326         [BZ #15036]
39327         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39328         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39329         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39330         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39332 2013-01-21  David S. Miller  <davem@davemloft.net>
39334         * sysdeps/sparc/backtrace.c: New file.
39335         * sysdeps/sparc/sparc32/backtrace.h: New file.
39336         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39337         * sysdeps/sparc/sparc64/backtrace.h: New file.
39338         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39339         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39340         -funwind-tables.
39342 2013-01-21  Andreas Schwab  <schwab@suse.de>
39344         [BZ #15020]
39345         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39346         closed its stdout.
39348 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39350         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39351         "mpa2.h".
39352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39354 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39355             Mark Mitchell  <mark@codesourcery.com>
39356             Tom de Vries  <tom@codesourcery.com>
39357             Paul Pluzhnikov  <ppluzhnikov@google.com>
39359         * debug/tst-backtrace2.c: New file.
39360         * debug/tst-backtrace3.c: Likewise.
39361         * debug/tst-backtrace4.c: Likewise.
39362         * debug/tst-backtrace5.c: Likewise.
39363         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39364         (CFLAGS-tst-backtrace3.c): Likewise.
39365         (CFLAGS-tst-backtrace4.c): Likewise.
39366         (CFLAGS-tst-backtrace5.c): Likewise.
39367         (LDFLAGS-tst-backtrace2): Likewise.
39368         (LDFLAGS-tst-backtrace3): Likewise.
39369         (LDFLAGS-tst-backtrace4): Likewise.
39370         (LDFLAGS-tst-backtrace5): Likewise.
39371         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39372         tst-backtrace4 and tst-backtrace5.
39374 2013-01-18  Anton Blanchard  <anton@samba.org>
39375             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39377         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39378         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39379         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39380         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39382         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39383         "+r" and remove output regs list as redundant.  Add explicit inline
39384         asm to specify register of return val to work around compiler codegen
39385         bug.  Remove (int) cast on return value.  Add return type parameter to
39386         use in macro so that this macro does not truncate return value for
39387         64-bit values.
39388         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39389         pass to INTERNAL_VSYSCALL_NCS.
39390         (INLINE_VSYSCALL): Add 'long int' as return type to
39391         INTERNAL_VSYSCALL_NCS macro invocation.
39392         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39393         INTERNAL_VSYSCALL_NCS macro invocation.
39394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39396 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39398         [BZ #14496]
39399         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39400         Fix application of SIMD FP exception mask.
39402         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39403         mp_no from a power of two.
39404         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39405         __mpexp_twomm1.  Use __pow_mp.
39407         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39408         multiplication.
39410 2013-01-17  David S. Miller  <davem@davemloft.net>
39412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39414 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39416         [BZ #15023]
39417         * include/complex.h: Condition contents on [!_COMPLEX_H].
39418         (__kernel_casinhf): New prototype.
39419         (__kernel_casinh): Likewise.
39420         (__kernel_casinhl): Likewise.
39421         * math/Makefile (libm_calls): Add k_casinh.
39422         * math/k_casinh.c: New file.
39423         * math/k_casinhf.c: Likewise.
39424         * math/k_casinhl.c: Likewise.
39425         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39426         finite nonzero arguments.
39427         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39428         finite nonzero arguments.
39429         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39430         finite nonzero arguments.
39431         * math/s_casinh.c: Do not include <float.h>.
39432         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39433         * math/s_casinhf.c: Do not include <float.h>.
39434         (__casinhf): Move code for finite nonzero arguments to
39435         k_casinhf.c.
39436         * math/s_casinhl.c: Do not include <float.h>.
39437         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39438         redefine.
39439         (__casinhl): Move code for finite nonzero arguments to
39440         k_casinhl.c.
39441         * math/libm-test.inc (cacos_test): Add more tests.
39442         * sysdeps/i386/fpu/libm-test-ulps: Update.
39443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39445 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39447         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39448         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39449         [!HAVE_MREMAP]: Remove [defined linux] case.
39450         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39452 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39454         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39456 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39458         * elf/elf.h (R_386_SIZE32): New relocation.
39459         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39460         R_386_SIZE32.
39461         (elf_machine_rela): Likewise.
39462         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39463         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39465 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39467         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39468         (FP_FAST_FMA): Do not define.
39469         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39470         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39471         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39472         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39473         !_SOFT_FLOAT]: Likewise.
39474         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39475         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39476         value.
39477         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39478         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39479         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39480         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39481         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39482         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39483         file.
39485 2013-01-16  Andreas Schwab  <schwab@suse.de>
39487         [BZ #14327]
39488         * include/stdlib.h (__mktemp): Add declaration.
39489         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39490         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39492 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39494         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39495         definitions.
39496         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39497         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39498         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39499         definitions here.
39500         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39501         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39502         definitions.
39503         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39504         and ONE.
39505         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39506         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39507         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39508         definitions.
39509         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39510         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39511         definitions.
39512         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39514         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39516 2013-01-15  David S. Miller  <davem@davemloft.net>
39518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39519         trunc{,f} to libm-sysdep_routes.
39520         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39522         file.
39523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39525         file.
39526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39527         file.
39528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39530         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39531         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39532         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39533         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39534         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39535         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39538         nearbyint{,f} to libm-sysdep_routes.
39539         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39541         New file.
39542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39543         file.
39544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39545         New file.
39546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39547         file.
39548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39550         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39551         file.
39552         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39553         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39554         file.
39555         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39556         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39557         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39559         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39560         libc_feholdexcept and libc_fesetenv.
39562 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39564         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39566 2013-01-14  David S. Miller  <davem@davemloft.net>
39568         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39569         (SPARC_ASM_VIS2_IFUNC): Likewise.
39570         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39572         use of 'siam' instruction.
39573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39574         Likewise.
39575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39576         Likewise.
39577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39578         Likewise.
39579         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39580         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39581         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39582         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39584         file.
39585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39586         file.
39587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39588         file.
39589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39590         file.
39591         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39592         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39593         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39594         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39596         new VIS2 routines.
39597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39600         Likewise.
39601         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39602         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39603         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39604         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39606         routines to libm-sysdep_routines.
39607         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39610         fdim/fdimf to libm-sysdep_routines.
39611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39612         file.
39613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39615         file.
39616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39619         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39620         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39621         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39622         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39624 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39626         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39627         to optimize copies.
39629         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39630         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39631         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39633         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39634         local variable MPTWO.
39635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39636         Likewise.
39638 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39640         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39641         GLOB_NOESCAPE.
39643 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39645         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39647 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39649         * manual/pattern.texi (glob_t): Document gl_flags.
39650         (glob64_t): Likewise.
39652 2013-01-11  David S. Miller  <davem@davemloft.net>
39654         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39655         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39656         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39657         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39658         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39659         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39660         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39661         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39662         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39663         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39664         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39665         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39666         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39668         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39669         sparc V9 rather than using V8 code.
39670         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39671         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39673         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39674         Move to...
39675         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39676         Here.
39678 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39680         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39681         not in the main loop.
39682         * configure: Regenerated.
39684 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39686         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39687         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39688         to just #else.
39689         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39690         [!__GLIBC_HAVE_LONG_LONG] case.
39691         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39692         condition to just #else.
39693         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39694         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39695         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39696         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39697         unconditional.
39698         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39699         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39700         #elif condition to just #else.
39701         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39702         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39703         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39704         #elif condition to just #else.
39706 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39708         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39709         (EF_MIPS_ARCH_64): Fix value.
39710         (EF_MIPS_ARCH_32R2): New.
39711         (EF_MIPS_ARCH_64R2): New.
39713 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39715         * Makeconfig (+link-pie-before-libc): New.
39716         (+link-pie-after-libc): Likewise.
39717         (+link-pie-tests): Likewise.
39718         (+link-pie): Rewritten.
39719         (link-before-libc): Remove $(config-LDFLAGS).
39720         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39721         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39722         (config-LDFLAGS): Renamed to ...
39723         (rtld-LDFLAGS): This.
39724         (rtld-tests-LDFLAGS): New macro.
39725         (link-libc-rpath-link): Likewise.
39726         (link-libc-tests-rpath-link): Likewise.
39727         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39728         (link-libc): Prepand $(link-libc-rpath-link).
39729         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39730         (test-program-prefix): New macro.
39731         (test-via-rtld-prefix): Likewise.
39732         (test-program-cmd): Likewise.
39733         (host-test-program-cmd): Likewise.
39734         * Makefile ($(common-objpfx)testrun.sh): Replace
39735         $(run-program-prefix) with $(test-program-prefix).
39736         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39737         $(rtld-LDFLAGS).
39738         ($(common-objpfx)shlib.lds): Likewise.
39739         (build-module-helper): Likewise.
39740         ($(common-objpfx)format.lds): Likewise.
39741         * Rules (binaries-pie-tests): New.
39742         (binaries-pie-notests): Likewise.
39743         (binaries-pie): Rewritten.
39744         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39745         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39746         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39747         (make-test-out): Replace $(host-built-program-cmd) with
39748         $(host-test-program-cmd).
39749         * config.make.in (build-hardcoded-path-in-tests): New variable.
39750         * configure.in (--enable-hardcoded-path-in-tests): New configure
39751         option.
39752         (hardcoded_path_in_tests): New AC_SUBST.
39753         * configure: Regenerated.
39754         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39755         $(built-program-cmd) with $(test-program-cmd).
39756         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39757         (test_program_cmd): This.
39758         * elf/Makefile ($(objpfx)order.out): Run test with
39759         $(test-program-prefix).
39760         ($(objpfx)order2.out): Likewise.
39761         ($(objpfx)tst-initorder.out): Likewise.
39762         ($(objpfx)tst-initorder2.out): Likewise.
39763         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39764         $(test-program-cmd).
39765         ($(objpfx)tst-array1-static.out): Likewise.
39766         ($(objpfx)tst-array2.out): Likewise.
39767         ($(objpfx)tst-array3.out): Likewise.
39768         ($(objpfx)tst-array4.out): Likewise.
39769         ($(objpfx)tst-array5.out): Likewise.
39770         ($(objpfx)tst-array5-static.out): Likewise.
39771         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39772         $(test-program-cmd).
39773         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39774         $(run-program-prefix) with $(test-program-prefix).
39775         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39776         (test_program_prefix): This.
39777         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39778         $(run-program-prefix) with $(test-program-prefix).
39779         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39780         (test_program_prefix): This.
39781         * iconvdata/tst-tables.sh: Likewise.
39782         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39783         $(run-program-prefix) with $(test-program-prefix).
39784         ($(objpfx)tst-translit.out): Likewise.
39785         ($(objpfx)tst-gettext2.out): Likewise.
39786         ($(objpfx)tst-gettext4.out): Likewise.
39787         ($(objpfx)tst-gettext6.out): Likewise.
39788         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39789         (test_program_prefix): This.
39790         * intl/tst-gettext2.sh: Likewise.
39791         * intl/tst-gettext4.sh  Likewise.
39792         * intl/tst-gettext6.sh: Likewise.
39793         * intl/tst-translit.sh: Likewise.
39794         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39795         with $(test-program-cmd).
39796         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39797         $(run-program-prefix) with $(test-program-prefix).
39798         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39799         (test_program_prefix): This.
39800         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39801         $(run-program-prefix) with $(test-program-prefix).
39802         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39803         (test_program_prefix): This.
39804         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39805         * posix/Makefile ($(objpfx)globtest.out): Replace
39806         $(run-via-rtld-prefix) and $(test-wrapper) with
39807         $(test-program-prefix) and $(test-via-rtld-prefix).
39808         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39809         $(test-program-prefix).
39810         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39811         $(host-test-program-cmd).
39812         (tst-spawn-ARGS): Likewise.
39813         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39814         $(test-program-prefix).
39815         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39816         (test_via_rtld_prefix): This.
39817         (test_wrapper): Renamed to ...
39818         (test_program_prefix): This.
39819         (run_program_prefix): Replaced by test_program_prefix.
39820         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39821         (test_program_prefix): This.
39822         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39823         with $(host-test-program-cmd).
39824         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39825         $(run-program-prefix) with $(test-program-prefix).
39826         ($(objpfx)tst-printf.out): Likewise.
39827         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39828         $(test-program-cmd).
39829         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39830         (test_program_prefix): This.
39831         * stdio-common/tst-unbputc.sh: Likewise.
39832         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39833         $(run-program-prefix) with $(test-program-prefix).
39834         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39835         (test_program_prefix): This.
39836         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39837         $(built-program-cmd) with $(test-program-cmd).
39839 2013-01-11  Andreas Jaeger  <aj@suse.de>
39841         [BZ #15003]
39842         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39843         value. Sync with Linux 3.7.
39845 2013-01-10  David S. Miller  <davem@davemloft.net>
39847         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39848         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39849         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39851 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39853         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39854         never set.
39855         * configure: Regenerated.
39857 2013-01-10  David S. Miller  <davem@davemloft.net>
39859         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39860         sparc V9 rather than using V8 code.
39861         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39862         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39864 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39866         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39867         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39868         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39869         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39870         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39871         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39872         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39873         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39874         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39875         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39876         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39877         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39878         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39879         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39880         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39881         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39882         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39883         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39884         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39885         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39886         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39887         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39888         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39889         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39890         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39891         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39892         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39894 2013-01-10  David S. Miller  <davem@davemloft.net>
39896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39898 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39900         * posix/Makefile (tests-static): New variable.
39901         (tests): Add $(tests-static).
39902         (tst-exec-static-ARGS): New variable.
39903         (tst-spawn-static-ARGS): Likewise.
39904         * posix/tst-exec-static.c: New file.
39905         * posix/tst-spawn-static.c: Likewise.
39906         * posix/tst-exec.c: Support run directly.
39907         * posix/tst-spawn.c: Likewise.
39909 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39911         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39912         long.
39913         * math/bits/mathcalls.h (llrint): Likewise.
39914         (llround): Likewise.
39915         * stdlib/stdlib.h (struct drand48_data): Likewise.
39916         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39917         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39918         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39919         Likewise.
39920         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39921         Likewise.
39922         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39923         (elf_greg_t): Likewise.
39924         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39925         (__jmp_buf): Likewise.
39926         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39927         definitions.
39928         (llrint): Likewise, for all definitions.
39929         (llrintl): Likewise.
39931         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39932         Remove [__GNUC__] condition.
39933         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39934         condition to just [__USE_ISOC99].
39935         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39937 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39939         [BZ #14200]
39940         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39941         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39942         defined.
39943         (_POSIX_V6_ILP32_OFF32): Likewise.
39944         (_XBS5_ILP32_OFF32): Likewise.
39945         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39946         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39948 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39950         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39952         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39953         doubles __mpexp_twomm1.  Adjust usage.
39954         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39955         Remove.
39957 2013-01-10  Andreas Schwab  <schwab@suse.de>
39959         [BZ #14964]
39960         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39961         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39963 2013-01-09  David S. Miller  <davem@davemloft.net>
39965         [BZ #15003]
39966         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39967         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39968         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39969         (TCP_FASTOPEN): Define.
39970         (tcp_repair_opt): New structure.
39971         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39972         enum values.
39973         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39974         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39975         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39976         (tcp_cookie_transactions): New structure.
39978 2013-01-09  Anton Blanchard  <anton@samba.org>
39980         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39981         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39982         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39983         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39985 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39987         * include/features.h (__USE_ANSI): Remove.
39989 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39991         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39993         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39995 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39997         * sysdeps/s390/fpu/libm-test-ulps: Update.
39999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40001         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40002         (__acr): Likewise.
40003         (__cpy): Likewise.
40004         (norm): Likewise.
40005         (denorm): Likewise.
40006         (__mp_dbl): Likewise.
40007         (__dbl_mp): Likewise.
40008         (add_magnitudes): Likewise.
40009         (sub_magnitudes): Likewise.
40010         (__add): Likewise.
40011         (__sub): Likewise.
40012         (__mul): Likewise.
40013         (__inv): Likewise.
40014         (__dvd): Likewise.
40015         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40016         (__acr): Likewise.
40017         (__cpy): Likewise.
40018         (norm): Likewise.
40019         (denorm): Likewise.
40020         (__mp_dbl): Likewise.
40021         (__dbl_mp): Likewise.
40022         (add_magnitudes): Likewise.
40023         (sub_magnitudes): Likewise.
40024         (__add): Likewise.
40025         (__sub): Likewise.
40026         (__mul): Likewise.
40027         (__inv): Likewise.
40028         (__dvd): Likewise.
40029         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40030         (__acr): Likewise.
40031         (__cpy): Likewise.
40032         (norm): Likewise.
40033         (denorm): Likewise.
40034         (__mp_dbl): Likewise.
40035         (__dbl_mp): Likewise.
40036         (add_magnitudes): Likewise.
40037         (sub_magnitudes): Likewise.
40038         (__add): Likewise.
40039         (__sub): Likewise.
40040         (__mul): Likewise.
40041         (__inv): Likewise.
40042         (__dvd): Likewise.
40044 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40046         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40047         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40048         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40049         2 && __USE_EXTERN_INLINES]: Likewise.
40051 2013-01-08  Andreas Jaeger  <aj@suse.de>
40053         [BZ# 14985]
40054         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40055         Remove.
40056         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40057         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40059 2013-01-07  Anton Blanchard  <anton@samba.org>
40061         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40062         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40063         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40064         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40065         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40066         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40067         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40068         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40069         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40070         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40071         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40072         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40073         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40074         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40075         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40076         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40077         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40078         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40079         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40080         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40081         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40082         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40083         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40084         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40085         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40086         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40087         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40088         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40089         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40090         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40091         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40092         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40093         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40094         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40095         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40096         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40097         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40098         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40099         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40100         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40101         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40102         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40103         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40105 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40107         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40108         (__MALLOC_PMT): Likewise.
40109         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40110         [__GNUC__], only on [_LIBC].
40111         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40112         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40113         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40114         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40115         forward declaration.
40116         (realloc_hook_ini): Likewise.
40117         (memalign_hook_ini): Likewise.
40118         (__libc_memalign): Do not use __MALLOC_PMT in variable
40119         declaration.
40120         (__libc_valloc): Likewise.
40121         (__libc_pvalloc): Likewise.
40122         (__libc_calloc): Likewise.
40123         (__posix_memalign): Likewise.
40125         [BZ #14996]
40126         * math/s_casinh.c: Include <float.h>.
40127         (__casinh): Do not do computation with squaring and square root
40128         for large arguments.
40129         * math/s_casinhf.c: Include <float.h>.
40130         (__casinhf): Do not do computation with squaring and square root
40131         for large arguments.
40132         * math/s_casinhl.c: Include <float.h>.
40133         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40134         (__casinhl): Do not do computation with squaring and square root
40135         for large arguments.
40136         * math/libm-test.inc (casin_test): Add more tests.
40137         (casinh_test): Likewise.
40138         * sysdeps/i386/fpu/libm-test-ulps: Update.
40139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40141 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40143         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40144         (__x86_64_raw_data_cache_size): Likewise.
40145         (__x86_64_data_cache_size_half): Likewise.
40146         (__x86_64_raw_data_cache_size_half): Likewise.
40147         (__x86_64_shared_cache_size): Likewise.
40148         (__x86_64_raw_shared_cache_size): Likewise.
40149         (__x86_64_shared_cache_size_half): Likewise.
40150         (__x86_64_raw_shared_cache_size_half): Likewise.
40151         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40152         to ...
40153         (__x86_data_cache_size): This.
40154         (__x86_64_raw_data_cache_size): Renamed to ...
40155         (__x86_raw_data_cache_size): This.
40156         (__x86_64_data_cache_size_half): Renamed to ...
40157         (__x86_data_cache_size_half): This.
40158         (__x86_64_raw_data_cache_size_half): Renamed to ...
40159         (__x86_raw_data_cache_size_half): This.
40160         (__x86_64_shared_cache_size): Renamed to ...
40161         (__x86_shared_cache_size): This.
40162         (__x86_64_raw_shared_cache_size): Renamed to ...
40163         (__x86_raw_shared_cache_size): This.
40164         (__x86_64_shared_cache_size_half): Renamed to ...
40165         (__x86_shared_cache_size_half): This.
40166         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40167         (__x86_raw_shared_cache_size_half): This.
40168         * sysdeps/x86_64/memcpy.S: Updated.
40169         * sysdeps/x86_64/memset.S: Likewise.
40170         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40171         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40172         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40174 2013-01-04  David S. Miller  <davem@davemloft.net>
40176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40178 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40180         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40181         1 to avoid redefinition warning.
40182         (__USE_GNU): Don't define.
40183         (init_signaling_nan): Protoize.
40185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40187 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40189         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40190         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40191         (__cpymn): Likewise.
40192         (norm): Remove commented code.
40193         (denorm): Likewise.
40194         (__mp_dbl): Likewise.
40195         (__inv): Likewise.
40196         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40197         (__cpymn): Likewise.
40198         (norm): Remove commented code.
40199         (denorm): Likewise.
40200         (__mp_dbl): Likewise.
40201         (__inv): Likewise.
40203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40204         mp_no value for 1.0 and 2.0.
40205         (norm): Use RADIXI instead of radixi.d.
40206         (denorm): Likewise.
40207         (__mul): Use 0.0 instead of zero.d.
40208         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40209         mp_no value for 1.0 and 2.0.
40210         (norm): Use RADIXI instead of radixi.d.
40211         (denorm): Likewise.
40212         (__mul): Use 0.0 instead of zero.d.
40214 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40216         [BZ #14994]
40217         * math/s_casinh.c (__casinh): Reduce finite argument to first
40218         quadrant then set signs of results at the end.
40219         * math/s_casinhf.c (__casinhf): Likewise.
40220         * math/s_casinhl.c (__casinhl): Likewise.
40221         * math/libm-test.inc (casin_test): Add more tests.
40222         (casinh_test): Likewise.
40223         * sysdeps/i386/fpu/libm-test-ulps: Update.
40224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40226 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40228         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40230         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40232         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40233         declarations.
40234         (denorm): Likewise.
40235         (__mp_dbl): Likewise.
40236         (__inv): Likewise.
40238         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40239         and adjust the header comment.
40241         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40242         variable name from declaration.
40244 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40246         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40247         Initialize COMMON_CPUID_INDEX_7 element.
40248         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40249         (CPUID_RTM): Likewise.
40250         (HAS_RTM): Likewise.
40251         (COMMON_CPUID_INDEX_7): New enum.
40253 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40255         [BZ #14981]
40256         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40257         size is zero, record memory as freed.
40259 2013-01-03  Andreas Jaeger  <aj@suse.de>
40261         * po/ia.po: Add new Interlingua translation.
40263 2012-01-03  Allan McRae  <allan@archlinux.org>
40265         * locale/programs/localedef.c: Fix description of '--posix' flag.
40267 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40269         * NEWS: Update dates in second copyright notice.
40270         * README: Update copyright dates in example.
40271         * manual/libc.texinfo: Update copyright dates.
40272         * scripts/test-installation.pl: Update copyright date in --version
40273         output.
40275         * hurd/ctty-input.c: Fix copyright notice formatting.
40276         * hurd/ctty-output.c: Likewise.
40277         * hurd/dtable.c: Likewise.
40278         * hurd/hurd-raise.c: Likewise.
40279         * hurd/hurdprio.c: Likewise.
40280         * hurd/msgportdemux.c: Likewise.
40281         * misc/sys/file.h: Likewise.
40282         * misc/sys/ioctl.h: Likewise.
40283         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40284         * sysdeps/mach/hurd/chdir.c: Likewise.
40285         * sysdeps/mach/hurd/fchdir.c: Likewise.
40286         * sysdeps/mach/hurd/rename.c: Likewise.
40287         * sysdeps/mach/hurd/rmdir.c: Likewise.
40288         * sysdeps/mach/hurd/seekdir.c: Likewise.
40289         * sysdeps/mach/hurd/setsid.c: Likewise.
40290         * sysdeps/posix/wait3.c: Likewise.
40292         * All files with FSF copyright notices: Update copyright dates
40293         using scripts/update-copyrights.
40294         * intl/plural.c: Regenerated.
40295         * locale/programs/charmap-kw.h: Likewise.
40296         * locale/programs/locfile-kw.h: Likewise.
40298 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40300         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40301         four values.
40303         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40304         calculation loop and add branch prediction.
40306         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40307         check access beyond bounds of m1np.
40309         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40310         MPTWO.
40311         (__inv): Remove local variable MPTWO to use the global
40312         constant.
40313         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40314         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40315         variable MPTWO.
40316         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40317         MP3HALFS static const.
40319 2013-01-01  David S. Miller  <davem@davemloft.net>
40321         * po/ca.po: Update from translation team.
40323 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40325         * scripts/update-copyrights: New file.
40326         * Makeconfig: Reformat copyright notice.
40327         * ctype/ctype.h: Likewise.
40328         * debug/swprintf_chk.c: Likewise.
40329         * elf/dl-cache.c: Likewise.
40330         * elf/dl-debug.c: Likewise.
40331         * elf/dl-object.c: Likewise.
40332         * grp/initgroups.c: Likewise.
40333         * hurd/Makefile: Likewise.
40334         * hurd/hurd/signal.h: Likewise.
40335         * hurd/hurdfault.c: Likewise.
40336         * hurd/hurdioctl.c: Likewise.
40337         * hurd/hurdlookup.c: Likewise.
40338         * hurd/intr-msg.c: Likewise.
40339         * iconv/gconv_open.c: Likewise.
40340         * libio/swprintf.c: Likewise.
40341         * locale/lc-ctype.c: Likewise.
40342         * locale/nl_langinfo.c: Likewise.
40343         * mach/Machrules: Likewise.
40344         * mach/Makefile: Likewise.
40345         * malloc/obstack.h: Likewise.
40346         * manual/Makefile: Likewise.
40347         * manual/tsort.awk: Likewise.
40348         * misc/bits/stab.def: Likewise.
40349         * nis/nis_print_group_entry.c: Likewise.
40350         * nis/nis_table.c: Likewise.
40351         * nis/nss_compat/compat-pwd.c: Likewise.
40352         * nis/nss_compat/compat-spwd.c: Likewise.
40353         * po/Makefile: Likewise.
40354         * posix/fnmatch.c: Likewise.
40355         * posix/regex.h: Likewise.
40356         * resolv/Makefile: Likewise.
40357         * resolv/nss_dns/dns-network.c: Likewise.
40358         * resolv/res_hconf.c: Likewise.
40359         * scripts/gen-sorted.awk: Likewise.
40360         * soft-fp/soft-fp.h: Likewise.
40361         * stdio-common/printf.h: Likewise.
40362         * stdlib/monetary.h: Likewise.
40363         * stdlib/random.c: Likewise.
40364         * stdlib/random_r.c: Likewise.
40365         * sysdeps/generic/Makefile: Likewise.
40366         * sysdeps/gnu/Makefile: Likewise.
40367         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40368         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40369         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40370         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40371         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40372         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40373         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40374         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40375         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40376         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40377         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40378         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40379         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40380         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40381         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40382         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40383         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40384         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40385         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40386         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40387         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40388         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40389         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40390         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40391         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40392         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40393         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40394         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40395         * sysdeps/mach/hurd/errnos.awk: Likewise.
40396         * sysdeps/mach/hurd/fork.c: Likewise.
40397         * sysdeps/mach/hurd/getcwd.c: Likewise.
40398         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40399         * sysdeps/mach/hurd/mmap.c: Likewise.
40400         * sysdeps/mach/hurd/utimes.c: Likewise.
40401         * sysdeps/mach/hurd/xmknod.c: Likewise.
40402         * sysdeps/posix/profil.c: Likewise.
40403         * sysdeps/posix/readdir_r.c: Likewise.
40404         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40405         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40406         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40407         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40409         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40410         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40411         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40412         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40413         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40414         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40415         * sysdeps/pthread/lio_listio.c: Likewise.
40416         * sysdeps/sparc/dl-procinfo.h: Likewise.
40417         * sysdeps/unix/i386/sysdep.S: Likewise.
40418         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40419         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40420         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40421         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40423         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40424         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40425         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40426         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40427         * sysdeps/wordsize-32/divdi3.c: Likewise.
40428         * time/sys/time.h: Likewise.
40429         * wcsmbs/Makefile: Likewise.
40431 2013-01-01  David S. Miller  <davem@davemloft.net>
40433         * po/fr.po: Update from translation team.
40435         * catgets/gencat.c: Update copyright year.
40436         * csu/version.c: Likewise.
40437         * debug/catchsegv.sh: Likewise.
40438         * debug/pcprofiledump.c: Likewise.
40439         * debug/xtrace.sh: Likewise.
40440         * elf/ldconfig.c: Likewise.
40441         * elf/ldd.bash.in: Likewise.
40442         * elf/pldd.c: Likewise.
40443         * elf/sotruss.ksh: Likewise.
40444         * elf/sprof.c: Likewise.
40445         * iconv/iconv_prog.c: Likewise.
40446         * iconv/iconvconfig.c: Likewise.
40447         * locale/programs/locale.c: Likewise.
40448         * locale/programs/localedef.c: Likewise.
40449         * login/programs/pt_chown.c: Likewise.
40450         * malloc/memusage.sh: Likewise.
40451         * malloc/memusagestat.c: Likewise.
40452         * malloc/mtrace.pl: Likewise.
40453         * nscd/nscd.c: Likewise.
40454         * nss/getent.c: Likewise.
40455         * nss/makedb.c: Likewise.
40456         * posix/getconf.c: Likewise.
40458 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40460         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40461         numbers.
40463 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40465         * math/bits/mathcalls.h (modf): Use __nonnull.
40467 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40469         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40470         (split): Use macro CN instead of the bare value.
40471         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40472         could be used.
40473         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40474         instead of the bare value.
40475         (power1): Likewise.
40477 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40479         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40480         __ATAN_TWOM.
40481         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40483         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40484         their values.
40485         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40486         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40487         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40488         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40490 2012-12-28  Andreas Jaeger  <aj@suse.de>
40492         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40493         values are from Linux 3.7.
40495         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40496         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40498 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40500         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40501         TRUE case.
40503         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40504         (norm): Likewise.
40505         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40506         variables with preprocessor constants.
40507         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40508         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40509         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40511 2012-12-27  Bruno Haible  <bruno@clisp.org>
40513         [BZ #14317]
40514         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40515         only if needed.
40517 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40519         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40520         and use variable directly.
40521         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40523         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40524         MPONE.
40525         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40526         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40527         variable MPONE.
40528         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40529         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40530         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40531         include directive.  Remove local variable MPONE.
40532         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40533         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40534         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40536 2012-12-25  David S. Miller  <davem@davemloft.net>
40538         * version.h (RELEASE): Set to "development".
40539         (VERSION): Set to "2.17.90".
40540         * NEWS: Add 2.18 section.
40542 2012-12-21  David S. Miller  <davem@davemloft.net>
40544         * po/hr.po: Update from translation team.
40546 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40548         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40550 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40552         * NEWS:  Mention new memcpy for MIPS.
40554 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40556         * manual/contrib.texi (Contributors): Spelling correction.
40558 2012-12-15  David S. Miller  <davem@davemloft.net>
40560         * po/ru.po: Update from translation team.
40562 2012-12-13  David S. Miller  <davem@davemloft.net>
40564         * NEWS: Mention IFUNC testsuite enhancements.
40566         * po/pl.po: Update from translation team.
40567         * po/bg.po: Likewise.
40569         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40570         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40572 2012-12-11  David S. Miller  <davem@davemloft.net>
40574         * po/sv.po: Update from translation team.
40576         * po/vi.po: Update from translation team.
40578         * po/cs.po: Update from translation team.
40580         * po/de.po: Update from translation team.
40581         * po/eo.po: Likewise.
40582         * po/nl.po: Likewise.
40584 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40586         [BZ #14246]
40587         * manual/argp.texi (Argp Helper Functions): Move node to follow
40588         Argp Parsing State.
40590         [BZ #14872]
40591         * manual/conf.texi (Limits on File System Capacity): Mention if
40592         terminating null is included in the max size.
40594 2012-12-10  Andreas Jaeger  <aj@suse.de>
40596         * po/cs.po: Update from translation team.
40598 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40600         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40601         void pointer and cast to uintptr_t.
40602         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40603         path.
40604         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40605         * sysdeps/s390/s390-64/memset.S: Likewise.
40607 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40609         [BZ #14833]
40610         * menual/message.texi (Message Translation): Fix typos.
40611         (Helper programs for gettext): Likewise.
40613 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40615         [BZ #14898]
40616         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40617         Change to -1.
40619 2012-12-07  David S. Miller  <davem@davemloft.net>
40621         * po/libc.pot: Update.
40623 2012-12-07  Richard Henderson  <rth@redhat.com>
40625         [BZ #10114]
40626         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40627         normal/normal case to before the switch.
40628         (_FP_DIV): Likewise.
40630 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40631             Mike Frysinger  <vapier@gentoo.org>
40633         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40634         check for __NR_fadvise64_64.
40636 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40638         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40639         0, not just to plain "0" as a statement.
40640         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40641         with cw.
40643 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40645         * NEWS: Use sourceware.org in Bugzilla URL.
40647 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40650         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40652         * stdio-common/tst-put-error.c (do_test): Add newline to the
40653         padded test to ensure flush.
40655 2012-12-05  Jeff Law  <law@redhat.com>
40657         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40659 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40661         * README: Don't refer to ports add-on as distributed separately.
40662         Mention AArch64 in list of systems supported in the ports add-on.
40664         * LICENSES: Add more non-FSF copyright and license notices.
40666         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40667         ((unused)).
40669         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40671         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40672         10000 as width of padded output.
40674 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40676         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40678         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40679         variable LX with __attribute__ ((unused)).
40680         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40681         Likewise.
40682         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40683         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40684         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40685         with __attribute__ ((unused)).
40687 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40689         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40691 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40693         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40694         (CFLAGS-nldbl-acos.c): New variable.
40695         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40696         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40697         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40698         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40699         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40700         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40701         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40702         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40703         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40704         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40705         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40706         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40707         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40708         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40709         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40710         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40711         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40712         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40713         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40714         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40715         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40716         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40717         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40718         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40719         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40720         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40721         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40722         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40723         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40724         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40725         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40726         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40727         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40728         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40729         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40730         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40731         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40732         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40733         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40734         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40735         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40736         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40737         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40738         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40739         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40740         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40741         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40742         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40743         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40744         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40745         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40746         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40747         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40748         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40749         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40750         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40751         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40752         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40753         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40754         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40755         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40756         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40757         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40758         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40759         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40760         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40761         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40762         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40763         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40764         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40765         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40766         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40767         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40768         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40769         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40770         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40771         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40772         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40773         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40774         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40775         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40776         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40777         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40778         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40779         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40780         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40781         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40782         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40783         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40784         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40785         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40786         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40787         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40788         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40789         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40790         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40791         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40794         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40796         [BZ #14914]
40797         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40798         whole low double instead of just low 47 bits when splitting values
40799         into two parts.
40801 2012-12-03  Allan McRae  <allan@archlinux.org>
40803         * manual/stdio.texi (Predefined Printf Handlers): Remove
40804         @hsep and @vsep usage.
40806 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40808         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40809         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40811 2012-12-03  Jeff Law  <law@redhat.com>
40813         * time/sys/time.h (settimeofday): Do not mark TV argument
40814         as __nonnull.
40816 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40818         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40819         when currently writing and seek to current position when not.
40820         * libio/Makefile (tests): Remove bug-fclose1.
40821         * libio/bug-fclose1.c: Delete.
40823 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40825         * manual/arith.texi (feenableexcept): Fix typo.
40826         (fedisableexcept): Likewise.
40828 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40830         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40831         second, differently-typed declaration, rather than a cast.
40833 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40835         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40836         * include/rpc/svc.h: ... here.
40838 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40840         [BZ #13013]
40841         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40842         depending n and resplen2 to catch cases where answer
40843         equals answerp2.
40845 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40847         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40848         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40850 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40852         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40854 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40856         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40858 2012-11-28  Jeff Law  <law@redhat.com>
40860         [BZ #13761]
40861         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40862         dataset_temporary.  Track alloca usage into alloca_used.
40863         If dataset is large allocate and release it via malloc/free.
40865 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40867         [BZ #14197]
40868         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40870 2012-11-28  David S. Miller  <davem@davemloft.net>
40872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40874 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40876         [BZ #14803]
40877         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40878         of pi/2 rounded to nearest to 64 bits.
40879         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40880         nearest to 64 bits.
40881         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40882         bits.
40884 2012-11-28  Jeff Law <law@redhat.com>
40885             Martin Osvald <mosvald@redhat.com>
40887         [BZ #14889]
40888         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40889         * sunrpc/svc.c: Include time.h.
40890         (__svc_accept_failed): New function.
40891         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40892         any reason other than EINTR, call __svc_accept_failed.
40893         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40894         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40896 2012-11-28  Andreas Schwab  <schwab@suse.de>
40898         * scripts/abilist.awk: Also handle indirect functions in .opd
40899         section.
40901 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40903         [BZ #13881]
40904         * sysdeps/x86/fpu/powl_helper.c: New file.
40905         * sysdeps/x86/fpu/Makefile: Likewise.
40906         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40907         (p3): New object.
40908         (__ieee754_powl): Use __powl_helper for finite arguments except
40909         integer exponents below 8.
40910         * sysdeps/x86_64/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         * math/libm-test.inc (pow_test): Add more tests and enable some
40915         previously disabled tests.
40916         * sysdeps/i386/fpu/libm-test-ulps: Update.
40917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40919 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40920             Carlos O'Donell  <carlos_odonell@mentor.com>
40922         * nss/makedb.c (is_prime): Assert that input is odd and greater
40923         than 4.  Note that fact in a comment too.
40924         (next_prime): Add 4 to input.
40926 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40928         [BZ #11741]
40929         * libio/Makefile (tests): Add test case tst-fwrite-error.
40930         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40931         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40932         * libio/tst-fwrite-error.c: New test case.
40934 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40936         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40937         before casting to void *.
40938         * include/libc-internal.h (__pointer_type): New macro.
40939         (__integer_if_pointer_type_sub): Likewise.
40940         (__integer_if_pointer_type): Likewise.
40941         (cast_to_integer): Likewise.
40942         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40943         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40944         before casting to atomic64_t.
40945         (atomic_exchange_acq): Likewise.
40946         (__arch_exchange_and_add_body): Likewise.
40947         (__arch_add_body): Likewise.
40948         (atomic_add_negative): Likewise.
40949         (atomic_add_zero): Likewise.
40951 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40953         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40954         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40955         (add_fdes): Likewise.
40956         (linear_search_fdes): Likewise.
40957         (binary_search_unencoded_fdes): Likewise.
40959 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40961         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40963 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40965         * configure.in: Autodetect C++ header directories.
40966         * configure: Regenerated.
40968 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40970         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40972 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40976 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40978         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40979         LDBL_MANT_DIG == 106]: Disable some tests.
40980         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40981         Likewise.
40982         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40983         Likewise.
40985         [BZ #14871]
40986         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40987         input for small inputs.  Return +/- pi/2 for large inputs.
40988         * math/libm-test.inc (atan_test): Add more tests.
40990         * sysdeps/generic/unwind-dw2-fde-glibc.c
40991         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40992         __attribute__ ((unused)).
40994         [BZ #14645]
40995         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40996         x * y if x and y are nonzero and z is zero.
40998         [BZ #14811]
40999         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41000         nonzero exponents with absolute value below 0x1p-117 to +/-
41001         0x1p-117.
41003         [BZ #14869]
41004         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41005         up arguments below 2**-450, not just those below 2**-500.
41006         * math/libm-test.inc (hypot_test): Add another test.
41008         [BZ #14868]
41009         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41010         Return a+b for ratio over 2**120, not 2**60.
41011         * math/libm-test.inc (hypot_test): Add another test.
41013         * math/libm-test.inc (clog_test): Use
41014         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41015         (clog10_test): Likewise.
41017         [BZ #6778]
41018         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41020 2012-11-22  Andreas Schwab  <schwab@suse.de>
41022         * sysdeps/i386/fpu/libm-test-ulps: Update.
41024 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41026         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41027         printf output with newline.
41029 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41031         [BZ #14865]
41032         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41033         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41034         -z nodlopen, -z initfirst and -z execstack support.
41035         * configure: Regenerated.
41037         * elf/elf.h (DF_1_NODIRECT): New macro.
41038         (DF_1_IGNMULDEF): Likewise.
41039         (DF_1_NOKSYMS): Likewise.
41040         (DF_1_NOHDR): Likewise.
41041         (DF_1_EDITED): Likewise.
41042         (DF_1_NORELOC): Likewise.
41043         (DF_1_SYMINTPOSE): Likewise.
41044         (DF_1_GLOBAUDIT): Likewise.
41045         (DF_1_SINGLETON): Likewise.
41046         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41047         DT_1_SUPPORTED_MASK bits.
41048         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41050 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41052         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41054 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41056         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41057         macro.
41059         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41060         (sendmmsg): Move declarations...
41061         * socket/sys/socket.h: ... here.
41062         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41063         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41064         include it from...
41065         * socket/recvmmsg.c: ... this new file.
41066         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41067         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41068         definition of __sendmmsg hidden.
41069         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41070         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41071         Move ENOSYS stub into and include it from...
41072         * socket/sendmmsg.c: ... this new file.
41073         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41074         (sysdep_routines): Move recvmmsg and sendmmsg...
41075         * socket/Makefile (routines): ... here.
41076         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41077         (GLIBC_PRIVATE): Add __sendmmsg.
41078         * include/sys/socket.h (__sendmmsg): Add declarations.
41079         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41080         sendmmsg.
41082 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41084         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41085         variable I1 with __attribute__ ((unused)).
41086         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41088 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41090         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41091         DUMMY variables with __attribute__ ((unused)).
41093         * bits/byteswap.h: Include <bits/types.h>.
41094         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41096 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41098         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41099         string_t.  Do not manually set errno.
41100         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41101         length with __strnlen.  Make sure to both set errno and return it on
41102         failure.
41104 2012-11-19  David S. Miller  <davem@davemloft.net>
41106         With help from Joseph Myers.
41107         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41108         very large arguments properly.
41109         * math/libm-test.inc (atan_test): New tests.
41110         (atan2_test): New tests.
41111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41114 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41116         [BZ #14856]
41117         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41118         Define to 3.
41120         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41121         [POSIX] (EADDRNOTAVAIL): Likewise.
41122         [POSIX] (EAFNOSUPPORT): Likewise.
41123         [POSIX] (EALREADY): Likewise.
41124         [POSIX] (ECONNABORTED): Likewise.
41125         [POSIX] (ECONNREFUSED): Likewise.
41126         [POSIX] (ECONNRESET): Likewise.
41127         [POSIX] (EDESTADDRREQ): Likewise.
41128         [POSIX] (EDQUOT): Likewise.
41129         [POSIX] (EHOSTUNREACH): Likewise.
41130         [POSIX] (EIDRM): Likewise.
41131         [POSIX] (EISCONN): Likewise.
41132         [POSIX] (ELOOP): Likewise.
41133         [POSIX] (EMULTIHOP): Likewise.
41134         [POSIX] (ENETDOWN): Likewise.
41135         [POSIX] (ENETUNREACH): Likewise.
41136         [POSIX] (ENOBUFS): Likewise.
41137         [POSIX] (ENODATA): Likewise.
41138         [POSIX] (ENOLINK): Likewise.
41139         [POSIX] (ENOMSG): Likewise.
41140         [POSIX] (ENOPROTOOPT): Likewise.
41141         [POSIX] (ENOSR): Likewise.
41142         [POSIX] (ENOSTR): Likewise.
41143         [POSIX] (ENOTCONN): Likewise.
41144         [POSIX] (ENOTSOCK): Likewise.
41145         [POSIX] (EOPNOTSUPP): Likewise.
41146         [POSIX] (EOVERFLOW): Likewise.
41147         [POSIX] (EPROTO): Likewise.
41148         [POSIX] (EPROTONOSUPPORT): Likewise.
41149         [POSIX] (EPROTOTYPE): Likewise.
41150         [POSIX] (ESTALE): Likewise.
41151         [POSIX] (ETIME): Likewise.
41152         [POSIX] (ETXTBSY): Likewise.
41153         [POSIX] (EWOULDBLOCK): Likewise.
41154         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41155         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41156         [POSIX] (SEEK_CUR): Likewise.
41157         [POSIX] (SEEK_END): Likewise.
41158         [POSIX || UNIX98] (mode_t): Do not require.
41159         [POSIX] (off_t): Likewise.
41160         [POSIX] (pid_t): Likewise.
41161         [POSIX] (sys/stat.h): Do not allow header.
41162         [POSIX] (unistd.h): Likewise.
41163         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41164         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41165         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41166         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41167         require.
41168         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41169         sigevent): Specify elements.
41170         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41171         entry.
41172         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41173         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41175         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41176         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41177         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41178         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41179         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41180         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41181         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41182         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41183         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41184         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41185         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41186         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41187         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41188         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41189         Likewise.
41190         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41191         Likewise.
41192         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41193         Likewise.
41194         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41195         Likewise.
41196         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41197         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41198         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41199         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41200         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41201         Specify lower bound on value.
41202         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41203         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41204         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41205         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41206         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41207         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41208         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41209         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41210         value.
41211         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41212         as optional.
41213         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41214         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41215         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41216         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41217         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41218         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41219         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41220         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41221         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41222         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41223         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41224         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41225         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41226         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41227         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41228         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41229         entry.
41230         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41231         optional.
41232         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41233         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41234         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41235         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41236         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41237         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41238         Likewise.
41239         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41240         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41241         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41242         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41243         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41244         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41245         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41246         as optional.
41247         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41248         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41249         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41250         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41251         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41252         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41253         specify as optional.
41254         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41255         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41256         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41257         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41258         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41259         [XPG3] (NL_LANGMAX): Likewise.
41260         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41261         [POSIX || XPG3] (NL_NMAX): Likewise.
41262         [POSIX || XPG3] (NL_SETMAX): Likewise.
41263         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41264         [XPG3] (NZERO): Likewise.
41265         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41266         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41267         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41268         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41269         (REG_ERANGE): Expect.
41270         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41271         optional-constant.
41272         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41273         Use (void) in prototype.
41274         [POSIX] (*_t): Allow.
41275         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41276         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41277         (WRDE_BADVAL): Expect.
41279         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41280         expect.
41281         [XPG3 || XPG4] (O_RSYNC): Likewise.
41282         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41283         Likewise.
41284         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41285         [XPG3 || XPG4] (sigqueue): Likewise.
41286         [XPG3 || XPG4] (sigtimedwait): Likewise.
41287         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41288         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41289         [XPG3 || XPG4] (vsnprintf): Likewise.
41290         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41291         Likewise.
41292         [XPG3 || XPG4] (blksize_t): Likewise.
41293         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41294         Likewise.
41295         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41296         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41297         [XPG3 || XPG4] (struct itimerspec): Likewise.
41298         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41299         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41300         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41301         [XPG3 || XPG4] (clockid_t): Likewise.
41302         [XPG3 || XPG4] (timer_t): Likewise.
41303         [XPG3 || XPG4] (clock_getres): Likewise.
41304         [XPG3 || XPG4] (clock_gettime): Likewise.
41305         [XPG3 || XPG4] (clock_settime): Likewise.
41306         [XPG3 || XPG4] (nanosleep): Likewise.
41307         [XPG3 || XPG4] (timer_create): Likewise.
41308         [XPG3 || XPG4] (timer_delete): Likewise.
41309         [XPG3 || XPG4] (timer_gettime): Likewise.
41310         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41311         [XPG3 || XPG4] (timer_settime): Likewise.
41312         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41313         [XPG3 || XPG4] (getlogin_r): Likewise.
41314         [XPG3 || XPG4] (pread): Likewise.
41315         [XPG3 || XPG4] (pthread_atfork): Likewise.
41316         [XPG3 || XPG4] (pwrite): Likewise.
41318         [BZ #14835]
41319         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41320         <bits/siginfo.h>.
41322 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41324         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41325         finalizing MALLSTREAM.
41327         * sysdeps/mach/hurd/syncfs.c: New file.
41329 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41331         [BZ #14719]
41332         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41333         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41334         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41335         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41336         (_nss_dns_gethostbyname4_r): Likewise.
41337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41338         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41340 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41342         [BZ #13763]
41343         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41345 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41347         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41348         * elf/cache.c (print_entry): Print ",AArch64" for
41349         FLAG_AARCH64_LIB64
41351         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41352         * elf/cache.c (print_entry): Print ",hard-float" for
41353         FLAG_ARM_LIBHF.
41355 2012-11-18  David S. Miller  <davem@davemloft.net>
41357         With help from Joseph Myers.
41358         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41359         cutoff to 2**-13.
41360         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41361         cutoff to 2**-25.
41362         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41363         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41364         small.
41365         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41366         * math/libm-test.inc (y0_test): New tests.
41367         (y1_test): New tests.
41368         * sysdeps/i386/fpu/libm-test-ulps: Update.
41369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41372 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41374         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41375         64-bit targets.
41376         * configure: Regenerated.
41378 2012-11-17  David S. Miller  <davem@davemloft.net>
41380         [BZ #14811]
41381         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41382         nonzero exponents with absolute value below 0x1p-128 to +/-
41383         0x1p-128.
41385 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41387         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41389         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41391         * posix/getconf-speclist.c: New file.
41392         * posix/posix-envs.def: Likewise.
41393         * posix/confstr.c (START_ENV_GROUP): New macro.
41394         (END_ENV_GROUP): Likewise.
41395         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41396         (KNOWN_PRESENT_ENV_STRING): Likewise.
41397         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41398         (UNKNOWN_ENVIRONMENT): Likewise.
41399         (confstr): Include posix-envs.def instead of handling
41400         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41401         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41402         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41403         (END_ENV_GROUP): Likewise.
41404         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41405         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41406         (UNKNOWN_ENVIRONMENT): Likewise.
41407         (__sysconf): Include posix-envs.def instead of handling associated
41408         cases directly here.
41409         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41410         preprocessing getconf-speclist.c rather than running getconf or
41411         generating empty file.
41413 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41415         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41417 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41419         [BZ #14672]
41420         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41422 2012-11-16  David S. Miller  <davem@davemloft.net>
41424         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41425         smaller than LDBL_EPSILON/2.0L, just return xm1.
41427 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41429         * elf/tst-array1.c (init): Set constructor priority to 1000.
41430         (fini): Set destructor priority to 1000.
41431         * elf/tst-array2dep.c: Likewise.
41433 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41435         [BZ #11741]
41436         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41437         (_IO_new_file_xsputn): Also return EOF if none of the input
41438         data was written when overflow failed.
41439         * libio/iopadn.c (_IO_padn): Likewise.
41440         * libio/iowpadn.c (_IO_wpadn): Likewise.
41441         * stdio-common/tst-put-error.c: Add copyright notice.
41442         (do_test): Add case for printing padded string.
41443         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41444         _IO_padn returned error.
41445         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41446         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41447         return EOF.
41449 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41451         * libio/libioP.h: Add comment note that the references to C++
41452         bits are now obsolete.
41454 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41456         * math/libm-test.inc (check_complex): Use asprintf.
41458 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41460         * debug/pcprofiledump.c (print_version): Update copyright year.
41461         * malloc/memusagestat.c (print_version): Likewise.
41463 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41465         [BZ #14831]
41466         * elf/Makefile (tests): Add tst-audit8.
41467         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41468         ($(objpfx)tst-audit8.out): New target.
41469         (tst-audit8-ENV): New variable.
41470         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41471         audit if l_reloc_result is NULL.
41472         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41473         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41474         * elf/tst-audit8.c: New file.
41476 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41478         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41479         * misc/Makefile (CFLAGS-select.c): Define.
41480         * posix/Makefile (CFLAGS-pause.c): Define.
41482 2012-11-13  David S. Miller  <davem@davemloft.net>
41484         * crypt/Makefile: Move test targets after toplevel Rules
41485         inclusion.  Grab any necessary sysdep routines when linking.
41486         * crypt/md5.c (md5_process_block): Remove define, we will always
41487         name it __md5_process_block.
41488         (md5_finish_ctx): Update md5_process_block call.
41489         (md5_stream): Likewise.
41490         (md5_process_bytes): Likewise.
41491         (md5_process_block): Rename to __md5_process_block and move to ...
41492         * crypt/md5-block.c: ... here.
41493         * crypt/sha256.c (sha256_process_block): Move to ...
41494         * crypt/sha256-block.c: ... here.
41495         * crypt/sha512.c (sha512_process_block): Move to ...
41496         * crypt/sha512-block.c: ... here.
41497         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41498         path.
41499         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41500         * sysdeps/sparc/sparc64/multiarch/Makefile
41501         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41502         crypt subdir.
41503         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41504         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41505         multiarch changes.
41506         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41507         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41508         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41509         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41510         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41511         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41512         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41513         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41514         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41515         file.
41516         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41517         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41518         file.
41519         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41521 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41523         * timezone/tzselect.ksh: Update from tzcode git revision
41524         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41525         * timezone/zdump.c: Likewise.
41526         * timezone/zic.c: Likewise.
41527         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41528         in TZVERSION setting, not $(PKGVERSION).
41529         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41530         REPORT_BUGS_TO settings.
41532         [BZ #14838]
41533         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41534         macro.
41536 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41538         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41539         detection to immediately after _FP_ROUND().
41540         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41541         bits are 0.
41543 2012-11-11  David S. Miller  <davem@davemloft.net>
41545         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41546         inttypes.h
41547         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41548         __close rather than their public counterparts.
41550 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41552         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41553         file.
41554         [UNIX98] (sem_timedwait): Do not expect.
41555         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41556         [XPG4 || UNIX98] (sockatmark): Do not expect.
41557         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41558         (clock_getcpuclockid): Do not expect.
41559         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41560         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41561         Do not expect.
41562         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41563         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41564         [UNIX98] (vwscanf): Likewise.
41565         [UNIX98] (vswscanf): Likewise.
41567 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41569         * timezone/version.h: Remove file.
41570         * timezone/README: Do not refer to version.h.
41571         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41572         $(objpfx)version.h.
41573         ($(objpfx)zdump.o): Likewise.
41574         ($(objpfx)version.h): New target.
41576         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41577         2012i.
41578         * timezone/README: Don't mention modification to tzselect.ksh.
41579         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41580         work on unmodified tzselect.ksh.  Substitute version numbers in
41581         tzselect.ksh.
41583         * Makefile (format-me): Remove.
41584         (INSTALL): Adjust indentation.  Use commands directly instead of
41585         using $(format-me).
41587         * aclocal.m4 (ACX_PKGVERSION): New macro.
41588         (ACX_BUGURL): Likewise.
41589         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41590         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41591         (REPORT_BUGS_TO): Likewise.
41592         * configure: Regenerated.
41593         * config.h.in (PKGVERSION): New macro.
41594         (REPORT_BUGS_TO): Likewise.
41595         * config.make.in (PKGVERSION): New variable.
41596         (PKGVERSION_TEXI): Likewise.
41597         (REPORT_BUGS_TO): Likewise.
41598         (REPORT_BUGS_TEXI): Likewise.
41599         * Makefile (format-me): Use -I$(common-objpfx)manual.
41600         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41601         ($(common-objpfx)manual/%): New target.
41602         (manual/%): Remove target.
41603         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41604         (print_version): Use PKGVERSION.
41605         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41606         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41607         and REPORT_BUGS_TO.
41608         ($(objpfx)xtrace): Likewise.
41609         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41610         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41611         (print_version): Use PKGVERSION.
41612         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41613         (do_version): Use PKGVERSION.
41614         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41615         REPORT_BUGS_TO.
41616         (common-ldd-rewrite): Likewise.
41617         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41618         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41619         (print_version): Use PKGVERSION.
41620         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41621         * elf/pldd.c (argp_program_bug_address): Remove variable.
41622         (more_help): New function.
41623         (argp): Use more_help.
41624         (print_version): Use PKGVERSION.
41625         * elf/sln.c (main): Use PKGVERSION.
41626         (usage): Use REPORT_BUGS_TO.
41627         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41628         (top level): Use PKGVERSION.
41629         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41630         (print_version): Use PKGVERSION.
41631         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41632         (print_version): Use PKGVERSION.
41633         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41634         (print_version): Use PKGVERSION.
41635         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41636         (print_version): Use PKGVERSION.
41637         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41638         (print_version): Use PKGVERSION.
41639         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41640         (print_version): Use PKGVERSION.
41641         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41642         and BUGURL.
41643         ($(objpfx)memusage): Likewise.
41644         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41645         (do_version): Use PKGVERSION.
41646         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41647         (print_version): Use PKGVERSION.
41648         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41649         ($PKGVERSION): New variable.
41650         ($REPORT_BUGS_TO): Likewise.
41651         (usage): Use $REPORT_BUGS_TO.
41652         (top level): Use $PKGVERSION.
41653         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41654         ($(objpfx)pkgvers.texi): New rule.
41655         ($(objpfx)stamp-pkgvers): Likewise.
41656         * manual/install.texi: Include pkgvers.texi.
41657         (--with-pkgversion): Document new configure option.
41658         (--with-bugurl): Likewise.
41659         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41660         than necessarily for this particular distribution.  Use
41661         REPORT_BUGS_TO for where to report bugs.
41662         * INSTALL: Regenerated.
41663         * manual/libc.texinfo: Include pkgvers.texi.
41664         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41665         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41666         (print_version): Use PKGVERSION.
41667         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41668         (print_version): Use PKGVERSION.
41669         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41670         (print_version): Use PKGVERSION.
41671         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41672         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41673         macro.
41674         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41675         (print_version): Use PKGVERSION.
41676         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41677         (print_version): Use PKGVERSION.
41678         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41679         and PKGVERSION.
41681         * timezone/checktab.awk: Update from tzcode 2012i.
41682         * timezone/ialloc.c: Likewise.
41683         * timezone/private.h: Likewise.
41684         * timezone/scheck.c: Likewise.
41685         * timezone/tzfile.h: Likewise.
41686         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41687         (TZVERSION): Hardcode tzcode version number.
41688         * timezone/zdump.c: Update from tzcode 2012i.
41689         * timezone/zic.c: Likewise.
41690         * timezone/version.h: New file.
41691         * timezone/README: Describe version.h.  Update upstream location.
41693         [BZ #14824]
41694         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41695         (mktemp): Enable declaration.
41696         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41697         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41698         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41699         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41700         Likewise.
41701         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41702         Likewise.
41703         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41704         Likewise.
41705         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41706         Likewise.
41707         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41708         Likewise.
41709         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41710         Likewise.
41712         [BZ #14821]
41713         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41714         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41715         for copies of such integer values.
41716         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41717         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41719 2012-11-09  Andreas Jaeger  <aj@suse.de>
41721         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41722         definitions and declarations that are provided by
41723         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41725 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41727         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41728         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41729         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41730         definition.
41732 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41734         * elf/elf.h: Update comment before AArch64 relocations.
41736 2012-11-07  David S. Miller  <davem@davemloft.net>
41738         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41739         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41740         (__start_context): Declare.
41741         (__makecontext_ret): Delete.
41742         (__makecontext): Hook up __start_context instead of
41743         __makecontext_ret.
41744         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41745         (sysdep_routines): Add __start_context when in stdlib.
41747 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41749         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41750         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41751         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41752         hardcoded "nm".
41753         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41754         (READELF): New variable.  Use it instead of hardcoded "readelf".
41756 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41758         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41759         * sysdeps/x86/Makefile: Here.
41760         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41761         * sysdeps/x86/tst-xmmymm.sh: This.
41763 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41765         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41766         expectations.
41767         [UNIX98] (pthread_barrier_t): Do not expect.
41768         [UNIX98] (pthread_barrierattr_t): Likewise.
41769         [UNIX98] (pthread_spinlock_t): Likewise.
41770         [UNIX98] (pthread_barrier_destroy): Likewise.
41771         [UNIX98] (pthread_barrier_init): Likewise.
41772         [UNIX98] (pthread_barrier_wait): Likewise.
41773         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41774         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41775         [UNIX98] (pthread_barrierattr_init): Likewise.
41776         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41777         [UNIX98] (pthread_getcpuclockid): Likewise.
41778         [UNIX98] (pthread_mutex_timedlock): Likewise.
41779         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41780         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41781         [UNIX98] (pthread_sigmask): Likewise.
41782         [UNIX98] (pthread_spin_destroy): Likewise.
41783         [UNIX98] (pthread_spin_init): Likewise.
41784         [UNIX98] (pthread_spin_lock): Likewise.
41785         [UNIX98] (pthread_spin_trylock): Likewise.
41786         [UNIX98] (pthread_spin_unlock): Likewise.
41787         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41788         Do not expect.
41789         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41790         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41791         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41792         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41793         [XPG3 || XPG4] (pthread_key_t): Likewise.
41794         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41795         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41796         [XPG3 || XPG4] (pthread_once_t): Likewise.
41797         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41798         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41799         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41800         [XPG3 || XPG4] (pthread_t): Likewise.
41802         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41803         not expect.
41804         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41806         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41807         Change function return type to int.
41809         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41810         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41811         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41812         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41813         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41814         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41815         [!POSIX] (posix_madvise): Likewise.
41816         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41817         && !UNIX98].
41818         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41819         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41820         (mode_t): Likewise.
41821         (posix_mem_offset): Likewise.
41822         (posix_typed_mem_get_info): Likewise.
41823         (posix_typed_mem_open): Likewise.
41825         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41826         Change condition to [XOPEN2K8].
41828         * conform/conformtest.pl: Preprocess allow-header data with -x c
41829         instead of from stdin.
41830         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41831         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41832         [C99-based standards] (cerfc): Likewise.
41833         [C99-based standards] (cexp2): Likewise.
41834         [C99-based standards] (cexpm1): Likewise.
41835         [C99-based standards] (clog10): Likewise.
41836         [C99-based standards] (clog1p): Likewise.
41837         [C99-based standards] (clog2): Likewise.
41838         [C99-based standards] (clgamma): Likewise.
41839         [C99-based standards] (ctgamma): Likewise.
41840         [C99-based standards] (cerff): Likewise.
41841         [C99-based standards] (cerfcf): Likewise.
41842         [C99-based standards] (cexp2f): Likewise.
41843         [C99-based standards] (cexpm1f): Likewise.
41844         [C99-based standards] (clog10f): Likewise.
41845         [C99-based standards] (clog1pf): Likewise.
41846         [C99-based standards] (clog2f): Likewise.
41847         [C99-based standards] (clgammaf): Likewise.
41848         [C99-based standards] (ctgammaf): Likewise.
41849         [C99-based standards] (cerfl): Likewise.
41850         [C99-based standards] (cerfcl): Likewise.
41851         [C99-based standards] (cexp2l): Likewise.
41852         [C99-based standards] (cexpm1l): Likewise.
41853         [C99-based standards] (clog10l): Likewise.
41854         [C99-based standards] (clog1pl): Likewise.
41855         [C99-based standards] (clog2l): Likewise.
41856         [C99-based standards] (clgammal): Likewise.
41857         [C99-based standards] (ctgammal): Likewise.
41858         * conform/data/inttypes.h-data [C99-based standards]: Include
41859         stdint.h-data.  Remove all expectations for stdint.h contents.
41860         [C99-based standards] (PRI*): Do not allow.
41861         [C99-based standards] (SCN*): Likewise.
41862         [C99-based standards] (*_t): Likewise.
41863         [C99-based-standards] (PRId8): Expect macro.
41864         [C99-based-standards] (PRIi8): Likewise.
41865         [C99-based-standards] (PRIo8): Likewise.
41866         [C99-based-standards] (PRIu8): Likewise.
41867         [C99-based-standards] (PRIx8): Likewise.
41868         [C99-based-standards] (PRIX8): Likewise.
41869         [C99-based-standards] (SCNd8): Likewise.
41870         [C99-based-standards] (SCNi8): Likewise.
41871         [C99-based-standards] (SCNo8): Likewise.
41872         [C99-based-standards] (SCNu8): Likewise.
41873         [C99-based-standards] (SCNx8): Likewise.
41874         [C99-based-standards] (PRIdLEAST8): Likewise.
41875         [C99-based-standards] (PRIiLEAST8): Likewise.
41876         [C99-based-standards] (PRIoLEAST8): Likewise.
41877         [C99-based-standards] (PRIuLEAST8): Likewise.
41878         [C99-based-standards] (PRIxLEAST8): Likewise.
41879         [C99-based-standards] (PRIXLEAST8): Likewise.
41880         [C99-based-standards] (SCNdLEAST8): Likewise.
41881         [C99-based-standards] (SCNiLEAST8): Likewise.
41882         [C99-based-standards] (SCNoLEAST8): Likewise.
41883         [C99-based-standards] (SCNuLEAST8): Likewise.
41884         [C99-based-standards] (SCNxLEAST8): Likewise.
41885         [C99-based-standards] (PRIdFAST8): Likewise.
41886         [C99-based-standards] (PRIiFAST8): Likewise.
41887         [C99-based-standards] (PRIoFAST8): Likewise.
41888         [C99-based-standards] (PRIuFAST8): Likewise.
41889         [C99-based-standards] (PRIxFAST8): Likewise.
41890         [C99-based-standards] (PRIXFAST8): Likewise.
41891         [C99-based-standards] (SCNdFAST8): Likewise.
41892         [C99-based-standards] (SCNiFAST8): Likewise.
41893         [C99-based-standards] (SCNoFAST8): Likewise.
41894         [C99-based-standards] (SCNuFAST8): Likewise.
41895         [C99-based-standards] (SCNxFAST8): Likewise.
41896         [C99-based-standards] (PRId16): Likewise.
41897         [C99-based-standards] (PRIi16): Likewise.
41898         [C99-based-standards] (PRIo16): Likewise.
41899         [C99-based-standards] (PRIu16): Likewise.
41900         [C99-based-standards] (PRIx16): Likewise.
41901         [C99-based-standards] (PRIX16): Likewise.
41902         [C99-based-standards] (SCNd16): Likewise.
41903         [C99-based-standards] (SCNi16): Likewise.
41904         [C99-based-standards] (SCNo16): Likewise.
41905         [C99-based-standards] (SCNu16): Likewise.
41906         [C99-based-standards] (SCNx16): Likewise.
41907         [C99-based-standards] (PRIdLEAST16): Likewise.
41908         [C99-based-standards] (PRIiLEAST16): Likewise.
41909         [C99-based-standards] (PRIoLEAST16): Likewise.
41910         [C99-based-standards] (PRIuLEAST16): Likewise.
41911         [C99-based-standards] (PRIxLEAST16): Likewise.
41912         [C99-based-standards] (PRIXLEAST16): Likewise.
41913         [C99-based-standards] (SCNdLEAST16): Likewise.
41914         [C99-based-standards] (SCNiLEAST16): Likewise.
41915         [C99-based-standards] (SCNoLEAST16): Likewise.
41916         [C99-based-standards] (SCNuLEAST16): Likewise.
41917         [C99-based-standards] (SCNxLEAST16): Likewise.
41918         [C99-based-standards] (PRIdFAST16): Likewise.
41919         [C99-based-standards] (PRIiFAST16): Likewise.
41920         [C99-based-standards] (PRIoFAST16): Likewise.
41921         [C99-based-standards] (PRIuFAST16): Likewise.
41922         [C99-based-standards] (PRIxFAST16): Likewise.
41923         [C99-based-standards] (PRIXFAST16): Likewise.
41924         [C99-based-standards] (SCNdFAST16): Likewise.
41925         [C99-based-standards] (SCNiFAST16): Likewise.
41926         [C99-based-standards] (SCNoFAST16): Likewise.
41927         [C99-based-standards] (SCNuFAST16): Likewise.
41928         [C99-based-standards] (SCNxFAST16): Likewise.
41929         [C99-based-standards] (PRId32): Likewise.
41930         [C99-based-standards] (PRIi32): Likewise.
41931         [C99-based-standards] (PRIo32): Likewise.
41932         [C99-based-standards] (PRIu32): Likewise.
41933         [C99-based-standards] (PRIx32): Likewise.
41934         [C99-based-standards] (PRIX32): Likewise.
41935         [C99-based-standards] (SCNd32): Likewise.
41936         [C99-based-standards] (SCNi32): Likewise.
41937         [C99-based-standards] (SCNo32): Likewise.
41938         [C99-based-standards] (SCNu32): Likewise.
41939         [C99-based-standards] (SCNx32): Likewise.
41940         [C99-based-standards] (PRIdLEAST32): Likewise.
41941         [C99-based-standards] (PRIiLEAST32): Likewise.
41942         [C99-based-standards] (PRIoLEAST32): Likewise.
41943         [C99-based-standards] (PRIuLEAST32): Likewise.
41944         [C99-based-standards] (PRIxLEAST32): Likewise.
41945         [C99-based-standards] (PRIXLEAST32): Likewise.
41946         [C99-based-standards] (SCNdLEAST32): Likewise.
41947         [C99-based-standards] (SCNiLEAST32): Likewise.
41948         [C99-based-standards] (SCNoLEAST32): Likewise.
41949         [C99-based-standards] (SCNuLEAST32): Likewise.
41950         [C99-based-standards] (SCNxLEAST32): Likewise.
41951         [C99-based-standards] (PRIdFAST32): Likewise.
41952         [C99-based-standards] (PRIiFAST32): Likewise.
41953         [C99-based-standards] (PRIoFAST32): Likewise.
41954         [C99-based-standards] (PRIuFAST32): Likewise.
41955         [C99-based-standards] (PRIxFAST32): Likewise.
41956         [C99-based-standards] (PRIXFAST32): Likewise.
41957         [C99-based-standards] (SCNdFAST32): Likewise.
41958         [C99-based-standards] (SCNiFAST32): Likewise.
41959         [C99-based-standards] (SCNoFAST32): Likewise.
41960         [C99-based-standards] (SCNuFAST32): Likewise.
41961         [C99-based-standards] (SCNxFAST32): Likewise.
41962         [C99-based-standards] (PRId64): Likewise.
41963         [C99-based-standards] (PRIi64): Likewise.
41964         [C99-based-standards] (PRIo64): Likewise.
41965         [C99-based-standards] (PRIu64): Likewise.
41966         [C99-based-standards] (PRIx64): Likewise.
41967         [C99-based-standards] (PRIX64): Likewise.
41968         [C99-based-standards] (SCNd64): Likewise.
41969         [C99-based-standards] (SCNi64): Likewise.
41970         [C99-based-standards] (SCNo64): Likewise.
41971         [C99-based-standards] (SCNu64): Likewise.
41972         [C99-based-standards] (SCNx64): Likewise.
41973         [C99-based-standards] (PRIdLEAST64): Likewise.
41974         [C99-based-standards] (PRIiLEAST64): Likewise.
41975         [C99-based-standards] (PRIoLEAST64): Likewise.
41976         [C99-based-standards] (PRIuLEAST64): Likewise.
41977         [C99-based-standards] (PRIxLEAST64): Likewise.
41978         [C99-based-standards] (PRIXLEAST64): Likewise.
41979         [C99-based-standards] (SCNdLEAST64): Likewise.
41980         [C99-based-standards] (SCNiLEAST64): Likewise.
41981         [C99-based-standards] (SCNoLEAST64): Likewise.
41982         [C99-based-standards] (SCNuLEAST64): Likewise.
41983         [C99-based-standards] (SCNxLEAST64): Likewise.
41984         [C99-based-standards] (PRIdFAST64): Likewise.
41985         [C99-based-standards] (PRIiFAST64): Likewise.
41986         [C99-based-standards] (PRIoFAST64): Likewise.
41987         [C99-based-standards] (PRIuFAST64): Likewise.
41988         [C99-based-standards] (PRIxFAST64): Likewise.
41989         [C99-based-standards] (PRIXFAST64): Likewise.
41990         [C99-based-standards] (SCNdFAST64): Likewise.
41991         [C99-based-standards] (SCNiFAST64): Likewise.
41992         [C99-based-standards] (SCNoFAST64): Likewise.
41993         [C99-based-standards] (SCNuFAST64): Likewise.
41994         [C99-based-standards] (SCNxFAST64): Likewise.
41995         [C99-based-standards] (PRIdMAX): Likewise.
41996         [C99-based-standards] (PRIiMAX): Likewise.
41997         [C99-based-standards] (PRIoMAX): Likewise.
41998         [C99-based-standards] (PRIuMAX): Likewise.
41999         [C99-based-standards] (PRIxMAX): Likewise.
42000         [C99-based-standards] (PRIXMAX): Likewise.
42001         [C99-based-standards] (SCNdMAX): Likewise.
42002         [C99-based-standards] (SCNiMAX): Likewise.
42003         [C99-based-standards] (SCNoMAX): Likewise.
42004         [C99-based-standards] (SCNuMAX): Likewise.
42005         [C99-based-standards] (SCNxMAX): Likewise.
42006         [C99-based-standards] (PRIdPTR): Likewise.
42007         [C99-based-standards] (PRIiPTR): Likewise.
42008         [C99-based-standards] (PRIoPTR): Likewise.
42009         [C99-based-standards] (PRIuPTR): Likewise.
42010         [C99-based-standards] (PRIxPTR): Likewise.
42011         [C99-based-standards] (PRIXPTR): Likewise.
42012         [C99-based-standards] (SCNdPTR): Likewise.
42013         [C99-based-standards] (SCNiPTR): Likewise.
42014         [C99-based-standards] (SCNoPTR): Likewise.
42015         [C99-based-standards] (SCNuPTR): Likewise.
42016         [C99-based-standards] (SCNxPTR): Likewise.
42017         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42018         allow.
42019         * conform/data/stdint.h-data: Update comments to clarify
42020         requirements.
42021         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42022         type.
42023         [C99-based standards] (INT8_MAX): Likewise.
42024         [C99-based standards] (INT16_MIN): Likewise.
42025         [C99-based standards] (INT16_MAX): Likewise.
42026         [C99-based standards] (INT32_MIN): Likewise.
42027         [C99-based standards] (INT32_MAX): Likewise.
42028         [C99-based standards] (INT64_MIN): Likewise.
42029         [C99-based standards] (INT64_MAX): Likewise.
42030         [C99-based standards] (UINT8_MAX): Likewise.
42031         [C99-based standards] (UINT16_MAX): Likewise.
42032         [C99-based standards] (UINT32_MAX): Likewise.
42033         [C99-based standards] (UINT64_MAX): Likewise.
42034         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42035         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42036         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42037         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42038         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42039         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42040         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42041         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42042         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42043         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42044         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42045         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42046         [C99-based standards] (INT_FAST8_MIN): Likewise.
42047         [C99-based standards] (INT_FAST8_MAX): Likewise.
42048         [C99-based standards] (INT_FAST16_MIN): Likewise.
42049         [C99-based standards] (INT_FAST16_MAX): Likewise.
42050         [C99-based standards] (INT_FAST32_MIN): Likewise.
42051         [C99-based standards] (INT_FAST32_MAX): Likewise.
42052         [C99-based standards] (INT_FAST64_MIN): Likewise.
42053         [C99-based standards] (INT_FAST64_MAX): Likewise.
42054         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42055         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42056         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42057         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42058         [C99-based standards] (INTPTR_MIN): Likewise.
42059         [C99-based standards] (INTPTR_MAX): Likewise.
42060         [C99-based standards] (UINTPTR_MAX): Likewise.
42061         [C99-based standards] (INTMAX_MIN): Likewise.
42062         [C99-based standards] (INTMAX_MAX): Likewise.
42063         [C99-based standards] (UINTMAX_MAX): Likewise.
42064         [C99-based standards] (PTRDIFF_MIN): Likewise.
42065         [C99-based standards] (PTRDIFF_MAX): Likewise.
42066         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42067         [C99-based standards] (SIZE_MAX): Likewise.
42068         [C99-based standards] (WCHAR_MAX): Likewise.
42069         [C99-based standards] (WINT_MAX): Likewise.
42070         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42071         constraint on value.
42072         [C99-based standards] (WCHAR_MIN): Likewise.
42073         [C99-based standards] (WINT_MIN): Likewise.
42074         [C99-based standards] (*_t): Allow.
42075         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42076         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42077         Include math.h-data and complex.h-data.  Remove all expectations
42078         of math.h and complex.h contents.
42079         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42080         at end of line.
42081         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42082         (struct tm): Expect tag.
42083         [C99-based-standards] (wcstof): Expect function.
42084         [C99-based-standards] (wcstold): Likewise.
42085         [C99-based-standards] (wcstoll): Likewise.
42086         [C99-based-standards] (wcstoull): Likewise.
42087         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42088         macro-int-constant.  Specify type.
42089         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42090         constraint on value.
42091         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42092         Specify type.
42093         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42094         Specify value.
42095         [ISO C standards]: Do not allow headers.
42096         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42097         wcs[abcdefghijklmnopqrstuvwxyz]*.
42098         [ISO C standards] (*_t): Do not allow.
42099         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42100         Expect function.
42101         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42102         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42103         Specify type.
42104         [ISO C standards]: Do not allow headers.
42105         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42106         is[abcdefghijklmnopqrstuvwxyz]*.
42107         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42108         to[abcdefghijklmnopqrstuvwxyz]*.
42109         [ISO C standards] (*_t): Do not allow.
42110         * conform/data/stdalign.h-data: New file.
42111         * conform/data/stdbool.h-data: Likewise.
42112         * conform/data/stdnoreturn.h-data: Likewise.
42114 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42116         [BZ #14815]
42117         * manual/filesys.texi (Directory Entries): Typo fix.
42118         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42120 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42122         * elf/elf.h (EM_AARCH64): New macro.
42123         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42124         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42125         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42126         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42127         (R_AARCH64_TLSDESC): Likewise.
42128         (NT_ARM_TLS): Likewise.
42129         (NT_ARM_HW_BREAK): Likewise.
42130         (NT_ARM_HW_WATCH): Likewise.
42132 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42134         [BZ #14811]
42135         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42136         (__ieee754_powl): Saturate nonzero exponents with absolute value
42137         below 0x1p-79 to +/- 0x1p-79.
42138         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42139         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42140         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42141         nonzero exponents with absolute value below 0x1p-32 to +/-
42142         0x1p-32.
42143         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42144         (__ieee754_powl): Saturate nonzero exponents with absolute value
42145         below 0x1p-79 to +/- 0x1p-79.
42146         * math/libm-test.inc (pow_test): Add more tests.
42148 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42150         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42151         _dl_s390_cap_flags with kernel. Increase string length.
42152         (_dl_s390_platforms): Add z196 and zEC12.
42154 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42156         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42157         Change XOPEN21K to XOPEN2K.
42159 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42161         * string/memmove.c: Use memcpy when possible.
42163 2012-11-06  Andreas Jaeger  <aj@suse.de>
42165         * po/eo.po: Update from translation team.
42167 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42169         [BZ #14793]
42170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42171         exponent and small x and y exponents, scale x or y up.  Increase
42172         by 2 the exponent used in scaling up.
42173         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42174         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42175         * math/libm-test.inc (fma_test): Add more tests.
42176         (fma_test_towardzero): Likewise.
42177         (fma_test_downward): Likewise.
42178         (fma_test_upward): Likewise.
42180 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42182         [BZ #14805]
42183         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42184         fenv_t *.
42186         [BZ #14801]
42187         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42188         namespace for names of struct fields.
42189         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42190         fenv_t fields.
42191         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42192         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42194 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42196         [BZ #3665]
42197         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42199 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42201         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42202         PTR_DEMANGLE.
42204         [BZ #5246]
42205         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42206         PTR_DEMANGLE.
42208 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42210         [BZ #14797]
42211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42212         definitely overflow as x * y not x * y + z.
42213         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42214         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42215         * math/libm-test.inc (fma_test): Add more tests.
42216         (fma_test_towardzero): Likewise.
42217         (fma_test_downward): Likewise.
42218         (fma_test_upward): Likewise.
42220 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42222         [BZ #157]
42224         * include/stub-tag.h: Remove file.
42225         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42226         '#include' of it.
42227         * manual/maint.texi (Porting): Don't reference it.
42228         * Makerules ($(objpfx)stubs): Likewise.
42229         * dirent/closedir.c: Don't include <stub-tag.h>.
42230         * dirent/dirfd.c: Likewise.
42231         * dirent/fdopendir.c: Likewise.
42232         * dirent/getdents.c: Likewise.
42233         * dirent/getdents64.c: Likewise.
42234         * dirent/opendir.c: Likewise.
42235         * dirent/readdir.c: Likewise.
42236         * dirent/readdir64.c: Likewise.
42237         * dirent/readdir64_r.c: Likewise.
42238         * dirent/readdir_r.c: Likewise.
42239         * dirent/rewinddir.c: Likewise.
42240         * dirent/seekdir.c: Likewise.
42241         * dirent/telldir.c: Likewise.
42242         * gmon/profil.c: Likewise.
42243         * grp/setgroups.c: Likewise.
42244         * inet/if_index.c: Likewise.
42245         * io/access.c: Likewise.
42246         * io/chdir.c: Likewise.
42247         * io/chmod.c: Likewise.
42248         * io/chown.c: Likewise.
42249         * io/close.c: Likewise.
42250         * io/dup.c: Likewise.
42251         * io/dup2.c: Likewise.
42252         * io/dup3.c: Likewise.
42253         * io/euidaccess.c: Likewise.
42254         * io/faccessat.c: Likewise.
42255         * io/fchdir.c: Likewise.
42256         * io/fchmod.c: Likewise.
42257         * io/fchmodat.c: Likewise.
42258         * io/fchown.c: Likewise.
42259         * io/fchownat.c: Likewise.
42260         * io/fcntl.c: Likewise.
42261         * io/flock.c: Likewise.
42262         * io/fstatfs.c: Likewise.
42263         * io/fstatfs64.c: Likewise.
42264         * io/fstatvfs.c: Likewise.
42265         * io/fstatvfs64.c: Likewise.
42266         * io/futimens.c: Likewise.
42267         * io/fxstat.c: Likewise.
42268         * io/fxstat64.c: Likewise.
42269         * io/fxstatat.c: Likewise.
42270         * io/fxstatat64.c: Likewise.
42271         * io/getcwd.c: Likewise.
42272         * io/isatty.c: Likewise.
42273         * io/lchmod.c: Likewise.
42274         * io/lchown.c: Likewise.
42275         * io/link.c: Likewise.
42276         * io/linkat.c: Likewise.
42277         * io/lseek.c: Likewise.
42278         * io/lseek64.c: Likewise.
42279         * io/lxstat64.c: Likewise.
42280         * io/mkdir.c: Likewise.
42281         * io/mkdirat.c: Likewise.
42282         * io/mkfifo.c: Likewise.
42283         * io/mkfifoat.c: Likewise.
42284         * io/open.c: Likewise.
42285         * io/open64.c: Likewise.
42286         * io/openat.c: Likewise.
42287         * io/openat64.c: Likewise.
42288         * io/pipe.c: Likewise.
42289         * io/pipe2.c: Likewise.
42290         * io/poll.c: Likewise.
42291         * io/posix_fadvise.c: Likewise.
42292         * io/posix_fadvise64.c: Likewise.
42293         * io/posix_fallocate.c: Likewise.
42294         * io/posix_fallocate64.c: Likewise.
42295         * io/read.c: Likewise.
42296         * io/readlink.c: Likewise.
42297         * io/readlinkat.c: Likewise.
42298         * io/rmdir.c: Likewise.
42299         * io/sendfile.c: Likewise.
42300         * io/sendfile64.c: Likewise.
42301         * io/statfs.c: Likewise.
42302         * io/statfs64.c: Likewise.
42303         * io/statvfs.c: Likewise.
42304         * io/statvfs64.c: Likewise.
42305         * io/symlink.c: Likewise.
42306         * io/symlinkat.c: Likewise.
42307         * io/ttyname.c: Likewise.
42308         * io/ttyname_r.c: Likewise.
42309         * io/umask.c: Likewise.
42310         * io/unlink.c: Likewise.
42311         * io/unlinkat.c: Likewise.
42312         * io/utime.c: Likewise.
42313         * io/utimensat.c: Likewise.
42314         * io/write.c: Likewise.
42315         * io/xmknod.c: Likewise.
42316         * io/xmknodat.c: Likewise.
42317         * io/xstat.c: Likewise.
42318         * io/xstat64.c: Likewise.
42319         * login/getpt.c: Likewise.
42320         * login/grantpt.c: Likewise.
42321         * login/unlockpt.c: Likewise.
42322         * math/e_acoshl.c: Likewise.
42323         * math/e_acosl.c: Likewise.
42324         * math/e_asinl.c: Likewise.
42325         * math/e_atan2l.c: Likewise.
42326         * math/e_atanhl.c: Likewise.
42327         * math/e_coshl.c: Likewise.
42328         * math/e_expl.c: Likewise.
42329         * math/e_fmodl.c: Likewise.
42330         * math/e_gammal_r.c: Likewise.
42331         * math/e_hypotl.c: Likewise.
42332         * math/e_j0l.c: Likewise.
42333         * math/e_j1l.c: Likewise.
42334         * math/e_jnl.c: Likewise.
42335         * math/e_lgammal_r.c: Likewise.
42336         * math/e_log10l.c: Likewise.
42337         * math/e_log2l.c: Likewise.
42338         * math/e_logl.c: Likewise.
42339         * math/e_powl.c: Likewise.
42340         * math/e_rem_pio2l.c: Likewise.
42341         * math/e_sinhl.c: Likewise.
42342         * math/e_sqrtl.c: Likewise.
42343         * math/fclrexcpt.c: Likewise.
42344         * math/fedisblxcpt.c: Likewise.
42345         * math/feenablxcpt.c: Likewise.
42346         * math/fegetenv.c: Likewise.
42347         * math/fegetexcept.c: Likewise.
42348         * math/fegetround.c: Likewise.
42349         * math/feholdexcpt.c: Likewise.
42350         * math/fesetenv.c: Likewise.
42351         * math/fesetround.c: Likewise.
42352         * math/feupdateenv.c: Likewise.
42353         * math/fgetexcptflg.c: Likewise.
42354         * math/fraiseexcpt.c: Likewise.
42355         * math/fsetexcptflg.c: Likewise.
42356         * math/ftestexcept.c: Likewise.
42357         * math/k_cosl.c: Likewise.
42358         * math/k_rem_pio2l.c: Likewise.
42359         * math/k_sinl.c: Likewise.
42360         * math/k_tanl.c: Likewise.
42361         * math/s_asinhl.c: Likewise.
42362         * math/s_atanl.c: Likewise.
42363         * math/s_cbrtl.c: Likewise.
42364         * math/s_erfl.c: Likewise.
42365         * math/s_expm1l.c: Likewise.
42366         * math/s_log1pl.c: Likewise.
42367         * math/s_tanhl.c: Likewise.
42368         * misc/acct.c: Likewise.
42369         * misc/brk.c: Likewise.
42370         * misc/chflags.c: Likewise.
42371         * misc/chroot.c: Likewise.
42372         * misc/fchflags.c: Likewise.
42373         * misc/fgetxattr.c: Likewise.
42374         * misc/flistxattr.c: Likewise.
42375         * misc/fremovexattr.c: Likewise.
42376         * misc/fsetxattr.c: Likewise.
42377         * misc/fsync.c: Likewise.
42378         * misc/ftruncate.c: Likewise.
42379         * misc/futimes.c: Likewise.
42380         * misc/futimesat.c: Likewise.
42381         * misc/getdomain.c: Likewise.
42382         * misc/getdtsz.c: Likewise.
42383         * misc/gethostid.c: Likewise.
42384         * misc/gethostname.c: Likewise.
42385         * misc/getloadavg.c: Likewise.
42386         * misc/getpagesize.c: Likewise.
42387         * misc/getsysstats.c: Likewise.
42388         * misc/getxattr.c: Likewise.
42389         * misc/gtty.c: Likewise.
42390         * misc/ioctl.c: Likewise.
42391         * misc/lgetxattr.c: Likewise.
42392         * misc/listxattr.c: Likewise.
42393         * misc/llistxattr.c: Likewise.
42394         * misc/lremovexattr.c: Likewise.
42395         * misc/lsetxattr.c: Likewise.
42396         * misc/lutimes.c: Likewise.
42397         * misc/madvise.c: Likewise.
42398         * misc/mincore.c: Likewise.
42399         * misc/mlock.c: Likewise.
42400         * misc/mlockall.c: Likewise.
42401         * misc/mmap.c: Likewise.
42402         * misc/mprotect.c: Likewise.
42403         * misc/msync.c: Likewise.
42404         * misc/munlock.c: Likewise.
42405         * misc/munlockall.c: Likewise.
42406         * misc/munmap.c: Likewise.
42407         * misc/preadv.c: Likewise.
42408         * misc/preadv64.c: Likewise.
42409         * misc/ptrace.c: Likewise.
42410         * misc/pwritev.c: Likewise.
42411         * misc/pwritev64.c: Likewise.
42412         * misc/readv.c: Likewise.
42413         * misc/reboot.c: Likewise.
42414         * misc/remap_file_pages.c: Likewise.
42415         * misc/removexattr.c: Likewise.
42416         * misc/revoke.c: Likewise.
42417         * misc/select.c: Likewise.
42418         * misc/setdomain.c: Likewise.
42419         * misc/setegid.c: Likewise.
42420         * misc/seteuid.c: Likewise.
42421         * misc/sethostid.c: Likewise.
42422         * misc/sethostname.c: Likewise.
42423         * misc/setregid.c: Likewise.
42424         * misc/setreuid.c: Likewise.
42425         * misc/setxattr.c: Likewise.
42426         * misc/sstk.c: Likewise.
42427         * misc/stty.c: Likewise.
42428         * misc/swapoff.c: Likewise.
42429         * misc/swapon.c: Likewise.
42430         * misc/sync.c: Likewise.
42431         * misc/syncfs.c: Likewise.
42432         * misc/syscall.c: Likewise.
42433         * misc/truncate.c: Likewise.
42434         * misc/ualarm.c: Likewise.
42435         * misc/usleep.c: Likewise.
42436         * misc/ustat.c: Likewise.
42437         * misc/utimes.c: Likewise.
42438         * misc/vhangup.c: Likewise.
42439         * misc/writev.c: Likewise.
42440         * posix/_exit.c: Likewise.
42441         * posix/alarm.c: Likewise.
42442         * posix/execve.c: Likewise.
42443         * posix/fexecve.c: Likewise.
42444         * posix/fork.c: Likewise.
42445         * posix/fpathconf.c: Likewise.
42446         * posix/getaddrinfo.c: Likewise.
42447         * posix/getegid.c: Likewise.
42448         * posix/geteuid.c: Likewise.
42449         * posix/getgid.c: Likewise.
42450         * posix/getgroups.c: Likewise.
42451         * posix/getlogin.c: Likewise.
42452         * posix/getlogin_r.c: Likewise.
42453         * posix/getpgid.c: Likewise.
42454         * posix/getpid.c: Likewise.
42455         * posix/getppid.c: Likewise.
42456         * posix/getresgid.c: Likewise.
42457         * posix/getresuid.c: Likewise.
42458         * posix/getsid.c: Likewise.
42459         * posix/getuid.c: Likewise.
42460         * posix/glob64.c: Likewise.
42461         * posix/nanosleep.c: Likewise.
42462         * posix/pathconf.c: Likewise.
42463         * posix/pause.c: Likewise.
42464         * posix/posix_madvise.c: Likewise.
42465         * posix/pread.c: Likewise.
42466         * posix/pread64.c: Likewise.
42467         * posix/pwrite.c: Likewise.
42468         * posix/pwrite64.c: Likewise.
42469         * posix/sched_getaffinity.c: Likewise.
42470         * posix/sched_getp.c: Likewise.
42471         * posix/sched_gets.c: Likewise.
42472         * posix/sched_primax.c: Likewise.
42473         * posix/sched_primin.c: Likewise.
42474         * posix/sched_rr_gi.c: Likewise.
42475         * posix/sched_setaffinity.c: Likewise.
42476         * posix/sched_setp.c: Likewise.
42477         * posix/sched_sets.c: Likewise.
42478         * posix/sched_yield.c: Likewise.
42479         * posix/setgid.c: Likewise.
42480         * posix/setlogin.c: Likewise.
42481         * posix/setpgid.c: Likewise.
42482         * posix/setresgid.c: Likewise.
42483         * posix/setresuid.c: Likewise.
42484         * posix/setsid.c: Likewise.
42485         * posix/setuid.c: Likewise.
42486         * posix/sleep.c: Likewise.
42487         * posix/spawni.c: Likewise.
42488         * posix/sysconf.c: Likewise.
42489         * posix/times.c: Likewise.
42490         * posix/wait.c: Likewise.
42491         * posix/wait3.c: Likewise.
42492         * posix/wait4.c: Likewise.
42493         * posix/waitpid.c: Likewise.
42494         * resolv/gai_sigqueue.c: Likewise.
42495         * resource/getpriority.c: Likewise.
42496         * resource/getrlimit.c: Likewise.
42497         * resource/getrusage.c: Likewise.
42498         * resource/nice.c: Likewise.
42499         * resource/setpriority.c: Likewise.
42500         * resource/setrlimit.c: Likewise.
42501         * resource/ulimit.c: Likewise.
42502         * rt/aio_cancel.c: Likewise.
42503         * rt/aio_fsync.c: Likewise.
42504         * rt/aio_read.c: Likewise.
42505         * rt/aio_sigqueue.c: Likewise.
42506         * rt/aio_suspend.c: Likewise.
42507         * rt/aio_write.c: Likewise.
42508         * rt/clock_getres.c: Likewise.
42509         * rt/clock_gettime.c: Likewise.
42510         * rt/clock_nanosleep.c: Likewise.
42511         * rt/clock_settime.c: Likewise.
42512         * rt/lio_listio.c: Likewise.
42513         * rt/mq_close.c: Likewise.
42514         * rt/mq_getattr.c: Likewise.
42515         * rt/mq_notify.c: Likewise.
42516         * rt/mq_open.c: Likewise.
42517         * rt/mq_receive.c: Likewise.
42518         * rt/mq_send.c: Likewise.
42519         * rt/mq_setattr.c: Likewise.
42520         * rt/mq_timedreceive.c: Likewise.
42521         * rt/mq_timedsend.c: Likewise.
42522         * rt/mq_unlink.c: Likewise.
42523         * rt/shm_open.c: Likewise.
42524         * rt/shm_unlink.c: Likewise.
42525         * rt/timer_create.c: Likewise.
42526         * rt/timer_delete.c: Likewise.
42527         * rt/timer_getoverr.c: Likewise.
42528         * rt/timer_gettime.c: Likewise.
42529         * rt/timer_settime.c: Likewise.
42530         * setjmp/__longjmp.c: Likewise.
42531         * setjmp/setjmp.c: Likewise.
42532         * signal/kill.c: Likewise.
42533         * signal/killpg.c: Likewise.
42534         * signal/raise.c: Likewise.
42535         * signal/sigaction.c: Likewise.
42536         * signal/sigaltstack.c: Likewise.
42537         * signal/sigblock.c: Likewise.
42538         * signal/sigignore.c: Likewise.
42539         * signal/sigintr.c: Likewise.
42540         * signal/signal.c: Likewise.
42541         * signal/sigpause.c: Likewise.
42542         * signal/sigpending.c: Likewise.
42543         * signal/sigqueue.c: Likewise.
42544         * signal/sigreturn.c: Likewise.
42545         * signal/sigset.c: Likewise.
42546         * signal/sigsetmask.c: Likewise.
42547         * signal/sigstack.c: Likewise.
42548         * signal/sigsuspend.c: Likewise.
42549         * signal/sigtimedwait.c: Likewise.
42550         * signal/sigvec.c: Likewise.
42551         * signal/sigwait.c: Likewise.
42552         * signal/sigwaitinfo.c: Likewise.
42553         * signal/sysv_signal.c: Likewise.
42554         * socket/accept.c: Likewise.
42555         * socket/accept4.c: Likewise.
42556         * socket/bind.c: Likewise.
42557         * socket/connect.c: Likewise.
42558         * socket/getpeername.c: Likewise.
42559         * socket/getsockname.c: Likewise.
42560         * socket/getsockopt.c: Likewise.
42561         * socket/isfdtype.c: Likewise.
42562         * socket/listen.c: Likewise.
42563         * socket/recv.c: Likewise.
42564         * socket/recvfrom.c: Likewise.
42565         * socket/recvmsg.c: Likewise.
42566         * socket/send.c: Likewise.
42567         * socket/sendmsg.c: Likewise.
42568         * socket/sendto.c: Likewise.
42569         * socket/setsockopt.c: Likewise.
42570         * socket/shutdown.c: Likewise.
42571         * socket/sockatmark.c: Likewise.
42572         * socket/socket.c: Likewise.
42573         * socket/socketpair.c: Likewise.
42574         * stdio-common/ctermid.c: Likewise.
42575         * stdio-common/cuserid.c: Likewise.
42576         * stdio-common/remove.c: Likewise.
42577         * stdio-common/rename.c: Likewise.
42578         * stdio-common/renameat.c: Likewise.
42579         * stdio-common/tempname.c: Likewise.
42580         * stdlib/getcontext.c: Likewise.
42581         * stdlib/makecontext.c: Likewise.
42582         * stdlib/setcontext.c: Likewise.
42583         * stdlib/swapcontext.c: Likewise.
42584         * stdlib/system.c: Likewise.
42585         * streams/fattach.c: Likewise.
42586         * streams/fdetach.c: Likewise.
42587         * streams/getmsg.c: Likewise.
42588         * streams/getpmsg.c: Likewise.
42589         * streams/putmsg.c: Likewise.
42590         * streams/putpmsg.c: Likewise.
42591         * sysdeps/unix/bsd/getpt.c: Likewise.
42592         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42593         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42594         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42596         Likewise.
42597         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42598         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42599         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42600         * sysvipc/msgctl.c: Likewise.
42601         * sysvipc/msgget.c: Likewise.
42602         * sysvipc/msgrcv.c: Likewise.
42603         * sysvipc/msgsnd.c: Likewise.
42604         * sysvipc/semctl.c: Likewise.
42605         * sysvipc/semget.c: Likewise.
42606         * sysvipc/semop.c: Likewise.
42607         * sysvipc/semtimedop.c: Likewise.
42608         * sysvipc/shmat.c: Likewise.
42609         * sysvipc/shmctl.c: Likewise.
42610         * sysvipc/shmdt.c: Likewise.
42611         * sysvipc/shmget.c: Likewise.
42612         * termios/tcdrain.c: Likewise.
42613         * termios/tcflow.c: Likewise.
42614         * termios/tcflush.c: Likewise.
42615         * termios/tcgetattr.c: Likewise.
42616         * termios/tcgetpgrp.c: Likewise.
42617         * termios/tcsendbrk.c: Likewise.
42618         * termios/tcsetattr.c: Likewise.
42619         * termios/tcsetpgrp.c: Likewise.
42620         * time/adjtime.c: Likewise.
42621         * time/clock.c: Likewise.
42622         * time/getitimer.c: Likewise.
42623         * time/gettimeofday.c: Likewise.
42624         * time/setitimer.c: Likewise.
42625         * time/settimeofday.c: Likewise.
42626         * time/stime.c: Likewise.
42627         * time/time.c: Likewise.
42629 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42631         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42632         /usr/old/bin.
42634         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42635         instead of spaces.
42636         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42638 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42640         [BZ #14796]
42641         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42642         FE_TONEAREST before applying Dekker multiplication and Knuth
42643         addition.  Clear inexact exceptions and check for exact zero
42644         results afterwards.
42645         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42646         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42647         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42648         * math/libm-test.inc (fma_test): Add more tests.
42649         (fma_test_towardzero): Likewise.
42650         (fma_test_downward): Likewise.
42651         (fma_test_upward): Likewise.
42652         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42653         function.
42654         (libc_fesetround): New macro.
42655         (libc_fesetroundf): Likewise.
42656         (libc_fesetroundl): Likewise.
42657         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42658         function.
42659         (libc_fesetround_387): Likewise.
42660         (libc_fesetroundf): New macro.
42661         (libc_fesetround): Likewise.
42662         (libc_fesetroundl): Likewise.
42663         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42664         function.
42665         (libc_fesetroundf): New macro.
42666         (libc_fesetround): Likewise.
42667         (libc_fesetroundl): Likewise.
42668         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42669         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42670         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42671         libm_hidden_ver.
42672         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42673         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42674         libm_hidden_def.
42675         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42676         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42677         libm_hidden_ver.
42678         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42679         libm_hidden_def.
42681         [BZ #3439]
42682         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42683         integer constant usable in #if and use that to give value to enum
42684         constant.
42685         (FE_DIVBYZERO): Likewise.
42686         (FE_UNDERFLOW): Likewise.
42687         (FE_OVERFLOW): Likewise.
42688         (FE_INVALID): Likewise.
42689         (FE_INVALID_SNAN): Likewise.
42690         (FE_INVALID_ISI): Likewise.
42691         (FE_INVALID_IDI): Likewise.
42692         (FE_INVALID_ZDZ): Likewise.
42693         (FE_INVALID_IMZ): Likewise.
42694         (FE_INVALID_COMPARE): Likewise.
42695         (FE_INVALID_SOFTWARE): Likewise.
42696         (FE_INVALID_SQRT): Likewise.
42697         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42698         (FE_TONEAREST): Likewise.
42699         (FE_TOWARDZERO): Likewise.
42700         (FE_UPWARD): Likewise.
42701         (FE_DOWNWARD): Likewise.
42702         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42703         (FE_DIVBYZERO): Likewise.
42704         (FE_OVERFLOW): Likewise.
42705         (FE_UNDERFLOW): Likewise.
42706         (FE_INEXACT): Likewise.
42707         (FE_TONEAREST): Likewise.
42708         (FE_DOWNWARD): Likewise.
42709         (FE_UPWARD): Likewise.
42710         (FE_TOWARDZERO): Likewise.
42711         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42712         (FE_UNDERFLOW): Likewise.
42713         (FE_OVERFLOW): Likewise.
42714         (FE_DIVBYZERO): Likewise.
42715         (FE_INVALID): Likewise.
42716         (FE_TONEAREST): Likewise.
42717         (FE_TOWARDZERO): Likewise.
42718         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42719         (FE_OVERFLOW): Likewise.
42720         (FE_UNDERFLOW): Likewise.
42721         (FE_DIVBYZERO): Likewise.
42722         (FE_INEXACT): Likewise.
42723         (FE_TONEAREST): Likewise.
42724         (FE_TOWARDZERO): Likewise.
42725         (FE_UPWARD): Likewise.
42726         (FE_DOWNWARD): Likewise.
42727         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42728         (FE_DIVBYZERO): Likewise.
42729         (FE_OVERFLOW): Likewise.
42730         (FE_UNDERFLOW): Likewise.
42731         (FE_INEXACT): Likewise.
42732         (FE_TONEAREST): Likewise.
42733         (FE_DOWNWARD): Likewise.
42734         (FE_UPWARD): Likewise.
42735         (FE_TOWARDZERO): Likewise.
42737 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42739         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42741 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42743         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42744         commands.  Quote $PWD.
42745         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42746         -x" by "export".
42747         (remove_newlines): Remove.
42749 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42751         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42752         * stdlib/stdlib.h (atof): Moved to ...
42753         * include/bits/stdlib-float.h: Here.  New file.
42754         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42755         * stdlib/bits/stdlib-float.h: New file.
42756         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42757         -mno-sse -mno-mmx.
42758         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42759         <xmmintrin.h>.
42761 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42763         * conform/conformtest.pl (@headers): Add fenv.h.
42764         * conform/data/fenv.h-data: New file.
42765         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42766         include of <math/fenv.h>.
42768         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42769         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42770         && !UNIX98].  Enables tests for XOPEN2K8.
42771         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42772         POSIX2008]: Likewise.
42774         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42775         (struct rusage): Do not expect type or its members.
42777         [BZ #3439]
42778         * math/math.h (FP_NAN): Define macro to integer constant usable in
42779         #if and use that to give value to enum constant.
42780         (FP_INFINITE): Likewise.
42781         (FP_ZERO): Likewise.
42782         (FP_SUBNORMAL): Likewise.
42783         (FP_NORMAL): Likewise.
42785 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42787         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42788         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42789         arguments.
42791 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42793         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42794         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42795         autoconf-time if not.
42796         * configure.in: Remove AC_PREREQ.
42798 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42800         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42801         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42802         of the internal implementation.
42804 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42806         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42807         except include of <misc/sys/syslog.h>.
42809 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42812         function returns with a NULL context exit with zero.
42814 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42816         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42818 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42820         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42821         (run_program_cmd): This.
42822         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42823         (tst_langinfo): New variable.  Use it.
42825 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42827         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42828         floating point opcodes.
42830 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42832         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42833         variable.
42835         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42837         * sysdeps/mach/hurd/powerpc: Remove directory.
42838         * sysdeps/mach/powerpc: Likewise.
42840 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42842         * scripts/check-local-headers.sh: Ignore c++ headers.
42844 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42846         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42847         __libc_cleanup_region_start argument.
42849 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42851         [BZ #14784]
42852         [BZ #14785]
42853         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42854         x * y using scaling, not as x * y + z.
42855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42856         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42857         * math/libm-test.inc (fma_test): Add more tests.
42858         (fma_test_towardzero): Likewise.
42859         (fma_test_downward): Likewise.
42860         (fma_test_upward): Likewise.
42862 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42864         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42866 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42868         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42869         New variable.
42871 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42873         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42875 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42878         Fix sort order.
42879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42880         Likewise.
42882 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42885         Fix the order of the list for glibc 2.17.
42886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42887         Likewise.
42889 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42893 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42895         [BZ #14610]
42896         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42897         for low part of x being zero before using __atanl (y).
42898         * math/libm-test.inc (atan2_test): Add another test.
42900         * manual/install.texi (Configuring and compiling): Document
42901         general use of test-wrapper and test-wrapper-env.
42902         * INSTALL: Regenerated.
42904         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42905         (__fma): Do not extract and scale down low bits on after-rounding
42906         systems when result rounded to normal precision would have normal
42907         exponent.
42908         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42909         (__fmal): 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-96/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         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42917         macro.
42918         (fma_test): Add more tests.
42919         (fma_test_towardzero): Likewise.
42920         (fma_test_downward): Likewise.
42921         (fma_test_upward): Likewise.
42923 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42925         * sysdeps/i386/tininess.h: Renamed to ...
42926         * sysdeps/x86/tininess.h: This.
42927         * sysdeps/x86_64/tininess.h: Removed.
42929 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42931         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42932         input.  Use $(build-program-cmd).
42933         ($(objpfx)tst-array1-static.out): Likewise.
42934         ($(objpfx)tst-array2.out): Likewise.
42935         ($(objpfx)tst-array3.out): Likewise.
42936         ($(objpfx)tst-array4.out): Likewise.
42937         ($(objpfx)tst-array5.out): Likewise.
42938         ($(objpfx)tst-array5-static.out): Likewise.
42940 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42942         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42943         if defined.
42945         * nss/nsswitch.h (nss_interface_function): Provide new
42946         macro for use with NSS functions.
42947         * grp/initgroups.c: Use new macro.
42948         * nss/getXXbyYY.c: Likewise.
42949         * nss/getXXbyYY_r.c: Likewise.
42950         * nss/getXXent.c: Likewise.
42951         * nss/getXXent_r.c: Likewise.
42952         * sysdeps/posix/getaddrinfo.c: Likewise.
42954 2012-10-30  Andreas Jaeger  <aj@suse.de>
42956         * po/ru.po: Update Russion translation from translation project.
42958 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42960         [BZ #14152]
42961         [BZ #14783]
42962         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42963         result and shift together with sticky bit instead of replicating
42964         round-to-nearest rounding.
42965         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42966         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42967         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42968         missing underflow exceptions.
42969         (fma_test_towardzero): Add more tests.
42970         (fma_test_downward): Likewise.
42971         (fma_test_upward): Likewise.
42973         [BZ #14047]
42974         * sysdeps/generic/tininess.h: New file.
42975         * sysdeps/i386/tininess.h: Likewise.
42976         * sysdeps/sh/tininess.h: Likewise.
42977         * sysdeps/x86_64/tininess.h: Likewise.
42978         * stdlib/tst-strtod-underflow.c: Likewise.
42979         * stdlib/tst-tininess.c: Likewise.
42980         * stdlib/strtod_l.c: Include <tininess.h>.
42981         (round_and_return): Do not set errno for exact underflow cases.
42982         Force an underflow exception when setting errno for underflow.
42983         Determine underflow based on rounding to normal precision if
42984         TININESS_AFTER_ROUNDING.
42985         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42986         ERANGE for exact underflow cases.
42987         * stdlib/Makefile (tests): Add tst-tininess and
42988         tst-strtod-underflow.
42989         ($(objpfx)tst-tininess): Use $(link-libm).
42990         ($(objpfx)tst-strtod-underflow): Likewise.
42992 2012-10-30  Andreas Jaeger  <aj@suse.de>
42994         [BZ#14767]
42995         * elf/Makefile (tests): Remove conditional for have-initfini-array
42996         since this is now always required and the variable does not exist
42997         anymore.
42998         (tests-static): Likewise.
42999         (modules-names): Likewise.
43001         * po/eo.po: Add Esperanto translation from translation project.
43003         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43004         merged with constructor/destructor.
43005         (init_array): Likewise.
43006         * elf/tst-array2dep.c (fini_array): Likewise.
43007         (init_array): Likewise.
43009 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43011         * manual/message.texi: Delete @cartouche tags.
43013 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43015         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43016         EOPNOTSUPP.
43017         * sysdeps/mach/hurd/fsync.c: Likewise.
43019         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43020         [_POSIX_REALTIME_SIGNALS]: Change condition to
43021         [_POSIX_REALTIME_SIGNALS > 0].
43023 2012-10-27  Andreas Jaeger  <aj@suse.de>
43025         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43026         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43027         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43028         [__WORDSIZE != 64]: Likewise.
43030 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43032         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43033         *  iconvdata/tst-tables.sh: Likewise.
43035 2012-10-25  David S. Miller  <davem@davemloft.net>
43037         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43038         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43039         of strtoull.
43041         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43042         ifunc-impl-list.c
43043         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43044         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43045         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43046         file.
43048 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43050         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43051         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43052         __getdirentries.
43054 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43055             Jim Blandy  <jimb@codesourcery.com>
43057         * scripts/cross-test-ssh.sh: New file.
43058         * manual/install.texi (Configuring and compiling): Document use of
43059         cross-test-ssh.sh.
43060         * INSTALL: Regenerated.
43062 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43064         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43065         EOPNOTSUPP.
43067 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43069         * Makeconfig (run-program-prefix): Fix comment.
43071 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43072             Jim Blandy  <jimb@codesourcery.com>
43074         * Makeconfig (test-wrapper): New variable,
43075         (test-wrapper-env): Likewise.
43076         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43077         (run-built-tests): Define to yes.
43078         (run-program-prefix): Use $(test-wrapper).
43079         (built-program-cmd): Likewise.
43080         * Rules (make-test-out): Use $(test-wrapper-env) and
43081         $(host-built-program-cmd).
43082         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43083         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43084         tst-pathopt.sh.
43085         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43086         $(test-wrapper-env) to tst-rtld-load-self.sh.
43087         ($(objpfx)order2.out): Use $(test-wrapper).
43088         ($(objpfx)tst-initorder.out): Likewise.
43089         ($(objpfx)tst-initorder2.out): Likewise.
43090         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43091         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43092         (test_wrapper_env): New variable.  Use it to run ld.so.
43093         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43094         Use it to run ld.so.
43095         (test_wrapper_env): Likewise.
43096         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43097         $(test-wrapper) to run-iconv-test.sh.
43098         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43099         (ICONV): Use $test_wrapper.
43100         * posix/Makefile ($(objpfx)globtest.out): Pass
43101         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43102         globtest.sh, not $(run-program-prefix).
43103         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43104         (test_wrapper): Likewise.
43105         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43106         set together with run_via_rtld_prefix.
43107         (run_program_prefix): Define in terms of test_wrapper and
43108         run_via_rtld_prefix.
43110 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43112         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43113         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43114         Targets removed.
43116         [BZ #14743]
43117         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43118         Declare __clock_getres, __clock_gettime, __clock_settime,
43119         __clock_nanosleep, and __clock_getcpuclockid.
43120         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43121         Remove librt_hidden_def (clock_gettime).
43122         * sysdeps/unix/clock_gettime.c: Likewise.
43123         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43124         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43125         * rt/clock_getres.c: Define __clock_getres as an alias.
43126         * sysdeps/posix/clock_getres.c: Likewise.
43127         * rt/clock_settime.c: Define __clock_settime as an alias.
43128         * sysdeps/unix/clock_settime.c: Likewise.
43129         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43130         * sysdeps/unix/clock_nanosleep.c: Likewise.
43131         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43132         * rt/clock-compat.c: New file.
43133         * rt/Makefile (librt-routines): Add clock-compat and move
43134         $(clock-routines) to ...
43135         (routines): ... here, new variable.
43136         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43137         Don't add get_clockfreq here.
43138         * rt/Versions (libc: GLIBC_2.17): New version set.
43139         Add clock_* symbols here.
43140         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43141         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43142         (GLIBC_2.17): Add clock_* symbols.
43143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43145         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43147         Likewise.
43148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43149         Likewise.
43150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43154         * NEWS: Mention the move.
43156         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43157         Use __open, __read, __close rather than their public counterparts.
43158         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43159         (__get_clockfreq_via_cpuinfo): Likewise.
43160         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43161         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43163         * config.h.in (HAVE_IFUNC): New #undef.
43164         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43165         was successful.
43166         * configure: Regenerated.
43168 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43170         * configure.in: Move READELF check to start of file.
43171         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43172         libc_cv_asm_gnu_indirect_function in the process.
43173         * configure: Regenerated.
43175 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43177         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43178         send the output to /dev/null.
43179         (libc_cv_cc_with_libunwind): Likewise.
43180         (libc_cv_as_noexecstack): Likewise.
43181         * configure: Regenerate.
43183 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43185         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43187         * posix/globtest.sh (TMPDIR): Do not set.
43188         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43189         (testout): Likewise.
43191 2012-10-24  Andreas Jaeger  <aj@suse.de>
43193         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43194         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43195         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43196         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43197         posix_fadvise64, posix_fallocate64.
43199         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43200         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43201         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43202         Likewise.
43203         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43204         Likewise.
43205         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43207         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43208         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43209         <bits/fcntl-linux.h>.
43210         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43212         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43213         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43214         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43215         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43216         [__WORDSIZE != 64]: Likewise.
43218 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43220         * Makeconfig (run-built-tests): New variable.
43221         * Rules [$(cross-compiling) = yes]: Change condition to
43222         [$(run-built-tests) = no].
43223         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43224         to [$(run-built-tests) = yes].
43225         * elf/Makefile [$(cross-compiling) = no]: Likewise
43226         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43227         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43228         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43229         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43230         * io/Makefile [$(cross-compiling) = no]: Likewise.
43231         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43232         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43233         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43234         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43235         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43236         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43237         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43238         * string/Makefile [$(cross-compiling) = no]: Likewise.
43240         * posix/Makefile ($(objpfx)globtest.out): Pass
43241         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43242         $(rtld-installed-name).
43243         * posix/globtest.sh (elf_objpfx): Remove variable.
43244         (rtld_installed_name): Likewise.
43245         (library_path): Likewise.
43246         (run_program_prefix): New variable.  Use for running globtest
43247         binary.
43249 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43250             Joseph Myers  <joseph@codesourcery.com>
43252         * Makeconfig (host-built-program-cmd): New variable.
43253         * elf/Makefile (tst-stackguard1-ARGS): Use
43254         $(host-built-program-cmd).
43255         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43256         (tst-spawn-ARGS): Likewise.
43257         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43259 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43260             Jim Blandy  <jimb@codesourcery.com>
43262         * Makeconfig (run-via-rtld-prefix): New variable.
43263         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43264         (built-program-cmd): Likewise.
43266 2012-10-22  Andreas Jaeger  <aj@suse.de>
43268         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43269         __O_RSYNC if it exists, otherwise to O_SYNC.
43271 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43272             Joseph Myers  <joseph@codesourcery.com>
43274         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43275         /dev/null.
43276         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43277         from /dev/null
43278         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43279         /dev/null.
43281 2012-10-22  Andreas Jaeger  <aj@suse.de>
43283         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43284         Define always.
43285         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43287         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43288         bits/fcntl-linux.h.
43290         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43291         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43293         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43294         to __O_LARGEFILE.
43295         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43296         to __O_LARGEFILE.
43298 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43299             Joseph Myers  <joseph@codesourcery.com>
43301         * config.make.in (NM): New variable.
43303 2012-10-21  Andreas Jaeger  <aj@suse.de>
43305         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43306         definitions and declarations that are provided by
43307         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43309 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43311         [BZ #14683]
43312         * elf/Makefile (tests-static): Add tst-leaks1-static.
43313         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43314         ($(objpfx)tst-leaks1-static): New rule.
43315         ($(objpfx)tst-leaks1-static-mem): Likewise.
43316         (tst-leaks1-static-ENV): New macro.
43317         * elf/dl-open.c (dl_open_worker): Check the main application
43318         only if SHARED is defined.
43319         * elf/tst-leaks1-static.c: New file.
43321 2012-10-20  Andreas Jaeger  <aj@suse.de>
43323         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43324         generic values for Linux.
43325         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43326         and declarations that are provided by <bits/fcntl-linux.h> and
43327         include <bits/fcntl-linux.h>.
43328         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43329         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43331 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43333         * io/fcntl.h: Move include of <bits/types.h> to the top and
43334         include it unconditionally.
43336 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43338         * wcsmbs/Makefile (tests-ifunc): New variable.
43339         (tests): Add $(tests-ifunc).
43340         * wcsmbs/test-wcschr-ifunc.c: New file.
43341         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43342         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43343         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43344         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43345         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43347         * string/Makefile (tests-ifunc): New variable.
43348         (tests): Add $(tests-ifunc).
43349         * string/test-memccpy.c (TEST_NAME): New macro.
43350         * string/test-memchr.c (TEST_NAME): Likewise.
43351         * string/test-memcmp.c (TEST_NAME): Likewise.
43352         * string/test-memcpy.c (TEST_NAME): Likewise.
43353         * string/test-memmem.c (TEST_NAME): Likewise.
43354         * string/test-memmove.c (TEST_NAME): Likewise.
43355         * string/test-memset.c (TEST_NAME): Likewise.
43356         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43357         * string/test-stpcpy.c (TEST_NAME): Likewise.
43358         * string/test-stpncpy.c (TEST_NAME): Likewise.
43359         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43360         * string/test-strcasestr.c (TEST_NAME): Likewise.
43361         * string/test-strcat.c (TEST_NAME): Likewise.
43362         * string/test-strchr.c (TEST_NAME): Likewise.
43363         * string/test-strcmp.c(TEST_NAME): Likewise.
43364         * string/test-strcpy.c (TEST_NAME): Likewise.
43365         * string/test-strcspn.c (TEST_NAME): Likewise.
43366         * string/test-strlen.c (TEST_NAME): Likewise.
43367         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43368         * string/test-strncmp.c (TEST_NAME): Likewise.
43369         * string/test-strncpy.c (TEST_NAME): Likewise.
43370         * string/test-strnlen.c (TEST_NAME): Likewise.
43371         * string/test-strpbrk.c (TEST_NAME): Likewise.
43372         * string/test-strrchr.c (TEST_NAME): Likewise.
43373         * string/test-strspn.c (TEST_NAME): Likewise.
43374         * string/test-strstr.c (TEST_NAME): Likewise.
43375         * string/test-bcopy-ifunc.c: New file.
43376         * string/test-bzero-ifunc.c: Likewise.
43377         * string/test-memccpy-ifunc.c: Likewise.
43378         * string/test-memchr-ifunc.c: Likewise.
43379         * string/test-memcmp-ifunc.c: Likewise.
43380         * string/test-memcpy-ifunc.c: Likewise.
43381         * string/test-memmem-ifunc.c: Likewise.
43382         * string/test-memmove-ifunc.c: Likewise.
43383         * string/test-mempcpy-ifunc.c: Likewise.
43384         * string/test-memset-ifunc.c: Likewise.
43385         * string/test-rawmemchr-ifunc.c: Likewise.
43386         * string/test-stpcpy-ifunc.c: Likewise.
43387         * string/test-stpncpy-ifunc.c: Likewise.
43388         * string/test-strcasecmp-ifunc.c: Likewise.
43389         * string/test-strcasestr-ifunc.c: Likewise.
43390         * string/test-strcat-ifunc.c: Likewise.
43391         * string/test-strchr-ifunc.c: Likewise.
43392         * string/test-strchrnul-ifunc.c: Likewise.
43393         * string/test-strcmp-ifunc.c: Likewise.
43394         * string/test-strcpy-ifunc.c: Likewise.
43395         * string/test-strcspn-ifunc.c: Likewise.
43396         * string/test-strlen-ifunc.c: Likewise.
43397         * string/test-strncasecmp-ifunc.c: Likewise.
43398         * string/test-strncat-ifunc.c: Likewise.
43399         * string/test-strncmp-ifunc.c: Likewise.
43400         * string/test-strncpy-ifunc.c: Likewise.
43401         * string/test-strnlen-ifunc.c: Likewise.
43402         * string/test-strpbrk-ifunc.c: Likewise.
43403         * string/test-strrchr-ifunc.c: Likewise.
43404         * string/test-strspn-ifunc.c: Likewise.
43405         * string/test-strstr-ifunc.c: Likewise.
43407         * debug/Makefile (tests-ifunc): New variable.
43408         (tests): Add $(tests-ifunc).
43409         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43410         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43411         * debug/test-stpcpy_chk-ifunc.c: New file.
43412         * debug/test-strcpy_chk-ifunc.c: Likewise.
43414 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43416         [BZ #13601]
43417         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43418         header is not read in.
43420 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43422         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43423         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43424         directly.  Pass built executable to script as
43425         $(built-program-cmd).
43426         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43427         $testprogram without using LD_LIBRARY_PATH and $ldso.
43429         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43430         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43431         $(rtld-installed-name).
43432         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43433         (rtld_installed_name): Likewise.
43434         (library_path): Likewise.
43435         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43436         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43437         $(run-program-prefix) to tst-tables.sh.
43438         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43439         it to run tst-table-from and tst-table-to.
43440         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43441         Pass it to tst-table.sh.
43442         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43443         $(run-program-prefix) to tst-gettext.sh.
43444         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43445         tst-translit.sh.
43446         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43447         tst-gettext2.sh.
43448         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43449         to run tst-gettext.
43450         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43451         to run tst-gettext2.
43452         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43453         to run tst-translit.
43454         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43455         $(run-program-prefix) to tst-mtrace.sh.
43456         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43457         to run tst-mtrace.
43458         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43459         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43460         $(rtld-installed-name).
43461         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43462         (rtld_installed_name): Likewise.
43463         (run_program_prefix): New variable.  Use it to run wordexp-test.
43465         * Makeconfig (ARCH): Remove all definitions.
43466         (machine): Likewise.
43467         [ARCH]: Remove conditional code.
43468         [!objdir]: Give error.
43469         [!objdir] (objpfx): Remove.
43470         [!objdir] (common-objpfx): Likewise.
43471         [!objdir] (common-objdir): Likewise.
43472         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43473         AC_CONFIG_FILES call.
43474         * configure: Regenerated.
43476         [BZ #13888]
43477         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43478         or TMPDIR.
43479         (testout): Likewise.
43481         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43482         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43483         $(rtld-installed-name).
43484         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43485         (rtld_installed_name): Likwise.
43486         (runit): Remove function.
43487         (run_getconf): New variable,  Use it for running getconf binary.
43489 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43491         [BZ #14716]
43492         * string/test-memmem.c (check_result): New function.
43493         (do_one_test): Use it.
43494         (check1): New function.
43495         (test_main): Use it.
43497 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43499         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43501 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43503         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43504         (_G_LSEEK64): Likewise.
43505         (_G_MMAP64): Likewise.
43506         (_G_FSTAT64): Likewise.
43507         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43508         (_G_LSEEK64): Likewise.
43509         (_G_MMAP64): Likewise.
43510         (_G_FSTAT64): Likewise.
43511         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43512         unconditional.  Call __mmap64 directly.
43513         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43514         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43515         __lseek64 directly.
43516         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43517         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43518         __mmap64 directly.
43519         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43520         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43521         __lseek64 directly.
43522         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43523         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43524         __lseek64 directly.
43525         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43526         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43527         __lseek64 directly.
43528         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43529         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43530         __fxstat64 directly.
43531         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43532         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43533         unconditional.
43534         (freopen64) [!_G_OPEN64]: Remove conditional code.
43535         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43536         unconditional.
43537         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43538         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43539         unconditional.
43540         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43541         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43542         unconditional.
43543         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43544         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43545         unconditional.
43546         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43547         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43548         unconditional.
43549         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43550         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43551         unconditional.
43552         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43553         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43554         unconditional.
43555         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43557 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43559         [BZ #12140]
43560         * manual/memory.texi (Malloc Tunable Parameters): Add note
43561         about free list pointers overwriting some perturb bytes.
43562         Wording suggested by Roland McGrath.
43564 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43566         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43567         (lgamma_test): Likewise.
43568         (tgamma_test): Likewise.
43570 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43572         [BZ #14700]
43573         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43574         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43576 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43578         * NEWS: Mention BZ #14716.
43579         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43580         when removing AVAILABLE1_USES_J macro.
43582 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43584         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43585         (__bswap_64): __uint64_t for unsigned 64-bit int.
43587 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43589         * include/string.h (memmem): Declare libc hidden alias.
43590         * string/memmem.c (memmem): Define libc hidden alias.
43591         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43592         __read, __close instead of open, read, close.
43594 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43596         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43597         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43598         global and hidden.
43599         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43600         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43601         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43602         Likewise.
43603         (__rawmemchr_sse2): Likewise.
43604         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43605         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43606         (__strchr_sse2): Likewise.
43607         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43608         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43609         (__strcasecmp_sse2): Likewise.
43610         (__strncasecmp_sse2): Likewise.
43611         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43612         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43613         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43614         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43615         (__strrchr_sse2): Likewise.
43616         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43617         ifunc-impl-list.c.
43618         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43619         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43620         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43621         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43622         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43623         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43624         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43625         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43626         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43627         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43628         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43629         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43630         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43631         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43632         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43633         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43634         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43635         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43636         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43637         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43638         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43639         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43640         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43641         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43642         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43643         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43644         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43645         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43646         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43647         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43649         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43650         global and hidden.
43651         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43652         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43653         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43654         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43655         Likewise.
43656         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43657         Likewise.
43658         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43659         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43660         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43661         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43662         ifunc-impl-list.c.
43663         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43664         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43665         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43666         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43667         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43668         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43669         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43670         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43671         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43672         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43673         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43674         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43675         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43676         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43677         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43678         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43679         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43680         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43681         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43682         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43683         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43684         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43685         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43686         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43687         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43688         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43689         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43690         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43691         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43692         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43693         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43694         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43695         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43696         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43697         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43698         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43699         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43700         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43701         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43702         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43703         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43705         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43706         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43707         * include/ifunc-impl-list.h: New file.
43708         * misc/ifunc-impl-list.c: Likewise.
43709         * misc/Makefile (routines): Add ifunc-impl-list.
43710         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43711         * string/test-string.h: Include <ifunc-impl-list.h>.
43712         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43713         TEST_NAME]: New variables.
43714         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43715         are defined.
43716         (test_init): Call __libc_ifunc_impl_list to initialize
43717         func_list if TEST_IFUNC and TEST_NAME are defined.
43719         * string/Makefile (strop-tests): Add bcopy and bzero.
43720         * string/test-bcopy.c: New file.
43721         * string/test-bzero.c: Likewise.
43722         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43723         defined.
43724         * string/test-memset.c: Support bzero test if TEST_BZERO is
43725         defined.
43726         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43727         __libc_memmove.
43728         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43729         __libc_memset.
43730         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43731         of memset.
43733 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43735         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43736         * configure: Regenerated.
43738         * Makeconfig (+link-static-before-libc): Don't include
43739         $(link-static-libc).
43741         * libio/libio.h (_IO_pos_t): Remove.
43743 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43745         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43746         McGrath.
43748 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43750         * crypt/crypt-entry.c: Include fips-private.h.
43751         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43752         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43753         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43754         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43756 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43758         * crypt/crypt-private.h: Include stdbool.h.
43759         (_ufc_setup_salt_r): Return bool.
43760         * crypt/crypt-entry.c: Include errno.h.
43761         (__crypt_r): Return NULL with EINVAL for bad salt.
43762         * crypt/crypt_util.c (bad_for_salt): New.
43763         (_ufc_setup_salt_r): Check that salt is long enough and within
43764         the specified alphabet.
43765         * crypt/badsalttest.c: New file.
43766         * crypt/Makefile (tests): Add it.
43767         ($(objpfx)badsalttest): New.
43769 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43771         * NEWS: Add entry for BZ #14602.
43773 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43775         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43776         type-generic.
43777         * math/libm-test.inc: Update comment listing what functions and
43778         macros are tested.
43779         (isgreater_test): New function.
43780         (isgreaterequal_test): Likewise.
43781         (isless_test): Likewise.
43782         (islessequal_test): Likewise.
43783         (islessgreater_test): Likewise.
43784         (isunordered_test): Likewise.
43785         (main): Call the new functions.
43787 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43789         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43790         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43791         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43792         * sysdeps/i386/configure: Regenerated.
43793         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43794         * sysdeps/mach/configure: Regenerated.
43795         * sysdeps/mach/hurd/configure: Regenerated.
43796         * sysdeps/powerpc/configure: Regenerated.
43797         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43798         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43799         * sysdeps/s390/s390-32/configure: Regenerated.
43800         * sysdeps/s390/s390-64/configure: Regenerated.
43801         * sysdeps/sh/configure: Regenerated.
43802         * sysdeps/sparc/configure: Regenerated.
43803         * sysdeps/unix/sysv/linux/configure: Regenerated.
43804         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43805         * sysdeps/x86_64/configure: Regenerated.
43807         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43808         defined.  Don't check if MAP is NULL.
43810 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43812         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43813         (_G_stat64): Likewise.
43814         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43815         (_G_stat64): Likewise.
43816         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43817         instead of struct _G_stat64.
43818         * libio/fileops.c (mmap_remap_check): Likewise.
43819         (decide_maybe_mmap): Likewise.
43820         (_IO_new_file_seekoff): Likewise.
43821         (_IO_file_stat): Likewise.
43822         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43823         _G_off64_t.
43824         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43825         instead of struct _G_stat64.
43826         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43828 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43830         [BZ #14602]
43831         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43832         Replace with ...
43833         (CHECK_EOL): New macro.
43834         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43835         CHECK_EOL.
43836         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43837         Replace with CHECK_EOL.
43838         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43839         Replace with CHECK_EOL.
43841 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43843         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43844         type-generic.
43845         * math/libm-test.inc: Update comment listing what functions and
43846         macros are tested.
43847         (finite_test): New function.
43848         (isinf_test): Likewise.
43849         (isnan_test): Likewise.
43850         (fpclassify_test): Test subnormal input.
43851         (isfinite_test): Likewise.
43852         (isnormal_test): Likewise.
43853         (main): Call the new functions.
43855 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43857         [BZ #14660]
43858         * Makerules (%.dynsym): Force C locale when running
43859         $(OBJDUMP) --dynamic-syms.
43861 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43863         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43864         <stdint.h>.
43866 2012-10-06  David S. Miller  <davem@davemloft.net>
43868         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43869         upper 32-bits of the length value in %o2 since we use branch-on-register
43870         tests which consider the entire 64-bit register.
43872 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43874         * string/test-strstr.c (check2): Add a test for page boundary.
43876 2012-10-05  David S. Miller  <davem@davemloft.net>
43878         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43879         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43880         file.
43881         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43882         sysdep_routines.
43883         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43884         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43885         and bzero when HWCAP_SPARC_CRYPTO is present.
43887 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43889         [BZ #14602]
43890         * string/test-strstr.c (check2): New function.
43891         (test_main): Call check2.
43893         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43894         and bug-strchr1.
43895         * string/bug-strcasestr1.c (do_test): Moved to ...
43896         * string/test-strcasestr.c (check1): Here.  New function.
43897         (do_one_test): Break out result checking code into ...
43898         (check_result): This.  New function.
43899         (do_one_test): Call check_result.
43900         (test_main): Call check1.
43901         * string/bug-strchr1.c (do_test): Moved to ...
43902         * string/test-strchr.c (check1): Here.  New function.
43903         (do_one_test): Break out result checking code into ...
43904         (check_result): This.  New function.
43905         (do_one_test): Call check_result.
43906         (test_main): Call check1.
43907         * string/bug-strstr1.c (main): Moved to ...
43908         * string/test-strstr.c (check1): Here.  New function.
43909         (do_one_test): Break out result checking code into ...
43910         (check_result): This.  New function.
43911         (do_one_test): Call check_result.
43912         (test_main): Call check1.
43913         * string/bug-strcasestr1.c: Removed.
43914         * string/bug-strchr1.c: Likewise.
43915         * string/bug-strstr1.c: Likewise.
43917         * elf/Makefile (dl-routines): Add hwcaps.
43918         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43919         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43920         (_dl_important_hwcaps): Moved to ...
43921         * elf/dl-hwcaps.c: Here.  New file.
43922         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43924         [BZ #14557]
43925         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43926         if IS_IN_rtld isn't defined.
43928         * elf/dl-support.c (_dl_sysinfo_map): New.
43929         Include "get-dynamic-info.h" and "setup-vdso.h".
43930         (_dl_non_dynamic_init): Call setup_vdso.
43931         * elf/dynamic-link.h: Don't include <assert.h>.
43932         (elf_get_dynamic_info): Moved to ...
43933         * elf/get-dynamic-info.h: Here.  New file.
43934         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43935         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43936         * elf/setup-vdso.h: Here.  New file.
43937         * elf/rtld.c: Include "setup-vdso.h".
43938         (dl_main): Call setup_vdso.
43940 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43942         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43943         creal in comment listing functions tested.  List finite, isinf,
43944         isnan, isless, islessequal, isgreater, isgreaterequal,
43945         islessgreater, isunordered, lgamma_r and pow10 as functions and
43946         macros not tested.  Mention which functions not tested are aliases
43947         for other functions.  Fix typo.  Note that signs of NaNs are not
43948         tested.
43950         * scripts/config.guess: Update from config.git.
43951         * scripts/config.sub: Likewise.
43953 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43955         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43956         * misc/madvise.c (madvise): Renamed to __madvise.
43957         Make madvise a weak alias.
43958         * include/sys/mman.h: Declare __madvise.
43959         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43960         * sysdeps/unix/syscalls.list
43961         (madvise): Make __madvise the strong name, and madvise a weak alias.
43962         * sysdeps/unix/sysv/linux/syscalls.list
43963         (madvise, mmap): Remove redundant entries.
43964         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43965         * malloc/malloc.c (mtrim): Likewise.
43966         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43968 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43970         * sysdeps/mach/hurd/dl-cache.c: File removed.
43971         * config.h.in (USE_LDCONFIG): New #undef.
43972         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43973         * configure: Regenerated.
43974         * elf/Makefile (dl-routines): Add dl-cache only under
43975         [$(use-ldconfig) = yes].
43976         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43977         cache on [USE_LDCONFIG].
43978         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43979         [USE_LDCONFIG].
43980         * elf/rtld.c (dl_main): Likewise.
43982 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43984         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43985         _SC_LEVEL4_CACHE_LINESIZE.
43987 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43989         * sysdeps/unix/bsd/confstr.h: File removed.
43991 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43993         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43994         sys/sdt-config.h.
43996 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43998         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43999         Make 'mapoff' field ElfW(Off) rather than off_t.
44001 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44003         * nscd/Makefile: Remove nscd-cflags and all its users.
44004         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44005         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44007         [BZ #10631]
44008         * malloc.c (malloc_printerr): Clarify error message.
44010 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44012         [BZ #14648]
44013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44014         Set bit_FMA_Usable if FMA is supported.
44015         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44016         macro.
44017         (bit_FMA4_Usable): Updated.
44018         (index_FMA_Usable): New macro.
44019         (CPUID_FMA): Likewise
44020         (HAS_FMA): Defined with bit_FMA_Usable.
44022 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44024         * bits/types.h (__swblk_t): Type removed.
44025         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44026         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44027         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44028         (__SWBLK_T_TYPE): Likewise.
44029         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44030         (__SWBLK_T_TYPE): Likewise.
44031         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44032         (__SWBLK_T_TYPE): Likewise.
44033         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44034         (__SWBLK_T_TYPE): Likewise.
44036 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44037             Honza Horak <hhorak@redhat.com>
44039         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44040         (xdr_mapname): Use YPMAXMAP as maxsize.
44041         (xdr_peername): Use YPMAXPEER as maxsize.
44042         (xdr_keydat): Use YPAXRECORD as maxsize.
44043         (xdr_valdat): Use YPMAXRECORD as maxsize.
44045 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44047         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44049         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44050         * csu/init-first.c: ... here.
44051         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44052         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44053         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44054         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44055         * sysdeps/i386/init-first.c: File removed.
44056         * sysdeps/sh/init-first.c: File removed.
44058 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44060         [BZ #14645]
44061         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44062         if x * y might underflow to zero and z is zero.
44063         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44064         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44065         * math/libm-test.inc (min_subnorm_value): New variable.
44066         (fma_test): Add more tests.
44067         (fma_test_towardzero): Likewise.
44068         (fma_test_downward): Likewise
44069         (fma_test_upward): Likewise.
44070         (initialize): Set min_subnorm_value.
44072 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44074         [BZ #14638]
44075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44076         0 + 0.
44077         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44078         mode for addition resulting in exact zero.
44079         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44080         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44081         exact 0 + 0.
44082         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44083         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44084         * math/libm-test.inc (fma_test): Add more tests.
44085         (fma_test_towardzero): New function.
44086         (fma_test_downward): Likewise.
44087         (fma_test_upward): Likewise.
44088         (main): Call the new functions.
44090 2012-09-28  David S. Miller  <davem@davemloft.net>
44092         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44094 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44096         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44097         instead of SIGALRM.
44099         * sysdeps/gnu/_G_config.h: Moved to ...
44100         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44101         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44102         * sysdeps/generic/_G_config.h: ... here.
44104         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44106         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44108         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44109         Conditionalize target on [libnss_test1.so-version].
44111         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44113         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44114         (elfobjdir): Move out of conditionals.
44116         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44117         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44118         (__nss_lookup_function): Conditionalize label remove_from_tree on
44119         [!DO_STATIC_NSS || SHARED], matching its only use.
44121 2012-09-28  David S. Miller  <davem@davemloft.net>
44123         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44124         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44125         file.
44126         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44127         sysdep_routines.
44128         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44129         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44130         when HWCAP_SPARC_CRYPTO is present.
44132 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44134         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44136 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44138         [BZ #6530]
44139         * stdio-common/vfprintf.c (process_string_arg): Revert
44140         2000-07-22 change.
44142 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44144         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44145         for testcase.
44146         * stdio-common/tst-sprintf.c: Include <locale.h>
44147         (main): Test sprintf's handling of incomplete multibyte
44148         characters.
44150 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44152         * elf/dl-runtime.c (VERSYMIDX): Removed.
44153         * elf/dl-version.c (VERSYMIDX): Likewise.
44154         * elf/do-rel.h (VERSYMIDX): Likewise.
44155         (VALIDX): Likewise.
44156         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44157         * elf/rtld.c (VALIDX): Likewise.
44158         (ADDRIDX): Likewise.
44159         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44160         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44161         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44162         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44163         (VALIDX): Likewise.
44164         (ADDRIDX): Likewise.
44166 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44168         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44170 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44172         [BZ #11438]
44173         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44174         to global scope.
44175         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44176         addresses are in the same scope as 192.0.2/24.
44177         * posix/gai.conf: Document new scope table defaults.
44179 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44181         [BZ #5298]
44182         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44183         for ftell.  Compute offsets from write pointers instead.
44184         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44186 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44188         [BZ #14543]
44189         * libio/Makefile (tests): New test case tst-fseek.
44190         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44191         combination works in wide mode.
44192         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44193         state when the external buffer state changes.
44195 2012-09-27  David S. Miller  <davem@davemloft.net>
44197         [BZ #14376]
44198         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44199         pass reloc->r_addend in as the 'high' argument to
44200         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44204 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44206         * rt/tst-aio2.c: Include <pthread.h>.
44207         * rt/tst-aio3.c: Likewise.
44209 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44211         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44213 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44215         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44216         contents on [SHARED].
44218 2012-09-26  Marek Polacek  <polacek@redhat.com>
44220         [BZ #14530]
44221         [BZ #13741]
44222         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44223         for C++ and GCC <4.3 as well as for non GCC compilers.
44225 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44229 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44231         * Makefile.in (all, install): Declare with .PHONY.
44232         Reported by Michael Hope <michael.hope@linaro.org>.
44234 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44236         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44237         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44238         system header.
44239         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44240         Likewise.
44241         (sydep_routines): Add the new and the internal functions.
44242         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44243         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44245         (GLIBC_2.17): Add the new function.
44246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44247         (GLIBC_2.17): Likewise.
44248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44249         (GLIBC_2.17): Likewise.
44250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44251         (GLIBC_2.17): Likewise.
44252         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44254 2012-09-25  Alan Modra  <amodra@gmail.com>
44256         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44257         Add release barrier before setting once_control to say
44258         initialisation is done.  Add hints on lwarx.  Use macro in
44259         place of isync.
44260         (clear_once_control): Add release barrier.
44262 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44264         [BZ #13629]
44265         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44266         specially.
44267         * math/s_clog10.c (__clog10): Likewise.
44268         * math/s_clog10f.c (__clog10f): Likewise.
44269         * math/s_clog10l.c (__clog10l): Likewise.
44270         * math/s_clogf.c (__clogf): Likewise.
44271         * math/s_clogl.c (__clogl): Likewise.
44272         * math/Makefile (libm-calls): Add x2y2m1.
44273         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44274         (__x2y2m1): Likewise.
44275         (__x2y2m1l): Likewise.
44276         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44277         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44278         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44279         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44280         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44281         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44282         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44283         * sysdeps/i386/fpu/libm-test-ulps: Update.
44284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44286         [BZ #14621]
44287         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44288         int as type of variable DEPTH.
44289         (glob): Use size_t instead of int as type of variables NEWCOUNT
44290         and OLD_PATHC.
44292 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44294         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44295         Add s_sincosf-sse2.
44296         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44297         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44298         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44299         macros for using routine as __sincosf_ia32.
44300         Use macro for function declaration and weak_alias.
44301         * sysdeps/i386/fpu/libm-test-ulps: Update.
44303         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44306         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44307         subnormal argument.
44308         * math/s_cexpf.c (__cexpf): Likewise.
44309         * math/s_csinf.c (__csinf): Likewise.
44310         * math/s_csinhf.c (__csinhf): Likewise.
44311         * math/s_ctanf.c (__ctanf): Likewise.
44312         * math/s_ctanhf.c (__ctanhf): Likewise.
44313         * math/s_ccosh.c (__ccoshf): Likewise.
44314         * math/s_cexp.c (__cexpl): Likewise.
44315         * math/s_csin.c (__csin): Likewise.
44316         * math/s_csinh.c (__csinh): Likewise.
44317         * math/s_ctan.c (__ctan): Likewise.
44318         * math/s_ctanh.c (ctanh): Likewise.
44319         * math/s_ccoshl.c (__ccoshl): Likewise.
44320         * math/s_cexpl.c (__cexpl): Likewise.
44321         * math/s_csinl.c (__csinl): Likewise.
44322         * math/s_csinhl.c (__csinhl): Likewise.
44323         * math/s_ctanl.c (__ctanl): Likewise.
44324         * math/s_ctanhl.c (__ctanhl): Likewise.
44326 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44328         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44329         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44330         (_IO_off_t): Define to __off_t, not _G_off_t.
44331         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44332         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44333         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44334         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44335         type of __dummy and __dummy2 fields.
44336         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44337         (_G_ssize_t): Likewise.
44338         (_G_off_t): Likewise.
44339         (_G_pid_t): Likewise.
44340         (_G_uid_t): Likewise.
44341         (_G_wchar_t): Likewise.
44342         (_G_wint_t): Likewise.
44343         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44344         (_G_ssize_t): Likewise.
44345         (_G_off_t): Likewise.
44346         (_G_pid_t): Likewise.
44347         (_G_uid_t): Likewise.
44348         (_G_wchar_t): Likewise.
44349         (_G_wint_t): Likewise.
44350         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44351         (_G_ssize_t): Likewise.
44352         (_G_off_t): Likewise.
44353         (_G_pid_t): Likewise.
44354         (_G_uid_t): Likewise.
44355         (_G_wchar_t): Likewise.
44356         (_G_wint_t): Likewise.
44358 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44360         * malloc/arena.c: Include malloc-sysdep.h.
44361         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44362         is sufficient to shrink the heap or an unmap is needed.
44363         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44364         new function check_may_shrink_heap.
44365         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44366         new function check_may_shrink_heap.
44368 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44370         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44371         comments.
44373 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44375         * catgets/test-gencat.sh: Add "set -e".
44376         * elf/tst-pathopt.sh: Likewise.
44377         * grp/tst_fgetgrent.sh: Likewise.
44378         * iconvdata/run-iconv-test.sh: Likewise.
44379         * intl/tst-gettext.sh: Likewise.
44380         * intl/tst-gettext2.sh: Likewise.
44381         * intl/tst-gettext4.sh: Likewise.
44382         * intl/tst-gettext6.sh: Likewise.
44383         * intl/tst-translit.sh: Likewise.
44384         * io/ftwtest-sh: Likewise.
44385         * libio/test-freopen.sh: Likewise.
44386         * malloc/tst-mtrace.sh: Likewise.
44387         * posix/globtest.sh: Likewise.
44388         * posix/tst-getconf.sh: Likewise.
44389         * posix/wordexp-tst.sh: Likewise.
44390         * stdio-common/tst-printf.sh: Likewise.
44391         * stdio-common/tst-unbputc.sh: Likewise.
44392         * stdlib/tst-fmtmsg.sh: Likewise.
44393         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44394         * catgets/Makefile: Do not specify -e option when running
44395         testsuite shell scripts.
44396         * elf/Makefile: Likewise.
44397         * grp/Makefile: Likewise.
44398         * iconvdata/Makefile: Likewise.
44399         * intl/Makefile: Likewise.
44400         * io/Makefile: Likewise.
44401         * libio/Makefile: Likewise.
44402         * malloc/Makefile: Likewise.
44403         * posix/Makefile: Likewise.
44404         * stdio-common/Makefile: Likewise.
44405         * stdlib/Makefile: Likewise.
44406         * sysdeps/x86_64/Makefile: Likewise.
44408         * io/ftwtest-sh: Add copyright header.
44409         * posix/globtest.sh: Likewise.
44410         * posix/tst-getconf.sh: Likewise.
44411         * posix/wordexp-tst.sh: Likewise.
44412         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44414 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44416         [BZ #13679]
44417         * Makeconfig (+link): Defined as $(+link-static) if
44418         $(build-shared) isn't yes.
44419         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44420         isn't yes.
44421         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44423         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44425         [BZ #14562]
44426         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44427         new chunk size with MALLOC_ALIGN_MASK.
44429 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44431         [BZ #5044]
44432         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44433         <rounding-mode.h>.
44434         (__printf_fphex): Determine rounding using get_rounding_mode and
44435         round_away.
44436         * stdio-common/tst-printf-round.c (struct hex_test): New
44437         structure.
44438         (hex_tests): New variable.
44439         (test_hex_in_one_mode): New function.
44440         (do_test): Also run tests for hex float output.
44442 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44444         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44445         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44446         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44447         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44448         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44449         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44450         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44451         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44453 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44455         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44456         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44457         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44458         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44460 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44462         [BZ #14579]
44463         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44464         mode only.
44465         * elf/tst-rtld-load-self.sh: New test.
44466         * elf/Makefile: Run it.
44468 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44470         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44471         (tst-writev-ENV): Remove.
44472         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44474 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44476         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44478 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44480         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44481         unconditional.
44482         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44483         Likewise.
44484         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44485         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44486         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44487         Likewise.
44489 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44491         [BZ #14587]
44492         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44493         * config.make.in (have-cpp-asm-debuginfo): Removed.
44494         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44495         * configure: Regenerated.
44497 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44499         [BZ #5044]
44500         * stdio-common/printf_fp.c: Include <stdbool.h> and
44501         <rounding-mode.h>.
44502         (___printf_fp): Determine rounding using get_rounding_mode and
44503         round_away.
44504         * stdio-common/tst-printf-round.c: New file.
44505         * stdio-common/Makefile (tests): Add tst-printf-round.
44506         (link-libm): New variable.
44507         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44509 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44511         [BZ #14576]
44512         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44513         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44514         Likewise.
44515         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44516         Likewise.
44518 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44520         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44521         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44522         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44523         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44525 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44527         [BZ #14518]
44528         * include/rounding-mode.h: New file.
44529         * sysdeps/generic/get-rounding-mode.h: Likewise.
44530         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44531         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44532         (MAX_VALUE): New macro.
44533         (MIN_VALUE): Likewise.
44534         (overflow_value): New function.
44535         (underflow_value): Likewise.
44536         (round_and_return): Use overflow_value and underflow_value to
44537         determine return values in overflow and underflow cases.  Use
44538         round_away to determine rounding depending on rounding mode.
44539         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44540         determine return values in overflow and underflow cases.
44541         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44542         (struct test_results): New structure.
44543         (struct test): Use struct test_results to store expected results
44544         for all rounding modes.
44545         (TEST): Include expected results for all rounding modes.
44546         (test_in_one_mode): New function.
44547         (do_test): Use test_in_one_mode to compute and check results.
44548         Check results for all rounding modes.
44549         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44550         $(link-libm).
44552 2012-12-09  Allan McRae  <allan@archlinux.org>
44554         * sysdeps/i386/fpu/libm-test-ulps: Update
44556 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44558         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44559         (_G_int32_t): Likewise.
44560         (_G_uint16_t): Likewise.
44561         (_G_uint32_t): Likewise.
44562         (_G_HAVE_BOOL): Likewise.
44563         (_G_HAVE_ATEXIT): Likewise.
44564         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44565         (_G_HAVE_IO_FILE_OPEN): Likewise.
44566         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44567         (_G_int32_t): Likewise.
44568         (_G_uint16_t): Likewise.
44569         (_G_uint32_t): Likewise.
44570         (_G_HAVE_BOOL): Likewise.
44571         (_G_HAVE_ATEXIT): Likewise.
44572         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44573         (_G_HAVE_IO_FILE_OPEN): Likewise.
44574         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44575         (_G_int32_t): Likewise.
44576         (_G_uint16_t): Likewise.
44577         (_G_uint32_t): Likewise.
44578         (_G_HAVE_BOOL): Likewise.
44579         (_G_HAVE_ATEXIT): Likewise.
44580         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44581         (_G_HAVE_IO_FILE_OPEN): Likewise.
44583 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44585         * csu/libc-tls.c: Update copyright years.
44587 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44589         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44590         [!_G_USING_THUNKS]: Remove conditional code.
44591         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44592         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44594         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44595         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44596         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44597         (_G_VTABLE_LABEL_PREFIX): Likewise.
44598         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44599         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44600         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44601         (_G_VTABLE_LABEL_PREFIX): Likewise.
44602         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44603         * sysdeps/mach/hurd/_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.
44608 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44610         * libio/Makefile: Include ../Makeconfig before tests.
44611         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44612         only if $(build-shared) is yes.
44614         * iconv/gconv_db.c: Update copyright years.
44616 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44618         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44619         unwind info if defined PIC. Fix special cases description.
44620         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44622         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44623         DP_HI_MASK entry.
44624         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44626 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44628         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44630         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44631         is NULL.
44633         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44634         (LDLIBS-tst-chk4): This.
44635         (LDFLAGS-tst-chk5): Renamed to ...
44636         (LDLIBS-tst-chk5): This.
44637         (LDFLAGS-tst-chk6): Renamed to ...
44638         (LDLIBS-tst-chk6): This.
44639         (LDFLAGS-tst-lfschk4): Renamed to ...
44640         (LDLIBS-tst-lfschk4): This.
44641         (LDFLAGS-tst-lfschk5): Renamed to ...
44642         (LDLIBS-tst-lfschk5): This.
44643         (LDFLAGS-tst-lfschk6): Renamed to ...
44644         (LDLIBS-tst-lfschk6): This.
44646         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44647         on $(common-objpfx)soversions.mk.
44649 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44651         [BZ #10014]
44652         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44653         example host name.
44655 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44657         * malloc/arena.c (arena_get_retry): New function that gets
44658         another arena for the caller to try its request on.
44659         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44660         current arena cannot fulfill the request.
44661         (__libc_memalign): Likewise.
44662         (__libc_memalign): Likewise.
44663         (__libc_pvalloc): Likewise.
44664         (__libc_calloc): Likewise.
44666 2012-09-05  John Tobey  <john.tobey@gmail.com>
44668         [BZ #13542]
44669         * manual/arith.texi (Operations on Complex): Fix description
44670         of carg branch cut.
44672 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44674         [BZ #10014]
44675         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44676         host name.
44678         [BZ #10038]
44679         * manual/memory.texi (Memory): Make order of menu items match
44680         order of sections.
44682 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44684         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44685         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44686         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44688 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44690         * csu/libc-tls.c (static_dtv): Renamed to ...
44691         (_dl_static_dtv): This.  Make it global.
44692         (_dl_initial_dtv): Removed.
44693         (__libc_setup_tls): Updated.
44694         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44695         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44696         DL_INITIAL_DTV.
44698 2012-09-06  Petr Machata  <pmachata@redhat.com>
44700         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44701         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44702         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44703         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44705 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44707         [BZ #14545]
44708         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44709         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44710         freeing dtv[-1].
44712 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44714         [BZ #14544]
44715         * Makeconfig (link-static-before-libc): Replace $(+prector)
44716         with $(+prectorT).
44717         (link-static-after-libc): Replace $(+postctor) with
44718         $(+postctorT).
44719         (link-bounded): Replace $(+prector)/$(+postctor) with
44720         $(+prectorT)/$(+postctorT).
44721         (+prectorT): New macro.
44722         (+postctorT): Likewise.
44724 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44726         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44727         (round_str): Handle values above the maximum for IBM long double
44728         as inexact.
44729         * stdlib/tst-strtod-round.c (tests): Regenerated.
44731 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44733         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44734         assembler flag.
44735         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44736         zarch_nohighgprs around the zarch optimized routines.
44737         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44738         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44739         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44740         for zarch.
44742 2012-09-05  David S. Miller  <davem@davemloft.net>
44744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44746         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44747         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44748         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44749         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44750         entries.
44752 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44754         * malloc/arena.c: Fold copyright years.
44755         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44757 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44759         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44761 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44763         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44765 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44767         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44768         change internal state upon failure.
44770 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44772         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44773         * malloc/memusage.c (mmap): Likewise.
44774         (mmap64, mremap): Likewise.  Adjust name in comment.
44776 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44778         * libio/fileops.c: Fix typos in comments.
44779         * libio/oldfileops.c: Likewise.
44780         * libio/wfileops.c: Likewise.
44782 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44784         [BZ #1349]
44785         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44786         (tst-malloc-usable-ENV): Set environment for test case.
44787         * malloc/hooks.c (malloc_check_get_size): New function to get
44788         requested size.
44789         * malloc/malloc.c (musable): Use malloc_check_get_size.
44790         * malloc/tst-malloc-usable.c: New test case.
44792 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44794         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44796 2012-09-05  Allan McRae  <allan@archlinux.org>
44798         [BZ #13966]
44799         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44800         determine header location.
44801         * configure: Regenerated.
44803 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44805         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44806         float format.
44807         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44808         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44809         format.
44810         (test): Regenerate.
44812 2012-09-04  David S. Miller  <davem@davemloft.net>
44814         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44815         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44816         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44818 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44820         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44821         failures.
44823         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44825 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44827         [BZ #9914]
44828         * libio/iogetdelim.c: Include <limits.h>.
44829         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44830         + len + 1 would overflow.
44832 2012-09-03  Andreas Jaeger  <aj@suse.de>
44834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44835         * sysdeps/i386/fpu/libm-test-ulps: Update.
44837 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44839         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44840         Add s_sinf-sse2, s_conf-sse2.
44842         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44843         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44844         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44845         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44847         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44848         for using routine as __sinf_ia32.
44849         Use macro for function declaration and weak_alias.
44850         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44851         for using routine as __cosf_ia32.
44852         Use macro for function declaration and weak_alias.
44854         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44855         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44857         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44858         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44859         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44861         * math/libm-test.inc (cos_test): Add more test cases.
44862         (sin_test): Likewise.
44863         (sincos_test): Likewise.
44865 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44867         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44868         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44869         hidden.
44870         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44872 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44874         [BZ #14538]
44875         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44876         first element of the GOT.
44877         (elf_machine_load_address): Return the difference between
44878         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44880 2012-09-01  Allan McRae  <allan@archlinux.org>
44882         [BZ #13412]
44883         * configure.in (AWK): Require gawk version 3.0 or later.
44884         * configure: Regenerated.
44886 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44888         * sysdeps/unix/sysv/linux/kernel-features.h
44889         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44890         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44891         [__NR_clock_getres]: Make code unconditional.
44892         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44893         (clock_getcpuclockid): Remove code left unreachable by removal of
44894         conditionals.
44895         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44896         code unconditional.
44897         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44898         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44899         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44900         Make code unconditional.
44901         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44902         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44903         * sysdeps/unix/sysv/linux/clock_settime.c
44904         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44905         conditional code.
44906         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44907         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44909 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44911         [BZ #14476]
44912         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44913         scripts/test-installation.pl.
44915         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44916         and $ld_so_version if it is set.
44918 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44920         [BZ #14516]
44921         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44922         failure if reading from procfs failed.
44923         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44925 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44927         * sysdeps/unix/sysv/linux/kernel-features.h
44928         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44929         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44930         Remove conditional code.
44931         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44932         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44933         Remove conditional code.
44934         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44935         * sysdeps/unix/sysv/linux/i386/fxstat.c
44936         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44937         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44938         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44939         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44940         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44941         * sysdeps/unix/sysv/linux/i386/lxstat.c
44942         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44943         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44944         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44945         Remove conditional code.
44946         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44947         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44948         Remove conditional code.
44949         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44950         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44951         <kernel-features.h>.
44952         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44953         Remove.
44954         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44955         Remove conditional code.
44956         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44957         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44958         Remove conditional.
44960 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44962         [BZ #5400]
44963         * NEWS: Add fixed bug number.
44965 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44967         [BZ #14519]
44968         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44969         underflowing exponent in case of negative sign.
44970         * stdlib/tst-strtod-round-data: Add more tests.
44971         * stdlib/tst-strtod-round.c (tests): Regenerated.
44973         [BZ #3479]
44974         * stdlib/strtod_l.c (NDIG): Remove.
44975         (HEXNDIG): Likewise.
44976         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44977         smallest representable value.
44978         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44979         lie within an exact representation of 1/2 ulp of the result.
44980         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44981         unconditionally.
44982         (TENS_P9_IDX): Define unconditionally.
44983         (TENS_P9_SIZE): Likewise.
44984         (TENS_P10_IDX): Likewise.
44985         (TENS_P10_SIZE): Likewise.
44986         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44987         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44988         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44989         entries for 10^2^13 and 10^2^14.
44990         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44991         (TENS_P13_IDX): Define.
44992         (TENS_P13_SIZE): Likewise.
44993         (TENS_P14_IDX): Likewise.
44994         (TENS_P14_SIZE): Likewise.
44995         (_fpioconst_pow10): Change array size to
44996         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44997         unconditional.
44998         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44999         1024]: Add entries for 10^2^13 and 10^2^14.
45000         [LAST_POW10 > _LAST_POW10]: Remove #error.
45001         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45002         (_fpioconst_pow10): Change array size to
45003         FPIOCONST_POW10_ARRAY_SIZE.
45004         * stdlib/gen-fpioconst.c: New file.
45005         * stdlib/gen-tst-strtod-round.c: Likewise.
45006         * stdlib/tst-strtod-round-data: Likewise.
45007         * stdlib/tst-strtod-round.c: Likewise.
45008         * stdlib/Makefile (tests): Add tst-strtod-round.
45010         [BZ #14459]
45011         * stdlib/strtod_l.c: Include <stdint.h>.
45012         (NDEBUG): Do not define.
45013         (round_and_return): Change EXPONENT parameter to type intmax_t.
45014         Rearrange calculations to avoid internal overflow possibilities.
45015         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45016         Rearrange calculations to avoid internal overflow possibilities.
45017         Assert that number fits inside MPNSIZE limbs.
45018         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45019         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45020         calculations and add assertions to avoid internal overflow
45021         possibilities.  Add casts to avoid signed/unsigned operations.
45022         * stdlib/tst-strtod-overflow.c: New file.
45023         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45025 2012-08-25  Marek Polacek  <polacek@redhat.com>
45027         * time/time.h: Fix some typos in comments.
45029 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45031         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45032         * posix/tst-rfc3484-2.c: Likewise.
45033         * posix/tst-rfc3484-3.c: Likewise.
45035 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45037         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45038         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45040 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45042         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45043         #include of fxstatat64.c.
45045 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45047         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45048         * shadow/getspent_r.c: Likewise.
45049         * shadow/getspnam.c: Likewise.
45050         * shadow/getspnam_r.c: Likewise.
45051         * gshadow/getsgent.c: Likewise.
45052         * gshadow/getsgent_r.c: Likewise.
45053         * gshadow/getsgnam.c: Likewise.
45054         * gshadow/getsgnam_r.c: Likewise.
45055         * inet/getnetbyad.c: Likewise.
45056         * inet/getnetbyad_r.c: Likewise.
45057         * inet/getnetbynm.c: Likewise.
45058         * inet/getnetbynm_r.c: Likewise.
45059         * inet/getnetent.c: Likewise.
45060         * inet/getnetent_r.c: Likewise.
45061         * inet/getproto.c: Likewise.
45062         * inet/getproto_r.c: Likewise.
45063         * inet/getprtent.c: Likewise.
45064         * inet/getprtent_r.c: Likewise.
45065         * inet/getprtname.c: Likewise.
45066         * inet/getprtname_r.c: Likewise.
45067         * inet/getrpcbyname.c: Likewise.
45068         * inet/getrpcbyname_r.c: Likewise.
45069         * inet/getrpcbynumber.c: Likewise.
45070         * inet/getrpcbynumber_r.c: Likewise.
45071         * inet/getrpcent.c: Likewise.
45072         * inet/getrpcent_r.c: Likewise.
45073         * inet/getaliasent.c: Likewise.
45074         * inet/getaliasent_r.c: Likewise.
45075         * inet/getaliasname.c: Likewise.
45076         * inet/getaliasname_r.c: Likewise.
45077         * nscd/getgrgid_r.c: Likewise.
45078         * nscd/getgrnam_r.c: Likewise.
45079         * nscd/gethstbyad_r.c: Likewise.
45080         * nscd/gethstbynm3_r.c: Likewise.
45081         * nscd/getpwnam_r.c: Likewise.
45082         * nscd/getpwuid_r.c: Likewise.
45083         * nscd/getsrvbynm_r.c: Likewise.
45084         * nscd/getsrvbypt_r.c: Likewise.
45085         * nscd/gai.c: Likewise.
45087         * configure.in (build_nscd): New substituted variable, set
45088         by --disable-build-nscd and defaults to $use_nscd.
45089         * configure: Regenerated.
45090         * config.make.in (build-nscd): New substituted variable.
45091         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45092         Change conditional to require [$(build-nscd) = yes] as well.
45093         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45095         [BZ# 13696]
45096         * configure.in (use_nscd): New substituted variable, set by
45097         --disable-nscd.  If enabled, define USE_NSCD.
45098         * configure: Regenerated.
45099         * config.h.in: Add USE_NSCD.
45100         * config.make.in (use-nscd): New substituted variable.
45101         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45102         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45103         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45104         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45105         (CFLAGS-getgrnam_r.c): Likewise.
45106         (CFLAGS-initgroups.c): Likewise.
45107         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45108         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45109         Variables removed.
45110         * inet/getnetgrent_r.c
45111         (nscd_setnetgrent): New function, broken out of ...
45112         (setnetgrent): ... here.  Call it.
45113         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45114         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45115         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45116         * nscd/Makefile (routines, aux): Move definitions after include of
45117         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45118         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45119         Conditionalize on [USE_NSCD].
45120         (is_nscd, nscd_init_cb): Likewise.
45121         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45122         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45123         * nss/nss_db/db-init.c: Likewise.
45124         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45125         [USE_NSCD].
45126         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45127         (make_request): Use it.
45128         (cache_valid_p): New function.
45129         (__check_pf): Use it.
45130         * NEWS: Add item for --disable-nscd.
45132 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45134         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45135         to support sed >= 4.2.1-20-ga9bf076.
45136         * configure: Regenerated.
45138 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45140         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45141         Conditionalize whole body on [IREL].
45143 2012-08-22  Jeff Law <law@redhat.com>
45145         [BZ #14505]
45146         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45147         if the family is PF_UNSPEC.
45149 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45151         * Makerules (lib-version): Rename from V.
45152         (install-lib-nosubdir): Change V to lib-version.
45154 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45156         [BZ #14252]
45157         * powerpc32/power6/wcschr.c: New file.
45158         * powerpc32/power6/wcscpy.c: New file.
45159         * powerpc32/power6/wcsrchr.c: New file.
45160         * powerpc64/power6/wcschr.c: New file.
45161         * powerpc64/power6/wcscpy.c: New file.
45162         * powerpc64/power6/wcsrchr.c: New file.
45164 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45166         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45167         (two_way_short_needle): Use it.
45168         * string/strstr.c (AVAILABLE1_USES_J): Define.
45169         * string/strcasestr.c: Likewise.
45171         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45172         array references.
45173         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45175         [BZ #11607]
45176         * NEWS: Add an entry.
45177         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45178         define their defaults.
45179         (two_way_short_needle): Detect end-of-string on-the-fly.
45180         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45181         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45182         * string/bug-strcasestr1.c: New test.
45183         * string/Makefile: Run it.
45185 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45187         [BZ #11607]
45188         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45189         the first character.
45191 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45193         * csu/elf-init.c (__libc_csu_irel): Function removed.
45194         * csu/libc-start.c (apply_irel): New function.
45195         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45197 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45199         * sysdeps/unix/sysv/linux/kernel-features.h
45200         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45201         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45202         <kernel-features.h>.
45203         [__NR_fadvise64_64]: Make code unconditional.
45204         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45205         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45206         !__NR_fadvise64_64)]: Likewise.
45207         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45208         !__NR_fadvise64_64))]: Likewise.
45209         [__NR_fadvise64]: Make code unconditional.
45210         [!__NR_fadvise64]: Remove conditional code.
45211         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45212         <kernel-features.h>.
45213         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45214         unconditional.
45215         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45216         conditional code.
45217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45218         not include <kernel-features.h>.
45219         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45220         unconditional.
45221         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45222         conditional code.
45223         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45224         include <kernel-features.h>.
45225         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45226         unconditional.
45227         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45228         conditional code.
45230 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45232         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45233         slight instruction rearrangements per scrollpipe analysis.
45234         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45236 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45238         * manual/syslog.texi (syslog; vsyslog, closelog):
45239         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45240         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45242         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45243         DSOCAPS to match condition on defining it.
45245 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45247         * sysdeps/unix/sysv/linux/kernel-features.h
45248         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45250         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45251         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45253         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45254         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45256         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45257         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45259         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45260         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45262         * sysdeps/unix/sysv/linux/kernel-features.h
45263         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45264         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45265         unconditional.
45266         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45267         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45268         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45269         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45270         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45271         Make code unconditional.
45272         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45273         (__mmap64) [!__NR_mmap2]: Likewise.
45274         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45275         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45276         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45277         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45278         [__NR_mmap2]: Make code unconditional.
45279         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45280         (__mmap64) [!__NR_mmap2]: Likewise.
45282 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45284         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45286 2012-08-18  Andreas Jaeger  <aj@suse.de>
45288         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45290 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45292         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45293         * include/unistd.h (__have_sock_cloexec): Likewise.
45294         (__have_pipe2): Likewise.
45295         (__have_dup3): Likewise.
45297 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45299         [BZ #9685]
45300         * include/unistd.h (__have_pipe2): Change define into an extern int.
45301         (__have_dup3): Likewise.
45302         * socket/have_sock_cloexec.c: Include fcntl.h.
45303         (__have_pipe2): New variable.
45304         (__have_dup3): Likewise.
45306 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45308         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45310 2012-08-17  Marek Polacek  <polacek@redhat.com>
45312         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45313         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45315 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45317         * configure.in: Add AC_SUBST for sysheaders.
45318         * configure: Regenerated.
45319         * config.make.in (sysheaders): New substituted variable.
45321         * sysdeps/unix/mkfifo.c: Moved ...
45322         * sysdeps/posix/mkfifo.c: ... here.
45323         * sysdeps/unix/mkfifoat.c: Moved ...
45324         * sysdeps/posix/mkfifoat.c: ... here.
45326         * sysdeps/unix/utime.c: Moved ...
45327         * sysdeps/posix/utime.c: ... here.
45329         * sysdeps/unix/time.c: Moved ...
45330         * sysdeps/posix/time.c: ... here.
45331         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45332         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45334         * sysdeps/unix/nice.c: Moved ...
45335         * sysdeps/posix/nice.c: ... here.
45337         * sysdeps/unix/alarm.c: Moved ...
45338         * sysdeps/posix/alarm.c: ... here.
45340         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45342 2012-08-17  Jeff Law <law@redhat.com>
45344         * intl/Makefile (codeset_mo): New variable.
45345         ($(codeset_mo)): New target.
45346         (tst-codeset.out): Depend on that.  Remove explicit rule.
45347         (tst-gettext3.out, tst-gettext5.out): Likewise.
45348         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45349         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45350         * intl/tst-codeset.sh: Remove.
45351         * intl/tst-gettext3.sh: Likewise.
45352         * intl/tst-gettext5.sh: Likewise.
45354 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45356         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45357         * sysdeps/unix/syscalls.list: ... here.
45359         * sysdeps/posix/getaddrinfo.c
45360         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45361         (gaiconf_init, gaiconf_reload): Use them.
45362         [!_STATBUF_ST_NSEC]
45363         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45364         Define using time_t rather than struct timespec.
45366         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45367         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45368         Macros removed.
45369         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45370         [!NO_THREADS].
45371         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45372         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45373         Likewise.
45375         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45376         __libc_cleanup_push argument.
45378         * bits/param.h: New file.
45379         * misc/sys/param.h: New file.
45380         * include/sys/param.h: New file.
45381         * misc/Makefile (headers): Add bits/param.h.
45382         * sysdeps/generic/sys/param.h: File removed.
45383         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45384         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45385         * sysdeps/mach/hurd/bits/param.h: New file.
45386         * sysdeps/mach/hurd/sys/param.h: File removed.
45388         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45389         last change.
45391         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45392         [_IO_MTSAFE_IO].
45393         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45394         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45395         New macros.
45397         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45398         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45399         rather than -D_IO_MTSAFE_IO conditionally.
45400         * stdio-common/Makefile (CPPFLAGS): Likewise.
45401         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45402         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45403         Use $(libio-mtsafe).
45404         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45405         of -D_IO_MTSAFE_IO.
45406         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45407         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45408         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45409         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45410         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45411         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45412         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45413         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45414         (CFLAGS-fread_u_chk.c): Likewise.
45415         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45416         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45417         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45418         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45419         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45420         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45421         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45422         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45423         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45425         * libio/Makefile: Test [$(libc-reentrant) = yes]
45426         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45428         * Makeconfig
45429         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45430         * sysdeps/pthread/configure: File removed.
45431         * sysdeps/pthread/Makeconfig: New file.
45432         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45433         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45435 2012-08-16  Gary Benson  <gbenson@redhat.com>
45437         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45438         unmapping the first object in a namespace.
45440 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45442         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45443         (__internal_setnetgrent): ... this.  Add internal_function to
45444         definition.  Add libc_hidden_def.
45445         (setnetgrent): Update caller.
45446         (internal_endnetgrent): Renamed to ...
45447         (__internal_endnetgrent): ... this.  Add internal_function to
45448         definition.  Add libc_hidden_def.
45449         (endnetgrent): Update caller.
45450         (internal_getnetgrent_r): Renamed to ...
45451         (__internal_getnetgrent_r): ... this.  Add internal_function to
45452         definition.  Add libc_hidden_def.
45453         (__getnetgrent_r): Update caller.
45454         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45456 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45458         * stdlib/longlong.h: Update from GCC.
45460 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45462         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45463         on _QL, which is set by umul_ppmm but never used.
45464         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45465         variables, which are set by GMP macros but never used.
45466         * stdio-common/_itowa.c (_itowa): Likewise.
45467         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45468         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45470 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45472         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45473         struct La_sh_regs is not constant.
45474         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45475         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45476         and struct La_sparc64_regs are not constant.
45478 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45480         * sysdeps/unix/sysv/linux/kernel-features.h
45481         (__ASSUME_POSIX_TIMERS): Remove.
45482         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45483         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45484         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45485         Make code unconditional.
45486         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45487         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45488         Make code unconditional.
45489         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45490         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45491         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45492         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45493         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45494         Make code unconditional.
45495         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45496         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45497         (__libc_missing_posix_timers): Remove.
45499 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45501         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45502         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45504         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45506         * elf/dl-sym.c: Include <stdlib.h>.
45508         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45509         constants, which avoids warnings in 32-bit builds.
45511         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45512         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45514         * misc/lseek.c: File moved to ...
45515         * io/lseek.c: ... here.
45517         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45519         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45520         shifting LEN more than 31 bits at once.
45522 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45524         [BZ #14195]
45525         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45526         segmentation fault for a case of two empty input strings.
45527         * string/test-strncasecmp.c (check1): Renamed to...
45528         (bz12205): ...this.
45529         (bz14195): Add new testcase for two empty input strings and N > 0.
45530         (test_main): Call new testcase, adapt for renamed function.
45532 2012-08-15  Andreas Jaeger  <aj@suse.de>
45534         [BZ #14090]
45535         * crypt/md5test2.c: New test, based on test supplied by Serge
45536         Belyshev <belyshev@depni.sinp.msu.ru>.
45537         * crypt/Makefile (xtests): Add md5test-giant..
45538         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45540 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45542         [BZ #14090]
45543         * crypt/md5.c (md5_process_block): Don't assume the buffer
45544         length is less than 2**32.
45545         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45546         length is less than 2**64.
45548 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45550         * string/str-two-way.h: Include <sys/param.h>.
45551         (MAX): Macro removed.
45553         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45554         Move #define and #undef of memmove to just before and after
45555         including <string.h>.
45557         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45558         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45559         and after including <string.h>.  Move declarations of
45560         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45561         to before #include "string/memmove.c".
45563         * include/dirent.h: Declare __getdirentries.
45565         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45566         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45568 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45570         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45571         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45572         * sysdeps/i386/configure: Regenerated.
45573         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45574         STABS_CURRENT_FILE, and STABS_FUN.
45575         (END): Remove call to STABS_FUN_END.
45576         (STABS_CURRENT_FILE1): Delete.
45577         (STABS_CURRENT_FILE): Likewise.
45578         (STABS_FUN): Likewise.
45579         (STABS_FUN_END): Likewise.
45580         (STABS_FUN2): Likewise.
45581         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45582         * sysdeps/x86_64/configure: Regenerated.
45584 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45586         * elf/dl-open.c: Include <atomic.h>.
45587         * elf/dl-lookup.c: Likewise.
45589 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45591         * sysdeps/unix/sysv/linux/kernel-features.h
45592         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45593         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45594         unconditionally.
45595         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45596         unconditionally.
45597         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45598         condition on __ASSUME_CLONE_THREAD_FLAGS.
45600 2012-08-14  Andreas Jaeger  <aj@suse.de>
45602         * sysdeps/i386/fpu/libm-test-ulps: Update.
45604 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45606         * include/atomic.h (atomic_exchange_and_add): Split into ...
45607         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45608         New atomic macros.
45610 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45614 2012-08-13  Jeff Law <law@redhat.com>
45616         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45617         null byte in the output string.
45619 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45621         * sysdeps/unix/sysv/linux/kernel-features.h
45622         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45623         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45624         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45625         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45626         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45627         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45628         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45630 2012-08-09  Jeff Law <law@redhat.com>
45632         [BZ #13939]
45633         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45634         When avoid_arena is set, don't retry in the that arena.  Pick the
45635         next one, whatever it might be.
45636         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45637         (arena_lock): Pass in new parameter to arena_get2.
45638         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45639         arena_get2.
45640         (__libc_malloc): Unify retrying after main arena failure with
45641         __libc_memalign version.
45642         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45644 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45646         [BZ #14166]
45647         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45648         to __redirect_strstr.
45649         (__strstr_sse42): Use typeof __redirect_strstr.
45650         (__strstr_ia32): Likewise.
45651         (__libc_strstr): New prototype.
45652         (strstr): Renamed to ...
45653         (__libc_strstr): This.
45654         (strstr): New strong alias of __libc_strstr.
45655         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45656         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45657         __redirect_time.
45658         Include <time.h>.
45659         (__libc_time): New prototype.
45660         (time_ifunc): Replace time with __libc_time.
45661         (time): New strong alias and hidden definition of __libc_time.
45662         (__GI_time): Remove strong alias.
45663         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45664         Include <stddef.h>.
45665         (memmove): Redefined to __redirect_memmove.
45666         (__memmove_sse2): Use typeof __redirect_memmove.
45667         (__memmove_ssse3): Likewise.
45668         (__memmove_ssse3_back): Likewise.
45669         (__libc_memmove): New prototype.
45670         (memmove): Renamed to ...
45671         (__libc_memmove): This.
45672         (memmove): New strong alias of __libc_memmove.
45674 2012-08-08  Mark Salter  <msalter@redhat.com>
45676         * elf/elf.h
45677         (R_MN10300_TLS_GD): Define.
45678         (R_MN10300_TLS_LD): Likewise.
45679         (R_MN10300_TLS_LDO): Likewise.
45680         (R_MN10300_TLS_GOTIE): Likewise.
45681         (R_MN10300_TLS_IE): Likewise.
45682         (R_MN10300_TLS_LE): Likewise.
45683         (R_MN10300_TLS_DTPMOD): Likewise.
45684         (R_MN10300_TLS_DTPOFF): Likewise.
45685         (R_MN10300_TLS_TPOFF): Likewise.
45686         (R_MN10300_SYM_DIFF): Likewise.
45687         (R_MN10300_ALIGN): Likewise.
45688         (R_MN10300_NUM): Update.
45690 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45692         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45693         Remove.
45695 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45697         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45699         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45700         sysdeps/unix -> sysdeps/posix move.
45701         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45703 2012-08-07      Allan McRae     <allan@archlinux.org>
45705         [BZ #14303]
45706         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45707         (SUNOS_CPP): Likewise.
45708         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45709         not found.
45710         (open_input): Call CPP using execvp.
45712 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45714         * sysdeps/unix/sysv/linux/kernel-features.h
45715         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45716         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45717         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45718         (__ASSUME_WAITID_SYSCALL): Likewise.
45719         * sysdeps/unix/sysv/linux/dl-execstack.c
45720         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45721         code unconditional.
45722         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45723         conditional code.
45724         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45725         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45726         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45727         code.
45728         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45729         unconditional.
45730         [__ASSUME_WAITID_SYSCALL]: Likewise.
45731         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45733 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45735         * sysdeps/unix/closedir.c: Renamed to ...
45736         * sysdeps/posix/closedir.c: ... here.
45737         * sysdeps/unix/dirfd.c: Renamed to ...
45738         * sysdeps/posix/dirfd.c: ... here.
45739         * sysdeps/unix/dirstream.h: Renamed to ...
45740         * sysdeps/posix/dirstream.h: ... here.
45741         * sysdeps/unix/fdopendir.c: Renamed to ...
45742         * sysdeps/posix/fdopendir.c: ... here.
45743         * sysdeps/unix/opendir.c: Renamed to ...
45744         * sysdeps/posix/opendir.c: ... here.
45745         * sysdeps/unix/readdir.c: Renamed to ...
45746         * sysdeps/posix/readdir.c: ... here.
45747         * sysdeps/unix/readdir_r.c: Renamed to ...
45748         * sysdeps/posix/readdir_r.c: ... here.
45749         * sysdeps/unix/rewinddir.c: Renamed to ...
45750         * sysdeps/posix/rewinddir.c: ... here.
45751         * sysdeps/unix/seekdir.c: Renamed to ...
45752         * sysdeps/posix/seekdir.c: ... here.
45753         * sysdeps/unix/telldir.c: Renamed to ...
45754         * sysdeps/posix/telldir.c: ... here.
45755         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45756         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45757         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45758         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45760         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45761         * bits/fcntl.h: ... here.
45763         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45764         not 0.
45765         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45766         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45767         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45768         (struct flock): Move l_start, l_len to the beginning.
45769         Use __pid_t for l_pid.
45770         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45771         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45772         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45773         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45774         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45775         [__USE_LARGEFILE64] (struct flock64): New type.
45776         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45778         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45779         * bits/dirent.h: ... here.
45781         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45782         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45784 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45786         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45787         Change from 2.6.0 to 2.6.16.
45788         * sysdeps/unix/sysv/linux/configure: Regenerated.
45789         * sysdeps/unix/sysv/linux/kernel-features.h
45790         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45791         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45792         version.
45793         (__ASSUME_UTIMES): Likewise.
45794         (__ASSUME_CLONE_STOPPED): Remove.
45795         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45796         architectures, not kernel version.
45797         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45798         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45799         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45800         (__ASSUME_WAITID_SYSCALL): Likewise.
45801         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45802         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45803         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45804         refer to older versions.
45806 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45808         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45809         Define alphasort64 as an alias.
45810         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45811         Define versionsort64 as an alias.
45812         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45813         Define scandir64 as an alias.
45814         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45815         Define scandirat64 as an alias.
45816         * dirent/alphasort64.c (alphasort64):
45817         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45818         * dirent/versionsort64.c: Likewise.
45819         * dirent/scandir64.c: Likewise.
45820         * dirent/scandirat64.c: Likewise.
45821         * sysdeps/wordsize-64/alphasort.c: File removed.
45822         * sysdeps/wordsize-64/alphasort64.c: File removed.
45823         * sysdeps/wordsize-64/scandir.c: File removed.
45824         * sysdeps/wordsize-64/scandir64.c: File removed.
45825         * sysdeps/wordsize-64/scandirat.c: File removed.
45826         * sysdeps/wordsize-64/scandirat64.c: File removed.
45827         * sysdeps/wordsize-64/versionsort.c: File removed.
45828         * sysdeps/wordsize-64/versionsort64.c: File removed.
45829         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45830         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45831         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45832         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45833         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45834         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45835         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45836         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45838         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45839         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45840         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45841         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45842         [defined __arch64__ || defined __sparcv9]
45843         (__INO_T_MATCHES_INO64_T): New macro.
45844         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45845         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45846         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45847         * sysdeps/unix/sysv/linux/bits/dirent.h
45848         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45849         (_DIRENT_MATCHES_DIRENT64): New macro.
45851         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45852         Define lockf64 as an alias.
45853         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45854         Define fseeko64 as an alias.
45855         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45856         Define ftello64 as an alias.
45857         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45858         Define _IO_fgetpos64 and fgetpos64 as aliases.
45859         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45860         Define _IO_fsetpos64 and fsetpos64 as aliases.
45861         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45862         Conditionalize body on this.
45863         * libio/fseeko64.c: Likewise.
45864         * libio/ftello64.c: Likewise.
45865         * libio/iofgetpos64.c: Likewise.
45866         * libio/iofsetpos64.c: Likewise.
45867         * sysdeps/wordsize-64/lockf.c: File removed.
45868         * sysdeps/wordsize-64/lockf64.c: File removed.
45869         * sysdeps/wordsize-64/fseeko.c: File removed.
45870         * sysdeps/wordsize-64/fseeko64.c: File removed.
45871         * sysdeps/wordsize-64/ftello.c: File removed.
45872         * sysdeps/wordsize-64/ftello64.c: File removed.
45873         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45874         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45875         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45876         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45877         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45878         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45879         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45880         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45881         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45882         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45883         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45884         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45885         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45886         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45888         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45889         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45890         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45891         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45892         [defined __arch64__ || defined __sparcv9]
45893         (__OFF_T_MATCHES_OFF64_T): New macro.
45894         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45895         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45896         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45897         (__OFF_T_MATCHES_OFF64_T): New macro.
45899 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45901         * stdlib/secure-getenv.c (__secure_getenv): Replace
45902         GLIBC_2_16 with GLIBC_2_17.
45904 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45906         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45907         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45909 2012-08-03  David S. Miller  <davem@davemloft.net>
45911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45913 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45915         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45916         Remove.
45917         (__ASSUME_CORRECT_SI_PID): Likewise.
45918         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45919         (__ASSUME_TMPFS_NAME): Likewise.
45920         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45921         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45922         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45923         (HAVE_AUX_SECURE): Make definition unconditional.
45924         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45925         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45927 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45929         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45930         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45931         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45932         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45933         __eloop_threshold instead of SYMLOOP_MAX.
45935         * sysdeps/generic/eloop-threshold.h: New file.
45936         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45937         of MAXSYMLINKS.
45938         * elf/chroot_canon.c (chroot_canon): Likewise.
45940 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45942         [BZ #13717]
45943         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45944         Change to 2.6.0 everywhere.
45945         * sysdeps/unix/sysv/linux/configure: Regenerated.
45946         * sysdeps/unix/sysv/linux/kernel-features.h
45947         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45948         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45949         kernel versions.
45950         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45951         (__ASSUME_FUTEX_REQUEUE): Remove.
45952         (__ASSUME_STATFS64): Define unconditionally.
45953         (__ASSUME_AT_SECURE): Likewise.
45954         (__ASSUME_CORRECT_SI_PID): Likewise.
45955         (__ASSUME_TGKILL): Define without depending on kernel version for
45956         i386.
45957         (__ASSUME_UTIMES): Likewise.
45958         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45959         kernel version.
45960         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45961         (__ASSUME_TMPFS_NAME): Likewise.
45962         * README: Update reference to Linux kernel versions.
45964 2012-08-02  Marek Polacek  <polacek@redhat.com>
45966         [BZ# 14150]
45967         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45968         libc_cv_asm_type_prefix with %.
45969         * configure: Regenerated.
45970         * include/libc-symbols.h: Remove comment about
45971         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45972         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45973         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45974         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45975         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45976         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45977         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45978         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45979         * elf/tst-unique2mod1.c: Likewise.
45980         * elf/tst-unique1mod2.c: Likewise.
45981         * elf/tst-unique1mod1.c: Likewise.
45982         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45983         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45984         Replace ASM_TYPE_DIRECTIVE with .type.
45985         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45986         * sysdeps/i386/sysdep.h: Likewise.
45987         * sysdeps/x86_64/sysdep.h: Likewise.
45988         * sysdeps/sh/sysdep.h: Likewise.
45989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45990         Do not define ASM_TYPE_DIRECTIVE.
45991         * sysdeps/powerpc/sysdep.h: Likewise.
45992         * sysdeps/powerpc/powerpc32/sysdep.h:
45993         Replace ASM_TYPE_DIRECTIVE with .type.
45994         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45995         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45996         * sysdeps/i386/fpu/e_powf.S: Likewise.
45997         * sysdeps/i386/fpu/e_expl.S: Likewise.
45998         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45999         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46000         * sysdeps/i386/fpu/e_pow.S: Likewise.
46001         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46002         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46003         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46004         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46005         * sysdeps/i386/fpu/e_log2.S: Likewise.
46006         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46007         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46008         * sysdeps/i386/fpu/e_powl.S: Likewise.
46009         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46010         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46011         * sysdeps/i386/fpu/e_logl.S: Likewise.
46012         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46013         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46014         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46015         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46016         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46017         * sysdeps/i386/fpu/e_log.S: Likewise.
46018         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46019         * sysdeps/i386/fpu/e_logf.S: Likewise.
46020         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46021         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46022         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46023         * sysdeps/i386/fpu/e_log10.S: Likewise.
46024         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46025         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46026         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46027         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46028         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46029         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46030         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46031         * sysdeps/i386/i686/strtok.S: Likewise.
46032         * sysdeps/i386/i386-mcount.S: Likewise.
46033         * sysdeps/i386/strtok.S: Likewise.
46034         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46035         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46036         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46037         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46038         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46039         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46040         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46041         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46042         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46043         * sysdeps/x86_64/_mcount.S: Likewise.
46044         * sysdeps/x86_64/strtok.S: Likewise.
46045         * sysdeps/sh/_mcount.S: Likewise.
46047 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46049         * libio/iofopen.c: Include <fcntl.h>.
46050         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46051         (_IO_fopen64, fopen64): Define as aliases.
46052         * libio/iofopen64.c: Include <fcntl.h>.
46053         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46054         Conditionalize body on this.
46055         * sysdeps/wordsize-64/iofopen.c: File removed.
46056         * sysdeps/wordsize-64/iofopen64.c: File removed.
46058 2012-08-01  Marek Polacek  <polacek@redhat.com>
46060         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46061         Use dlfcn directly instead of a variable.
46062         (binfmt-subdir): Do not define.
46063         (dlfcn): Likewise.
46065 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46067         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46068         Remove all definitions.
46069         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46070         <kernel-features.h>.
46071         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46072         (miss_F_GETOWN_EX): Remove all definitions.
46073         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46074         macro definition.
46075         [!__ASSUME_FCNTL64]: Remove conditional code.
46076         [__ASSUME_FCNTL64]: Make code unconditional.
46077         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46078         <kernel-features.h>.
46079         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46080         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46081         (lockf64) [__NR_fcntl64]: Make code unconditional.
46082         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46084         * sysdeps/unix/sysv/linux/kernel-features.h
46085         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46086         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46087         Make code unconditional.
46088         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46089         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46091         [__NR_vfork]: Make code unconditional.
46092         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46093         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46095         [__NR_vfork]: Make code unconditional.
46096         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46097         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46099 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46101         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46102         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46104         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46105         Define mkstemp64 as an alias.
46106         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46107         Define mkstemps64 as an alias.
46108         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46109         Define mkostemp64 as an alias.
46110         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46111         Define mkostemps64 as an alias.
46112         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46113         Conditionalize body on this.
46114         * misc/mkostemp64.c: Likewise.
46115         * misc/mkostemps64.c: Likewise.
46116         * misc/mkstemps64.c: Likewise.
46117         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46118         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46119         * sysdeps/wordsize-64/mkostemp.c: File removed.
46120         * sysdeps/wordsize-64/mkstemp.c: File removed.
46121         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46122         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46123         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46124         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46126         [BZ #14138]
46127         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46128         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46129         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46130         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46132         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46133         compat_symbol macros from <shlib-compat.h> rather than the underlying
46134         default_symbol_version and symbol_version macros, so that DEFAULT
46135         lines in shlib-versions are respected.
46136         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46138 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46140         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46141         Declare with warn_unused_result.
46142         (setgid, setregid, setegid, setresgid): Likewise.
46143         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46144         Likewise.
46145         * WUR-REPORT: Remove set*id functions.
46147 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46149         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46151 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46153         [BZ #10191]
46154         * include/sys/socket.h (__libc_accept, __libc_accept4):
46155         Add attribute_hidden.
46156         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46158         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46159         use of PTR_MANGLE.
46160         * inet/getnetgrent_r.c (setup): Likewise.
46162         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46164 2012-07-31  David S. Miller  <davem@davemloft.net>
46166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46168 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46170         [BZ #13629]
46171         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46172         value between 1.0 and 2.0 and smaller part has absolute value less
46173         than 1.0.
46174         * math/s_clog10.c (__clog10): Likewise.
46175         * math/s_clog10f.c (__clog10f): Likewise.
46176         * math/s_clog10l.c (__clog10l): Likewise.
46177         * math/s_clogf.c (__clogf): Likewise.
46178         * math/s_clogl.c (__clogl): Likewise.
46179         * math/libm-test.inc (clog_test): Add more tests.
46180         (clog10_test): Likewise.
46181         * sysdeps/i386/fpu/libm-test-ulps: Update.
46182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46184 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46186         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46187         Exit with zero in case no suitable GID is found, and write a
46188         message to standard error.
46190 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46192         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46193         rather than to 1.
46194         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46195         (MAXPATHLEN): Removed.
46196         (NOGROUP, NODEV): New macros.
46197         (setbit, clrbit, isset, isclr): New macros.
46198         (howmany, roundup, powerof2): New macros.
46199         (DEV_BSIZE): New macro.
46201         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46202         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46204         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46205         definition on [!__NO_LONG_DOUBLE_MATH].
46207         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46208         PTR_MANGLE and PTR_DEMANGLE.
46210         * socket/accept4.c (accept4): Rename to __libc_accept4.
46211         Define accept4 as a weak alias.
46213         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46214         on [_DIRENT_HAVE_D_TYPE].
46215         * io/ftw.c (ftw_dir): Likewise.
46217         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46219         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46221         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46222         Use the BSD numbers rather than the arbitrary ones we had.
46223         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46224         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46225         (SIGXCPU, SIGXFSZ): New macros.
46226         (_NSIG): Now 32.
46228         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46229         initializer on [_LIBC_REENTRANT].
46231         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46232         definitions inside [_POSIX_MAPPED_FILES].
46234         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46236         * dirent/opendir.c: Include <fcntl.h>.
46238         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46239         (__libc_getspecific): Likewise.
46240         (__libc_key_create): Likewise.
46242         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46243         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46244         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46245         (tmpfile64): Define as alias.
46246         * sysdeps/wordsize-64/tmpfile.c: File removed.
46247         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46248         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46249         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46251         * stdio-common/vfscanf.c: Include <stdbool.h>.
46252         * nss/makedb.c: Likewise.
46253         * stdio-common/_i18n_number.h: Likewise.
46254         * argp/argp-help.c: Likewise.
46255         * posix/wordexp.c: Likewise.
46256         * sysdeps/posix/spawni.c: Likewise.
46257         * nss/nss_files/files-initgroups.c: Likewise.
46258         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46259         * nss/nss_files/files-initgroups.c: Likewise.
46260         * nss/nss_db/db-netgrp.c: Likewise.
46261         * nss/nss_db/db-initgroups.c: Likewise.
46262         * io/fchmodat.c: Include <sys/stat.h>.
46264         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46265         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46267         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46268         [HAVE_MMAP].
46270         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46271         Add multiple inclusion protection.
46273 2012-07-27  David S. Miller  <davem@davemloft.net>
46275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46277 2012-07-27  Gary Benson  <gbenson@redhat.com>
46279         [BZ #14298]
46280         * elf/rtld.c: Include <stap-probe.h>.
46281         (dl_main): Added static probes "init_start" and "init_complete".
46282         * elf/dl-load.c: Include <stap-probe.h>.
46283         (lose): Take new parameter "nsid".
46284         Added static probe "map_failed".
46285         (_dl_map_object_from_fd): Pass namespace id to lose.
46286         Added static probe "map_start".
46287         (open_verify): Pass namespace id to lose.
46288         * elf/dl-open.c: Include <stap-probe.h>.
46289         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46290         and "reloc_complete".
46291         * elf/dl-close.c: Include <stap-probe.h>.
46292         (_dl_close_worker): Added static probes "unmap_start" and
46293         "unmap_complete".
46294         * elf/rtld-debugger-interface.txt: New file documenting the above.
46296 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46298         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46299         rather than a string variable.
46300         * sunrpc/rpc_main.c (h_output): Likewise.
46301         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46303 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46305         * inet/check_native.c: New file.
46307 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46309         [BZ #13629]
46310         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46311         if larger part has absolute value 1.0.
46312         * math/s_clog10.c (__clog10): Likewise.
46313         * math/s_clog10f.c (__clog10f): Likewise.
46314         * math/s_clog10l.c (__clog10l): Likewise.
46315         * math/s_clogf.c (__clogf): Likewise.
46316         * math/s_clogl.c (__clogl): Likewise.
46317         * math/libm-test.inc (clog_test): Add more tests.
46318         (clog10_test): Likewise.
46319         * sysdeps/i386/fpu/libm-test-ulps: Update.
46320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46322         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46323         (pltexit): Likewise.
46324         (La_regs): Likewise.
46325         (La_retval): Likewise.
46326         (int_retval): Likewise.
46327         Update #error for removed macros to refer only to definitions in
46328         tst-audit.h.
46329         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46330         macro.
46331         (pltexit): Likewise.
46332         (La_regs): Likewise.
46333         (La_retval): Likewise.
46334         (int_retval): Likewise.
46335         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46336         macro.
46337         (pltexit): Likewise.
46338         (La_regs): Likewise.
46339         (La_retval): Likewise.
46340         (int_retval): Likewise.
46341         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46342         macro.
46343         (pltexit): Likewise.
46344         (La_regs): Likewise.
46345         (La_retval): Likewise.
46346         (int_retval): Likewise.
46347         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46348         macro.
46349         (pltexit): Likewise.
46350         (La_regs): Likewise.
46351         (La_retval): Likewise.
46352         (int_retval): Likewise.
46353         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46354         macro.
46355         (pltexit): Likewise.
46356         (La_regs): Likewise.
46357         (La_retval): Likewise.
46358         (int_retval): Likewise.
46359         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46360         macro.
46361         (pltexit): Likewise.
46362         (La_regs): Likewise.
46363         (La_retval): Likewise.
46364         (int_retval): Likewise.
46365         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46366         macro definitions in tst-audit.h.
46367         * sysdeps/i386/tst-audit.h: New file.
46368         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46369         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46370         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46371         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46372         * sysdeps/sh/tst-audit.h: Likewise.
46373         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46374         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46375         * sysdeps/x86_64/tst-audit.h: Likewise.
46377 2012-07-26  Andreas Jaeger  <aj@suse.de>
46379         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46380         ptrace.
46382         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46383         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46384         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46385         PTRACE_O_MASK.
46386         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46387         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46388         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46390         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46391         value.
46393         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46394         _sigsys.
46395         (si_call_addr, si_syscall, si_arch): Define new macro.
46396         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46397         _sigsys.
46398         (si_call_addr, si_syscall, si_arch): Define new marcro.
46399         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46400         _sigsys.
46401         (si_call_addr, si_syscall, si_arch): Define new macro.
46402         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46403         _sigsys.
46404         (si_call_addr, si_syscall, si_arch): Define new macro.
46406 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46408         [BZ #13717]
46409         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46410         Change to 2.4.21 where previously 2.4.1.
46411         * sysdeps/unix/sysv/linux/configure: Regenerated.
46412         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46413         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46414         Linux kernel version.
46415         (__ASSUME_STD_AUXV): Remove.
46416         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46417         kernel version.
46418         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46419         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46420         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46421         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46422         (__ASSUME_NETLINK_SUPPORT): Likewise.
46423         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46424         (__no_netlink_support): Remove conditional definition.
46425         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46426         Remove.
46427         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46428         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46429         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46430         (if_nameindex_ioctl): Remove.
46431         (if_nameindex_netlink): Do not handle __no_netlink_support.
46432         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46433         code.
46434         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46435         Remove conditional code.
46436         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46437         code.
46438         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46439         unconditional.
46440         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46441         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46442         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46443         Remove.
46444         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46445         [!__ASSUME_STD_AUXV]: Remove conditional code.
46446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46447         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46448         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46450         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46451         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46452         code.
46453         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46455         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46456         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46457         conditional code.
46458         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46460         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46461         code.
46462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46463         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46464         conditional code.
46465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46466         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46467         code unconditional.
46468         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46469         conditional code.
46470         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46471         unconditional.
46472         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46473         conditional code.
46474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46475         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46476         unconditional.
46477         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46478         conditional code.
46479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46480         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46481         code unconditional.
46482         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46483         conditional code.
46484         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46485         unconditional.
46486         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46487         conditional code.
46488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46489         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46490         code unconditional.
46491         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46492         conditional code.
46493         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46494         unconditional.
46495         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46496         conditional code.
46498 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46500         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46501         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46502         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46503         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46504         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46505         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46506         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46507         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46508         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46509         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46510         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46511         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46512         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46513         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46514         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46515         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46516         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46517         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46518         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46519         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46520         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46521         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46522         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46524 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46526         * Versions.def: Add GLIBC_2.17.
46527         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46528         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46529         Introduce __libc_secure_getenv.
46530         * stdlib/Versions (2.17): Add secure_getenv
46531         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46532         * stdlib/secure-getenv.c: Rename __secure_getenv to
46533         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46534         symbol __secure_getenv for GLIBC_2.0.
46535         * stdlib/tst-secure-getenv.c: New.
46536         * stdlib/Makefile (tests): Add testcase.
46537         * manual/startup.texi (Environment Access): Document
46538         secure_getenv.
46539         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46540         __libc_secure_getenv.
46541         * inet/ruserpass.c (ruserpass): Likewise.
46542         * malloc/mtrace.c (mtrace): Likewise.
46543         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46544         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46545         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46546         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46547         HAVE_SECURE_GETENV.
46548         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46549         __secure_getenv to __libc_secure_getenv.
46550         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46552         Likewise.
46553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46554         Likewise.
46555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46557         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46563 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46565         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46566         (struct La_i86_retval): Likewise.
46567         (struct La_x86_64_regs): Likewise.
46568         (struct La_x86_64_retval): Likewise.
46569         (struct La_x32_regs): Likewise.
46570         (struct La_x32_retval): Likewise.
46571         (struct La_ppc32_regs): Likewise.
46572         (struct La_ppc32_retval): Likewise.
46573         (struct La_ppc64_regs): Likewise.
46574         (struct La_ppc64_retval): Likewise.
46575         (struct La_sh_regs): Likewise.
46576         (struct La_sh_retval): Likewise.
46577         (struct La_s390_32_regs): Likewise.
46578         (struct La_s390_32_retval): Likewise.
46579         (struct La_s390_64_regs): Likewise.
46580         (struct La_s390_64_retval): Likewise.
46581         (struct La_sparc32_regs): Likewise.
46582         (struct La_sparc32_retval): Likewise.
46583         (struct La_sparc64_regs): Likewise.
46584         (struct La_sparc64_retval): Likewise.
46585         (struct audit_ifaces): Remove architecture-specific pltenter and
46586         pltexit members.
46587         * sysdeps/i386/ldsodefs.h: New file.
46588         * sysdeps/powerpc/ldsodefs.h: Likewise.
46589         * sysdeps/s390/ldsodefs.h: Likewise.
46590         * sysdeps/sh/ldsodefs.h: Likewise.
46591         * sysdeps/sparc/ldsodefs.h: Likewise.
46592         * sysdeps/x86_64/ldsodefs.h: Likewise.
46594 2012-07-25  Marek Polacek  <polacek@redhat.com>
46596         [BZ #6808]
46597         * math/libm-test.inc (yn_test): Add another test.
46598         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46599         to ERANGE when the result is +-Inf.
46600         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46601         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46602         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46603         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46605 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46607         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46608         equal to 0.
46609         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46610         clock_t.
46611         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46613 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46615         * configure.in <sysdeps resolving>: Correct printing
46616         Implies_before.
46617         * configure: Regenerate.
46619 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46621         * math/w_ilogb.c: Include <limits.h>.
46622         * math/w_ilogbl.c: Likewise.
46624 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46626         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46627         va_copy.  Document allowing for unavailable va_copy only as
46628         pre-C99 compatibility.
46629         * manual/string.texi (Copying and Concatenation): Use va_copy
46630         instead of __va_copy in concat example.
46632 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46634         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46635         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46636         it if not null.
46638         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46639         with O_NOLINK passed to __file_name_lookup.
46641         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46642         with O_NOLINK passed to __file_name_lookup.
46644         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46645         negative N or less than NGIDS.
46647         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46648         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46649         enough.  Use memcpy instead of strncpy.
46651 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46653         * elf/Makefile (check-data): Remove.
46654         (localplt.data): New vpath directive.
46655         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46656         instead of $(check-data).
46657         * scripts/data/localplt-generic.data: Move to ...
46658         * sysdeps/generic/localplt.data: ... here.
46659         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46660         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46661         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46663         ... here.
46664         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46666         ... here.
46667         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46669         ... here.
46670         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46672         ... here.
46673         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46675         ... here.
46676         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46678         ... here.
46680 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46682         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46683         PPC32 and PPC64 files.
46684         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46685         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46687 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46689         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46690         __makecontext_ret to ...
46691         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46692         ... here and call exit if uc_link is NULL.  New file.
46693         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46694         __makecontext_ret.S.
46695         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46696         __makecontext_ret to ...
46697         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46698         ... here and call exit if uc_link is NULL.  New file.
46699         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46700         __makecontext_ret.S.
46702 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46704         * elf/elf.h (R_390_IRELATIVE): New definition.
46705         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46706         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46707         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46708         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46709         (elf_machine_lazy_rel): Likewise.
46710         * sysdeps/s390/dl-irel.h: New file.
46711         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46712         * sysdeps/s390/s390-64/memset.S: New asm code.
46713         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46714         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46715         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46716         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46717         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46718         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46719         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46720         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46721         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46722         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46723         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46724         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46725         * sysdeps/s390/s390-32/memset.S: New asm code.
46726         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46728 2012-07-17  Marek Polacek  <polacek@redhat.com>
46730         [BZ #14349]
46731         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46732         * sysdeps/s390/s390-64/configure.in: Likewise.
46733         * sysdeps/sparc/configure.in: Likewise.
46734         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46735         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46736         * sysdeps/i386/configure.in: Likewise.
46737         * sysdeps/x86_64/configure.in: Likewise.
46738         * sysdeps/sh/configure.in: Likewise.
46739         * sysdeps/s390/s390-32/configure: Regenerated.
46740         * sysdeps/s390/s390-64/configure: Likewise.
46741         * sysdeps/x86_64/configure: Likewise.
46742         * sysdeps/sh/configure: Likewise.
46743         * sysdeps/powerpc/powerpc64/configure: Likewise.
46744         * sysdeps/powerpc/powerpc32/configure: Likewise.
46745         * sysdeps/sparc/configure: Likwise.
46746         * sysdeps/i386/configure: Likewise.
46748         * elf/dl-open.c: Comment fixes.
46750 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46752         * Makefile [CXX] (check-data): Remove.
46753         [CXX] (c++-types.data): New vpath directive.
46754         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46755         vpath.  Do not allow for C++ type data being missing.
46756         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46757         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46758         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46759         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46760         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46761         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46762         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46764         ... here.
46765         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46767         ... here.
46768         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46770         ... here.
46771         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46773         ... here.
46774         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46776         ... here.
46777         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46779         ... here.
46780         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46782         ... here.
46783         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46786         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46787         definitions to architecture-specific files.
46788         (TLS_IE): Likewise.
46789         (TLS_LD): Likewise.
46790         (TLS_GD): Likewise.
46791         * sysdeps/i386/tls-macros.h: New file.
46792         * sysdeps/powerpc/tls-macros.h: Likewise.
46793         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46794         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46795         * sysdeps/sh/tls-macros.h: Likewise.
46796         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46797         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46798         * sysdeps/x86_64/tls-macros.h: Likewise.
46800 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46802         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46803         zero value for regular exit case.
46805         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46806         (__start_context): Preserve zero value for regular exit case.
46808 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46809             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46811         * manual/setjmp.texi (setcontext): Clarify normal process
46812         termination when uc_link is the null pointer.
46813         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46814         exit call.
46816 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46818         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46819         preprocessor.  Test for each exception mask separately.
46821 2012-07-16  Andreas Jaeger  <aj@suse.de>
46823         * po/ru.po: Update from translation team.
46825 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46827         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46828         equal to 0.
46829         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46830         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46831         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46832         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46833         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46835 2012-07-13  Andreas Jaeger  <aj@suse.de>
46837         * po/fr.po: Update from translation team.
46839 2012-07-12  Marek Polacek  <polacek@redhat.com>
46841         [BZ #14173]
46842         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46843         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46844         loop condition.
46846 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46848         [BZ #13717]
46849         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46850         Change to 2.4.1 where previously 2.4.0.
46851         * sysdeps/unix/sysv/linux/configure: Regenerated.
46852         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46853         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46854         version.
46855         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46856         (__ASSUME_AT_CLKTCK): Remove.
46857         (__ASSUME_AT_PAGESIZE): Likewise.
46858         (__ASSUME_AT_XID): Likewise.
46859         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46860         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46861         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46862         unconditionally.
46863         (HAVE_AUX_PAGESIZE): Likewise.
46864         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46865         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46866         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46868 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46870         [BZ #14307]
46871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46872         the temporary buffer used to invoke __gethostbyname2_r,
46873         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46874         host_data / struct gaih_addrtuple.
46875         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46876         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46877         header file nss/nsswitch.h.
46878         * nss/nsswitch.h (global scope): Add definition of implementation
46879         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46880         resolv/nss_dns/dns-host.c).
46882 2012-07-11  Andreas Jaeger  <aj@suse.de>
46884         * po/fr.po: Update from translation team.
46886         * po/sv.po: Update from translation team
46887         * po/fr.po: Another update from translation team.
46889 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46891         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46892         for subnormals or multiply small sinh result by itself.
46893         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46896 2012-07-11  David S. Miller  <davem@davemloft.net>
46898         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46900 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46902         [BZ #14347]
46903         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46904         (INTERNAL_MARK): Shift it here.
46906 2012-07-10  Marek Polacek  <polacek@redhat.com>
46908         [BZ #14151]
46909         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46910         libc_cv_asm_global_directive with .globl.
46911         * configure: Regenerated.
46912         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46913         with .globl.
46914         * sysdeps/i386/configure: Regenerated.
46915         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46916         with .globl.
46917         * sysdeps/x86_64/configure: Regenerated.
46918         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46919         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46920         * elf/tst-unique2mod2.c: Likewise.
46921         * elf/tst-unique2mod1.c: Likewise.
46922         * elf/tst-unique1mod2.c: Likewise.
46923         * elf/tst-unique1mod1.c: Likewise.
46924         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46925         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46926         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46927         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46928         * sysdeps/mach/sysdep.h: Likewise.
46929         * sysdeps/i386/sysdep.h: Likewise.
46930         * sysdeps/i386/i386-mcount.S: Likewise.
46931         * sysdeps/x86_64/_mcount.S: Likewise.
46932         * sysdeps/x86_64/sysdep.h: Likewise.
46933         * sysdeps/sh/_mcount.S: Likewise.
46934         * sysdeps/sh/sysdep.h: Likewise.
46935         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46936         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46937         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46938         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46939         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46940         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46941         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46942         * locale/localeinfo.h: Likewise.
46943         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46944         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46946 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46948         [BZ #14336]
46949         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46950         system".
46951         * manual/message.texi (The Uniforum approach): Likewise.
46952         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46953         (glibc iconv Implementation): Likewise.
46955 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46957         [BZ #14337]
46958         * math/s_clog.c (__clog): Avoid scaling a value down where that
46959         could result in underflow.
46960         * math/s_clog10.c (__clog10): Likewise.
46961         * math/s_clog10f.c (__clog10f): Likewise.
46962         * math/s_clog10l.c (__clog10l): Likewise.
46963         * math/s_clogf.c (__clogf): Likewise.
46964         * math/s_clogl.c (__clogl): Likewise.
46965         * math/libm-test.inc (clog_test): Add more tests.
46966         (clog10_test): Likewise.
46967         * sysdeps/i386/fpu/libm-test-ulps: Update.
46968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46970 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46972         [BZ #14283]
46973         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46974         by 7 not 8 to examine high bit of fractional part.
46976         [BZ #14042]
46977         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46978         for call to __mcount_internal.
46979         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46980         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46981         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46983 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46985         [BZ #14154]
46986         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46987         approximation for values within 0x1p-13f of an odd multiple of
46988         pi/4.
46989         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46990         exception.  Add more tests.
46991         * sysdeps/i386/fpu/libm-test-ulps: Update.
46993         [BZ #6778]
46994         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46995         inputs and return -1 for them.  Do not check for +Inf in case not
46996         reachable for +Inf.
46997         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46998         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46999         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47000         and return -1 for them.  Do not check for +Inf in case not
47001         reachable for +Inf.
47002         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47003         define.
47004         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47005         and return -1 for them.  Do not check for +Inf in case not
47006         reachable for +Inf.
47007         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47008         spurious underflow.
47009         * sysdeps/i386/fpu/libm-test-ulps: Update.
47010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47012 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47014         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47016 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47018         [BZ #14157]
47019         [BZ #14331]
47020         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47021         could result in spurious underflow.  Scale down values above
47022         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47023         * math/s_csqrtf.c (__csqrtf): Likewise.
47024         * math/s_csqrtl.c (__csqrtl): Likewise.
47025         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47026         spurious underflow.
47027         * sysdeps/i386/fpu/libm-test-ulps: Update.
47028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47030 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47032         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47033         xopen-msg.sed.
47034         * catgets/xopen-msg.awk: New file.
47035         * catgets/xopen-msg.sed: Removed.
47037         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47038         po2text.sed.
47039         * intl/po2test.awk: New file.
47040         * intl/po2test.sed: Removed.
47042 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47044         [BZ #14328]
47045         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47046         or multiply small sinh result by itself.
47047         * math/s_ctanf.c (__ctanf): Likewise.
47048         * math/s_ctanh.c (__ctanh): Likewise.
47049         * math/s_ctanhf.c (__ctanhf): Likewise.
47050         * math/s_ctanhl.c (__ctanhl): Likewise.
47051         * math/s_ctanl.c (__ctanl): Likewise.
47052         * math/libm-test.inc (ctan_test_tonearest): New function.
47053         (ctan_test_towardzero): Likewise.
47054         (ctan_test_downward): Likewise.
47055         (ctan_test_upward): Likewise.
47056         (ctanh_test_tonearest): Likewise.
47057         (ctanh_test_towardzero): Likewise.
47058         (ctanh_test_downward): Likewise.
47059         (ctanh_test_upward): Likewise.
47060         (main): Call these new functions.
47061         * sysdeps/i386/fpu/libm-test-ulps: Update.
47062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47064 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47066         * .gitignore: Delete /ports entry.
47068 2012-07-03  Andreas Jaeger  <aj@suse.de>
47070         * po/bg.po: Update from translation team.
47071         * po/cs.po: Likewise.
47072         * po/de.po: Likewise.
47073         * po/hr.po: Likewise.
47074         * po/nl.pl: Likewise.
47075         * po/pl.po: Likewise.
47076         * po/vi.po: Likewise.
47078 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47080         * Makeconfig [!+link] (+link-before-libc): New variable.
47081         [!+link] (+link-after-libc): Likewise.
47082         [!+link] (+link-tests): Likewise.
47083         [!+link] (+link): Define in terms of $(+link-before-libc) and
47084         $(+link-after-libc).
47085         [!+link-static] (+link-static-before-libc): New variable.
47086         [!+link-static] (+link-static-after-libc): Likewise.
47087         [!+link-static] (+link-static-tests): Likewise.
47088         [!+link-static] (+link-static): Define in terms of
47089         $(+link-static-before-libc) and $(+link-static-after-libc).
47090         [build-shared] (link-libc-before-gnulib): New variable.
47091         [build-shared] (link-libc-tests): Likewise.
47092         [build-shared] (link-libc): Define in terms of
47093         $(link-libc-before-gnulib).
47094         [!build-shared] (link-libc-tests): New variable.
47095         (link-libc-static-tests): New variable.
47096         [!gnulib] (gnulib-arch): New variable.
47097         [!gnulib] (gnulib-tests): Likewise.
47098         [!gnulib] (static-gnulib-arch): Likewise.
47099         [!gnulib] (static-gnulib-tests): Likewise.
47100         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47101         Define with "=" instead of ":=".
47102         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47103         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47104         * Rules (binaries-all-notests): New variable.
47105         (binaries-all-tests): Likewise.
47106         (binaries-static-notests): Likewise.
47107         (binaries-static-tests): Likewise.
47108         (binaries-all): Define using $(binaries-all-notests) and
47109         $(binaries-all-tests).
47110         (binaries-static): Define using $(binaries-static-notests) and
47111         $(binaries-static-tests).
47112         (binaries-shared-tests): New variable.
47113         (binaries-shared-notests): Likewise.
47114         (binaries-shared): Remove variable.
47115         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47116         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47117         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47118         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47119         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47120         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47121         * elf/Makefile (sln-modules): New variable.
47122         (extra-objs): Add $(sln-modules:=.o).
47123         (ldconfig-modules): Add static-stubs.
47124         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47125         * elf/static-stubs.c: New file.
47127         [BZ #14283]
47128         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47129         by 7 not 8 to examine high bit of fractional part.  Use volatile
47130         variables when splitting into final array of floats if
47131         __FLT_EVAL_METHOD__ != 0.
47132         * math/libm-test.inc (cos_test): Add another test.
47133         (sin_test): Likewise.
47134         * sysdeps/i386/fpu/libm-test-ulps: Update.
47136         [BZ #14273]
47137         * math/libm-test.inc (cosh_test): Add more tests.
47139         * version.h (RELEASE): Set to "development".
47140         (VERSION): Set to "2.16.90".
47142 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47144         * NEWS: Update copyright. Remove last-updated date.
47145         Mention math library bug fixes and timezone data changes.
47146         * README: Mention GNU/Hurd, x32, and HPPA support status.
47148 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47150         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47152 2012-06-27  Andreas Jaeger  <aj@suse.de>
47154         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47156 2012-06-25  Andreas Jaeger  <aj@suse.de>
47158         * sysdeps/s390/fpu/libm-test-ulps: Update.
47160 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47161             Thomas Schwinge  <thomas@codesourcery.com>
47163         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47164         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47165         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47166         fanotify_mark.
47168 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47170         * sysdeps/mach/start.c: Remove file.
47171         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47172         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47173         * sysdeps/sh/init-first.c: Likewise.
47175         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47176         registers for frame unwinding purposes, add CFI directives.
47177         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47178         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47179         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47180         Likewise.
47182         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47183         __fortify_fail returning.
47184         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47186         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47187         sysdeps/sh/____longjmp_chk.S.
47188         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47189         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47190         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47191         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47193         * sysdeps/sh/abort-instr.h: New file.
47194         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47195         process in case exit returns.
47197         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47198         initialize the GOT register before use.
47200         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47201         calculation of ARGC > 4.
47203         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47204         meaningful names to some local labels.
47206 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47207             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47209         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47210         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47211         (__arch_compare_and_exchange_val_16_acq): Likewise.
47212         (__arch_compare_and_exchange_val_32_acq): Likewise.
47213         (atomic_exchange_and_add): Fix gUSA sequence.
47214         (atomic_add): Likewise.
47215         (atomic_add_negative): Likewise.
47216         (atomic_add_zero): Likewise.
47217         (atomic_bit_test_set): Likewise.
47219 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47221         [BZ #13579]
47222         * include/link.h (struct link_map): Add l_free_initfini.
47223         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47224         l_initfini.
47225         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47226         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47227         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47228         set.
47230 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47232         * configure.in: Use AC_LANG_SOURCE.
47233         * configure: Regenerate.
47235 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47237         * configure.in (libc_cv_localstatedir): New substituted variable.
47238         * configure: Regenerated.
47239         * config.make.in (localstatedir): New variable, substituted from
47240         libc_cv_localstatedir.
47241         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47242         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47243         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47244         * sysdeps/gnu/configure: Regenerated.
47246 2012-06-21  Jeff Law  <law@redhat.com>
47248         [BZ #14277]
47249         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47250         free.  Simplify list management for _LIBC case.
47252 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47254         [BZ #14273]
47255         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47256         Clear sign bit of 64-bit integer value before comparing against
47257         overflow value.
47259         * sysdeps/mach/configure: Regenerated.
47261 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47263         [BZ #14278]
47264         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47266 2012-06-21  Jeff Law  <law@redhat.com>
47268         [BZ #13882]
47269         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47270         uint16_t for elements in the "seen" array to avoid char overflows.
47271         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47272         * elf/dl-open.c (dl_open_worker): Likewise.
47274 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47276         * scripts/list-sources.sh: Scan PORTS for translations.
47277         * po/libc.pot: Regenerated.
47279 2012-06-21  Andreas Jaeger  <aj@suse.de>
47281         [BZ #12194]
47282         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47283         warning.
47284         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47285         * bits/byteswap-16.h (__bswap_16): Likewise.
47286         * bits/byteswap.h (__bswap_constant_16): Likewise.
47288 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47290         [BZ #14117]
47291         * sysdeps/i386/fpu_control.h: Removed.
47292         * sysdeps/x86_64/fpu_control.h: Moved to ...
47293         * sysdeps/x86/fpu_control.h: Here.
47295         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47296         (_FPU_SETCW): Likewise.
47298 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47300         [BZ #14117]
47301         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47302         * sysdeps/x86/fpu/bits/mathinline.h: This.
47303         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47305         [BZ #14050]
47306         [BZ #14117]
47307         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47308         functions if __x86_64__ is defined.
47310 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47312         * string/endian.h: Add !__ASSEMBLER__ condition for including
47313         conversion interfaces.
47315 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47317         [BZ #14241]
47318         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47319         of ABS(x) in calculating zero to negative powers other than odd
47320         integers.
47321         * math/libm-test.inc (pow_test): Add more tests.
47323 2012-06-15  Andreas Jaeger  <aj@suse.de>
47325         * manual/contrib.texi (Contributors): Update entry of Liubov
47326         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47327         Machado Filho.
47329 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47331         * string/string.h: Add __wur to GNU version of strerror_r.
47333 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47335         [BZ #14229]
47336         * string/Makefile (tests): Add tst-strtok_r.
47337         * string/tst-strtok_r.c: New file.
47338         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47339         RAX_LP/RDX_LP on SAVE_PTR.
47341 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47343         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47345 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47347         * libm_test.inc (csqrt_test): Allow more spurious underflow
47348         exceptions.
47349         (j0_test): Likewise.
47350         (j1_test): Likewise.
47351         (y0_test): Likewise.
47352         (y1_test): Likewise.
47354 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47356         * po/Makefile (libc.pot): Use UTF-8 charset.
47358 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47360         [BZ #14210]
47361         Suppress sign-conversion warning from FD_SET.
47362         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47363         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47364         not unsigned long int.
47365         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47367 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47369         [BZ #14050]
47370         [BZ #14117]
47371         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47372         __extern_always_inline instead of __extern_inline.
47373         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47374         (__signbit): Likewise.
47375         (__signbitl): Support C++ namespace.
47376         (lrintf): New inline function.
47377         (lrint): Likewise.
47378         (llrintf): Likewise.
47379         (llrint): Likewise.
47380         (fmaxf): Likewise.
47381         (fmax): Likewise.
47382         (fminf): Likewise.
47383         (fmin): Likewise.
47384         (rint): Likewise.
47385         (rintf): Likewise.
47386         (ceil): Likewise.
47387         (ceilf): Likewise.
47388         (floor): Likewise.
47389         (floorf): Likewise.
47390         (nearbyint): Likewise.
47391         (nearbyintf): Likewise.
47393 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47395         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47396         non-default versions.
47398 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47400         [BZ #14218]
47401         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47403 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47405         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47406         (FE_UPWARD, FE_DOWNWARD): Don't define.
47407         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47408         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47410         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47411         reading it.
47412         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47413         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47415 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47417         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47418         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47419         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47420         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47422 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47424         [BZ #14117]
47425         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47426         * sysdeps/i386/fpu/Implies: New file.
47427         * sysdeps/x86_64/fpu/Implies: Likewise.
47428         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47429         * sysdeps/x86/fpu/bits/fenv.h: This.
47431         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47432         __SSE_MATH__.
47434 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47436         [BZ #14134]
47437         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47438         character 0xffff that matches the last element of the
47439         conversion table.
47441 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47443         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47444         fmodl commit.
47446 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47448         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47449         values higher than 25.6283.
47451 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47453         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47454         subnormal exponent extraction and add some __builtin_expect.
47455         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47456         Fix for subnormal mantissa calculation.
47458 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47460         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47461         cpu2 is -1 and errno is not ENOSYS.
47463 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47465         [BZ #14117]
47466         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47467         * sysdeps/x86/bits/string.h: This.
47468         * sysdeps/x86_64/bits/string.h: Removed.
47470         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47471         if not compiling for x86-64, but compiling for >= i486.
47473         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47474         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47476         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47477         New macro from Linux kernel 3.4.0.
47478         (FP_XSTATE_MAGIC2): Likewise.
47479         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47480         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47481         (struct _fpx_sw_bytes): New struct.
47482         (struct _xsave_hdr): Likewise.
47483         (struct _ymmh_state): Likewise.
47484         (struct _xstate): Likewise.
47486         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47487         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47488         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47489         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47490         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47491         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47493         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47494         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47495         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47496         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47497         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47498         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47500 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47502         [BZ #13743]
47503         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47504         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47505         (sysdep_headers): Include sys/platform/ppc.h.
47506         * sysdeps/powerpc/test-gettimebase.c: Test for
47507         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47508         * manual/Makefile (appendices): Include platform.texi.
47509         * manual/contrib.texi (Contributors): Update @node pointers.
47510         * manual/maint.texi (Maintenance): Likewise.
47511         (Platform): New node.
47512         * manual/platform.texi: New file.  Document the new features.
47514 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47515             Jakub Jelinek  <jakub@redhat.com>
47517         [BZ #14188]
47518         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47519         where __builtin_expect is unavailable.
47521 2012-06-03  David S. Miller  <davem@davemloft.net>
47523         * stdlib/longlong.h: Updated from GCC.
47525 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47527         [BZ #14042]
47528         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47529         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47530         __mcount_internal.
47531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47532         (GLIBC_2.16): Likewise.
47534 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47536         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47538 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47541         (default-abi): New variable.
47542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47543         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47544         variable.
47545         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47546         Likewise.
47547         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47548         Likewise.
47549         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47550         Likewise.
47552         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47553         definition.  Document in comment.
47555 2012-06-01  David S. Miller  <davem@davemloft.net>
47557         * stdlib/longlong.h: Updated from GCC.
47559 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47561         [BZ #14117]
47562         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47563         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47564         sys/debugreg.h sys/io.h here.
47565         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47566         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47567         sys/io.h.
47568         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47569         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47570         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47571         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47572         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47573         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47575         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47576         Define only if __x86_64__ is defined.
47578 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47580         [BZ #14048]
47581         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47582         Use int64_t for variable i.
47583         * math/libm-test.inc (fmod_test): Add more tests.
47585         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47586         z computation is not scheduled after fetestexcept.
47587         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47588         Use math_force_eval instead of asm to ensure calculation scheduled
47589         before exception test.
47590         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47591         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47593 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47596         computation is not scheduled after fetestexcept.
47598 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47600         [BZ #14117]
47601         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47602         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47604 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47606         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47607         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47609 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47611         [BZ #14117]
47612         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47613         <bits/wordsize.h>.
47614         (__WCHAR_MIN): Support __WORDSIZE == 64.
47615         (__WCHAR_MAX): Likewise.
47617         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47618         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47620         [BZ #14183]
47621         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47622         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47624         [BZ #14117]
47625         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47626         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47628         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47629         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47631         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47632         Defined to 1 if __x86_64__ isn't defined.
47633         (_STAT_VER_LINUX_OLD): New.
47634         (st_atime): Remove duplicate.
47635         (st_mtime): Likewise.
47636         (st_ctime): Likewise.
47638 2012-05-31  David S. Miller  <davem@davemloft.net>
47640         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47641         entries.
47643 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47645         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47646         gen-libm-test.pl.
47648         [BZ #14132]
47649         * elf/dl-reloc.c: Include <_itoa.h>.
47650         (_dl_reloc_bad_type): Remove use of INTUSE.
47651         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47652         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47653         * stdio-common/psiginfo.c (psiginfo): Likewise.
47654         * stdio-common/psignal.c (psignal): Likewise.
47655         * string/strsignal.c (strsignal): Likewise.
47656         * include/signal.h (_sys_siglist): Declare hidden proto.
47657         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47658         INTVARDEF with libc_hidden_data_def.
47659         * stdio-common/itoa-udigits.c: Likewise.
47660         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47661         (_itoa_lower_digits_internal): Remove declaration.
47662         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47663         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47664         (_sys_sigabbrev_internal): Remove aliases.
47665         (_sys_siglist): Define hidden alias.
47667 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47669         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47670         bits/sysctl.h.
47672 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47674         [BZ #14117]
47675         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47676         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47678         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47679         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47680         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47681         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47682         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47683         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47685         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47686         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47687         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47689         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47690         with __addr.
47691         (insw): Likewise.
47692         (insl): Likewise.
47693         (outsb): Likewise.
47694         (outsw): Likewise.
47695         (outsl): Likewise.
47697         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47698         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47699         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47701         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47702         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47703         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47704         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47705         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47706         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47708         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47709         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47711         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47712         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47714         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47715         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47716         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47718         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47719         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47720         to ...
47721         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47723         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47724         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47725         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47727         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47728         for x86-64.
47729         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47731 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47733         * math/math.h (M_El): Use two more decimal places.
47734         (M_LOG2El): Likewise.
47735         (M_LOG10El): Likewise.
47736         (M_LN2l): Likewise.
47737         (M_LN10l): Likewise.
47738         (M_PIl): Likewise.
47739         (M_PI_2l): Likewise.
47740         (M_PI_4l): Likewise.
47741         (M_1_PIl): Likewise.
47742         (M_2_PIl): Likewise.
47743         (M_2_SQRTPIl): Likewise.
47744         (M_SQRT2l): Likewise.
47745         (M_SQRT1_2l): Likewise.
47747 2012-05-31  David S. Miller  <davem@davemloft.net>
47749         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47750         values between float registers.
47751         * sysdeps/sparc/sparc64/memset.S: Likewise.
47752         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47754 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47756         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47757         -D_FORTIFY_SOURCE=1.
47758         (CPPFLAGS-tst-longjmp_chk.c): Define.
47759         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47760         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47761         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47762         CFLAGS-tst-wchar-h.c.
47764 2012-05-31  Marek Polacek  <polacek@redhat.com>
47766         [BZ #14132]
47767         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47768         __endmntent_internal): Remove declaration.
47769         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47770         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47771         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47773 2012-05-30  David S. Miller  <davem@davemloft.net>
47775         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47776         (___Q_simulate_exceptions): Use real FP ops rather than writing
47777         into the %fsr.
47778         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47779         Likewise.
47781 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47783         [BZ #14117]
47784         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47785         * sysdeps/x86/bits/xtitypes.h: This.
47787         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47788         * sysdeps/x86/bits/wordsize.h: This.
47790         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47791         * sysdeps/x86/bits/huge_vall.h: This.
47793         * sysdeps/i386/bits/select.h: Removed.
47794         * sysdeps/x86_64/bits/select.h: Renamed to ...
47795         * sysdeps/x86/bits/select.h: This.
47797         * sysdeps/i386/bits/setjmp.h: Removed.
47798         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47799         * sysdeps/x86/bits/setjmp.h: This.
47801         * sysdeps/i386/bits/mathdef.h: Removed.
47802         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47803         * sysdeps/x86/bits/mathdef.h: This.
47805 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47807         [BZ #14132]
47808         * include/sys/socket.h (__connect_internal)
47809         (__libc_sa_len_internal): Remove declaration.
47810         (__connect, __libc_sa_len): Declare hidden_proto.
47811         (SA_LEN): Remove use of INTUSE.
47812         * socket/connect.c: Add libc_hidden_def.
47813         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47814         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47815         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47816         alias.
47817         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47818         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47819         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47820         of adding _internal alias.
47822 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47824         [BZ #14117]
47825         * sysdeps/i386/bits/link.h: Removed.
47826         * sysdeps/i386/bits/linkmap.h: Likewise.
47827         * sysdeps/x86_64/bits/link.h: Renamed to ...
47828         * sysdeps/x86/bits/link.h: This.
47829         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47830         * sysdeps/x86/bits/linkmap.h: This.
47832         * sysdeps/i386/bits/endian.h: Removed.
47833         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47834         * sysdeps/x86/bits/endian.h: This.
47836         * sysdeps/i386/bits/byteswap.h: Removed.
47837         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47838         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47839         * sysdeps/x86/bits/byteswap.h: This.
47840         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47841         * sysdeps/x86/bits/byteswap-16.h: This.
47842         * sysdeps/i386/Implies: Add x86.
47843         * sysdeps/x86_64/Implies: Likewise.
47845 2012-05-30  David S. Miller  <davem@davemloft.net>
47847         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47848         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47849         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47850         (FP_TRAPPING_EXCEPTIONS): Define.
47851         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47852         (FP_TRAPPING_EXCEPTIONS): Define.
47853         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47854         subnormals only when inexact has been signalled or underflow
47855         exceptions are enabled.
47856         (_FP_PACK_CANONICAL): Likewise.
47858 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47860         [BZ #14183]
47861         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47862         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47864 2012-05-30  Richard Henderson  <rth@twiddle.net>
47866         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47867         with #ifndef NOT_IN_libc.
47869         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47870         marked to avoid plt entry.
47872 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47874         [BZ #14112]
47875         * Makeconfig (default-abi): New macro.
47876         (abi-includes): Likewise.
47877         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47878         $(abi-$(default-abi)-lib-soname) for soname if defined.
47879         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47880         abi-variants.
47881         * Makefile (installed-stubs): Likewise.
47882         * include/stubs-biarch.h: Removed.
47883         * scripts/lib-names.awk: Only handle one library at a time.
47884         * scripts/soversions.awk: Remove WORDSIZE support.
47885         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47886         entries.
47887         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47888         Removed.
47889         (syscall-list-default-condition): Likewise.
47890         (syscall-list-default-condition): Likewise.
47891         (syscall-list-includes): Likewise.
47892         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47893         syscall-list-* with abi-*.  Handle undefined abi-variants.
47894         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47895         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47896         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47897         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47898         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47899         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47900         Removed.
47901         (syscall-list-32-options): Likewise.
47902         (syscall-list-32-condition): Likewise.
47903         (syscall-list-64-options): Likewise.
47904         (syscall-list-64-condition): Likewise.
47905         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47906         macro.
47907         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47908         Renamed to ...
47909         (abi-*): This.
47910         (abi-64-ld-soname): New macro.
47911         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47912         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47913         Renamed to ...
47914         (abi-*): This.
47915         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47916         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47918 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47920         * sysdeps/unix/sysv/linux/kernel-features.h
47921         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47922         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47923         include <kernel-features.h>.
47924         [!__NR_ftruncate64]: Remove conditional code.
47925         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47926         [__NR_ftruncate64]: Make code unconditional.
47927         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47928         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47929         include <kernel-features.h>.
47930         [!__NR_ftruncate64]: Remove conditional code.
47931         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47932         [__NR_ftruncate64]: Make code unconditional.
47933         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47935         include <kernel-features.h>.
47936         [!__NR_ftruncate64]: Remove conditional code.
47937         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47938         [__NR_ftruncate64]: Make code unconditional.
47939         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47941         include <kernel-features.h>.
47942         [!__NR_ftruncate64]: Remove conditional code.
47943         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47944         [__NR_ftruncate64]: Make code unconditional.
47945         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47947         * configure.in (libc_cv_fpie): Weaken to a compile test using
47948         LIBC_TRY_CC_OPTION.
47949         * configure: Regenerated.
47951 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47957         Refreshed.
47958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47964         Refreshed.
47966 2012-05-27  David S. Miller  <davem@davemloft.net>
47968         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47969         (___Q_zero): New.
47970         (__Q_simulate_exceptions): Return void.  Change to simulate
47971         exceptions by writing into the %fsr.
47972         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47973         (__Qp_handle_exceptions): Likewise.
47974         (numbers): Delete.
47975         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47976         __Qp_handle_exceptions.
47977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47978         __Qp_handle_exceptions.
47979         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47980         as unused and give dummy FP_RND_NEAREST initializer.
47981         (FP_INHIBIT_RESULTS): Define.
47982         (___Q_simulate_exceptions): Update declaration.
47983         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47984         formatting.
47985         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47986         as unused and give dummy FP_RND_NEAREST initializer.
47987         (__Qp_handle_exceptions): Update declaration.
47988         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47989         formatting.
47991 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47993         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47994         the temporary FPU control word.
47995         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47996         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47997         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47998         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47999         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48000         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48001         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48002         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48003         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48004         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48005         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48007 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48009         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48010         fields.
48012 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48014         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48015         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48016         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48017         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48018         Likewise.
48019         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48020         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48021         Likewise.
48023 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48025         * po/h.po: Update from translation team.
48027 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48029         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48031         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48032         handling of denormals.
48033         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48034         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48035         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48036         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48037         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48038         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48039         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48040         Likewise.
48042 2012-05-26  Marek Polacek  <polacek@redhat.com>
48044         [BZ #14152]
48045         * math/libm-test.inc (fma_test): Don't always expect underflow
48046         exception.
48048 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48050         [BZ #12416]
48051         * elf/tst-execstack.c: Include stackinfo.h.
48052         (do_test): Adjust test case to ensure that pthread_getattr_np
48053         behaviour remains the same after marking stack executable.
48055 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48057         * sysdeps/unix/sysv/linux/kernel-features.h
48058         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48059         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48060         kernel-features.h.
48061         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48062         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48063         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48064         kernel-features.h.
48065         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48066         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48068 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48070         * configure.in: Define the default includes to being none.
48071         * configure: Regenerated.
48073 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48075         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48076         * sysdeps/x86_64/setjmp.S: Likewise.
48077         * sysdeps/i386/bsd-setjmp.S: Likewise.
48078         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48079         * sysdeps/i386/setjmp.S: Likewise.
48080         * sysdeps/i386/__longjmp.S: Likewise.
48081         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48082         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48084         * include/stap-probe.h: New file.
48085         * configure.in: Handle --enable-systemtap.
48086         * configure: Regenerated.
48087         * config.h.in (USE_STAP_PROBE): New #undef.
48088         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48089         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48090         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48092 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48094         [BZ #13717]
48095         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48096         to 2.4.0 where earlier.
48097         * sysdeps/unix/sysv/linux/configure: Regenerated.
48098         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48099         <kernel-features.h>.
48100         [__ASSUME_32BITUIDS]: Make code unconditional.
48101         [!__ASSUME_32BITUIDS]: Remove conditional code.
48102         * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
48107         [__ASSUME_32BITUIDS]: Make code unconditional.
48108         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48109         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48110         <kernel-features.h>.
48111         [__ASSUME_32BITUIDS]: Make code unconditional.
48112         [!__ASSUME_32BITUIDS]: Remove conditional code.
48113         * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
48150         <kernel-features.h>.
48151         [__NR_setresgid] (__setresgid): Do not declare.
48152         [__ASSUME_32BITUIDS]: Make code unconditional.
48153         [!__ASSUME_32BITUIDS]: Remove conditional code.
48154         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48155         <kernel-features.h>.
48156         [__NR_setresuid] (__setresuid): Do not declare.
48157         [__ASSUME_32BITUIDS]: Make code unconditional.
48158         [!__ASSUME_32BITUIDS]: Remove conditional code.
48159         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48160         <kernel-features.h>.
48161         [__ASSUME_32BITUIDS]: Make code unconditional.
48162         [!__ASSUME_32BITUIDS]: Remove conditional code.
48163         * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
48200         (__ASSUME_SETRESUID_SYSCALL): Remove.
48201         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48202         (__ASSUME_32BITUIDS): Likewise.
48203         (__ASSUME_LDT_WORKS): Likewise.
48204         (__ASSUME_O_DIRECTORY): Likewise.
48205         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48206         architecture but not kernel version.
48207         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48208         (__ASSUME_MMAP2_SYSCALL): Likewise.
48209         (__ASSUME_STAT64_SYSCALL): Likewise.
48210         (__ASSUME_IPC64): Likewise.
48211         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48212         <kernel-features.h>.
48213         [__ASSUME_32BITUIDS]: Make code unconditional.
48214         [!__ASSUME_32BITUIDS]: Remove conditional code.
48215         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48216         <kernel-features.h>.
48217         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48218         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48219         132096]: Remove conditional code.
48220         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48221         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48222         <kernel-features.h>.
48223         [__ASSUME_32BITUIDS]: Make code unconditional.
48224         [!__ASSUME_32BITUIDS]: Remove conditional code.
48225         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
48230         <kernel-features.h>.
48231         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48232         unconditional.
48233         (__setresgid): Do not declare.
48234         [__ASSUME_32BITUIDS]: Make code unconditional.
48235         [!__ASSUME_32BITUIDS]: Remove conditional code.
48236         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48237         <kernel-features.h>.
48238         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48239         unconditional.
48240         (__setresuid): Do not declare.
48241         [__ASSUME_32BITUIDS]: Make code unconditional.
48242         [!__ASSUME_32BITUIDS]: Remove conditional code.
48243         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48244         <kernel-features.h>.
48245         [__ASSUME_32BITUIDS]: Make code unconditional.
48246         [!__ASSUME_32BITUIDS]: Remove conditional code.
48247         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48248         <kernel-features.h>.
48249         [__ASSUME_32BITUIDS]: Make code unconditional.
48250         [!__ASSUME_32BITUIDS]: Remove conditional code.
48252 2012-05-25  Richard Henderson  <rth@twiddle.net>
48254         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48255         dl_hwcap to ifunc resolver.
48256         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48257         elf_ifunc_invoke.
48258         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48259         dl_hwcap to ifunc resolver.
48260         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48262 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48264         [BZ #14153]
48265         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48266         for |x| <= 2**-26, not 2**-57.
48267         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48268         exception.
48270 2012-05-24  Jeff Law  <law@redhat.com>
48272         * stdio-common/Makefile (tests): Add bug25.
48273         * stdio-common/bug25.c: New test.
48275 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48277         [BZ #13576]
48278         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48279         multiple of MALLOC_ALIGNMENT in size.
48280         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48282 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48284         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48285         Require >= 256.
48286         (FILENAME_MAX): Use macro-int-constant.
48287         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48288         (_IOFBF): Use macro-int-constant.
48289         (_IOLBF): Likewise.
48290         (_IONBF): Likewise.
48291         (SEEK_CUR): Likewise.
48292         (SEEK_END): Likewise.
48293         (SEEK_SET): Likewise.
48294         (TMP_MAX): Likewise.
48295         (EOF): Use macro-int-constant.  Require < 0.
48296         (NULL): Use macro-constant.  Require == 0.
48297         (stdin): Require type to be FILE *.
48298         (stdout): Likewise.
48299         (stderr): Likewise.
48300         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48301         macro-int-constant.
48302         (EXIT_SUCCESS): Likewise.
48303         (NULL): Use macro-constant.  Require == 0.
48304         (RAND_MAX): Use macro-int-constant.
48305         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48306         [C99-based standards] (strtof): Require function.
48307         [C99-based standards] (strtold): Likewise.
48308         [C99-based standards] (strtoll): Likewise.
48309         [C99-based standards] (strtoull): Likewise.
48310         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48311         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48312         [ISO || ISO99 || ISO11] (math.h): Likewise.
48313         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48314         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48315         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48317 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48319         [BZ #14132]
48320         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48321         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48322         * intl/dgettext.c (DCGETTEXT): Likewise.
48323         * intl/gettext.c (DCGETTEXT): Likewise.
48324         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48325         * posix/regex_internal.h (gettext): Likewise.
48326         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48327         Remove declaration.
48328         * include/argz.h (__argz_count_internal)
48329         (__argz_stringify_internal): Remove declaration.
48330         (__argz_count, __argz_stringify): Declare hidden proto.
48331         * intl/dcgettext.c: Remove use of INTDEF.
48332         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48333         * string/argz-stringify.c: Likewise.
48334         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48335         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48336         Declare hidden proto.
48337         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48338         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48339         Declare hidden proto.
48340         * include/stdio.h (__asprintf_internal): Don't declare.
48341         (__asprintf): Don't define as macro.  Declare hidden proto.
48342         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48343         (__fsetlocking): Declare hidden proto.
48344         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48345         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48346         hidden proto.
48347         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48348         (_IO_setlinebuf): Remove use of INTUSE.
48349         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48350         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48351         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48352         Remove declaration.
48353         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48354         (_IO_do_flush): Remove use of INTUSE.
48355         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48356         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48357         (_IO_adjust_column, _IO_least_wmarker)
48358         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48359         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48360         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48361         (_IO_default_doallocate, _IO_wdefault_doallocate)
48362         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48363         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48364         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48365         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48366         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48367         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48368         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48369         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48370         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48371         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48372         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48373         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48374         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48375         proto.
48376         (_IO_flush_all_internal, _IO_adjust_column_internal)
48377         (_IO_default_uflow_internal, _IO_default_finish_internal)
48378         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48379         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48380         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48381         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48382         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48383         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48384         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48385         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48386         (_IO_file_close_internal, _IO_file_close_it_internal)
48387         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48388         (_IO_file_init_internal, _IO_file_attach_internal)
48389         (_IO_file_fopen_internal, _IO_file_read_internal)
48390         (_IO_file_sync_internal, _IO_file_seek_internal)
48391         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48392         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48393         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48394         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48395         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48396         (_IO_list_all_internal, _IO_link_in_internal)
48397         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48398         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48399         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48400         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48401         (_IO_do_write_internal, _IO_padn_internal)
48402         (_IO_getline_info_internal, _IO_getline_internal)
48403         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48404         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48405         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48406         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48407         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48408         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48409         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48410         with libc_hidden_ver, remove use of INTUSE.
48411         * libio/genops.c: Likewise.
48412         * libio/freopen.c: Likewise.
48413         * libio/freopen64.c: Likewise.
48414         * libio/iofclose.c: Likewise.
48415         * libio/iofdopen.c: Likewise.
48416         * libio/iofflush.c: Likewise.
48417         * libio/iofflush_u.c: Likewise.
48418         * libio/iofgets.c: Likewise.
48419         * libio/iofgets_u.c: Likewise.
48420         * libio/iofopen.c: Likewise.
48421         * libio/iofopncook.c: Likewise.
48422         * libio/iofread.c: Likewise.
48423         * libio/iofread_u.c: Likewise.
48424         * libio/ioftell.c: Likewise.
48425         * libio/iofwrite.c: Likewise.
48426         * libio/iogetline.c: Likewise.
48427         * libio/iogets.c: Likewise.
48428         * libio/iogetwline.c: Likewise.
48429         * libio/iopadn.c: Likewise.
48430         * libio/iopopen.c: Likewise.
48431         * libio/ioseekoff.c: Likewise.
48432         * libio/ioseekpos.c: Likewise.
48433         * libio/iosetbuffer.c: Likewise.
48434         * libio/iosetvbuf.c: Likewise.
48435         * libio/ioungetc.c: Likewise.
48436         * libio/ioungetwc.c: Likewise.
48437         * libio/iovdprintf.c: Likewise.
48438         * libio/iovsprintf.c: Likewise.
48439         * libio/iovsscanf.c: Likewise.
48440         * libio/memstream.c: Likewise.
48441         * libio/obprintf.c: Likewise.
48442         * libio/oldfileops.c: Likewise.
48443         * libio/oldiofclose.c: Likewise.
48444         * libio/oldiofdopen.c: Likewise.
48445         * libio/oldiofopen.c: Likewise.
48446         * libio/oldiopopen.c: Likewise.
48447         * libio/oldstdfiles.c: Likewise.
48448         * libio/putc.c: Likewise.
48449         * libio/setbuf.c: Likewise.
48450         * libio/setlinebuf.c: Likewise.
48451         * libio/stdfiles.c: Likewise.
48452         * libio/strops.c: Likewise.
48453         * libio/vasprintf.c: Likewise.
48454         * libio/vscanf.c: Likewise.
48455         * libio/vsnprintf.c: Likewise.
48456         * libio/vswprintf.c: Likewise.
48457         * libio/wfiledoalloc.c: Likewise.
48458         * libio/wfileops.c: Likewise.
48459         * libio/wgenops.c: Likewise.
48460         * libio/wmemstream.c: Likewise.
48461         * libio/wstrops.c: Likewise.
48462         * libio/__fpurge.c: Likewise.
48463         * libio/__fsetlocking.c: Likewise.
48464         * assert/assert.c: Likewise.
48465         * debug/fgets_chk.c: Likewise.
48466         * debug/fgets_u_chk.c: Likewise.
48467         * debug/fread_chk.c: Likewise.
48468         * debug/fread_u_chk.c: Likewise.
48469         * debug/gets_chk.c: Likewise.
48470         * debug/obprintf_chk.c: Likewise.
48471         * debug/vasprintf_chk.c: Likewise.
48472         * debug/vdprintf_chk.c: Likewise.
48473         * debug/vsnprintf_chk.c: Likewise.
48474         * debug/vsprintf_chk.c: Likewise.
48475         * malloc/mtrace.c: Likewise.
48476         * misc/error.c: Likewise.
48477         * misc/syslog.c: Likewise.
48478         * stdio-common/asprintf.c: Likewise.
48479         * stdio-common/fxprintf.c: Likewise.
48480         * stdio-common/getw.c: Likewise.
48481         * stdio-common/isoc99_fscanf.c: Likewise.
48482         * stdio-common/isoc99_scanf.c: Likewise.
48483         * stdio-common/isoc99_vfscanf.c: Likewise.
48484         * stdio-common/isoc99_vscanf.c: Likewise.
48485         * stdio-common/isoc99_vsscanf.c: Likewise.
48486         * stdio-common/printf-prs.c: Likewise.
48487         * stdio-common/printf_fp.c: Likewise.
48488         * stdio-common/printf_fphex.c: Likewise.
48489         * stdio-common/printf_size.c: Likewise.
48490         * stdio-common/putw.c: Likewise.
48491         * stdio-common/scanf.c: Likewise.
48492         * stdio-common/sprintf.c: Likewise.
48493         * stdio-common/tmpfile.c: Likewise.
48494         * stdio-common/vfprintf.c: Likewise.
48495         * stdio-common/vfscanf.c: Likewise.
48496         * stdlib/strfmon_l.c: Likewise.
48497         * sunrpc/openchild.c: Likewise.
48498         * sunrpc/xdr_stdio.c: Likewise.
48499         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48500         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48502 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48504         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48506         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48507         in the third column, to generate for the shared library an IFUNC
48508         that uses _dl_vdso_vsym.
48509         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48510         * Makeconfig (object-suffixes-noshared): New variable.
48512         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48513         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48514         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48515         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48517         [BZ #14132]
48518         * include/sys/time.h (__gettimeofday): Remove macro.
48519         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48520         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48521         Remove INTDEF.
48522         (__gettimeofday): Add libc_hidden_def.
48523         (gettimeofday): Add libc_hidden_weak.
48524         * sysdeps/mach/gettimeofday.c: Likewise.
48525         * sysdeps/posix/gettimeofday.c: Likewise.
48526         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48527         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48528         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48529         (__gettimeofday_internal): Remove strong_alias.
48530         (__gettimeofday): Add libc_hidden_def.
48531         (gettimeofday): Add libc_hidden_weak.
48532         * sysdeps/unix/syscalls.list (gettimeofday):
48533         Remove __gettimeofday_internal alias.
48535 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48536             H.J. Lu  <hongjiu.lu@intel.com>
48538         [BZ #12495]
48539         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48540         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48541         (largebin_index_32_big): New.
48542         (largebin_index): Use it for 16-byte alignment.
48543         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48544         correction with front_misalign.
48546 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48550         Likewise.
48551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48552         Likewise.
48553         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48554         Likewise.
48555         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48556         Likewise.
48557         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48558         Likewise.
48559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48560         Likewise.
48561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48562         Likewise.
48563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48564         Likewise.
48565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48566         Likewise.
48567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48568         Likewise.
48569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48570         Likewise.
48571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48572         Likewise.
48574         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48575         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48577 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48579         [BZ #10846]
48580         [BZ #14036]
48581         * math/libm-test.inc (exp_test): Add test from bug 14036.
48582         (pow_test): Add test from bug 10846.
48584         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48585         and other flags.
48586         (special_function): Do not include flags in test name.
48587         (parse_args): Likewise.
48588         * sysdeps/i386/fpu/libm-test-ulps: Update.
48589         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48590         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48591         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48594         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48595         exceptions.
48596         * math/libm-test.inc ("Philosophy"): Update comment about
48597         exception testing.
48598         (UNDERFLOW_EXCEPTION): New macro.
48599         (UNDERFLOW_EXCEPTION_OK): Likewise.
48600         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48601         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48602         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48603         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48604         (INVALID_EXCEPTION_OK): Update value.
48605         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48606         (OVERFLOW_EXCEPTION_OK): Likewise.
48607         (IGNORE_ZERO_INF_SIGN): Likewise.
48608         (test_exceptions): Handle underflow exceptions.
48609         (acos_test): Update for underflow exception expectations.
48610         (cexp_test): Likewise.
48611         (clog_test): Likewise.
48612         (clog10_test): Likewise.
48613         (csqrt_test): Likewise.
48614         (ctan_test): Likewise.
48615         (ctanh_test): Likewise.
48616         (exp_test): Likewise.
48617         (exp10_test): Likewise.
48618         (exp2_test): Likewise.
48619         (expm1_test): Likewise.
48620         (fma_test): Likewise.
48621         (j0_test): Likewise.
48622         (jn_test): Likewise.
48623         (nexttoward_test): Likewise.
48624         (pow_test): Likewise.
48625         (scalbn_test): Likewise.
48626         (scalbln_test): Likewise.
48627         (tan_test): Likewise.
48628         (y1_test): Likewise.
48629         * sysdeps/i386/fpu/libm-test-ulps: Update.
48630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48632 2012-05-23  David S. Miller  <davem@davemloft.net>
48634         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48635         (__libc_sigaction): Remove unused local variables.
48637 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48639         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48641 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48643         mktime: avoid signed integer overflow
48644         * time/mktime.c (__mktime_internal): Do not mishandle the case
48645         where diff == INT_MIN.
48647         mktime: simplify computation of average
48648         * time/mktime.c (ranged_convert): Use new time_t_avg function
48649         instead of rolling our own (probably-slower) code.
48651         mktime: do not assume signed right shift propagates sign bit
48652         * time/mktime.c (isdst_differ): New static function.
48653         (__mktime_internal): No need to normalize tm_isdst now.
48654         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48655         tm_isdst values.
48657         mktime: merge another wrapv change from gnulib
48658         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48659         from some compilers.
48661         mktime: remove incorrect attempt at unusual arithmetics
48662         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48663         The code didn't really work on such machines anyway.
48664         (TYPE_MINIMUM): Assume two's complement.
48665         (twos_complement_arithmetic): Verify that long_int and time_t
48666         are two's complement (or unsigned, in the latter case).
48668         mktime: check signed shifts on long_int and time_t, too
48669         * time/mktime.c (SHR): Check that shifts work as desired
48670         on the types long_int and time_t too, as SHR is used on
48671         such types.
48673         mktime: do not assume 'long' is wide enough
48674         * time/mktime.c (verify): Move decl up.
48675         (long_int): New type.
48676         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48677         to remove assumption in the code that 'long' is wide enough to
48678         store year values.  This assumption is not true on x32 and on
48679         some non-glibc platforms.
48681         mktime: merge wrapv change from gnulib
48682         * time/mktime.c (WRAPV): New macro.
48683         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48684         (guess_time_tm, __mktime_internal): Do not assume that signed
48685         integer overflow wraps around; modern compilers generate code
48686         where this assumption is no longer valid.
48688 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48690         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48691         Replace "jmp L(pseudo_end)" with "ret".
48692         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48693         Likewise.
48695 2012-05-23  Andreas Jaeger  <aj@suse.de>
48697         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48698         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48700 2012-05-23  Andreas Jaeger  <aj@suse.de>
48701             Maximilian Attems  <max@stro.at>
48703         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48704         New macros.
48706 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48708         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48709         code so that pseudo_end is just ret and the stack pointer is
48710         correct also for static library in error case.
48712 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48714         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48715         move to syscalls.list.
48716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48721         * manual/install.texi (Running make install): Do not mention Linux
48722         kernel version for which pt_chown is not needed.
48723         (Linux): Do not mention problems with nscd with 2.0 kernels.
48724         * INSTALL: Regenerated.
48726 2012-05-23  Andreas Jaeger  <aj@suse.de>
48728         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48729         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48730         macro.
48731         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48732         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48733         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48734         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48735         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48736         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48737         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48738         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48739         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48740         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48741         * sysdeps/unix/sysv/linux/bits/in.h
48742         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48744 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48746         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48747         (PREPARE_VERSION): Just use assert instead, it will be elided
48748         under [NDEBUG] anyway.
48750 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48752         * sysdeps/unix/sysv/linux/Makefile: Include
48753         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48754         (sysdep_routines): Remove sysctl.
48755         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48756         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48757         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48758         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48759         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48761 2012-05-22  Andreas Jaeger  <aj@suse.de>
48763         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48764         that pseudo_end is just ret and the stack pointer is correct also
48765         for static library in error case.
48767 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48769         [BZ #14122]
48770         * nss/nsswitch.c (defconfig_entries): New variable.
48771         (__nss_database_lookup): Don't leak defconfig entries.
48772         (nss_parse_service_list): Don't leak on error paths.
48773         (free_database_entries): New function.
48774         (free_defconfig): New function.
48775         (free_mem): Move common code to free_database_entries.
48777 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48779         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48780         Add arch_prctl.
48781         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48783         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48784         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48785         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48786         New macro.
48787         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48788         (INTERNAL_SYSCALL_TYPES): Likewise.
48789         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48790         (LOAD_REGS_TYPES_[1-6]): Likewise.
48791         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48792         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48794 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48796         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48797         copysignl for GLIBC_2_0.
48798         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48799         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48800         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48801         logbl for GLIBC_2_0.
48802         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48803         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48805 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48807         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48808         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48810         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48811         Use "neg %eax".
48813         * time/mktime.c: Update copyright years.
48815 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48817         mktime: merge comment-quoting-style change from gnulib
48818         * time/mktime.c: Quote 'like this' in comments.
48819         The GNU coding standards suggest that we no longer quote `like this',
48820         as "`" and "'" are typically rendered asymmetrically nowadays.
48821         The typical gnulib style is to quote 'like this' when quoting
48822         code, and "like this" when quoting English.
48824         * time/mktime.c (compile-command): Add "-I.".
48826         mktime: merge mktime-internal.h change from gnulib
48827         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48829         mktime: merge time_r change from gnulib
48830         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48832         mktime: merge DEBUG change from gnulib
48833         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48834         case system <time.h> has a #define.
48836         mktime: merge <sys/types.h> change from gnulib
48837         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48838         since <time.t> is now guaranteed to define time_t.
48840         mktime: merge HAVE_CONFIG_H change from gnulib
48841         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48843 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48845         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48846         Use "neg %eax".
48848         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48849         __rlim_t cast.
48850         (struct rusage): Use anonymous union to pad each field to
48851         __syscall_slong_t.
48853 2012-05-21  David S. Miller  <davem@davemloft.net>
48855         * Makefules (o-iterator): Remove .s cases.
48856         (compile-command.s): Delete.
48857         (COMPILE.s): Delete.
48858         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48860 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48862         * configure.in (libc_cv_predef_stack_protector): Only consider
48863         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48864         * configure: Regenerated.
48866 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48868         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48869         New macro.  Use R*LP on int and pointer.
48870         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48871         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48872         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48873         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48875         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48876         [__WORDSIZE_TIME64_COMPAT32] instead of
48877         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48878         (struct utmp): Likewise.
48879         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48880         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48881         Renamed to ...
48882         (__WORDSIZE_TIME64_COMPAT32): This.
48883         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48884         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48885         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48886         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48887         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48888         (__WORDSIZE_TIME64_COMPAT32): New macro.
48890 2012-05-21  Andreas Jaeger  <aj@suse.de>
48892         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48893         only if [SHARED]. Add prototype for __wcschr_ia32.
48895 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48897         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48898         of %rbp unmolested in the jmp_buf while mangling the low bits.
48899         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48900         unmolested high bits of %rbp while demangling the low bits.
48901         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48903 2012-05-21  Andreas Jaeger  <aj@suse.de>
48905         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48906         * sunrpc/svc_simple.c: Use it for registerrpc.
48907         * sunrpc/xcrypt.c: Use it for passwd2des.
48909         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48911 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48913         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48914         Don't define if [__SYSCALL_WORDSIZE != 32].
48915         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48916         New macro.
48918 2012-05-21  Bruno Haible  <bruno@clisp.org>
48919             Andreas Jaeger  <aj@suse.de>
48921         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48922         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48923         inptr and inend for must_buffer_ch.
48924         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48925         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48926         * stdio-common/Makefile (tests): Remove bug15.
48927         (bug15-ENV): Remove macro.
48928         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48929         anymore.
48931 2012-05-19  Andreas Jaeger  <aj@suse.de>
48932             Roland McGrath  <roland@hack.frob.com>
48934         * manual/contrib.texi: Completely rewritten. It contains now an
48935         alphabetical list of contributors and their contributions.
48937 2012-05-21  Richard Henderson  <rth@twiddle.net>
48939         * misc/getauxval.c (__getauxval): Use unsigned long int.
48940         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48941         (getauxval): Use unsigned long int.
48943 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48945         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48947 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48949         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48950         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48951         __alignof__ (long double).
48953 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48957 2012-05-20  Richard Henderson  <rth@twiddle.net>
48959         * misc/getauxval.c: New file.
48960         * misc/sys/auxv.h: New file.
48961         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48962         (routines): Add getauxval.
48963         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48964         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48965         * elf/dl-sysdep.c (_dl_auxv): Remove.
48966         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48967         * elf/dl-support.c (_dl_auxv): New variable.
48968         (_dl_aux_init): Initialize it.
48969         * manual/startup.texi (Auxiliary Vector): New node.
48970         * sysdeps/generic/bits/hwcap.h: New file.
48971         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48972         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48973         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48974         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48975         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48976         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48978         Update.
48979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48982         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48988 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48992 2012-05-19  David S. Miller  <davem@davemloft.net>
48994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48996 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48998         [BZ #14123]
48999         * math/s_ccosh.c: Include <float.h>
49000         (__ccosh): Avoid internal overflow calculating sinh and cosh
49001         values before multiplying by sin and cos values.
49002         * math/s_ccoshf.c: Likewise.
49003         * math/s_ccoshl.c: Likewise.
49004         * math/s_csin.c: Likewise.
49005         * math/s_csinf.c: Likewise.
49006         * math/s_csinl.c: Likewise.
49007         * math/s_csinh.c: Likewise.
49008         * math/s_csinhf.c: Likewise.
49009         * math/s_csinhl.c: Likewise.
49010         * math/libm-test.inc (ccos_test): Add more tests.
49011         (ccosh_test): Likewise.
49012         (csin_test): Likewise.
49013         (csinh_test): Likewise.
49014         * sysdeps/i386/fpu/libm-test-ulps: Update.
49015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49017 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49019         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49020         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49022         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49024 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49026         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49027         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49028         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49029         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49030         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49031         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49032         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49033         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49034         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49035         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49036         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49037         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49038         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49039         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49040         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49041         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49042         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49043         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49044         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49045         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49046         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49047         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49048         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49049         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49050         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49051         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49052         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49053         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49054         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49055         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49056         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49058 2012-05-18  Andreas Jaeger  <aj@suse.de>
49060         * csu/.gitignore: Delete.
49062 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49064         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49065         (timex): Use __syscall_slong_t.
49067 2012-05-18  Andreas Jaeger  <aj@suse.de>
49068             Carlos O'Donell  <carlos_odonell@mentor.com>
49070         * manual/install.texi (Configuring and compiling): Update
49071         description about files modified in the source directory.
49072         * INSTALL: Regenerated.
49074 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49076         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49077         value.  Use "or" to set return value to -1.
49078         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49079         negate return value.
49081 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49083         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49084         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49085         failure if the compiler has Graphite support disabled.
49086         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49087         Likewise.
49088         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49089         (CFLAGS-memmove.c): Likewise.
49090         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49091         Likewise.
49093 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49095         * sysdeps/x86_64/x32/_itoa.h: New file.
49097         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49098         getdents system call only if kernel and user dirents have the
49099         same d_ino and d_off.
49101         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49102         LLONG_MAX != LONG_MAX.
49103         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49104         (_fitoa_word): Likewise.
49106         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49107         years.
49108         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49109         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49110         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49112         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49113         include <bits/wordsize.h>.  Check __x86_64__ instead of
49114         __WORDSIZE.
49115         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49116         if __x86_64__ is defined.  Use anonymous union on fpstate.
49118         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49119         anonymous union.
49121 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49123         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49124         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49125         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49126         Refer to _rtld_local_ro instead of _rtld_global_ro.
49127         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49128         Likewise.
49129         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49130         Likewise.
49131         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49132         Likewise.
49133         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49134         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49135         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49137         * sysdeps/powerpc/powerpc32/dl-machine.c
49138         (__elf_machine_runtime_setup) [PROF]: Don't reference
49139         _dl_prof_resolve.
49141 2012-05-18  Andreas Jaeger  <aj@suse.de>
49143         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49144         function only available for GCCs before 3.4 since GCC 3.4
49145         introduced a builtin.
49146         (lrint): Likewise.
49147         (llrintf): Likewise.
49148         (llrint): Likewise.
49149         (fmaxf): Likewise.
49150         (fmax): Likewise.
49151         (fminf): Likewise.
49152         (fmin): Likewise.
49153         (rint): Likewise.
49154         (rintf): Likewise.
49155         (nearbyint): Likewise.
49156         (nearbyintf): Likewise.
49157         (ceil): Likewise.
49158         (ceilf): Likewise.
49159         (floor): Likewise.
49160         (floorf): Likewise.
49162 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49164         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49165         on both fields and cast pointer to __syscall_ulong_t.
49167         * bits/types.h (__fsword_t): New type.
49168         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49169         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49170         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49171         (__FSWORD_T_TYPE): Likewise.
49172         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49173         (__FSWORD_T_TYPE): Likewise.
49174         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49175         (__FSWORD_T_TYPE): Likewise.
49176         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49177         (__FSWORD_T_TYPE): Likewise.
49178         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49179         __SWORD_TYPE with __fsword_t.
49180         (statfs64): Likewise.
49182 2012-05-17  David S. Miller  <davem@davemloft.net>
49184         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49186 2012-05-17  Andreas Jaeger  <aj@suse.de>
49188         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49189         warning.
49191 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49193         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49195 2012-05-17  Andreas Jaeger  <aj@suse.de>
49197         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49198         when it is used.
49200 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49202         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49204 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49206         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49207         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49209 2012-05-17  Andreas Jaeger  <aj@suse.de>
49210             Carlos O'Donell  <carlos_odonell@mentor.com>
49212         [BZ #14059]
49213         * sysdeps/x86_64/multiarch/init-arch.h
49214         (bit_YMM_Usable): Rename to...
49215         (bit_AVX_Usable): ... this.
49216         (bit_FMA4_Usable): New macro.
49217         (bit_XMM_state): New macro.
49218         (bit_YMM_state): New macro.
49219         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49220         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49221         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49222         (CPUID_OSXSAVE): New macro.
49223         (CPUID_AVX): New macro.
49224         (CPUID_FMA4): New macro.
49225         (index_YMM_Usable): Rename to...
49226         (index_AVX_Usable): ... this.
49227         (HAS_AVX): Use HAS_ARCH_FEATURE.
49228         (HAS_FMA4): Likewise.
49229         (HAS_YMM_USABLE): Remove.
49230         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49231         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49232         are present.
49233         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49234         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49235         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49236         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49237         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49239 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49241         * math/libm-test.c: Support platforms without multiple rounding modes.
49242         * math/bug-nextafter.c: Support platforms without FP exceptions.
49243         * math/bug-nexttoward.c: Likewise.
49244         * math/test-fenv.c: Likewise.
49245         * math/test-misc.c: Likewise.
49246         * stdlib/bug-getcontext.c: Likewise.
49248 2012-05-17  Andreas Jaeger  <aj@suse.de>
49250         * manual/examples/search.c (critter_cmp): Change signature to
49251         avoid warnings.
49252         * manual/string.texi (Collation Functions): Likewise.
49254 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49256         * bits/types.h: Fold copyright years.
49257         * bits/typesizes.h: Likewise.
49258         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49259         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49260         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49261         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49262         * time/time.h: Likewise.
49264 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49266         [BZ #208]
49267         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49268         in instead of returning them.  Return void.
49269         (__libc_mallinfo): Accumulate over all arenas.
49270         (__malloc_stats): Adjust for change in int_mallinfo interface.
49272 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49274         [BZ #10375]
49275         * configure.in (NM): Add AC_CHECK_TOOL for it.
49276         (libc_extra_cflags): New substituted variable.
49277         Check for -fstack-protector being used implicitly.
49278         * configure: Regenerated.
49279         * config.make.in (config-extra-cflags): New variable,
49280         gets @libc_extra_cflags@.
49281         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49283         [BZ #10375]
49284         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49285         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49286         * configure: Regenerated.
49287         * config.make.in (CPPUNDEFS): New substituted variable.
49288         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49289         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49290         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49292 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49294         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49295         (mq_attr): Use __syscall_slong_t.
49297 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49299         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49300         Check __x86_64__ instead of __WORDSIZE.
49301         (_STAT_VER_LINUX): Likewise.
49302         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49303         __syscall_ulong_t and __syscall_slong_t.
49304         (stat64): Likewise.
49306 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49308         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49310 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49312         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49314 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49316         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49317         __syscall_ulong_t.
49319         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49320         include <bits/wordsize.h>.  Check __x86_64__ instead of
49321         __WORDSIZE.
49322         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49323         defined.
49324         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49326         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49327         include <bits/wordsize.h>.  Check __x86_64__ instead of
49328         __WORDSIZE.
49329         (user_regs_struct): Use "__extension__ unsigned long long"
49330         instead of "unsigned long" if __x86_64__ is defined.
49331         (user): Likewise.  Pad after pointer field if __ILP32__ is
49332         defined.
49334 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49336         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49337         versions 5 to 9.
49338         * configure: Regenerated.
49339         * manual/install.texi (texinfo): Increase version requirement to
49340         4.5 or later.
49341         * INSTALL: Regenerated.
49343         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49345 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49347         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49349         * sysdeps/x86_64/x32/ffs.c: New file.
49351         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49352         __syscall_ulong_t.
49353         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49354         defined.  Use __syscall_ulong_t.
49355         (shminfo): Use __syscall_ulong_t.
49356         (shm_info): Likewise.
49358         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49359         __syscall_ulong_t.
49361         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49362         <bits/wordsize.h>.
49363         (msgqnum_t): Use __syscall_ulong_t.
49364         (msglen_t): Likewise.
49365         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49366         __syscall_ulong_t.
49368         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49369         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49371         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49373         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49374         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49376         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49377         __syscall_slong_t.
49379         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49380         include <bits/wordsize.h>.  Check __x86_64__ instead of
49381         __WORDSIZE.
49383         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49384         "unsigned long long int" if __x86_64__ is defined.
49385         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49387         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49388         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49389         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49391         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49392         <stdint.h>.
49393         (GET_PC): Cast to uintptr_t first.
49394         (GET_FRAME): Likewise.
49395         (GET_STACK): Likewise.
49397         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49398         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49399         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49400         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49401         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49402         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49403         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49404         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49405         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49406         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49407         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49408         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49409         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49410         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49411         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49412         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49413         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49414         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49415         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49416         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49417         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49418         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49419         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49420         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49421         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49422         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49423         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49424         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49425         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49427 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49429         * Makerules (+depfiles): Also collect depfiles from .oS in
49430         $(extra-objs).
49431         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49432         .oS, $(libnldbl-routines)).
49434         * Makerules (native-compile-mkdep-flags): Define.
49435         * sunrpc/Makefile (extra-objs): Add $(addprefix
49436         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49437         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49438         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49439         calling $(make-target-directory).
49441 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49443         * bits/types.h (__snseconds_t): Removed.
49444         * time/time.h (struct timespec): Replace __snseconds_t with
49445         __syscall_slong_t.
49446         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49447         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49448         Likewise.
49449         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49450         (__SNSECONDS_T_TYPE): Likewise.
49451         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49452         (__SNSECONDS_T_TYPE): Likewise.
49453         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49454         (__SNSECONDS_T_TYPE): Likewise.
49456 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49458         * sysdeps/mach/hurd/bits/typesizes.h
49459         (__SYSCALL_SLONG_TYPE): New macro.
49460         (__SYSCALL_ULONG_TYPE): Likewise.
49462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49464         * bits/types.h (__syscall_slong_t): New type.
49465         (__syscall_ulong_t): Likewise.
49467         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49468         (__SYSCALL_ULONG_TYPE): Likewise.
49469         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49470         (__SYSCALL_SLONG_TYPE): Likewise.
49471         (__SYSCALL_ULONG_TYPE): Likewise.
49472         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49473         (__SYSCALL_SLONG_TYPE): Likewise.
49474         (__SYSCALL_ULONG_TYPE): Likewise.
49475         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49476         (__SYSCALL_SLONG_TYPE): Likewise.
49477         (__SYSCALL_ULONG_TYPE): Likewise.
49479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49481         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49482         Add sigaltstack-offsets.sym.
49483         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49484         <sigaltstack-offsets.h>.
49485         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49486         longjmp_msg pointer.
49487         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49488         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49489         signal stack.
49490         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49492 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49494         * elf/stackguard-macros.h: Remove file.
49495         * sysdeps/generic/stackguard-macros.h: New file.
49496         * sysdeps/i386/stackguard-macros.h: Likewise.
49497         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49498         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49499         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49500         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49501         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49502         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49503         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49504         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49505         <elf/stackguard-macros.h>.
49507         [BZ #14109]
49508         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49509         __aligned__ in attribute.
49510         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49511         (gregset_t): Likewise.
49513 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49515         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49516         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49517         * sysdeps/x86_64/x32/Implies-after: New file.
49519 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49521         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49522         and access return value for _dl_profile_fixup.  Use R10_LP to
49523         load frame size.
49525 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49527         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49529 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49531         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49532         * sysdeps/x86_64/x32/sysdep.h: New file.
49534 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49536         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49537         * sysdeps/x86_64/setjmp.S: Likewise.
49539 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49541         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49542         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49543         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49544         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49545         remove unused global constant.
49547 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49549         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49550         include of <not-cancel.h>.
49552 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49554         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49556 2012-05-15  Jeff Law  <law@redhat.com>
49557             Andreas Jaeger  <aj@suse.de>
49559         [BZ #13594]
49560         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49561         out from...
49562         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49563         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49564         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49565         code changing __hst_map_handle.map.
49567 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49569         * configure.in (sysnames): Look for Implies-before and Implies-after
49570         files.
49571         * configure: Regenerated.
49573 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49575         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49576         8-byte data alignment with LP_SIZE alignment.
49578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49580         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49581         into R10_LP.
49583 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49585         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49587 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49589         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49590         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49591         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49592         Likewise.
49593         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49597         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49598         (stackinfo_sub_sp): Likewise.
49600 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49602         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49603         RAX_LP.
49605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49607         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49608         into R*_LP.
49610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49612         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49613         sizes into R*_LP.
49615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49617         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49619 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49621         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49622         into R11_LP and load __x86_64_shared_cache_size_half into
49623         R8_LP.
49625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49627         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49628         R8_LP.
49630 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49632         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49633         logb for POWER7.
49634         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49635         logbf for POWER7.
49636         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49637         logbl for POWER7.
49638         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49639         powerpc32/power7/fpu/s_logb.c via #include.
49640         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49641         powerpc32/power7/fpu/s_logbf.c via #include.
49642         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49643         powerpc32/power7/fpu/s_logbl.c via #include.
49645 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49647         * README.libm: Remove file.
49649 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49651         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49652         count for x32.  Use R*_LP and omit operand-size suffix.
49654 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49656         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49657         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49658         * sysdeps/x86_64/x32/shlib-versions: New file.
49660 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49662         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49663         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49664         Use _dl_fatal_printf instead.
49666 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49668         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49669         set if not set by the user.  Do not allow for being unset.
49670         * sysdeps/unix/sysv/linux/configure: Regenerated.
49672 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49674         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49675         the `q' suffix from lea and replace .quad with ASM_ADDR.
49677 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49679         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49680         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49681         instead of $17.
49682         (PTR_DEMANGLE): Likewise.
49684 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49686         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49687         (LP_OP): Likewise.
49688         (ASM_ADDR): Likewise.
49689         (RAX_LP): Likewise.
49690         (RBP_LP): Likewise.
49691         (RBX_LP): Likewise.
49692         (RCX_LP): Likewise.
49693         (RDI_LP): Likewise.
49694         (RSI_LP): Likewise.
49695         (RSP_LP): Likewise.
49696         (R8_LP): Likewise.
49697         (R9_LP): Likewise.
49698         (R10_LP): Likewise.
49699         (R10_LP): Likewise.
49700         (R11_LP): Likewise.
49701         (R12_LP): Likewise.
49702         (R13_LP): Likewise.
49703         (R14_LP): Likewise.
49704         (R15_LP): Likewise.
49706 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49708         * sysdeps/x86_64/x32/dl-machine.h: New file.
49710 2012-05-14  Andreas Jaeger  <aj@suse.de>
49712         * manual/Makefile (subdir): Remove export of subdir.
49713         (all): Remove target.
49714         (.PHONY): Remove all from list.
49715         (mkinstalldirs): Remove.
49716         (.PHONY): Remove installdirs from list.
49717         ($(inst_infodir)/libc.info): Use make-target-directory.
49718         (installdirs): Remove.
49719         (subdir_%): Remove.
49720         (glibc-targets): Remove.
49721         (lib): Remove.
49722         (stubs): Remove.
49723         ($(objpfx)stubs ../po/manual.pot): Remove.
49724         ($(objpfx)stamp%): Remove.
49725         (make-target-directory): Remove.
49726         (subdir_install): Remove.
49727         (routines): Remove.
49728         (aux): Remove.
49729         (sources): Remove.
49730         (objects): Remove.
49731         (headers): Remove.
49733         [BZ #13750]
49734         * manual/.gitignore: Remove, it's not needed anymore.
49735         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49736         all files in it.
49737         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49738         directory.
49739         (texis): Renamed to $(objpfx)texis.
49740         (texis-path): New, contains path to generated files.
49741         (chapters.%): Use texis-path for complete path, add extra argument
49742         libc-texinfo.sh.
49743         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49744         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49745         (summary,texi, stamp-summary): Use complete path of
49746         files. Generate files in build dir.
49747         (dir-add.texi): Build in build dir.
49748         (libm-err.texi,stamp-libm-err): Likewise.
49749         (version.texi, stamp-version): Likewise.
49750         (.%c.texi): Likewise.
49751         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49752         (mostlyclean): Remove target.
49753         (realclean): Remove target.
49754         (generated): Add new variable with contents from mostlyclean and
49755         realclean, remove entries duplicated in common-mostlyclean, add
49756         stamp-libm-err and stamp-version.
49757         (generated-dirs): Add libc directory.
49758         ($(inst_infodir)/libc.info): Install files from build dir.
49760         * manual/install.texi (Configuring and compiling): Adjust since
49761         the info files are not part of the tar ball anymore.
49763 2012-05-14  Andreas Jaeger  <aj@suse.de>
49765         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49766         variable.
49768 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49770         [BZ #13717]
49771         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49772         to 2.2.0 where earlier.
49773         * sysdeps/unix/sysv/linux/configure: Regenerated.
49774         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49775         Remove conditional code.
49776         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49777         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49778         Remove conditional code.
49779         [!__NR_lchown]: Likewise.
49780         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49781         [__NR_lchown]: Likewise.
49782         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49783         comment referencing __ASSUME_LCHOWN_SYSCALL.
49784         * sysdeps/unix/sysv/linux/i386/sigaction.c
49785         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49786         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49787         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49788         Remove conditional code.
49789         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49790         (__protocol_available): Remove #if 0 code.
49791         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49792         conditional code.
49793         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49794         * sysdeps/unix/sysv/linux/kernel-features.h
49795         (__ASSUME_GETCWD_SYSCALL): Don't define.
49796         (__ASSUME_REALTIME_SIGNALS): Likewise.
49797         (__ASSUME_PREAD_SYSCALL): Likewise.
49798         (__ASSUME_PWRITE_SYSCALL): Likewise.
49799         (__ASSUME_POLL_SYSCALL): Likewise.
49800         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49801         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49802         non-SPARC.
49803         (__ASSUME_SIOCGIFNAME): Don't define.
49804         (__ASSUME_MSG_NOSIGNAL): Likewise.
49805         (__ASSUME_SENDFILE): Define unconditionally.
49806         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49807         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49808         conditional code.
49809         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49810         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49811         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49812         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49813         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49814         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49815         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49817         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49818         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49820         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49821         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49823         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49824         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49826         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49827         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49829         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49830         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49832         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49833         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49835         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49836         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49838         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49839         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49840         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49841         Remove conditional code.
49842         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49843         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49844         Remove conditional code.
49845         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49846         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49847         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49848         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49849         Remove conditional code.
49850         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49851         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49852         Remove conditional code.
49853         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49854         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49855         Remove conditional code.
49856         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49857         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49858         Remove conditional code.
49859         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49860         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49861         Remove conditional code.
49862         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49863         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49864         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49865         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49866         * sysdeps/unix/sysv/linux/sigaction.c
49867         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49868         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49869         * sysdeps/unix/sysv/linux/sigpending.c
49870         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49871         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49872         * sysdeps/unix/sysv/linux/sigprocmask.c
49873         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49874         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49875         * sysdeps/unix/sysv/linux/sigsuspend.c
49876         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49877         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49878         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49879         (__libc_missing_rt_sigs): Remove.
49880         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49881         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49882         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49883         Remove conditional code.
49884         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49885         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49886         return 1.
49887         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49888         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49889         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49890         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49892 2012-05-14  Andreas Jaeger  <aj@suse.de>
49894         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49895         it's not used in glibc.
49896         (__coshm1): Likewise.
49897         (__acosh1p): Likewise.
49898         (__sgn): Likewise.
49900         * manual/string.texi (Copying and Concatenation): Add missing
49901         variable in concat example.
49902         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49904 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49906         [BZ #14103]
49907         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49908         __builtin_clzl with __builtin_clzll.
49910 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49912         [BZ #14104]
49913         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49914         libc_freeres_ptr.
49916 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49918         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49919         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49920         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49921         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49923 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49925         * NEWS: Update ia64 info.
49927 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49929         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49930         used as bcopy.
49932 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49934         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49935         * sysdeps/unix/syscalls.list (dup3): Likewise.
49936         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49937         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49939 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49941         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49942         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49944 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49946         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49947         thread pointer.
49948         (TLS_IE): Use mov/add instead of movq/addq to load thread
49949         pointer.
49950         (TLS_GD_PREFIX): New.
49951         (TLS_GD): Use it.
49953 2012-05-11  David S. Miller  <davem@davemloft.net>
49955         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49956         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49957         (_FPU_SETCW): Likewise.
49959 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49961         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49962         is 32-byte aligned.
49964 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49966         [BZ #11837]
49967         * iconvdata/gb18030.c: Update tables.
49968         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49969         characters specially.
49970         (BODY for TO_LOOP): Add encoding of missing ranges.
49972 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49974         [BZ #13673]
49975         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49976         * sysdeps/mach/hurd/dup3.c: Likewise.
49977         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49978         * sysdeps/powerpc/memmove.c:: Likewise.
49980 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49982         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49983         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49985 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49987         * elf/elf.h (R_X86_64_RELATIVE64): New.
49988         (R_X86_64_NUM): Updated.
49989         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49990         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49991         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49992         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49993         tst-quad1pie tst-quad2pie
49994         (modules-names): Add tst-quadmod1 tst-quadmod2.
49995         ($(objpfx)tst-quad1): New dependency.
49996         ($(objpfx)tst-quad2): Likewise.
49997         ($(objpfx)tst-quad1pie): Likewise.
49998         ($(objpfx)tst-quad2pie): Likewise.
49999         * sysdeps/x86_64/tst-quad1.c: New file.
50000         * sysdeps/x86_64/tst-quad1pie.c: New file.
50001         * sysdeps/x86_64/tst-quad2.c: Likewise.
50002         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50003         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50004         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50005         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50006         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50008 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50010         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50011         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50012         * streams/stropts.h (t_scalar_t): Define type.
50014         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50015         (_PATH_PRESERVE): Set to "/var/lib".
50016         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50018         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50019         instead of int.
50021         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50022         if __dir_mkfile succeeded.
50024         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50025         checking for _hurd_dtablesize.  Unlock it right after having
50026         finished _hurd_dtable allocation.
50028 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50030         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50031         * sysdeps/mach/hurd/configure: Regenerated.
50032         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50033         special-casing to...
50034         * sysdeps/gnu/configure.in: ... this new file.
50035         * sysdeps/unix/sysv/linux/configure: Regenerated.
50036         * sysdeps/gnu/configure: New generated file.
50038         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50039         for Linux: use nsec instead of usec, as well as:
50040         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50041         members of type struct timespec.
50042         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50043         New macros.
50044         (struct stat64): Likewise.
50045         (_STATBUF_ST_NSEC): New macro.
50046         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50048         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50049         __strtoul_internal rather than strtoul.
50051 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50053         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50054         and reject them.
50056 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50058         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50059         which preserves existing values.
50060         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50062 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50064         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50065         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50066         greater than FD_SETSIZE.
50068 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50070         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50071         allocated, call __vm_protect to finish enabling the existing space, and
50072         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50073         allocate the remainder.
50075 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50077         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50078         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50080 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50082         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50083         sysdeps/mach/hurd/readlink.c.
50085         * posix/tst-sysconf.c (posix_options): Only use
50086         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50087         _POSIX_SYNCHRONIZED_IO when they are defined
50088         * sysdeps/mach/hurd/bits/posix_opt.h:
50089         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50090         (_XOPEN_REALTIME): Undefine macro.
50091         (_XOPEN_REALTIME_THREADS): Undefine macro.
50092         (_XOPEN_SHM): Undefine macro.
50093         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50094         macro to -1.
50095         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50096         macro to -1.
50097         (_POSIX_ASYNC_IO): Undefine macro.
50098         (_POSIX_PRIORITIZED_IO): Undefine macro.
50099         (_POSIX_SPIN_LOCKS): Define macro to -1.
50101         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50102         SA_NODEFER, SA_RESETHAND.
50103         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50104         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50105         F_DUPFD_CLOEXEC.
50107 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50109         * elf/Makefile (pldd-modules): Define unconditionally.
50111 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50113         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50115 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50117         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50118         Return ENOENT when name is empty.
50119         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50121 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50123         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50125         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50127 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50129         Fix mlock in all cases except non-readable pages.
50130         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50131         instead of VM_PROT_ALL as parameter to __vm_wire function.
50133         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50134         (__mkdir): When path is `/', just fail with EEXIST.
50135         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50137 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50139         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50140         <sys/uio.h> (for writev).
50141         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50142         and <sys/param.h> (for MIN).
50144 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50146         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50147         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50148         if interrupted.
50150 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50152         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50153         Depend on against $(link-rpcuserlibs).
50155 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50157         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50158         (__libc_stack_end): Do not use attribute_relro.
50159         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50160         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50161         to libthread-provided value.
50162         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50163         attribute_relro.
50165 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50167         [BZ #3748]
50168         * bits/libc-lock.h (__libc_once_get): New macro.
50169         * sysdeps/mach/bits/libc-lock.h: Likewise.
50170         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50171         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50172         instead of using implementation details.
50174         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50175         * libio/freopen.c: Likewise.
50176         * libio/freopen64.c: Likewise.
50177         * misc/syslog.c: Likewise.
50178         * nscd/connections.c: Likewise.
50179         * nscd/netgroupcache.c: Likewise.
50180         * sysdeps/posix/getcwd.c: Likewise.
50182 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50184         * math/w_ilogbf.c: Add #include <limits.h>.
50186 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50188         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50189         path instead of returning without unlocking.
50191         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50192         immediate-write ioctls.
50193         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50195 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50197         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50198         __builtin_frame_address instead of making assumptions about the
50199         location of the return address relative to DATA.  Force early load of
50200         the return address.
50201         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50202         __builtin_frame_address.
50204         dup3 for GNU Hurd.
50205         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50206         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50207         implement dup3 and do some further code clean-ups.
50208         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50209         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50211 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50213         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50215         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50216         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50217         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50218         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50219         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50220         d->port.lock.
50222         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50223         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50224         when handler == SIG_ERR, not when handler != SIG_ERR.
50226 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50228         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50229         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50230         definitions.
50232         accept4 for GNU Hurd.
50233         * include/sys/socket.h (__libc_accept4): New prototype.
50234         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50235         to implement __libc_accept4.
50236         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50237         __libc_accept4.
50238         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50240         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50241         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50242         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50243         signal-defines.sym.
50245 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50247         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50249 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50251         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50252         assertion on O_CLOEXEC flag.
50253         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50254         * hurd/intern-fd.c: Likewise.
50255         * hurd/port2fd.c: Likewise.
50257 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50259         [BZ #3906]
50260         * bits/in.h (IPV6_PKTINFO): Define new macro.
50261         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50263 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50265         [BZ #13954]
50266         [BZ #13955]
50267         [BZ #13956]
50268         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50269         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50270         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50271         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50272         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50273         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50274         * math/libm-test.inc (logb_test) : Additional logb tests.
50276 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50277             Andreas Jaeger  <aj@suse.de>
50279         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50280         * configure: Regenerated.
50281         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50282         * config.make.in (link-obsolete-rpc): New substituted variable.
50283         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50284         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50285         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50286         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50287         so that libc.a contains the symbols.
50288         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50289         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50290         * sunrpc/auth_none.c: Likewise.
50291         * sunrpc/auth_unix.c: Likewise.
50292         * sunrpc/authdes_prot.c: Likewise.
50293         * sunrpc/authuxprot.c: Likewise.
50294         * sunrpc/clnt_gen.c: Likewise.
50295         * sunrpc/clnt_perr.c: Likewise.
50296         * sunrpc/clnt_raw.c: Likewise.
50297         * sunrpc/clnt_simp.c: Likewise.
50298         * sunrpc/clnt_tcp.c: Likewise.
50299         * sunrpc/clnt_udp.c: Likewise.
50300         * sunrpc/clnt_unix.c: Likewise.
50301         * sunrpc/des_crypt.c: Likewise.
50302         * sunrpc/des_soft.c: Likewise.
50303         * sunrpc/get_myaddr.c: Likewise.
50304         * sunrpc/key_call.c: Likewise.
50305         * sunrpc/key_prot.c: Likewise.
50306         * sunrpc/netname.c: Likewise.
50307         * sunrpc/pm_getmaps.c: Likewise.
50308         * sunrpc/pm_getport.c: Likewise.
50309         * sunrpc/pmap_clnt.c: Likewise.
50310         * sunrpc/pmap_prot.c: Likewise.
50311         * sunrpc/pmap_prot2.c: Likewise.
50312         * sunrpc/pmap_rmt.c: Likewise.
50313         * sunrpc/publickey.c: Likewise.
50314         * sunrpc/rpc_cmsg.c: Likewise.
50315         * sunrpc/rpc_common.c: Likewise.
50316         * sunrpc/rpc_dtable.c: Likewise.
50317         * sunrpc/rpc_prot.c: Likewise.
50318         * sunrpc/rpc_thread.c: Likewise.
50319         * sunrpc/rtime.c: Likewise.
50320         * sunrpc/svc.c: Likewise.
50321         * sunrpc/svc_auth.c: Likewise.
50322         * sunrpc/svc_raw.c: Likewise.
50323         * sunrpc/svc_run.c: Likewise.
50324         * sunrpc/svc_tcp.c: Likewise.
50325         * sunrpc/svc_udp.c: Likewise.
50326         * sunrpc/svc_unix.c: Likewise.
50327         * sunrpc/svcauth_des.c: Likewise.
50328         * sunrpc/xcrypt.c: Likewise.
50329         * sunrpc/xdr.c: Likewise.
50330         * sunrpc/xdr_array.c: Likewise.
50331         * sunrpc/xdr_float.c: Likewise.
50332         * sunrpc/xdr_intXX_t.c: Likewise.
50333         * sunrpc/xdr_mem.c: Likewise.
50334         * sunrpc/xdr_rec.c: Likewise.
50335         * sunrpc/xdr_ref.c: Likewise.
50336         * sunrpc/xdr_sizeof.c: Likewise.
50337         * sunrpc/xdr_stdio.c: Likewise.
50339 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50341         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50342         change.  Update copyright years.
50344 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50346         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50348 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50349             Joseph Myers  <joseph@codesourcery.com>
50350             Paul Pluzhnikov  <ppluzhnikov@google.com>
50352         [BZ #14012]
50353         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50354         requiring rpcgen.
50355         [cross-compiling] (extra-libs): Likewise.
50356         [cross-compiling] (extra-libs-others): Likewise.
50357         [cross-compiling] (librpcsvc-routines): Likewise.
50358         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50359         [cross-compiling] (omit-deps): Likewise.
50360         (sunrpc-CPPFLAGS): New variable.
50361         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50362         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50363         (cross-rpcgen-objs): New variable.
50364         (extra-objs): Append $(cross-rpcgen-objs).
50365         ($(cross-rpcgen-objs)): New rule.
50366         ($(objpfx)cross-rpcgen): Likewise.
50367         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50368         comment.
50369         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50370         ($(objpfx)x%.stmp): Likewise.
50371         * sunrpc/proto.h [IS_IN_build] (_): Define.
50372         [IS_IN_build] (_libc_intl_domainname): Likewise.
50374 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50376         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50377         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50378         and R_X86_64_TPOFF64.
50380 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50382         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50383         sysdeps/unix/sysv/syscalls.list.
50384         (stime): Likewise.
50385         (utime): Likewise.
50386         * sysdeps/unix/sysv/syscalls.list: Remove file.
50388 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50390         [BZ #3440]
50391         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50392         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50393         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50394         (__LC_IDENTIFICATION): Make these macros useful in #if
50395         expressions, as required by C99.
50397 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50399         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50400         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50401         after this.
50403 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50405         * stdlib/longlong.h: Updated from GCC.
50407 2012-05-09  Andreas Jaeger  <aj@suse.de>
50409         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50410         default is first entry.
50411         (run_mode): Set type.
50412         (main): Remove informal message about syslog.
50413         (options): Fix typo.
50415         [BZ #14053]
50416         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50417         to asm.
50418         (lrint): Likewise.
50419         (llrintf): Likewise.
50420         (llrint): Likewise.
50421         (rint): Likewise.
50422         (rintf): Likewise.
50423         (nearbyint): Likewise.
50424         (nearbyintf): Likewise.
50426 2012-05-09  Andreas Jaeger  <aj@suse.de>
50427             Pedro Alves  <palves@redhat.com>
50429         * nscd/nscd.c (run_mode): Use enum.
50430         (main): Cleanup coding style issue.
50432 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50433             Andreas Jaeger  <aj@suse.de>
50435         * nscd/nscd.c (go_background): Replaced with...
50436         (run_mode): ... this.
50437         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50438         (options): Add -F --foreground.
50439         (main): Implement it.
50440         (parse_opt): Parse it.
50442 2012-05-09  Andreas Jaeger  <aj@suse.de>
50444         [BZ #14083]
50445         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50446         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50447         -Wconversion warning.
50448         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50449         Likewise.
50451 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50453         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50454         == 0.
50455         (LC_ALL): Use macro-int-constant.
50456         (LC_COLLATE): Likewise.
50457         (LC_CTYPE): Likewise.
50458         (LC_MESSAGES): Likewise.
50459         (LC_MONETARY): Likewise.
50460         (LC_NUMERIC): Likewise.
50461         (LC_TIME): Likewise.
50462         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50463         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50464         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50465         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50466         Specify type.
50467         [C99-based standards] (float_t): Expect type.
50468         [C99-based standards] (double_t): Expect type.
50469         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50470         type.
50471         [C99-based standards] (HUGE_VALL): Likewise.
50472         [C99-based standards] (INFINITY): Likewise.
50473         [C99-based standards] (NAN): Likewise.
50474         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50475         [C99-based standards] (FP_NAN): Likewise.
50476         [C99-based standards] (FP_NORMAL): Likewise.
50477         [C99-based standards] (FP_SUBNORMAL): Likewise.
50478         [C99-based standards] (FP_ZERO): Likewise.
50479         [C99-based standards] (FP_FAST_FMA): Use
50480         optional-macro-int-constant.  Specify type.  Require == 1.
50481         [C99-based standards] (FP_FAST_FMAF): Likewise.
50482         [C99-based standards] (FP_FAST_FMAL): Likewise.
50483         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50484         [C99-based standards] (FP_ILOGBNAN): Likewise.
50485         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50486         Specify type.
50487         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50488         [C99-based standards] (math_errhandling): Specify type.
50489         [ISO99 || ISO11] (signgam): Do not allow.
50490         [non-C99-based standards] (copysignf): Do not allow.
50491         [non-C99-based standards] (exp2f): Likewise.
50492         [non-C99-based standards] (log2f): Likewise.
50493         [non-C99-based standards] (modff): Allow.
50494         [non-C99-based standards] (erff): Do not allow.
50495         [non-C99-based standards] (erfcf): Likewise.
50496         [non-C99-based standards] (gammaf): Likewise.
50497         [non-C99-based standards] (hypotf): Likewise.
50498         [non-C99-based standards] (j0f): Likewise.
50499         [non-C99-based standards] (j1f): Likewise.
50500         [non-C99-based standards] (jnf): Likewise.
50501         [non-C99-based standards] (lgammaf): Likewise.
50502         [non-C99-based standards] (tgammaf): Likewise.
50503         [non-C99-based standards] (y0f): Likewise.
50504         [non-C99-based standards] (y1f): Likewise.
50505         [non-C99-based standards] (ynf): Likewise.
50506         [non-C99-based standards] (isnanf): Likewise.
50507         [non-C99-based standards] (acoshf): Likewise.
50508         [non-C99-based standards] (asinhf): Likewise.
50509         [non-C99-based standards] (atanhf): Likewise.
50510         [non-C99-based standards] (cbrtf): Likewise.
50511         [non-C99-based standards] (expm1f): Likewise.
50512         [non-C99-based standards] (ilogbf): Likewise.
50513         [non-C99-based standards] (log1pf): Likewise.
50514         [non-C99-based standards] (logbf): Likewise.
50515         [non-C99-based standards] (nextafterf): Likewise.
50516         [non-C99-based standards] (remainderf): Likewise.
50517         [non-C99-based standards] (rintf): Likewise.
50518         [non-C99-based standards] (scalbf): Likewise.
50519         [non-C99-based standards] (copysignl): Likewise.
50520         [non-C99-based standards] (exp2l): Likewise.
50521         [non-C99-based standards] (log2l): Likewise.
50522         [non-C99-based standards] (modfl): Allow.
50523         [non-C99-based standards] (erfl): Do not allow.
50524         [non-C99-based standards] (erfcl): Likewise.
50525         [non-C99-based standards] (gammal): Likewise.
50526         [non-C99-based standards] (hypotl): Likewise.
50527         [non-C99-based standards] (j0l): Likewise.
50528         [non-C99-based standards] (j1l): Likewise.
50529         [non-C99-based standards] (jnl): Likewise.
50530         [non-C99-based standards] (lgammal): Likewise.
50531         [non-C99-based standards] (tgammal): Likewise.
50532         [non-C99-based standards] (y0l): Likewise.
50533         [non-C99-based standards] (y1l): Likewise.
50534         [non-C99-based standards] (ynl): Likewise.
50535         [non-C99-based standards] (isnanl): Likewise.
50536         [non-C99-based standards] (acoshl): Likewise.
50537         [non-C99-based standards] (asinhl): Likewise.
50538         [non-C99-based standards] (atanhl): Likewise.
50539         [non-C99-based standards] (cbrtl): Likewise.
50540         [non-C99-based standards] (expm1l): Likewise.
50541         [non-C99-based standards] (ilogbl): Likewise.
50542         [non-C99-based standards] (log1pl): Likewise.
50543         [non-C99-based standards] (logbl): Likewise.
50544         [non-C99-based standards] (nextafterl): Likewise.
50545         [non-C99-based standards] (remainderl): Likewise.
50546         [non-C99-based standards] (rintl): Likewise.
50547         [non-C99-based standards] (scalbl): Likewise.
50548         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50549         [non-C99-based standards] (FP_*): Do not allow.
50550         [C99-based standards] (FP_*): Change to
50551         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50552         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50553         allow.
50554         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50555         (SIG_ERR): Likewise.
50556         [X/Open-based standards] (SIG_HOLD): Likewise.
50557         (SIG_IGN): Likewise.
50558         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50559         positive value.
50560         (SIGFPE): Likewise.
50561         (SIGILL): Likewise.
50562         (SIGINT): Likewise.
50563         (SIGSEGV): Likewise.
50564         (SIGTER): Likewise.
50565         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50566         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50567         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50568         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50569         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50570         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50571         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50572         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50573         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50574         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50575         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50576         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50577         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50578         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50579         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50580         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50581         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50582         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50583         [X/Open-based standards] (SIGTRAP): Likewise.
50584         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50585         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50586         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50587         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50588         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50589         allow.
50591 2012-05-08  Ian Wienand  <ianw@vmware.com>
50593         [BZ #14080]
50594         * time/tzset.c (__tzset_parse_tz): Update default rules for
50595         daylight time changes in the Energy Policy Act of 2005.
50597 2012-05-09  Andreas Jaeger  <aj@suse.de>
50599         [BZ #13983]
50600         * elf/ldconfig.c (parse_conf): Change string to make clear that
50601         ldconfig only issued a warning if ld.so.conf does not exist.
50603 2012-05-08  David S. Miller  <davem@davemloft.net>
50605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50606         movxtod instead of popping the value on the stack.
50608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50610 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50612         * config.h.in: Add HAVE_ARM_PCS_VFP.
50614 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50616         [BZ #13979]
50617         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50618         checking but the checks are disabled for any reason.
50620 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50622         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50623         and ELF64_R_TYPE with ELFW(R_TYPE).
50625 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50627         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50628         (ulimit): Likewise.
50630         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50631         (settimeofday): Likewise.
50633 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50635         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50636         a struct th_u2 inside the union, and move tu_block/tu_code into
50637         a new th_u3 union of tu_block/tu_code inside of that.  Move
50638         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50639         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50640         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50641         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50642         (th_stuff): Change to th_u1.tu_stuff.
50643         (th_data): Define.
50644         (th_msg): Change to th_u1.th_u2.tu_data.
50646 2012-05-07  David S. Miller  <davem@davemloft.net>
50648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50650         [BZ #14074]
50651         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50652         (SETUP_PIC_REG): Use it.
50653         (SETUP_PIC_REG_LEAF): Use it.
50655 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50657         [BZ #13885]
50658         [BZ #13923]
50659         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50660         USE_AS_EXPM1L.
50661         (EXPL_FINITE): Likewise.
50662         (FLDLOG): Likewise.
50663         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50664         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50665         e_expl.S.
50666         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50667         USE_AS_EXPM1L.
50668         (EXPL_FINITE): Likewise.
50669         (FLDLOG): Likewise.
50670         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50671         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50672         e_expl.S.
50673         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50674         test of -max_value argument for long double.
50675         * sysdeps/i386/fpu/libm-test-ulps: Update.
50676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50678 2012-05-06  David S. Miller  <davem@davemloft.net>
50680         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50681         quad soft-float symbols whose references which are compiler
50682         generated.
50683         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50685 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50687         [BZ #13884]
50688         [BZ #13914]
50689         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50690         USE_AS_EXP10L.
50691         (EXPL_FINITE): Likewise.
50692         (FLDLOG): Likewise.
50693         (c0): Likewise.
50694         (c1): Likewise.
50695         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50696         Adjust comments for base varying.
50697         (__expl_finite): Change alias to EXPL_FINITE.
50698         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50699         e_expl.S.
50700         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50701         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50702         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50703         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50704         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50705         USE_AS_EXP10L.
50706         (EXPL_FINITE): Likewise.
50707         (FLDLOG): Likewise.
50708         (c0): Likewise.
50709         (c1): Likewise.
50710         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50711         Adjust comments for base varying.
50712         (__expl_finite): Change alias to EXPL_FINITE.
50713         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50714         tests for bugs.
50715         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50717         [BZ #14064]
50718         * math/libm-test.inc (check_float_internal): Correct ulp
50719         calculation for subnormal expected results.
50721 2012-05-06  Andreas Jaeger  <aj@suse.de>
50723         * Makeconfig (+math-flags): New, set to -frounding-math.
50724         (+cflags): Add +math-flags so that all of glibc gets compiled with
50725         it.
50727         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50729 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50731         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50732         Disable one test.
50734         [BZ #13787]
50735         [BZ #13922]
50736         [BZ #14036]
50737         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50738         (__ieee754_expl): Allow for and saturate large arguments.
50739         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50740         (u_threshold): Likewise.
50741         (__exp): Call __ieee754_exp before checking for overflow and
50742         underflow.
50743         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50744         (u_threshold): Likewise.
50745         (__expf): Call __ieee754_expf before checking for overflow and
50746         underflow.
50747         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50748         (u_threshold): Likewise.
50749         (__expl): Call __ieee754_expl before checking for overflow and
50750         underflow.
50751         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50752         (__ieee754_expl): Allow for and saturate large arguments.
50753         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50754         missing overflow exception on overflow.
50755         (expm1_test): Do not allow missing overflow exception on overflow.
50757         * sysdeps/i386/fpu/e_expl.c: Move to ...
50758         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50759         rather than using inline asm.
50760         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50761         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50762         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50764         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50765         (nice): Likewise.
50766         (poll): Likewise.
50767         (signal): Likewise.
50768         (time): Likewise.
50769         (times): Likewise.
50771 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50773         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50774         sysdeps/unix/common/syscalls.list.
50775         (fchmod): Likewise.
50776         (fchown): Likewise.
50777         (ftruncate): Likewise.
50778         (getrusage): Likewise.
50779         (gettimeofday): Likewise.
50780         (setpgid): Likewise.
50781         (setregid): Likewise.
50782         (setreuid): Likewise.
50783         (sigaction): Likewise.
50784         (truncate): Likewise.
50785         (vhangup): Likewise.
50786         * sysdeps/unix/common/syscalls.list: Remove file.
50787         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50788         * sysdeps/unix/sysv/linux/Implies: Likewise.
50790 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50792         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50794         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50795         Moved to ...
50796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50797         Here.
50798         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50799         to ...
50800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50801         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50802         to ...
50803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50804         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50805         to ...
50806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50807         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50808         to ...
50809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50810         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50811         to ...
50812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50813         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50814         to ...
50815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50816         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50817         to ...
50818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50819         Here.
50820         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50821         to ...
50822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50823         Here.
50824         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50825         to ...
50826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50827         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50828         Moved to ...
50829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50830         Here.
50831         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50832         to ...
50833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50835 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50837         * sysdeps/unix/common/bits/dirent.h: Remove file.
50838         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50840         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50841         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50842         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50843         * sysdeps/unix/bsd/isatty.c: Likewise.
50844         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50845         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50846         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50848 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50850         [BZ #13563]
50851         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50852         long double comparison inaccuracies.
50853         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50856 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50858         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50859         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50861 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50863         [BZ #14049]
50864         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50865         nonzero digits before rounding a hex value.
50866         * stdlib/tst-strtod.c (tests): Add another test.
50868 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50870         * sysdeps/s390/fpu/libm-test-ulps: Update.
50872 2012-05-03  Andreas Jaeger  <aj@suse.de>
50874         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50875         does not get optimized out.
50876         (malloc_opt_barrier): New.
50878 2012-05-03  Andreas Jaeger  <aj@suse.de>
50879             Roland McGrath  <roland@hack.frob.com>
50881         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50882         intermediate file deletion.
50883         (generated): Add .symlist files.
50885 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50887         [BZ #13775]
50888         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50889         Redirect under this condition.
50890         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50891         [__USE_GNU] (__dprintf_chk): Not under this condition.
50892         [__USE_GNU] (__vdprintf_chk): Likewise.
50893         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50894         under this condition.
50895         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50896         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50897         [__USE_XOPEN2K8] (vdprintf): Likewise.
50898         [__USE_GNU] (__dprintf_chk): Not under this condition.
50899         [__USE_GNU] (__vdprintf_chk): Likewise.
50900         [__USE_GNU] (dprintf): Likewise.
50901         [__USE_GNU] (vdprintf): Likewise.
50903 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50905         * elf/Makefile (common-generated): Set this instead of generated for
50906         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50907         $(all-built-dso)-derived lists.
50909 2012-05-03  Andreas Jaeger  <aj@suse.de>
50911         * sysdeps/i386/fpu/libm-test-ulps: Update.
50913         * FAQ: Removed.
50914         * FAQ.in: Likewise.
50915         * scripts/gen-FAQ.pl: Likewise.
50916         * manual/install.texi (Installation): Point to online location of
50917         FAQ.
50918         * Makefile (files-for-dist): Remove FAQ.
50919         (FAQ): Remove.
50921 2012-05-02  Allan McRae  <allan@archlinux.org>
50923         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50924         (LDFLAGS-reldepmod5.so): Likewise.
50925         (LDFLAGS-reldep6mod1.so): Likewise.
50926         (LDFLAGS-reldep6mod4.so): Likewise.
50927         (LDFLAGS-reldep8mod3.so): Likewise.
50928         (LDFLAGS-unload4mod1.so): Likewise.
50929         (LDFLAGS-unload4mod2.so): Likewise.
50930         (LDFLAGS-tst-initorder): Likewise.
50931         (LDFLAGS-tst-initordera2.so): Likewise.
50932         (LDFLAGS-tst-initordera3.so): Likewise.
50933         (LDFLAGS-tst-initordera4.so): Likewise.
50934         (LDFLAGS-tst-initorderb2.so): Likewise.
50935         (LDFLAGS-noload): Likewise.
50936         (LDFLAGS-next): Likewise.
50937         (LDFLAGS-order2mod1.so): Likewise.
50938         (LDFLAGS-order2mod2.so): Likewise.
50939         (LDFLAGS-tst-initorder2): Likewise.
50940         (LDFLAGS-tst-initorder2a.so): Likewise.
50941         (LDFLAGS-tst-initorder2b.so): Likewise.
50942         (LDFLAGS-tst-initorder2c.so): Likewise.
50943         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50945 2012-05-02  David S. Miller  <davem@davemloft.net>
50947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50949 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50951         [BZ #14055]
50952         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50954 2012-05-02  Andreas Jaeger  <aj@suse.de>
50956         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50957         since we manipulate rounding mode.
50958         (CPPFLAGS-test-idouble.c): Likewise.
50959         (CPPFLAGS-test-ifloat.c): Likewise.
50960         (CFLAGS-test-ldouble.c): Likewise.
50961         (CFLAGS-test-double.c): Likewise.
50962         (CFLAGS-test-float.c): Likewise.
50963         (CFLAGS-test-misc.c): Likewise.
50964         (CFLAGS-test-test-fenv.c): Likewise.
50966 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50968         [BZ #2550]
50969         [BZ #2570]
50970         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50971         comparisons to determine direction to adjust input.
50973 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50975         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50976         output to the target.
50978         * scripts/localplt.awk: New file.
50979         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50980         (check-localplt-CFLAGS): Variable removed.
50981         ($(all-built-dso:=.jmprel)): New static pattern rule.
50982         (generated): Add those targets.
50983         (localplt-built-dso): New variable.
50984         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50986         * elf/check-localplt.c: File removed.
50988         * scripts/check-execstack.awk: New file.
50989         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50990         (check-execstack-CFLAGS): Variable removed.
50991         ($(objpfx)check-execstack.h): Target removed.
50992         ($(objpfx)execstack-default): New target.
50993         (generated): Add that instead of check-execstack.h.
50994         ($(all-built-dso:=.phdr)): New static pattern rule.
50995         (generated): Add those targets.
50996         * elf/check-execstack.c: File removed.
50998         * scripts/check-textrel.awk: New file.
50999         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51000         (check-textrel-CFLAGS): Variable removed.
51001         (all-built-dso): Use := to define.o
51002         ($(all-built-dso:=.dyn)): New static pattern rule.
51003         (generated): Add those targets.
51004         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51005         * config.make.in (READELF): New substituted variable.
51006         * elf/check-textrel.c: File removed.
51008 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51010         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51011         allow.
51012         * conform/data/ctype.h-data [C99-based standards] (isblank):
51013         Expect function.
51014         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51015         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51016         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51017         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51018         Specify type.  Require positive value.
51019         (EILSEQ): Likewise.
51020         (ERANGE): Likewise.
51021         [ISO || POSIX] (EILSEQ): Do not expect.
51022         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51023         Specify type.  Require positive value.
51024         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51025         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51026         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51027         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51028         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51029         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51030         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51031         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51032         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51033         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51034         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51035         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51036         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51037         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51038         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51039         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51040         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51041         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51042         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51043         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51044         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51045         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51046         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51047         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51048         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51049         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51050         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51051         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51052         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51053         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51054         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51055         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51056         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51057         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51058         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51059         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51060         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51061         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51062         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51063         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51064         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51065         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51066         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51067         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51068         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51069         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51070         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51071         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51072         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51073         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51074         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51075         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51076         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51077         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51078         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51079         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51080         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51081         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51082         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51083         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51084         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51085         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51086         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51087         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51088         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51089         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51090         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51091         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51092         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51093         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51094         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51095         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51096         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51097         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51098         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51099         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51100         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51101         Require >= 2.
51102         (FLT_ROUNDS): Expect as macro, not constant.
51103         (FLT_MANT_DIG): Use macro-int-constant.
51104         (DBL_MANT_DIG): Likewise.
51105         (LDBL_MANT_DIG): Likewise.
51106         (FLT_DIG): Likewise.
51107         (DBL_DIG): Likewise.
51108         (LDBL_DIG): Likewise.
51109         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51110         (DBL_MIN_EXP): Likewise.
51111         (LDBL_MIN_EXP): Likewise.
51112         (FLT_MAX_EXP): Use macro-int-constant.
51113         (DBL_MAX_EXP): Likewise.
51114         (LDBL_MAX_EXP): Likewise.
51115         (FLT_MAX_10_EXP): Likewise.
51116         (DBL_MAX_10_EXP): Likewise.
51117         (LDBL_MAX_10_EXP): Likewise.
51118         (FLT_MAX): Use macro-constant.
51119         (DBL_MAX): Likewise.
51120         (LDBL_MAX): Likewise.
51121         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51122         (DBL_EPSILON): Likewise.
51123         (LDBL_EPSILON): Likewise.
51124         (FLT_MIN): Likewise.
51125         (DBL_MIN): Likewise.
51126         (LDBL_MIN): Likewise.
51127         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51128         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51129         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51130         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51131         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51132         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51133         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51134         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51135         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51136         [ISO11] (FLT_TRUE_MIN): Likewise.
51137         [ISO11] (LDBL_TRUE_MIN): Likewise.
51138         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51139         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51140         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51141         (SCHAR_MAX): Likewise.
51142         (UCHAR_MAX): Likewise.
51143         (CHAR_MIN): Likewise.
51144         (CHAR_MAX): Likewise.
51145         (MB_LEN_MAX): Use macro-int-constant.
51146         (SHRT_MIN): Use macro-int-constant.  Specify type.
51147         (SHRT_MAX): Likewise.
51148         (USHRT_MAX): Likewise.
51149         (INT_MAX): Likewise.
51150         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51151         bound negative.
51152         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51153         bound with "U".
51154         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51155         bound with "L".
51156         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51157         bound negative.  Suffix upper bound with "L".
51158         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51159         bound with "UL".
51160         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51161         Specify type.
51162         [C99-based standards] (LLONG_MAX): Likewise.
51163         [C99-based standards] (ULLONG_MAX): Likewise.
51164         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51165         == 0.
51166         [ISO11] (max_align_t): Require type.
51167         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51169         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51170         from $CFLAGS, without defining away __attribute__ calls.
51171         (checknamespace): Use $CFLAGS_namespace.
51173         * conform/conformtest.pl (@keywords): Only include C99 keywords
51174         for standards based on C99 or C11.
51176         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51177         Disable tests.
51178         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51179         UNIX98]: Likewise.
51181         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51182         usability of symbols in #if.
51184         * conform/conformtest.pl: If macro or constant types start
51185         "promoted:", expect the symbol to be of the following type
51186         promoted by the integer promotions.
51188         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51189         in one place.  Also handle "macro-constant".
51191         * conform/conformtest.pl: Only accept expected macro values with
51192         "==".  Parse all "macro" lines in one place.
51193         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51195         * conform/conformtest.pl: Handle braced types on "constant" lines
51196         instead of handling "typed-constant".
51197         * conform/data/signal.h-data: Use "constant" instead of
51198         "typed-constant".
51200         * conform/conformtest.pl: Handle "optional-" at start of lines in
51201         one place rather than duplicating several cases.  Handle each
51202         format of "macro" line with initial "optional-".
51204         * conform/conformtest.pl: Only accept expected constant or
51205         optional-constant values with "==".  Parse all "constant" lines in
51206         one place.  Parse all "optional-constant" lines in one place.
51207         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51208         * conform/data/fmtmsg.h-data: Likewise.
51209         * conform/data/netinet/in.h-data: Likewise.
51210         * conform/data/tar.h-data: Likewise.
51211         * conform/data/limits.h-data: Use "==" form on "constant" and
51212         "optional-constant" lines.
51214         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51215         Use -std=c99 for XOPEN2K.
51216         (@knownproblems): Remove.
51217         (newtoken): Don't check %isknown.
51219         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51220         Do not expect macro.
51221         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51222         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51223         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51224         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51225         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51226         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51227         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51228         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51229         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51230         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51231         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51232         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51233         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51234         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51235         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51236         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51237         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51238         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51239         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51240         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51241         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51242         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51243         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51244         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51245         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51246         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51247         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51248         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51249         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51250         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51251         [XPG3] (acosh): Likewise.
51252         [XPG3] (asinh): Likewise.
51253         [XPG3] (atanh): Likewise.
51254         [XPG3] (cbrt): Likewise.
51255         [XPG3] (expm1): Likewise.
51256         [XPG3] (ilogb): Likewise.
51257         [XPG3] (log1p): Likewise.
51258         [XPG3] (logb): Likewise.
51259         [XPG3] (nextafter): Likewise.
51260         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51261         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51262         [XPG3] (remainder): Likewise.
51263         [XPG3] (rint): Likewise.
51264         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51265         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51266         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51267         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51268         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51269         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51270         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51271         [UNIX98 || XOPEN2K] (scalb): Expect.
51272         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51273         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51274         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51275         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51276         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51277         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51278         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51279         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51280         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51281         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51282         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51283         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51284         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51285         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51286         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51287         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51288         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51289         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51290         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51291         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51292         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51293         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51294         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51295         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51296         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51297         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51298         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51299         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51300         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51301         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51302         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51303         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51304         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51305         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51306         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51307         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51308         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51309         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51310         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51311         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51312         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51313         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51314         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51315         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51316         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51317         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51318         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51319         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51320         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51321         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51322         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51323         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51324         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51325         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51326         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51327         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51328         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51329         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51330         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51331         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51332         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51333         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51334         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51335         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51336         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51337         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51338         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51339         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51340         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51341         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51342         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51343         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51344         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51345         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51346         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51347         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51348         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51349         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51350         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51351         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51352         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51353         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51354         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51355         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51356         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51357         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51358         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51359         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51360         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51361         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51362         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51363         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51364         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51365         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51366         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51367         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51368         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51369         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51370         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51371         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51372         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51373         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51374         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51375         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51376         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51377         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51378         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51379         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51380         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51381         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51382         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51383         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51384         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51385         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51386         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51387         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51388         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51389         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51390         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51391         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51392         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51393         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51394         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51395         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51396         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51397         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51398         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51399         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51400         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51401         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51402         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51403         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51404         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51405         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51406         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51407         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51408         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51410         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51411         _XOPEN_SOURCE_EXTENDED for XPG4.
51413         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51415         * Makeconfig (localtime): Remove variable.
51416         (inst_localtime-file): Likewise.
51418 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51421         Update.
51422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51423         Update.
51424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51425         Update.
51426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51427         Update.
51428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51429         Update.
51430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51431         Update.
51432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51433         Update.
51434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51435         Update.
51436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51437         Update.
51439 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51441         [BZ #2550]
51442         [BZ #2570]
51443         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51444         comparisons to determine direction to adjust input.
51445         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51446         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51447         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51448         Likewise.
51449         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51450         Likewise.
51451         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51452         Likewise.
51453         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51454         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51455         Likewise.
51456         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51457         Likewise.
51458         * math/libm-test.inc (nexttoward_test): Add more tests.
51460 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51462         [BZ #14040]
51463         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51464         in version GLIBC_2.1, not GLIBC_2.0.
51465         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51466         Likewise.
51468 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51470         [BZ #13942]
51471         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51472         (1 - x) * (1 + x).
51473         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51474         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51475         * math/libm-test.inc (acos_test): Add more tests.
51476         (asin_test): Likewise.
51477         * sysdeps/i386/fpu/libm-test-ulps: Update.
51478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51480         [BZ #14034]
51481         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51482         of square root.
51483         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51484         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51485         * math/libm-test.inc (acos_test_tonearest): New function.
51486         (acos_test_towardzero): Likewise.
51487         (acos_test_downward): Likewise.
51488         (acos_test_upward): Likewise.
51489         (asin_test_tonearest): Likewise.
51490         (asin_test_towardzero): Likewise.
51491         (asin_test_downward): Likewise.
51492         (asin_test_upward): Likewise.
51493         (main): Call the new functions.
51494         * sysdeps/i386/fpu/libm-test-ulps: Update.
51495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51497         [BZ #13884]
51498         [BZ #13924]
51499         * math/e_exp10.c: Include <float.h>.
51500         (__ieee754_exp10): Handle underflow here rather than multiplying
51501         large negative argument by M_LN10.
51502         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51503         of __ieee754_expf.
51504         * math/e_exp10l.c: Include <float.h>.
51505         (__ieee754_exp10l): Handle underflow here rather than multiplying
51506         large negative argument by M_LN10l.
51507         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51508         spurious overflow exception on underflow.
51510 2012-04-29  Marek Polacek  <polacek@redhat.com>
51512         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51513         (__fortify_function): New macro.
51514         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51515         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51516         __extern_always_inline.
51517         * libio/bits/stdio2.h: Likewise.
51518         * libio/bits/stdio.h: Likewise.
51519         * string/string.h: Likewise.
51520         * string/bits/string3.h: Likewise.
51521         * include/stdio.h: Likewise.
51522         * stdlib/bits/stdlib.h: Likewise.
51523         * stdlib/stdlib.h: Likewise.
51524         * rt/bits/mqueue2.h: Likewise.
51525         * rt/mqueue.h: Likewise.
51526         * posix/bits/unistd.h: Likewise.
51527         * posix/unistd.h: Likewise.
51528         * io/bits/poll2.h: Likewise.
51529         * io/bits/fcntl2.h: Likewise.
51530         * io/fcntl.h: Likewise.
51531         * io/sys/poll.h: Likewise.
51532         * misc/bits/syslog.h: Likewise.
51533         * misc/bits/syslog-ldbl.h: Likewise.
51534         * misc/sys/syslog.h: Likewise.
51535         * socket/bits/socket2.h: Likewise.
51536         * socket/sys/socket.h: Likewise.
51537         * debug/tst-chk1.c: Likewise.
51538         * wcsmbs/bits/wchar2.h: Likewise.
51539         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51540         * wcsmbs/wchar.h: Likewise.
51542 2012-04-29  Andreas Jaeger  <aj@suse.de>
51544         * Makerules (tests): Remove enable-check-abi protection.
51545         (check-abi-warn): Remove.
51546         (check-abi-%): Remove check-abi-warn usage.
51548         * configure.in: Remove check-abi configure option.
51549         * configure: Regenerated.
51550         * config.make.in (enable-check-abi): Remove.
51552 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51554         [BZ #14033]
51555         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51556         double functions to double *_finite functions.
51558         [BZ #13941]
51559         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51560         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51561         LDBL_MIN_EXP.
51562         * stdio-common/Makefile (tests): Add tst-sprintf3.
51563         * stdio-common/tst-sprintf3.c: New file.
51565         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51566         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51568 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51570         * conform/conformtest.pl: Remove duplicate typed-constant
51571         handling.
51573 2012-04-28  David S. Miller  <davem@davemloft.net>
51575         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51576         (check-abi-%): Remove AWK script prerequisite and explicit
51577         abilist directory.
51578         (check-abi): Rewrite to just diff the symlist with the abilist.
51579         (config-tls, config-abi-config): Delete, no longer used.
51580         (update-abi-%): Remove AWK script and explicit abilist directory.
51581         (update-abi): Rewrite to simply compare and conditionally copy the
51582         symlist and the sysdep abilist file.  Remove update-abi-config
51583         checks.
51584         * abilist/ld.abilist: Remove.
51585         * abilist/libBrokenLocale.abilist: Remove.
51586         * abilist/libanl.abilist: Remove.
51587         * abilist/libcrypt.abilist: Remove.
51588         * abilist/libdl.abilist: Remove.
51589         * abilist/librt.abilist: Remove.
51590         * abilist/libthread_db.abilist: Remove.
51591         * abilist/libutil.abilist: Remove.
51592         * scripts/extract-abilist.awk: Remove.
51593         * scripts/merge-abilist.awk: Remove.
51594         * sysdeps/generic/libcidn.abilist: New file.
51595         * sysdeps/generic/libnss_compat.abilist: New file.
51596         * sysdeps/generic/libnss_db.abilist: New file.
51597         * sysdeps/generic/libnss_dns.abilist: New file.
51598         * sysdeps/generic/libnss_files.abilist: New file.
51599         * sysdeps/generic/libnss_hesiod.abilist: New file.
51600         * sysdeps/generic/libnss_nis.abilist: New file.
51601         * sysdeps/generic/libnss_nisplus.abilist: New file.
51602         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51603         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51604         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51605         file.
51606         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51607         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51608         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51609         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51610         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51611         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51612         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51613         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51614         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51615         file.
51616         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51617         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51618         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51619         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51620         file.
51621         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51622         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51623         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51624         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51625         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51626         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51627         file.
51628         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51629         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51630         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51631         file.
51632         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51633         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51634         New file.
51635         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51636         New file.
51637         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51638         New file.
51639         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51640         New file.
51641         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51642         New file.
51643         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51644         New file.
51645         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51646         New file.
51647         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51648         New file.
51649         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51650         New file.
51651         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51652         New file.
51653         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51654         New file.
51655         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51656         New file.
51657         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51658         New file.
51659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51660         file.
51661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51662         New file.
51663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51664         New file.
51665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51666         file.
51667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51668         New file.
51669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51670         New file.
51671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51672         file.
51673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51674         New file.
51675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51676         New file.
51677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51678         New file.
51679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51680         New file.
51681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51682         New file.
51683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51684         New file.
51685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51687         file.
51688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51689         New file.
51690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51691         file.
51692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51693         file.
51694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51695         file.
51696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51697         file.
51698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51699         file.
51700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51701         New file.
51702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51703         file.
51704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51705         file.
51706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51707         New file.
51708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51709         file.
51710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51712         file.
51713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51714         New file.
51715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51716         file.
51717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51718         file.
51719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51720         file.
51721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51722         file.
51723         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51724         file.
51725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51726         New file.
51727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51728         file.
51729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51730         file.
51731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51732         New file.
51733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51734         file.
51735         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51736         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51737         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51738         file.
51739         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51740         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51741         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51742         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51743         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51744         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51745         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51746         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51747         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51748         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51751         file.
51752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51753         New file.
51754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51755         file.
51756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51757         file.
51758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51759         file.
51760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51761         file.
51762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51763         file.
51764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51765         New file.
51766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51767         New file.
51768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51769         file.
51770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51771         New file.
51772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51773         file.
51774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51776         file.
51777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51778         New file.
51779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51780         file.
51781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51782         file.
51783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51784         file.
51785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51786         file.
51787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51788         file.
51789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51790         New file.
51791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51792         New file.
51793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51794         file.
51795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51796         New file.
51797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51798         file.
51800 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51802         * conform/conformtest.pl: Fix typo in handling typed-constant from
51803         allow-header.
51805 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51807         * README: Cut down references to pre-2.6 Linux kernels and
51808         Linuxthreads.  Update lists of configurations in libc and ports
51809         and sort alphabetically.  Say "or newer" with Linux kernel version
51810         requirements.
51812         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51814 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51816         [BZ #887]
51817         * math/libm-test.inc (logb_test_downward): New test to expose
51818         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51819         rounding mode.
51821 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51823         [BZ #14027]
51824         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51825         to be done.
51826         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51827         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51829 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51831         * sysdeps/unix/i386/brk.S: Remove file.
51832         * sysdeps/unix/i386/dl-brk.S: Likewise.
51833         * sysdeps/unix/i386/pipe.S: Likewise.
51834         * sysdeps/unix/i386/sigreturn.S: Likewise.
51835         * sysdeps/unix/i386/syscall.S: Likewise.
51836         * sysdeps/unix/i386/vfork.S: Likewise.
51837         * sysdeps/unix/i386/wait.S: Likewise.
51839         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51840         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51842         * configure.in (arm*-none*): Do not allow without
51843         --enable-hacker-mode.
51844         (netbsd*): Remove case setting base_os.
51845         (386bsd*): Likewise.
51846         (freebsd*): Likewise.
51847         (bsdi*): Likewise.
51848         (osf*): Likewise.
51849         (sunos*): Likewise.
51850         (ultrix*): Likewise.
51851         (newsos*): Likewise.
51852         (dynix*): Likewise.
51853         (*bsd*): Likewise.
51854         (sysv*): Likewise.
51855         (isc*): Likewise.
51856         (esix*): Likewise.
51857         (sco*): Likewise.
51858         (minix*): Likewise.
51859         (irix4*): Likewise.
51860         (irix6*): Likewise.
51861         (solaris[2-9]*): Likewise.
51862         (none): Likewise.
51863         * configure: Regenerated.
51865 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51867         [BZ #11521]
51868         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51869         overflow or cancellation in calculating denominator.
51870         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51871         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51872         down expression to avoid unexpected rounding in newer GCCs.
51873         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51875 2012-04-26  David S. Miller  <davem@davemloft.net>
51877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51878         long-double compat symbols.
51879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51893 2012-04-25  David S. Miller  <davem@davemloft.net>
51895         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51896         HWCAP_* values only after the memory barriers have been defined.
51897         (atomic_full_barrier): Define.
51898         (atomic_read_barrier): Define.
51899         (atomic_write_barrier): Define.
51901 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51903         * shlib-versions: Add libgcc_s version information.
51904         * sysdeps/generic/libgcc_s.h: Remove.
51905         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51906         libgcc_s.h.
51907         * sysdeps/gnu/unwind-resume.c: Likewise.
51908         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51910 2012-04-25  David S. Miller  <davem@davemloft.net>
51912         * sysdeps/unix/sparc/brk.S: Delete.
51913         * sysdeps/unix/sparc/dl-brk.S: Delete.
51914         * sysdeps/unix/sparc/pipe.S: Delete.
51915         * sysdeps/unix/sparc/sysdep.S: Delete.
51916         * sysdeps/unix/sparc/sysdep.h: Delete.
51917         * sysdeps/unix/sparc/vfork.S: Delete.
51918         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51919         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51920         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51921         (ret_ERRVAL, r0, r1, MOVE): Define.
51922         (JUMPTARGET): Remove.
51923         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51924         sysdeps/unix/sparc/sysdep.h
51925         (ENTRY, END): Remove.
51926         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51928 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51930         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51931         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51932         -DIS_IN_build.
51934         * timezone/README: Update upstream location and email address for
51935         tzcode and tzdata.
51936         * timezone/zdump.c: Update from tzcode 2012b.
51937         * timezone/zic.c: Likewise.
51939         * configure.in (libc_cv_as_needed): Remove test.
51940         * configure: Regenerated.
51941         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51942         conditional definition.
51943         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51944         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51945         * config.make.in (have-as-needed): Remove variable.
51947 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51948             Paul Pluzhnikov  <ppluzhnikov@google.com>
51950         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51951         strings correctly.
51953 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51955         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51956         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51957         * sysdeps/sh/strlen.S: Likewise.
51959 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51961         * sysdeps/unix/fork.S: Remove file.
51962         * sysdeps/unix/i386/fork.S: Likewise.
51963         * sysdeps/unix/sparc/fork.S: Likewise.
51965         * sysdeps/unix/system.c: Remove file.
51966         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51968         * sysdeps/unix/getegid.S: Remove file.
51969         * sysdeps/unix/geteuid.S: Likewise.
51971 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51973         * scripts/check-localplt.awk: New file.
51974         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51975         of diff.
51976         * scripts/data/localplt-generic.data: Add a comment.
51978         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51979         NODE when __dir_mkfile failed.
51980         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51981         Reported by Ludovic Courtès <ludo@gnu.org>.
51983 2012-04-24  Andreas Jaeger  <aj@suse.de>
51985         * Makerules (common-clean): Also remove gen-as-const-headers
51986         files.
51988 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51990         * Makerules (native-compile): Do not change working directory for
51991         build.  Use $(OUTPUT_OPTION) in command.
51992         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51994 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51996         [BZ #13886]
51997         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51998         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51999         * math/libm-test.inc (floor_test): Add more tests.
52000         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52002 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52004         * sysdeps/unix/getdents.c: Remove file.
52005         * sysdeps/unix/sysv/getdents.c: Likewise.
52006         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52008         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52009         sysdeps/unix/mman/syscalls.list.
52010         (mmap): Likewise.
52011         (mprotect): Likewise.
52012         (msync): Likewise.
52013         (munmap): Likewise.
52014         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52015         * sysdeps/unix/mman/syscalls.list: Remove.
52016         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52018         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52019         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52020         * configure: Regenerated.
52021         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52022         $(libgcc_s_suffix).
52023         * config.make.in (libgcc_s_suffix): Remove variable.
52025 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52027         * sysdeps/unix/sysv/gethostname.c: Move to ...
52028         * sysdeps/posix/gethostname.c: ... here.
52030         * sysdeps/unix/execve.S: Remove file.
52032         * sysdeps/unix/_exit.S: Remove file.
52034 2012-04-23  Andreas Jaeger  <aj@suse.de>
52036         [BZ #13739]
52037         * manual/Makefile: Remove make dist support, there's no
52038         need for a stand-alone documentation tar ball.
52039         (TEXI2DVI): Define always, it's not in Makeconfig.
52040         (dist): Removed.
52041         (tar-it): Removed.
52042         (edition): Removed.
52043         (glibc-doc-$(edition).tar): Removed
52044         (%.Z): Removed.
52045         (%.gz): Removed.
52046         (%.uu): Removed.
52047         (ETAGS): Remove, it's in Makeconfig.
52048         (move-if-change): Remove, it's in Makeconfig.
52050 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52052         [BZ #13970]
52053         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52054         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52055         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52056         (strtod_l, strtof_l, strtold_l): Remove __wur.
52057         It is not necessarily an error to ignore strtol's return value.
52058         One can reliably look at the stored endptr to decide whether
52059         the number had valid syntax.
52061 2012-04-21  Andreas Jaeger  <aj@suse.de>
52063         [BZ #13739]
52064         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52066 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52068         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52069         * sysdeps/unix/sysv/Versions: Remove file.
52071 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52073         [BZ #13927]
52074         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52076 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52078         [BZ #7064]
52079         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52080         version from __vm86.
52082 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52084         * sysdeps/unix/common/lxstat.c: Remove file.
52085         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52087         * sysdeps/unix/sysv/Makefile: Remove file.
52089         * sysdeps/unix/sysv/direct.h: Remove file.
52091         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52092         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52093         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52094         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52095         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52096         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52097         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52099         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52101         * sysdeps/unix/xmknod.c: Remove file.
52102         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52104         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52106         * sysdeps/unix/sysv/i386/time.S: Remove file.
52108         * sysdeps/unix/fxstat.c: Remove file.
52109         * sysdeps/unix/xstat.c: Likewise.
52110         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52112         * sysdeps/unix/sysv/sigaction.c: Remove file.
52114         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52115         (sysdep_headers): Remove variable.
52116         [termio.h not in sysdep_headers] (generated): Likewise.
52117         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52118         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52119         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52120         * sysdeps/unix/sysv/tcflow.c: Likewise.
52121         * sysdeps/unix/sysv/tcflush.c: Likewise.
52122         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52123         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52124         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52125         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52126         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52128         * sysdeps/unix/siglist.c: Remove file.
52130         * sysdeps/unix/getppid.S: Remove file.
52132         * sysdeps/unix/mkdir.c: Remove file.
52133         * sysdeps/unix/rmdir.c: Likewise.
52135 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52137         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52138         ERR_MAX value.
52139         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52140         errlist-compat value.
52142 2012-04-18  David S. Miller  <davem@davemloft.net>
52144         * sysdeps/generic/memcopy.h (reg_char): Delete.
52145         * debug/strcat_chk.c: Use char, not reg_char.
52146         * debug/strcpy_chk.c: Likewise.
52147         * debug/strncat_chk.c: Likewise.
52148         * debug/strncpy_chk.c: Likewise.
52149         * string/memchr.c: Likewise.
52150         * string/memrchr.c: Likewise.
52151         * string/rawmemchr.c: Likewise.
52152         * string/strcat.c: Likewise.
52153         * string/strchr.c: Likewise.
52154         * string/strchrnul.c: Likewise.
52155         * string/strcmp.c: Likewise.
52156         * string/strcpy.c: Likewise.
52157         * string/strncat.c: Likewise.
52158         * string/strncmp.c: Likewise.
52159         * string/strncpy.c: Likewise.
52161 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52163         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52164         __builtin_memcopy is called when src and dest ranges are known to not
52165         overlap.
52167 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52169         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52170         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52171         fwd_align_merge macro call.
52172         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52173         bwd_align_merge macro call.
52174         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52176 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52178         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52179         bwd_align_merge macros.
52180         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52181         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52182         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52184 2012-04-18  David S. Miller  <davem@davemloft.net>
52186         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52188 2012-04-18  Andreas Jaeger  <aj@suse.de>
52190         [BZ# 6794]
52191         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52192         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52193         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52195         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52196         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52197         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52199         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52200         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52201         Adjust for changed ldbl-128 files.
52203         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52204         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52205         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52207 2012-04-17  David S. Miller  <davem@davemloft.net>
52209         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52211 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52213         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52214         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52215         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52216         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52217         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52218         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52220 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52222         [BZ #6794]
52223         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52224         * math/libm-test.inc: Add ilogb errno and exception tests.
52225         * math/w_ilogb.c: New file: ilogb wrapper.
52226         * math/w_ilogbf.c: New file: ilogbf wrapper.
52227         * math/w_ilogbl.c: New file: ilogbl wrapper.
52228         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52229         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52230         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52231         exception being thrown with 0.0 as argument.
52232         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52233         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52234         exception being thrown with 0.0 as argument.
52235         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52236         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52237         exception being thrown with 0.0 as argument.
52238         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52239         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52240         exception being thrown with 0.0 as argument.
52241         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52242         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52243         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52244         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52245         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52246         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52247         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52248         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52249         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52251 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52253         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52254         with altivec.
52256 2012-04-16  Marek Polacek  <polacek@redhat.com>
52258         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52260 2012-04-16  Marek Polacek  <polacek@redhat.com>
52262         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52263         operands of fdivp instruction.
52265 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52267         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52268         * elf/tst-auditmod3b.c: Likewise.
52269         * elf/tst-auditmod4b.c: Likewise.
52270         * elf/tst-auditmod5b.c: Likewise.
52271         * elf/tst-auditmod6b.c: Likewise.
52272         * elf/tst-auditmod6c.c: Likewise.
52273         * elf/tst-auditmod7b.c: Likewise.
52274         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52275         * sysdeps/x86_64/preconfigure.in: Likewise.
52276         * sysdeps/x86_64/preconfigure: Regenerated.
52278 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52280         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52281         __ILP32__.
52283 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52285         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52286         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52288 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52290         [BZ #13973]
52291         * locale/iso-639.def: Fix gl language name. Spotted by
52292         Yaron Shahrabani.
52294 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52296         [BZ #2074]
52297         * libio/libio.h (__io_write_fn): Update comment.
52299 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52301         [BZ #2074]
52302         * stdio.texi (Hook Functions): The user provided writer function
52303         is not allowed to return -1.
52305 2012-04-11  David S. Miller  <davem@davemloft.net>
52307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52309 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52311         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52312         Add a leading slash to rtkaio.
52314 2012-04-11  Jim Meyering  <meyering@redhat.com>
52316         [BZ #11959]
52317         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52318         It is not necessarily an error to ignore fwrite's return
52319         value.  One can reliably use ferror to test for errors after
52320         the fact.
52322 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52324         * bits/types.h (__snseconds_t): New type.
52325         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52327         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52328         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52329         (__SNSECONDS_T_TYPE): Likewise.
52330         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52331         (__SNSECONDS_T_TYPE): Likewise.
52332         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52333         (__SNSECONDS_T_TYPE): Likewise.
52335 2012-04-10  Andreas Jaeger  <aj@suse.de>
52337         [BZ #2636]
52338         * manual/time.texi (Processor Time): Return type of times is
52339         elapsed real time since an arbitrary point in the past.
52340         (CPU Time): Move CLK_TCK from here...
52341         (Processor Time): ...to here.  Correct description.
52342         * manual/conf.texi (Constants for Sysconf): Correct description of
52343         _SC_CLK_TCK.
52345 2012-04-10  David S. Miller  <davem@davemloft.net>
52347         [BZ #13967]
52348         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52349         where the is a gap between DT_REL(A) and DT_JMPREL.
52351 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52353         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52354         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52355         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52357 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52359         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52360         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52361         (dl_main): Handle --inhibit-cache.
52362         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52363         _dl_inhibit_cache.
52364         * elf/dl-load.c (_dl_map_object): Use it.
52365         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52367 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52369         [BZ #13872]
52370         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52371         (__ieee754_powl): Saturate large exponents rather than testing for
52372         overflow of y*log2(x).
52373         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52374         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52375         exceptions.
52377         [BZ #11521]
52378         * math/s_ctan.c: Include <float.h>.
52379         (__ctan): Avoid internal overflow or cancellation in calculating
52380         denominator.
52381         * math/s_ctanf.c: Likewise.
52382         * math/s_ctanl.c: Likewise.
52383         * math/s_ctanh.c: Likewise.
52384         * math/s_ctanhf.c: Likewise.
52385         * math/s_ctanhl.c: Likewise.
52386         * math/libm-test.inc (ctan_test): Add more tests.
52387         (ctanh_test): Likewise.
52388         * sysdeps/i386/fpu/libm-test-ulps: Update.
52389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52391 2012-04-09  Andreas Jaeger  <aj@suse.de>
52393         [BZ #6894]
52394         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52395         is an optional BSD extension.
52397         [BZ #10254]
52398         * manual/stdio.texi (Opening Streams): Document additional fopen
52399         parameters.
52401 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52403         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52404         %eax without telling the compiler.
52406 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52408         [BZ # 13963]
52409         * manual/install.texi: Use sourceware.org.
52411 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52413         [BZ #13873]
52414         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52415         (__ieee754_pow): Generate overflow and underflow using huge*huge
52416         and tiny*tiny rather than just returning constant infinity or zero
52417         for large exponents.
52418         * math/libm-test.inc (pow_test): Require overflow exceptions for
52419         applicable cases of large exponents.
52421         [BZ #706]
52422         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52423         (__ieee754_pow): Use iterative multiplication algorithm only for
52424         integer exponents with absolute value below 1024.  Check for odd
52425         integer exponents when using algorithm for real exponents.
52426         * math/libm-test.inc (pow_test): Add more tests.
52427         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52429 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52431         [BZ #13705]
52432         * math/libm-test.inc (exp_test): Do not allow overflow exception
52433         on underflow test.
52435 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52437         [BZ #13705]
52438         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52439         instead of __kernel_standard_f.
52441 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52443         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52444         * sysdeps/x86_64/memset_chk.S: Likewise.
52446 2012-04-08  Andreas Jaeger  <aj@suse.de>
52448         [BZ #10153]
52449         * manual/startup.texi (Environment Access): Describe return value
52450         for putenv and setenv.
52452         [BZ #6895]
52453         * manual/filesys.texi (Directory Entries): Add description for
52454         DT_LNK.
52456         [BZ #6890]
52457         * manual/filesys.texi (Directory Entries): Clarify that it's file
52458         system not operating system in the description of DT_UNKNOWN.
52460         [BZ #6578]
52461         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52463 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52465         [BZ #6649]
52466         * manual/llio.texi (Opening and Closing Files): Add cross
52467         reference to explain mode argument.
52469 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52471         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52472         * sysdeps/x86_64/memset_chk.S: Likewise.
52474 2012-04-07  David S. Miller  <davem@davemloft.net>
52476         * elf/elf.h (R_SPARC_WDISP10): Define.
52477         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52478         R_SPARC_SIZE32.
52479         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52480         R_SPARC_SIZE64 and R_SPARC_H34.
52482 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52484         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52485         conditions and remove no longer applicable assertion.
52487 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52489         * bits/byteswap.h: Include <features.h>.
52490         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52491         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52493 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52495         * bits/byteswap.h (__bswap_16): Removed.
52496         Include <bits/byteswap-16.h> to get __bswap_16.
52497         * sysdeps/i386/bits/byteswap.h: Likewise.
52498         * sysdeps/s390/bits/byteswap.h: Likewise.
52499         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52500         * bits/byteswap-16.h: New file.
52501         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52502         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52503         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52504         * string/Makefile (headers): Add bits/byteswap-16.h.
52506 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52508         [BZ #13895]
52509         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52510         extra indirection.
52511         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52512         * nss/tst-nss-static.c: New.
52514 2012-04-06  Robert Millan  <rmh@gnu.org>
52516         [BZ #6486]
52517         * manual/llio.texi (File Position Primitive): lseek
52518         refers to WHENCE when it really means OFFSET.
52520 2012-04-06  Andreas Jaeger  <aj@suse.de>
52522         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52523         strncmp declarations.
52525         * abilist/libc.abilist: Add __poll and __ppoll.
52527 2012-04-05  David S. Miller  <davem@davemloft.net>
52529         * scripts/check-local-headers.sh: Accept a host triplet in the
52530         path matched by the exclude regexp.
52532         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52533         definition.
52534         * sysdeps/powerpc/powerpc32/dl-machine.h
52535         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52536         * sysdeps/s390/s390-32/dl-machine.h
52537         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52538         * sysdeps/sparc/sparc32/dl-machine.h
52539         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52540         * sysdeps/sparc/sparc64/dl-machine.h
52541         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52543         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52544         lazy binding.
52545         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52546         undefined symbol errors.
52548         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52549         DT_NEEDED entries.
52551 2012-04-05  Michael Matz  <matz@suse.de>
52553         [BZ #13592]
52554         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52556 2012-04-05  Andreas Jaeger  <aj@suse.de>
52558         [BZ #13908]
52559         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52560         comment.
52562 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52564         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52565         which ROUND is no valid rounding mode.
52567 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52569         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52570         read again.
52571         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52573 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52575         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52576         an exception using FPU order intentionally.
52578 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52580         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52581         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52582         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52583         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52585 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52587         [BZ #12340]
52588         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52589         EINVAL when BUFLEN is too smal.
52591 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52593         [BZ #13553]
52594         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52595         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52597 2012-04-03  Andreas Jaeger  <aj@suse.de>
52599         [BZ #13938]
52600         * manual/setjmp.texi (System V contexts): Fix sentence.
52602         [BZ #13926]
52603         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52604         New macro for this case.
52605         [!__GNUC__] (__bswap_64): New inline function for this case.
52606         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52607         * bits/byteswap.h: Likewise.
52608         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52609         ull, guard with __GLIBC_HAVE_LONG_LONG.
52611         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52612         __GLIBC_HAVE_LONG_LONG.
52614         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52615         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52617 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52619         [BZ #13691]
52620         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52621         inptr and inend, rather than using last_ch.
52623 2012-04-02  David S. Miller  <davem@davemloft.net>
52625         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52626         * stdio-common/printf-parse.h (read_int): Change return type to
52627         'int', return -1 on INT_MAX overflow.
52628         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52629         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52630         overflows INT_MAX.  Check for overflow of in-format-string precision
52631         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52632         SIZE_MAX not INT_MAX for integer overflow test.
52633         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52634         skip the construct in the format string but do not record anything.
52635         * stdio-common/bug22.c: Adjust to test both width/prevision
52636         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52637         explicitly for proper errno values.
52639 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52641         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52642         CHAR_MAX.
52643         * string/test-strcmp.c [! WIDE]: Likewise.
52644         * time/tst-mktime2.c: Likewise for INT_MAX.
52645         * string/test-string.h: #include <sys/param.h> for MIN.
52647         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52648         * sysdeps/i386/init-first.c (init): Likewise.
52649         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52650         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52651         * sysdeps/sh/init-first.c (init): Likewise.
52653 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52655         * po/ru.po: Update from translation team.
52656         * po/vi.po: Likewise.
52658 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52660         * resolv/nss_dns/dns-host.c: Merge copyright years.
52662 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52664         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52665         Optimize memcpy with prefetch if
52666         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52667         src, dst pointers have unequal 16 byte alignments.
52669 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52671         [BZ #13928]
52672         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52673         from a CNAME entry and return the minimum ttl for the query.
52674         (gaih_getanswer_slice): Likewise.
52676 2012-03-30  Jeff Law  <law@redhat.com>
52678         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52679         due to long keys.
52680         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52681         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52683         * resolv/nss_dns/dns-host.c: Update copyright year.
52685 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52687         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52688         requests to save a system call.  Fix check that all bytes are sent.
52690         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52691         comments for sendmmsg.
52693 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52695         [BZ #13691]
52696         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52697         with only 1 character between 0x0041 and 0x01b0.
52698         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52699         * wcsmbs/tst-mbsnrtowcs.c: New file.
52701 2012-03-29  David S. Miller  <davem@davemloft.net>
52703         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52704         small copies by hand.
52706 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52708         [BZ #13761]
52709         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52710         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52711         group memberships.
52713 2012-03-28  David S. Miller  <davem@davemloft.net>
52715         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52716         that branches into memcpy.
52717         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52718         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52719         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52720         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52721         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52722         bits.
52723         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52724         implementation too.
52725         * sysdeps/sparc/mempcpy.S: New file.
52727         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52728         the IFUNC routine in the libc case.
52729         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52731         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52732         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52733         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52734         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52735         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52736         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52737         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52738         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52740         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52741         loop to 256 bytes instead of 64 bytes and fix test signedness.
52743         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52744         * sysdeps/sparc/sparc32/Makefile: rather than here...
52745         * sysdeps/sparc/sparc64/Makefile: and here.
52747 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52749         * malloc/mallocbug.c: Avoid warnings about unused variables.
52751 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52753         [BZ #13760]
52754         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52755         in the right place. Discard and retry query if response is
52756         larger than input buffer size.
52758 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52760         [BZ #369]
52761         [BZ #2678]
52762         [BZ #3866]
52763         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52764         x for large integer exponent.
52765         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52766         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52767         sign of result as needed afterwards.
52768         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52769         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52770         result for underflowing pow the same as for overflow.
52771         (__kernel_standard_l): Handle powl overflow and underflow here
52772         rather than calling __kernel_standard.
52773         * math/libm-test.inc (pow_test): Add more tests.
52775         [BZ #3868]
52776         [BZ #13879]
52777         [BZ #13910]
52778         [BZ #13911]
52779         [BZ #13912]
52780         [BZ #13913]
52781         [BZ #13915]
52782         [BZ #13916]
52783         [BZ #13917]
52784         [BZ #13918]
52785         [BZ #13919]
52786         [BZ #13920]
52787         [BZ #13921]
52788         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52789         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52790         (__kernel_standard_l): New function.
52791         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52792         __kernel_standard.
52793         * math/w_acosl.c (__acosl): Likewise.
52794         * math/w_asinl.c (__asinl): Likewise.
52795         * math/w_atan2l.c (__atan2l): Likewise.
52796         * math/w_atanhl.c (__atanhl): Likewise.
52797         * math/w_coshl.c (__coshl): Likewise.
52798         * math/w_exp10l.c (__exp10l): Likewise.
52799         * math/w_exp2l.c (__exp2l): Likewise.
52800         * math/w_fmodl.c (__fmodl): Likewise.
52801         * math/w_hypotl.c (__hypotl): Likewise.
52802         * math/w_j0l.c (__j0l, __y0l): Likewise.
52803         * math/w_j1l.c (__j1l, __y1l): Likewise.
52804         * math/w_jnl.c (__jnl, __ynl): Likewise.
52805         * math/w_lgammal.c (__lgammal): Likewise.
52806         * math/w_log10l.c (__log10l): Likewise.
52807         * math/w_log2l.c (__log2l): Likewise.
52808         * math/w_logl.c (__logl): Likewise.
52809         * math/w_powl.c (__powl): Likewise.
52810         * math/w_remainderl.c (__remainderl): Likewise.
52811         * math/w_scalbl.c (sysv_scalbl): Likewise.
52812         * math/w_sinhl.c (__sinhl): Likewise.
52813         * math/w_sqrtl.c (__sqrtl): Likewise.
52814         * math/w_tgammal.c (__tgammal): Likewise.
52815         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52816         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52817         * math/libm-test.inc (acos_test): Add more tests.
52818         (acosh_test): Likewise.
52819         (asin_test): Likewise.
52820         (atanh_test): Likewise.
52821         (exp_test): Likewise.
52822         (exp10_test): Likewise.
52823         (exp2_test): Likewise.
52824         (expm1_test): Likewise.
52825         (lgamma_test): Likewise.
52826         (log_test): Likewise.
52827         (log10_test): Likewise.
52828         (log1p_test): Likewise.
52829         (log2_test): Likewise.
52830         (pow_test): Do not allow some spurious overflow exceptions.
52831         (sqrt_test): Add more tests.
52832         (tgamma_test): Likewise.
52833         (y0_test): Likewise.
52834         (y1_test): Likewise.
52835         (yn_test): Likewise.
52837 2012-03-27  Anton Blanchard  <anton@samba.org>
52839         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52840         MAP_HUGETLB.
52841         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52842         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52843         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52845 2012-03-27  David S. Miller  <davem@davemloft.net>
52847         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52849         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52850         have-as-vis3 check.
52852 2012-03-27  Andreas Jaeger  <aj@suse.de>
52854         * sysdeps/x86_64/elf/configure.in: Moved to ...
52855         * sysdeps/x86_64/configure.in: ... here.
52856         * sysdeps/x86_64/elf/start.S: Moved to ...
52857         * sysdeps/x86_64/start.S: ... here.
52858         * sysdeps/x86_64/elf/configure: Delete.
52860         * sysdeps/x86_64/configure.in: Merge contents from
52861         sysdeps/i386/configure.in (without i686 check).
52863         * sysdeps/i386/elf/Versions: Merge into ...
52864         * sysdeps/i386/Versions: ... this.
52865         * sysdeps/i386/elf/Versions: Delete file.
52866         * sysdeps/i386/elf/start.S: Moved to ...
52867         * sysdeps/i386/start.S: ...here.
52868         * sysdeps/i386/elf/configure.in: Merge into...
52869         * sysdeps/i386/configure.in: ...here.
52870         * sysdeps/i386/elf/configure.in: Delete file.
52871         * sysdeps/i386/elf/configure: Delete file.
52873         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52874         * debug/backtracesyms.c: ... here.
52875         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52876         * debug/backtracesymsfd.c: ... here.
52877         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52878         * sysdeps/generic/ifunc-sel.h: ... here.
52880         * sysdeps/unix/i386/start.c: Delete file.
52881         * sysdeps/unix/sparc/start.c: Delete file.
52882         * sysdeps/unix/start.c: Delete file.
52884         * sysdeps/sh/elf/configure.in: Moved to ...
52885         * sysdeps/sh/configure.in: ... here.
52886         * sysdeps/sh/elf/start.S: Moved to ...
52887         * sysdeps/sh/start.S: ... here.
52888         * sysdeps/sh/elf/configure: Delete file.
52890         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52891         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52892         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52893         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52894         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52895         * sysdeps/powerpc/powerpc64/start.S: here.
52896         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52897         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52898         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52899         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52900         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52902         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52903         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52904         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52905         * sysdeps/powerpc/powerpc32/start.S: ... here.
52906         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52907         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52908         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52910         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52911         * sysdeps/powerpc/ifunc-sel.h: ... here.
52912         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52913         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52915         * sysdeps/sparc/elf/configure.in: Moved to ...
52916         * sysdeps/sparc/configure.in: ... here.
52917         * sysdeps/sparc/elf/configure: Delete file.
52918         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52919         * sysdeps/sparc/sparc32/start.S: ... here.
52920         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52921         * sysdeps/sparc/sparc64/start.S: ... here.
52922         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52923         * sysdeps/sparc/sparc32/Makefile: ... this.
52924         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52925         * sysdeps/sparc/sparc64/Makefile: ... this.
52927         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52928         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52929         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52930         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52931         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52932         * sysdeps/s390/s390-32/setjmp.S: ... here.
52933         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52934         * sysdeps/s390/s390-32/configure.in: ... here.
52935         * sysdeps/s390/s390-32/elf/configure: Delete file.
52936         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52937         * sysdeps/s390/s390-32/start.S: ... here.
52939         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52940         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52941         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52942         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52943         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52944         * sysdeps/s390/s390-64/setjmp.S: ... here.
52945         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52946         * sysdeps/s390/s390-64/configure.in: ... here
52947         * sysdeps/s390/s390-64/elf/configure: Delete file.
52948         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52949         * sysdeps/s390/s390-64/start.S: ... here.
52950         * sysdeps/s390/s390-64/elf/configure: Delete.
52952         * configure.in: Remove support for elf directories in sysdeps.
52954         * configure: Regenerated.
52955         * sysdeps/i386/configure: Regenerated.
52956         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52957         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52958         * sysdeps/s390/s390-32/configure: Regenerated.
52959         * sysdeps/s390/s390-64/configure: Regenerated.
52960         * sysdeps/sh/configure: Regenerated.
52961         * sysdeps/sparc/configure: Regenerated.
52962         * sysdeps/x86_64/configure: Regenerated.
52964 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52968         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52969         denormal result into account.
52971 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52973         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52974         Reported by Allan McRae <allan@archlinux.org>.
52976 2012-03-23  Jeff Law  <law@redhat.com>
52978         * nss/getnssent.c (__nss_getent): Fix typo.
52980 2012-03-23  David S. Miller  <davem@davemloft.net>
52982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52984 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52986         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52987         to pad to uint64_t for each field.
52988         (dl_tls_index): Replace unsigned long with uint64_t.
52990 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52991         Paul Pluzhnikov  <ppluzhnikov@google.com>
52993         [BZ #6528]
52994         * grp/Makefile (otherlibs): Don't set it.
52995         * inet/Makefile (otherlibs): Likewise.
52996         * login/Makefile (otherlibs): Likewise.
52997         * nscd/Makefile (otherlibs): Likewise.
52998         * posix/Makefile (otherlibs): Likewise.
52999         * pwd/Makefile (otherlibs): Likewise.
53000         * rt/Makefile (otherlibs): Likewise.
53001         * sunrpc/Makefile (otherlibs): Likewise.
53002         * nss/Makefile (otherlibs): Likewise.
53003         Add libnss_files to routines and static-only-routines.
53004         ($(objpfx)getent): Remove rule.
53005         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53006         static-only-routines.
53008 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53010         [BZ #13892]
53011         * math/s_cexp.c: Include <float.h>.
53012         (__cexp): Handle exp result overflowing not necessarily
53013         overflowing both real and imaginary parts of result.
53014         * math/s_cexpf.c: Likewise.
53015         * math/s_cexpl.c: Likewise.
53016         * math/libm-test.inc (cexp_test): Add more tests.
53017         * sysdeps/i386/fpu/libm-test-ulps: Update.
53018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53020 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53022         * include/link.h (ELFW): New macro.
53023         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53024         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53026 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53028         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53029         with uint64_t.
53031 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53033         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53034         declaration.
53035         (struct La_x32_retval): Likewise.
53037 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53039         * sysdeps/x86_64/preconfigure.in: New file.
53040         * sysdeps/x86_64/preconfigure: New generated file.
53042 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53044         [BZ #13824]
53045         * math/e_exp2l.c: Include <float.h>.
53046         (__ieee754_exp2l): Handle overflow and underflow cases
53047         separately.  Only pass fractional part of argument to
53048         __ieee754_expl.
53049         * math/libm-test.inc (exp2_test): Add more tests.
53051         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53052         negating x to take absolute value.
53053         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53054         Likewise.
53055         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53056         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53057         Likewise.
53058         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53059         computing low part if x was negated.
53060         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53062 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53064         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53065         la_x32_gnu_pltexit.
53066         (pltexit): Cast int_retval to ptrdiff_t.
53067         * elf/tst-auditmod3b.c: Likewise.
53068         * elf/tst-auditmod4b.c: Likewise.
53069         * elf/tst-auditmod5b.c: Likewise.
53070         * elf/tst-auditmod6b.c: Likewise.
53071         * elf/tst-auditmod6c.c: Likewise.
53072         * elf/tst-auditmod7b.c: Likewise.
53074         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53075         and x32_gnu_pltexit.
53077         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53078         __ELF_NATIVE_CLASS.
53079         (La_x32_regs): New macro.
53080         (La_x32_retval): Likewise.
53081         (la_x32_gnu_pltenter): New function prototype.
53082         (la_x32_gnu_pltexit): Likewise.
53084 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53086         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53087         exponent.
53089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53091         * configure.in (libc_cv_cc_nofma): Check for option to disable
53092         generation of FMA instructions.
53093         * configure: Regenerate.
53094         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53095         * sysdeps/ieee754/dbl-64/Makefile: New file.
53096         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53097         Remove brandred-fma4.
53098         (CFLAGS-brandred-fma4.c): Remove.
53099         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53100         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53101         define.
53102         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53103         define.
53105 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53107         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53108         LLONG_MAX != LONG_MAX.
53109         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53110         (_fitoa_word): Likewise.
53111         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53112         LLONG_MAX != LONG_MAX.
53113         * stdio-common/_itowa.h: Include <_itoa.h>.
53114         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53115         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53116         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53117         only if not defined.
53118         (_ITOA_WORD_TYPE): Likewise.
53119         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53120         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53122 2012-03-21  David S. Miller  <davem@davemloft.net>
53124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53126 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53128         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53129         of x86_64 when setting libc_cv_slibdir, libdir and
53130         libc_cv_localedir.
53131         * sysdeps/unix/sysv/linux/configure: Regenerated.
53133 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53135         * manual/lang.texi (Old Varargs): Remove section.
53136         (How Variadic): Update menu.
53137         (va_start): Do not mention varargs.h.
53139 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53140             Joseph Myers  <joseph@codesourcery.com>
53142         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53143         link test.
53144         * configure: Regenerated.
53146 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53148         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53149         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53150         conformtest.pl
53152 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53154         * NOTES: Remove.
53155         * Makefile (files-for-dist): Remove NOTES.
53156         (NOTES): Remove rule.
53157         * README: Don't refer to NOTES.
53158         * manual/creature.texi: Don't include macros.texi.
53159         * manual/intro.texi (creature.texi): Remove comment referring to
53160         NOTES.
53162         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53163         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53164         * configure: Regenerated.
53165         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53166         LIBC_TRY_CC_OPTION.
53167         (libc_cv_as_i686): Likewise.
53168         (libc_cv_cc_avx): Likewise.
53169         (libc_cv_cc_sse2avx): Likewise.
53170         (libc_cv_cc_fma4): Likewise.
53171         (libc_cv_cc_novzeroupper): Likewise.
53172         * sysdeps/i386/configure: Regenerated.
53174         [BZ #13883]
53175         * sysdeps/i386/fpu/s_cexp.S: Remove.
53176         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53177         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53178         * math/libm-test.inc (cexp_test): Add more tests.
53179         * sysdeps/i386/fpu/libm-test-ulps: Update.
53180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53182 2012-03-21  Allan McRae  <allan@archlinux.org>
53184         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53186 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53188         [BZ #13871]
53189         * math/w_exp2.c: Do not include <float.h>.
53190         (o_threshold, u_threshold): Remove.
53191         (__exp2): Calculate result before checking finiteness and calling
53192         __kernel_standard.
53193         * math/w_exp2f.c: Likewise.
53194         * math/w_exp2l.c: Likewise.
53195         * math/libm-test.inc (exp2_test): Require overflow exception for
53196         1e6 input.
53198         [BZ #3866]
53199         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53200         range of signed 64-bit integers before using fistpll.  Remove
53201         checks for whether integers fit in mantissa bits.
53202         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53203         the range of signed 32-bit integers before using fistpl.  Remove
53204         checks for whether integers fit in mantissa bits.
53205         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53206         (__ieee754_powl): Test for y outside the range of signed 64-bit
53207         integers before using fistpll.  Reduce 64-bit values to 63-bit
53208         ones as needed.
53209         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53210         divide-by-zero is raised for zero to large negative powers.
53211         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53212         (__ieee754_powl): Test for y outside the range of signed 64-bit
53213         integers before using fistpll.  Reduce 64-bit values to 63-bit
53214         ones as needed.
53215         * math/libm-test.inc (pow_test): Add more tests.
53217 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53219         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53220         <stdio-common/_itoa.h>.
53221         * debug/segfault.c: Likewise.
53222         * elf/dl-cache.c: Likewise.
53223         * elf/dl-minimal.c: Likewise.
53224         * elf/dl-misc.c: Likewise.
53225         * elf/dl-sysdep.c: Likewise.
53226         * elf/dl-version.c: Likewise.
53227         * elf/rtld.c: Likewise.
53228         * hurd/hurdsock.c: Likewise.
53229         * hurd/lookup-retry.c: Likewise.
53230         * malloc/malloc.c: Likewise.
53231         * malloc/mtrace.c: Likewise.
53232         * nscd/nscd_getgr_r.c: Likewise.
53233         * nscd/nscd_getpw_r.c: Likewise.
53234         * nscd/nscd_getserv_r.c: Likewise.
53235         * posix/getopt_init.c: Likewise.
53236         * posix/wordexp.c: Likewise.
53237         * stdio-common/_itoa.c: Likewise.
53238         * stdio-common/printf_fphex.c: Likewise.
53239         * stdio-common/vfprintf.c: Likewise.
53240         * string/_strerror.c: Likewise.
53241         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53242         * sysdeps/i386/i686/hp-timing.h: Likewise.
53243         * sysdeps/mach/_strerror.c: Likewise.
53244         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53245         * sysdeps/mach/hurd/sethostid.c: Likewise.
53246         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53247         * sysdeps/mach/xpg-strerror.c: Likewise.
53248         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53249         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53250         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53251         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53252         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53253         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53254         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53255         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53256         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53257         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53258         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53259         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53260         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53261         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53262         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53263         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53264         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53265         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53266         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53267         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53268         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53270         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53272         * stdio-common/_itoa.h: Moved to ...
53273         * sysdeps/generic/_itoa.h: Here.
53275         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53277         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53278         instead of "_itoa.h" and "_itowa.h".
53279         * stdio-common/vfprintf.: Likewise.
53281 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53283         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53284         <bits/wordsize.h>.
53285         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53286         (__signbit): Likwise.
53287         (llrintf): Likwise.
53288         (llrint): Likwise.
53290 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53292         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53293         __WORDSIZE != 64.
53295 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53297         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53298         OVERFLOW_EXCEPTION_OK.
53299         * math/libm-test.inc ("Philosophy"): Update comment about
53300         exception testing.
53301         (OVERFLOW_EXCEPTION): Define.
53302         (OVERFLOW_EXCEPTION_OK): Likewise.
53303         (INVALID_EXCEPTION_OK): Renumber.
53304         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53305         (IGNORE_ZERO_INF_SIGN): Likewise.
53306         (test_exceptions): Handle FE_OVERFLOW.
53307         (exp10_test): Expect overflow exceptions.
53308         (exp2_test): Likewise.
53309         (expm1_test): Likewise.
53310         (nextafter_test): Likewise.
53311         (pow_test): Likewise.
53312         (scalbn_test): Likewise.
53313         (scalbln_test): Likewise.
53315 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53317         * sysdeps/x86_64/bits/atomic.h
53318         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53319         64bit integer.
53320         (atomic_exchange_acq): Likewise.
53321         (__arch_exchange_and_add_body): Likewise.
53322         (__arch_add_body): Likewise.
53323         (atomic_add_negative): Likewise.
53324         (atomic_add_zero): Likewise.
53326 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53328         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53329         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53331 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53333         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53334         Check __x86_64__ instead of __WORDSIZE.
53336 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53338         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53340 2012-03-19  David S. Miller  <davem@davemloft.net>
53342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53344         * sysdeps/sparc/fpu/fenv_private.h: New file.
53345         * sysdeps/sparc/fpu/math_private.h: Use it.
53346         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53347         Remove.
53348         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53349         (libc_feholdexcept_setroundl): Remove.
53350         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53351         Remove.
53352         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53353         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53355 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53357         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53358         int64_t instead of long int.
53359         (INSERT_WORDS64): Likwise.
53361 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53363         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53364         _Unwind_GetCFA return to _Unwind_Ptr first.
53366 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53368         [BZ #13629]
53369         * math/s_clog.c: Include <float.h>.
53370         (__clog): Scale large or subnormal inputs.
53371         * math/s_clogf.c: Likewise.
53372         * math/s_clogl.c: Likewise.
53373         * math/s_clog10.c: Include <float.h>.
53374         (M_LOG10_2): Define.
53375         (__clog10): Scale large or subnormal inputs.
53376         * math/s_clog10f.c: Likewise.
53377         * math/s_clog10l.c: Likewise.
53378         * math/libm-test.inc (clog_test): Add more tests.
53379         (clog10_test): Likewise.
53380         * sysdeps/i386/fpu/libm-test-ulps: Update.
53381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53383         [BZ #11451]
53384         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53385         x and y.
53386         * math/libm-test.inc (atan2_test): Add another test.
53388         * Makerules (common-objdir-compile): Remove.
53389         * sysdeps/unix/Makefile (config-generated): Do not add
53390         $(unix-generated) to variable.
53391         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53392         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53393         Remove rule.
53394         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53395         Likewise.
53396         [generic bits/local_lim.h] (before-compile): Do not append to
53397         variable.
53398         [generic bits/local_lim.h] (common-generated): Likewise.
53399         [generic sys/param.h] (before-compile): Do not append to variable.
53400         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53401         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53402         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53403         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53404         include.
53405         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53406         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53407         [generic sys/param.h] ($(addprefix
53408         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53409         [generic sys/param.h] (common-generated): Do not append to
53410         variable.
53411         [generic sys/param.h] (sysdep_headers): Likewise.
53412         [generic bits/errno.h] (before-compile): Do not append to
53413         variable.
53414         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53415         rule.
53416         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53417         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53418         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53419         [generic bits/errno.h] (common-generated): Do not append to
53420         variable.
53421         [generic bits/ioctls.h] (before-compile): Do not append to
53422         variable.
53423         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53424         rule.
53425         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53426         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53427         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53428         rule.
53429         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53430         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53431         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53432         [generic bits/ioctls.h] (common-generated): Do not append to
53433         variable.
53434         [generic sys/syscall.h] (syscall.h): Remove variable.
53435         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53436         rule.
53437         [generic sys/syscall.h] (before-compile): Do not append to
53438         variable.
53439         [generic sys/syscall.h] (common-generated): Likewise.
53440         * sysdeps/unix/errnos-tmpl.c: Remove file.
53441         * sysdeps/unix/errnos.awk: Likewise.
53442         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53443         * sysdeps/unix/ioctls.awk: Likewise.
53444         * sysdeps/unix/mk-local_lim.c: Likewise.
53445         * sysdeps/unix/snarf-ioctls: Likewise.
53447 2012-03-19  Richard Henderson  <rth@twiddle.net>
53449         * sysdeps/i386/fpu/fenv_private.h: New file.
53450         * sysdeps/i386/fpu/math_private.h: Use it.
53451         (math_opt_barrier, math_force_eval): Remove.
53452         (libc_feholdexcept_setround_53bit): Remove.
53453         (libc_feupdateenv_53bit): Remove.
53454         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53455         (math_opt_barrier, math_force_eval): Remove.
53456         (libc_feholdexcept): Remove.
53457         (libc_feholdexcept_setround): Remove.
53458         (libc_fetestexcept, libc_fesetenv): Remove.
53459         (libc_feupdateenv_test): Remove.
53460         (libc_feupdateenv, libc_feholdsetround): Remove.
53461         (libc_feresetround): Remove.
53463         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53464         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53466         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53467         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53468         (libc_feupdateenv_testl): New.
53469         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53470         (libc_feupdateenv_testf): New.
53471         (libc_feupdateenv): Use libc_feupdateenv_test.
53472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53473         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53475         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53476         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53477         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53478         (libc_feresetround_noex): New.
53479         (libc_feresetround_noexf): New.
53480         (libc_feresetround_noexl): New.
53481         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53482         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53483         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53484         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53485         SET_RESTORE_ROUND.
53486         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53487         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53488         (__cos): Likewise.
53489         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53490         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53491         SET_RESTORE_ROUND_NOEX.
53492         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53493         SET_RESTORE_ROUND_NOEXF.
53494         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53495         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53496         (libc_feholdsetroundf): New.
53497         (libc_feresetround, libc_feresetroundf): New.
53499         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53500         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53501         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53503         * sysdeps/generic/math_private.h: Include <fenv.h>.
53504         (default_libc_feholdexcept): New.
53505         (default_libc_feholdexcept_setround): New.
53506         (default_libc_fesetenv, default_libc_feupdateenv): New.
53507         (libc_feholdexcept): Only define if undefined.
53508         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53509         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53510         (libc_feholdexcept_setroundl): Likewise.
53511         (libc_feholdexcept_setround_53bit): Likewise.
53512         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53513         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53514         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53515         (libc_feupdateenv_53bit): Likewise.
53516         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53517         (libc_feholdexcept): Convert from macro to inline function.
53518         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53519         (libc_fesetenv, libc_feupdateenv): Likewise.
53521         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53522         not previously defined.
53523         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53524         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53525         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53526         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53527         * sysdeps/ieee754/flt-32/math_private.h: New file.
53528         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53529         math_private.h below SET_FLOAT_WORD.
53530         (__isnan, __isinf_ns, __finite): Remove.
53531         (__isnanf, __isinf_nsf, __finitef): Remove.
53533 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53537 2012-03-17  David S. Miller  <davem@davemloft.net>
53539         [BZ #6471]
53540         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53541         for 2.16.
53543 2012-03-16  David S. Miller  <davem@davemloft.net>
53545         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53546         warnings.
53548         [BZ #6471]
53549         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53550         properly.
53551         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53552         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53553         sysdep_routines when subdir is sysvipc.
53554         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53555         __getshmlba helper.
53557         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53559 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53561         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53562         [__LP64__].
53564 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53566         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53567         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53568         (__lround): Renamed to ...
53569         (__llround): This.  Replace long int with long long int.
53570         Define lround functions as aliases of llround functions.
53571         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53573 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53575         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53576         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53577         adresses to uintptr_t.  Replace "long int" and "unsigned long
53578         int" with "greg_t" on va_arg.
53580 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53582         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53583         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53585         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53586         Move e_machine check before EI_CLASS check.  Handle x32
53587         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53588         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53589         SKIP_EM_IA_64 and include
53590         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53592         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53593         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53594         (add_system_dir): New macro.
53596         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53597         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53599 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53601         [BZ #2551]
53602         [BZ #2552]
53603         [BZ #2553]
53604         [BZ #2554]
53605         [BZ #2562]
53606         [BZ #2563]
53607         [BZ #2565]
53608         [BZ #2566]
53609         [BZ #2576]
53610         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53611         (y0): Likewise.
53612         * math/w_j0f.c (j0f): Likewise.
53613         (y0f): Likewise.
53614         * math/w_j0l.c (__j0l): Likewise.
53615         (__y0l): Likewise.
53616         * math/w_j1.c (j1): Likewise.
53617         (y1): Likewise.
53618         * math/w_j1f.c (j1f): Likewise.
53619         (y1f): Likewise.
53620         * math/w_j1l.c (__j1l): Likewise.
53621         (__y1l): Likewise.
53622         * math/w_jn.c (jn): Likewise.
53623         (yn): Likewise.
53624         * math/w_jnf.c (jnf): Likewise.
53625         (ynf): Likewise.
53626         * math/w_jnl.c (__jnl): Likewise.
53627         (__ynl): Likewise.
53628         * math/libm-test.inc (j0_test): Add more tests.
53629         (j1_test): Likewise.
53630         (jn_test): Likewise.  Add trailing semicolon to existing test.
53631         (y0_test): Likewise.
53632         (y1_test): Likewise.
53633         * sysdeps/i386/fpu/libm-test-ulps: Update.
53634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53636         [BZ #13851]
53637         [BZ #13854]
53638         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53639         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53640         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53641         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53642         (__tanl): Set errno for infinite argument.
53643         * sysdeps/i386/fpu/mptan.c: Remove.
53644         * sysdeps/i386/fpu/s_tan.S: Likewise.
53645         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53646         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53647         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53648         * math/libm-test.inc (tan_test): Add more tests and enable more
53649         tests for double and long double.
53650         * sysdeps/i386/fpu/libm-test-ulps: Update.
53651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53653 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53655         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53656         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53658 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53660         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53661         * configure.in: Use it for both main tree and add-ons.
53662         * configure: Regenerated.
53664 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53666         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53668 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53670         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53671         in comment.
53673         [BZ #13851]
53674         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53675         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53676         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53677         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53678         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53679         infinite argument.
53680         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53681         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53682         != 0 for prec == 2.
53683         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53684         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53685         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53686         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53687         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53688         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53689         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53690         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53691         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53692         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53693         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53694         * math/libm-test.inc (cos_test): Add more tests and enable more
53695         tests for long double.
53696         (sin_test): Likewise.
53697         (sincos_test): Likewise.
53698         * sysdeps/i386/fpu/libm-test-ulps: Update.
53699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53701 2012-03-16  David S. Miller  <davem@davemloft.net>
53703         * sysdeps/sparc/fpu/math_private.h: New file.
53705 2012-03-15  David S. Miller  <davem@davemloft.net>
53707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53708         file.
53709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53711         file.
53712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53713         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53714         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53715         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53716         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53717         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53718         sysdep routines.
53719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53721         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53722         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53724         * sysdeps/sparc/sparc-ifunc.h: New file.
53725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53726         sparc-ifunc.h
53727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53729         Likewise.
53730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53731         Likewise.
53732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53736         Likewise.
53737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53742         Likewise.
53743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53744         Likewise.
53745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53749         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53750         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53751         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53752         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53753         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53754         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53755         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53756         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53757         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53758         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53759         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53760         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53761         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53762         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53763         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53764         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53765         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53766         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53767         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53768         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53770 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53772         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53773         scaling.
53774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53776 2012-03-15  Andreas Jaeger  <aj@suse.de>
53778         [BZ #13852]
53779         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53780         ieee754/flt-32 implementation for sin, cos and sincos.
53781         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53782         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53783         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53784         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53785         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53786         ieee754/flt-32 implementation for tan.
53788         * math/libm-test.inc (cos_test): Enable some large input tests for
53789         float as well
53790         (sin_test): Likewise.
53791         (sincos_test): Likewise.
53792         (tan_test): Add tests for large input.
53794         * sysdeps/i386/fpu/libm-test-ulps: Update.
53796 2012-03-15  Andreas Jaeger  <aj@suse.de>
53798         [BZ #13658]
53799         * math/libm-test.inc (cos_test): Add more test cases.
53800         (sin_test): Likewise.
53801         (sincos_test): Likewise.
53803 2012-03-15  Andreas Jaeger  <aj@suse.de>
53805         [BZ #13837]
53806         * math/libm-test.inc (cos_test): Add a test case for large input
53807         value.
53808         (sin_test): Likewise.
53809         (sincos_test): Likewise.
53811 2012-03-15  Andreas Jaeger  <aj@suse.de>
53812             Joseph Myers  <joseph@codesourcery.com>
53814         [BZ #13658]
53815         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53816         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53817         * sysdeps/i386/fpu/branred.c: Likewise.
53818         * sysdeps/i386/fpu/dosincos.c: Likewise.
53819         * sysdeps/i386/fpu/mpa.c: Likewise.
53820         * sysdeps/i386/fpu/s_cos.S: Likewise.
53821         * sysdeps/i386/fpu/s_sin.S: Likewise.
53822         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53823         * sysdeps/i386/fpu/sincos32.c: Likewise.
53825         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53826         Define.
53827         (libc_feupdateenv_53bit): Define.
53828         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53829         Define.
53830         (libc_feupdateenv_53bit): Define.
53832         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53833         53 bit (without extend i386 double precision).
53835         * math/libm-test.inc (sincos_test): Add tests for large input.
53836         (sin): Likewise.
53837         (cos): Likewise.
53839         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53841 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53845 2012-03-15  David S. Miller  <davem@davemloft.net>
53847         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53848         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53849         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53850         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53855         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53856         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53857         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53858         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53859         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53860         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53861         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53863         file.
53864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53866         file.
53867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53869         file.
53870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53872         file.
53873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53874         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53875         fmin/fmax sysdep routines.
53876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53878 2012-03-14  David S. Miller  <davem@davemloft.net>
53880         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53881         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53882         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53884         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53885         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53886         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53887         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53888         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53889         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53890         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53891         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53892         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53893         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53894         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53895         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53896         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53897         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53898         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53899         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53900         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53901         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53902         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53903         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53904         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53905         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53906         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53907         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53908         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53909         routines.
53910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53911         file.
53912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53914         file.
53915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53917         file.
53918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53920         file.
53921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53923         file.
53924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53926         file.
53927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53928         file.
53929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53930         file.
53931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53932         file.
53933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53934         New file.
53935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53936         file.
53937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53938         file.
53939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53941         file.
53942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53944         file.
53945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53947         file.
53948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53950         VIS3 routines.
53952         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53953         New file.
53955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53957         * sysdeps/sparc/configure.in: New file.
53958         * sysdeps/sparc/configure: Generate.
53959         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53960         * configure: Regenerate.
53961         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53962         * config.make.in (have-as-vis3): New.
53963         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53964         available use -Av9d instead of -Av9a.
53965         * sysdeps/sparc/sparc64/Makefile: Likewise.
53966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53968         New file.
53969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53970         file.
53971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53972         New file.
53973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53974         file.
53975         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53976         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53977         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53978         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53979         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53981         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53982         fzeros/fnegs to load 0x80000000 into a float register instead of
53983         using the stack.
53984         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53986 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53988         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53989         bits/syscall.h.
53990         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53991         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53992         ($(inst_includedir)/bits/syscall.h): Remove rule.
53993         ($(objpfx)bits/syscall.d): Include instead of
53994         $(objpfx)syscall-list.d.
53995         (generated): Change syscall-list.h and syscall-list.d to
53996         bits/syscall.h and bits/syscall.d.
53998 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54000         [BZ #13846]
54001         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54003 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54005         [BZ #13841]
54006         * math/s_csqrt.c: Include <float.h>.
54007         (__csqrt): Scale large or subnormal inputs.
54008         * math/s_csqrtf.c: Likewise.
54009         * math/s_csqrtl.c: Likewise.
54010         * math/libm-test.inc (csqrt_test): Add more tests.
54011         * sysdeps/i386/fpu/libm-test-ulps: Update.
54012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54014         [BZ #13840]
54015         * math/libm-test.inc (hypot_test): Add more tests.
54017 2012-03-13  David S. Miller  <davem@davemloft.net>
54019         [BZ #13840]
54020         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54021         double-precision for the calculation instead of scaling.
54023 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54025         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54026         manipulate bits before adding and subtracting TWO52[sx].
54027         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54028         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54029         Likewise.
54030         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54032 2012-03-13  David S. Miller  <davem@davemloft.net>
54034         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54035         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54036         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54037         rtld-global-offsets.h
54038         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54040         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54041         large parameters.
54043         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54045         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54046         'err' in the ifdef scope in which it is actually used.
54048         * nss/nss_db/db-init.c: Include string.h
54050 2012-03-12  David S. Miller  <davem@davemloft.net>
54052         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54053         masking out of the most significant byte of random value used.
54054         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54055         Fix coding style in previous change.
54057         * sysdeps/unix/sysv/linux/kernel-features.h
54058         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54059         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54060         expression.
54061         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54062         later.
54064 2012-03-11  David S. Miller  <davem@davemloft.net>
54066         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54067         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54068         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54069         for 'resultvar' otherwise things get truncated on 64-bit.
54071         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54072         Fix masking out of the most significant byte of random value used.
54074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54076 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54080 2012-03-09  David S. Miller  <davem@davemloft.net>
54082         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54083         variables with appropriate CPP guards.
54084         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54085         from the frame pointer, not the stack pointer.  Correct layout
54086         comments.  Fix test on resulting framesize and the management of
54087         the outregs buffer for pltexit.  Preserve floating point return
54088         values across _dl_call_pltexit call.
54089         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54090         framesize and the management of the outregs buffer for pltexit.
54091         Preserve floating point return values across _dl_call_pltexit
54092         call.
54093         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54094         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54095         (la_sparc64_gnu_pltexit): New functions.
54096         (print_exit): Fix format string for return register value.
54098 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54100         * sunrpc/Makefile (others): Add rpcgen.
54101         ($(objpfx)rpcgen): Remove special build rule and dependency on
54102         libc.
54103         * sunrpc/rpcgen.c: New file.
54105 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54107         [BZ #13673]
54108         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54109         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54110         * sysdeps/i386/crti.S: Likewise.
54111         * sysdeps/i386/crtn.S: Likewise.
54112         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54113         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54114         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54115         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54116         * sysdeps/sh/crti.S: Likewise.
54117         * sysdeps/sh/crtn.S: Likewise.
54118         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54120         [BZ #13673]
54121         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54122         with URL.
54123         * locale/programs/locfile-kw.gperf: Likewise.
54124         * locale/programs/charmap-kw.h: Regenerated.
54125         * locale/programs/locfile-kw.h: Likewise.
54127         [BZ #13673]
54128         * intl/plural.y: Replace FSF snail mail address with URL.
54129         * intl/plural.c: Regenerated.
54131 2012-03-09  Richard Henderson  <rth@twiddle.net>
54133         * include/math_private.h: Remove file.
54134         * math/math_private.h: Move file ...
54135         * sysdeps/generic/math_private.h: ... here.
54137         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54138         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54139         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54141         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54142         and <math_private.h>.
54143         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54144         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54145         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54146         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54147         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54148         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54149         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54150         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54151         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54152         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54153         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54154         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54155         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54156         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54157         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54158         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54159         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54160         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54161         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54162         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54163         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54164         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54165         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54166         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54167         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54168         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54169         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54170         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54171         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54172         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54173         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54174         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54175         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54176         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54177         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54178         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54179         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54180         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54181         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54182         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54183         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54184         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54185         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54186         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54187         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54188         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54189         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54190         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54191         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54192         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54193         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54194         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54195         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54196         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54197         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54198         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54199         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54200         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54201         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54202         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54203         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54204         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54205         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54206         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54207         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54208         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54209         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54210         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54211         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54212         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54213         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54214         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54215         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54216         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54217         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54218         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54219         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54220         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54221         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54222         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54223         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54224         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54225         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54226         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54227         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54228         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54229         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54230         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54231         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54232         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54233         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54234         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54235         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54236         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54237         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54238         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54239         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54240         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54241         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54242         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54243         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54244         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54245         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54246         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54247         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54248         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54249         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54250         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54251         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54252         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54253         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54254         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54255         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54256         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54257         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54258         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54259         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54260         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54261         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54262         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54263         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54264         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54265         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54266         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54267         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54268         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54269         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54270         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54271         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54272         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54273         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54274         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54275         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54276         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54277         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54278         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54279         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54280         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54281         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54282         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54283         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54284         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54285         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54286         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54287         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54288         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54289         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54290         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54291         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54292         * sysdeps/ieee754/k_standard.c: Likewise.
54293         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54294         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54295         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54296         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54297         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54298         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54299         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54300         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54301         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54302         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54303         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54304         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54305         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54306         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54307         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54308         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54309         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54310         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54311         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54312         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54313         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54314         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54315         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54316         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54317         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54318         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54319         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54320         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54321         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54322         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54323         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54324         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54325         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54326         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54327         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54328         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54329         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54330         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54331         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54332         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54333         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54334         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54335         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54336         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54337         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54338         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54339         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54340         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54341         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54342         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54343         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54344         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54345         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54346         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54347         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54348         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54349         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54350         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54351         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54352         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54353         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54354         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54355         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54356         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54357         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54358         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54359         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54360         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54361         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54362         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54363         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54364         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54365         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54366         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54367         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54368         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54369         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54370         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54371         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54372         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54373         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54374         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54375         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54376         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54377         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54378         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54379         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54380         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54381         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54382         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54383         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54384         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54385         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54386         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54387         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54388         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54389         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54390         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54391         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54392         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54393         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54394         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54395         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54396         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54397         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54398         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54399         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54400         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54401         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54402         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54403         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54404         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54405         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54406         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54407         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54408         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54409         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54410         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54411         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54412         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54413         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54414         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54415         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54416         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54417         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54418         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54419         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54420         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54421         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54422         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54423         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54424         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54425         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54426         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54427         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54428         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54429         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54430         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54431         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54432         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54433         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54434         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54435         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54436         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54437         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54438         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54439         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54440         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54441         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54442         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54443         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54444         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54445         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54446         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54447         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54448         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54449         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54450         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54451         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54452         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54453         * sysdeps/ieee754/s_lib_version.c: Likewise.
54454         * sysdeps/ieee754/s_matherr.c: Likewise.
54455         * sysdeps/ieee754/s_signgam.c: Likewise.
54456         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54457         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54458         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54459         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54460         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54461         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54462         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54463         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54464         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54465         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54466         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54467         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54468         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54469         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54470         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54471         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54472         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54473         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54474         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54475         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54476         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54478 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54480         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54481         * sunrpc/rpc_main.c: Likewise.
54482         * sunrpc/rpc_svcout.c: Likewise.
54484 2012-03-09  David S. Miller  <davem@davemloft.net>
54486         * include/math_private.h: New file.
54488 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54490         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54491         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54492         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54493         from <bits/socket_type.h>.
54494         (enum __socket_type): Don't define here.
54495         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54496         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54497         bits/socket_type.h.
54499         [BZ #13566]
54500         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54501         checking __USE_GNU.
54503         * Makerules ($(inst_includedir)/%.h): New rule.
54504         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54505         (install-others): Remove variable setting.
54506         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54508 2012-03-08  Richard Henderson  <rth@twiddle.net>
54510         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54511         from macro to inline function; merge with the
54512         !__LIBC_INTERNAL_MATH_INLINES version.
54513         (__ieee754_sqrtf): Likewise.
54515         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54516         to inline function.
54517         (__rintf, __floor, __floorf): Likewise.
54519         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54520         macro to inline function.
54521         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54523         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54524         not <math/math_private.h>.
54526 2012-03-08  David S. Miller  <davem@davemloft.net>
54528         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54529         copyright year.
54530         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54532 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54534         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54535         normalization.
54536         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54537         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54539 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54541         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54542         be defined individually, they must be defined as a block.  Define
54543         S for printing a string instead of hidint the different by using a
54544         macro for adding the 'l'.
54545         * stdio-common/tst-fphex-wide.c: Adjust.
54547 2012-03-07  Marek Polacek  <polacek@redhat.com>
54549         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54551 2012-03-08  Marek Polacek  <polacek@redhat.com>
54553         [BZ #13806]
54554         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54555         * stdio-common/tst-fphex.c: Define a few macros to make the
54556         test reusable.  Use them.
54557         * stdio-common/tst-fphex-wide.c: New file.
54559 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54561         [BZ #6911]
54562         * manual/macros.texi (gnusystems): New macro.
54563         (nongnusystems): Likewise.
54564         (gnulinuxhurdsystems): Likewise.
54565         (gnuhurdsystems): Likewise..
54566         (gnulinuxsystems): Likewise.
54567         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54568         variants of the GNU system, not "GNU system".
54569         * manual/conf.texi: Likewise.
54570         * manual/errno.texi: Likewise.  Update example of errno macro
54571         expansion.
54572         * manual/filesys.texi: Likewise.
54573         (getumask): Document as specific to GNU/Hurd.
54574         * manual/install.texi: Likewise.  Reword some references to
54575         GNU/Linux.
54576         * manual/intro.texi: Likewise.
54577         * manual/io.texi: Likewise.
54578         (File Name Portability): Detail which constraints are inapplicable
54579         to all GNU systems and which are only inapplicable to GNU/Hurd.
54580         * manual/job.texi: Likewise.
54581         * manual/llio.texi: Likewise.
54582         (O_NOCTTY): Document as present on GNU/Linux.
54583         * manual/maint.texi: Likewise.
54584         * manual/memory.texi: Likewise.
54585         * manual/pattern.texi: Likewise.
54586         * manual/pipe.texi: Likewise.
54587         * manual/process.texi: Likewise.
54588         * manual/resource.texi: Likewise.
54589         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54590         child on GNU/Hurd.
54591         * manual/setjmp.texi: Likewise.
54592         * manual/signal.texi: Likewise.
54593         * manual/startup.texi: Likewise.
54594         * manual/stdio.texi: Likewise.
54595         * manual/terminal.texi: Likewise.
54596         (ONLCR): Document as POSIX.
54597         (OXTABS): Document availability on GNU/Linux as XTABS.
54598         (ONOEOT): Document availability separately from other bits.
54599         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54600         * manual/time.texi: Likewise.
54601         * manual/users.texi: Likewise.
54602         * INSTALL: Regenerated.
54603         * sysdeps/gnu/errlist.c: Regenerated.
54605         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54606         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54607         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54608         puts.
54609         * configure: Regenerated.
54611 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54613         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54614         default includes instead of AC_HEADER_CHECK.
54615         * sysdeps/i386/configure: Regenerated.
54617         [BZ #10716]
54618         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54619         * math/s_cacoshf.c (__cacoshf): Likewise.
54620         * math/s_cacoshl.c (__cacoshl): Likewise.
54621         * math/s_casinh.c (__casinh): Set signs of result from argument.
54622         * math/s_casinhf.c (__casinhf): Likewise.
54623         * math/s_casinhl.c (__casinhl): Likewise.
54624         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54625         (casinh_test): Add more tests.
54626         * sysdeps/i386/fpu/libm-test-ulps: Update.
54627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54629 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54631         * po/zh_TW.po: Update from translation team.
54633         * login/Makefile (distribute): Remove variable.
54634         * catgets/Makefile: Likewise.
54635         * mach/Makefile: Likewise.
54636         * malloc/Makefile: Likewise.
54637         * misc/Makefile: Likewise.
54638         * iconv/Makefile: Likewise.
54639         * nscd/Makefile: Likewise.
54640         * hurd/Makefile: Likewise.
54641         * manual/Makefile: Likewise.
54642         * locale/Makefile: Likewise.
54643         * intl/Makefile: Likewise.
54644         * conform/Makefile: Likewise.
54645         * nss/Makefile: Likewise.
54646         * time/Makefile: Likewise.
54647         * soft-fp/Makefile: Likewise.
54648         * dirent/Makefile: Likewise.
54649         * gmon/Makefile: Likewise.
54650         * po/Makefile: Likewise.
54651         * rt/Makefile: Likewise.
54652         * socket/Makefile: Likewise.
54653         * math/Makefile: Likewise.
54654         * signal/Makefile: Likewise.
54655         * debug/Makefile: Likewise.
54656         * elf/Makefile: Likewise.
54657         * timezone/Makefile: Likewise.
54658         * stdlib/Makefile: Likewise.
54659         * iconvdata/Makefile: Likewise.
54660         * sunrpc/Makefile: Likewise.
54661         * io/Makefile: Likewise.
54662         * argp/Makefile: Likewise.
54663         * inet/Makefile: Likewise.
54664         * hesiod/Makefile: Likewise.
54665         * grp/Makefile: Likewise.
54666         * csu/Makefile: Likewise.
54667         * wctype/Makefile: Likewise.
54668         * crypt/Makefile: Likewise.
54669         * libio/Makefile: Likewise.
54670         * string/Makefile: Likewise.
54671         * nis/Makefile: Likewise.
54672         * resolv/Makefile: Likewise.
54673         * stdio-common/Makefile: Likewise.
54674         * wcsmbs/Makefile: Likewise.
54675         * dlfcn/Makefile: Likewise.
54676         * posix/Makefile: Likewise.
54678         [BZ #6959]
54679         * timezone/Makefile: Don't install timezone files, just the programs
54680         and scripts.
54682 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54684         * nss/databases.def: Add missing gshadow entry.
54686         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54688 2012-03-06  Marek Polacek  <polacek@redhat.com>
54690         [BZ #13726]
54691         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54692         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54693         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54694         * stdio-common/tst-long-dbl-fphex.c: New file.
54696 2012-03-06  David S. Miller  <davem@davemloft.net>
54698         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54699         (set_obp_int): New function.
54700         (get_obp_int): New function.
54701         (__get_clockfreq_via_dev_openprom): Likewise.
54702         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54703         Avoid unused variable warnings on 'val' and use builtin_expect.
54704         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54705         __builtin_expect.
54706         (INLINE_CLONE_SYSCALL): Likewise.
54708 2012-03-05  David S. Miller  <davem@davemloft.net>
54710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54712 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54716         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54717         only for |x| >= 40.
54718         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54720 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54722         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54723         Replace gettimeofday with __vdso_gettimeofday.
54725         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54726         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54727         __vdso_clock_gettime and __vdso_getcpu.
54729         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54730         time with __vdso_time.
54732 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54734         * manual/lang.texi (size_t): Note types to which size_t may be
54735         equivalent with the GNU C Library, but do not describe when
54736         differences between them are significant.
54738 2012-03-05  Andreas Jaeger  <aj@suse.de>
54740         * sysdeps/i386/fpu/libm-test-ulps: Update.
54742 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54744         [BZ #3976]
54745         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54746         (__ieee754_pow): Save and restore rounding mode and use
54747         round-to-nearest for main computations.
54748         * math/libm-test.inc (pow_test_tonearest): New function.
54749         (pow_test_towardzero): Likewise.
54750         (pow_test_downward): Likewise.
54751         (pow_test_upward): Likewise.
54752         (main): Call the new functions.
54753         * sysdeps/i386/fpu/libm-test-ulps: Update.
54754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54756         [BZ #3976]
54757         * math/libm-test.inc (cosh_test_tonearest): New function.
54758         (cosh_test_towardzero): Likewise.
54759         (cosh_test_downward): Likewise.
54760         (cosh_test_upward): Likewise.
54761         (sinh_test_tonearest): Likewise.
54762         (sinh_test_towardzero): Likewise.
54763         (sinh_test_downward): Likewise.
54764         (sinh_test_upward): Likewise.
54765         (main): Call the new functions.
54766         * sysdeps/i386/fpu/libm-test-ulps: Update.
54767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54769 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54771         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54772         default stack guard is set in last bytes.
54773         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54775 2012-03-05  Kees Cook  <keescook@chromium.org>
54777         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54779         [BZ #13656]
54780         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54781         possibly allocate from heap instead of stack.
54782         * stdio-common/bug-vfprintf-nargs.c: New file.
54783         * stdio-common/Makefile (tests): Add nargs overflow test.
54785 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54789 2012-03-03  Marek Polacek  <polacek@redhat.com>
54791         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54792         * math/math_private.h: Likewise.
54793         * stdlib/tst-strtod.c: Likewise.
54794         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54795         * sysdeps/x86_64/bits/atomic.h: Likewise.
54797 2012-03-02  David S. Miller  <davem@davemloft.net>
54799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54803         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54804         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54805         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54806         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54808 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54810         [BZ #13792]
54811         * manual/examples/README: New file, says the example source files
54812         can be used under GPL>=2.
54813         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54814         line containing just "*/".
54815         * manual/examples/add.c: Add copyright header (GPL>=2).
54816         * manual/examples/argp-ex1.c: Likewise.
54817         * manual/examples/argp-ex2.c: Likewise.
54818         * manual/examples/argp-ex3.c: Likewise.
54819         * manual/examples/argp-ex4.c: Likewise.
54820         * manual/examples/atexit.c: Likewise.
54821         * manual/examples/db.c: Likewise.
54822         * manual/examples/dir.c: Likewise.
54823         * manual/examples/dir2.c: Likewise.
54824         * manual/examples/execinfo.c: Likewise.
54825         * manual/examples/filecli.c: Likewise.
54826         * manual/examples/filesrv.c: Likewise.
54827         * manual/examples/fmtmsgexpl.c: Likewise.
54828         * manual/examples/genpass.c: Likewise.
54829         * manual/examples/inetcli.c: Likewise.
54830         * manual/examples/inetsrv.c: Likewise.
54831         * manual/examples/isockad.c: Likewise.
54832         * manual/examples/longopt.c: Likewise.
54833         * manual/examples/memopen.c: Likewise.
54834         * manual/examples/memstrm.c: Likewise.
54835         * manual/examples/mkfsock.c: Likewise.
54836         * manual/examples/mkisock.c: Likewise.
54837         * manual/examples/mygetpass.c: Likewise.
54838         * manual/examples/pipe.c: Likewise.
54839         * manual/examples/popen.c: Likewise.
54840         * manual/examples/rprintf.c: Likewise.
54841         * manual/examples/search.c: Likewise.
54842         * manual/examples/select.c: Likewise.
54843         * manual/examples/setjmp.c: Likewise.
54844         * manual/examples/sigh1.c: Likewise.
54845         * manual/examples/sigusr.c: Likewise.
54846         * manual/examples/stpcpy.c: Likewise.
54847         * manual/examples/strdupa.c: Likewise.
54848         * manual/examples/strftim.c: Likewise.
54849         * manual/examples/strncat.c: Likewise.
54850         * manual/examples/subopt.c: Likewise.
54851         * manual/examples/swapcontext.c: Likewise.
54852         * manual/examples/termios.c: Likewise.
54853         * manual/examples/testopt.c: Likewise.
54854         * manual/examples/testpass.c: Likewise.
54855         * manual/examples/timeval_subtract.c: Likewise.
54857         [BZ #13792]
54858         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54859         function to ...
54860         * manual/timeval_subtract.c.texi: ... here, new file.
54862 2012-03-02  David S. Miller  <davem@davemloft.net>
54864         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54866 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54868         [BZ #3976]
54869         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54870         (__sin): Save and restore rounding mode and use round-to-nearest
54871         for all computations.
54872         (__cos): Save and restore rounding mode and use round-to-nearest
54873         for all computations.
54874         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54875         <fenv.h>.
54876         (tan): Save and restore rounding mode and use round-to-nearest for
54877         all computations.
54878         * math/libm-test.inc (cos_test_tonearest): New function.
54879         (cos_test_towardzero): Likewise.
54880         (cos_test_downward): Likewise.
54881         (cos_test_upward): Likewise.
54882         (sin_test_tonearest): Likewise.
54883         (sin_test_towardzero): Likewise.
54884         (sin_test_downward): Likewise.
54885         (sin_test_upward): Likewise.
54886         (tan_test_tonearest): Likewise.
54887         (tan_test_towardzero): Likewise.
54888         (tan_test_downward): Likewise.
54889         (tan_test_upward): Likewise.
54890         (main): Call the new functions.
54891         * sysdeps/i386/fpu/libm-test-ulps: Update.
54892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54894         [BZ #10135]
54895         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54896         small n, then large n, before computing and testing k+n.
54897         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54898         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54899         Likewise.
54900         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54901         Likewise.
54902         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54903         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54904         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54905         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54906         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54907         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54908         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54909         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54910         * math/libm-test.inc (scalbn_test): Add more tests.
54911         (scalbln_test): Likewise.
54913         * manual/filesys.texi (mode_t): Describe constraints on size and
54914         signedness, not exact equivalence to a particular type.
54915         (ino_t): Likewise.
54916         (ino64_t): Likewise.
54917         (dev_t): Likewise.
54918         (nlink_t): Likewise.
54919         (blkcnt_t): Likewise.
54920         (blkcnt64_t): Likewise.
54921         * manual/llio.texi (off_t): Likewise.
54923         [BZ #3976]
54924         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54925         (__ieee754_exp): Save and restore rounding mode and use
54926         round-to-nearest for all computations.
54927         * math/libm-test.inc (exp_test_tonearest): New function.
54928         (exp_test_towardzero): Likewise.
54929         (exp_test_downward): Likewise.
54930         (exp_test_upward): Likewise.
54931         (main): Call the new functions.
54932         * sysdeps/i386/fpu/libm-test-ulps: Update.
54933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54935 2012-03-01  Chris Demetriou  <cgd@google.com>
54937         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54938         have predictable order.
54940 2012-03-01  David S. Miller  <davem@davemloft.net>
54942         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54944         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54945         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54946         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54947         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54949         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54950         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54951         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54953         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54954         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54955         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54956         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54957         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54961         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54962         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54963         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54965         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54966         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54967         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54968         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54969         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54970         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54971         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54972         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54973         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54974         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54975         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54976         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54977         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54978         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54979         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54980         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54981         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54982         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54983         * sysdeps/sparc/elf/configure: Regenerated.
54985 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54987         * configure.in (AS, LD): Require binutils 2.20 or later.
54988         * configure: Regenerated.
54989         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54990         as required minimum version.
54991         * INSTALL: Regenerated.
54993         [BZ #2541]
54994         [BZ #4108]
54995         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54996         before squaring exponent.
54997         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54998         bottom long double and 27 bits of top long double before squaring
54999         exponent.
55000         * math/libm-test.inc (erfc_test): Add more tests.
55001         * sysdeps/i386/fpu/libm-test-ulps: Update.
55002         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55005 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55007         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55008         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55009         containing bit-fields.
55010         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55011         * soft-fp/single.h (_FP_UNION_S): Likewise.
55012         * soft-fp/double.h (_FP_UNION_D): Likewise.
55014 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55016         [BZ #13786]
55017         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55018         not include ../strcmp.S.
55019         [USE_AS_STRNCASECMP_L]: Likewise.
55020         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55021         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55022         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55023         (__strncasecmp_l_ia32): Define as alias to
55024         __strncasecmp_l_nonascii.
55026         [BZ #5794]
55027         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55028         * sysdeps/i386/fpu/libm-test-ulps: Update.
55029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55031         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55034 2012-02-29  Jeff Law  <law@redhat.com>
55036         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55037         out of bounds read.
55039 2012-02-29  Marek Polacek  <polacek@redhat.com>
55041         [BZ #13706]
55042         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55043         * elf/Makefile: Add rules to run tst-unused-dep.out.
55045 2012-02-28  David S. Miller  <davem@davemloft.net>
55047         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55048         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55049         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55050         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55051         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55052         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55054 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55056         * math/libm-test.inc (llround_test): Move one test from
55057         lround_test.  Use TEST_f_L in moved test.
55058         (lround_test): Move misplaced test to llround_test.  Add testcase
55059         from bug 2561.
55061 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55063         * sysdeps/x86_64/fpu/e_expf.S: New file.
55064         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55066 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55068         [BZ #13637]
55069         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55070         of remain_len that may cause incomplete multi-byte character and
55071         false match.
55072         * posix/bug-regex33.c: New file.
55073         * posix/Makefile (tests): Add bug-regex33.
55075 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55077         * manual/macros.texi: New file.
55078         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55079         * manual/libc.texinfo: Include macros.texi.
55080         * manual/creatute.texi: Likewise.
55081         * manual/install.texi: Likewise.
55082         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55083         @glibcadj{} in references to the GNU C Library.
55084         * manual/charset.texi: Likewise.
55085         * manual/conf.texi: Likewise.
55086         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55087         when not using those macros.
55088         * manual/creature.texi: Likewise.
55089         * manual/crypt.texi: Likewise.
55090         * manual/errno.texi: Likewise.
55091         * manual/filesys.texi: Likewise.
55092         * manual/header.texi: Likewise.
55093         * manual/install.texi: Likewise.
55094         * manual/intro.texi: Likewise.
55095         * manual/io.texi: Likewise.
55096         * manual/job.texi: Likewise.
55097         * manual/lang.texi: Likewise.
55098         * manual/libc.texiinfo: Likewise.
55099         * manual/llio.texi: Likewise.
55100         * manual/locale.texi: Likewise.
55101         * manual/maint.texi: Likewise.
55102         * manual/math.texi: Likewise.
55103         * manual/memory.texi: Likewise.
55104         * manual/message.texi: Likewise.
55105         * manual/nss.texi: Likewise.
55106         * manual/pattern.texi: Likewise.
55107         * manual/process.texi: Likewise.
55108         * manual/resource.texi: Likewise.
55109         * manual/search.texi: Likewise.
55110         * manual/setjmp.texi: Likewise.
55111         * manual/signal.texi: Likewise.
55112         * manual/socket.texi: Likewise.
55113         * manual/startup.texi: Likewise.
55114         * manual/stdio.texi: Likewise.
55115         * manual/string.texi: Likewise.
55116         * manual/sysinfo.texi: Likewise.
55117         * manual/syslog.texi: Likewise.
55118         * manual/terminal.texi: Likewise.
55119         * manual/time.texi: Likewise.
55120         * manual/users.texi: Likewise.
55121         * INSTALL: Regenerated.
55122         * NOTES: Regenerated.
55123         * sysdeps/gnu/errlist.c: Regenerated.
55125 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55127         * include/dirent.h: Include <dirstream.h> before
55128         <dirent/dirent.h>.
55130 2012-02-28  David S. Miller  <davem@davemloft.net>
55132         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55133         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55134         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55135         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55137 2012-02-27  David S. Miller  <davem@davemloft.net>
55139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55141         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55142         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55145         frame pointer instead of stack pointer relative arg slot.
55146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55147         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55148         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55150 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55152         [BZ #3992]
55153         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55155 2012-02-27  David S. Miller  <davem@davemloft.net>
55157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55161         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55162         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55163         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55164         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55166 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55168         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55169         later.  Allow versions 5-9.
55170         * configure: Regenerated.
55171         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55172         required minimum version and 4.6 as recommended version.  Do not
55173         mention bugs in GCC 2.7 and 2.8.
55174         * INSTALL: Regenerated.
55176 2012-02-27  David S. Miller  <davem@davemloft.net>
55178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55182         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55183         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55184         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55185         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55187         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55188         manipulate bits before adding and subtracting TWO112[sx].
55189         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55191 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55193         [BZ #13775]
55194         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55195         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55196         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55197         being in POSIX, because they are in 1003.1-2008.
55199         * rt/tst-aio.c: Include <fcntl.h>.
55200         * rt/tst-aio7.c: Likewise.
55201         * rt/tst-aio64.c: Likewise.
55203         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55205 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55207         * manual/install.texi (--with-headers): Describe headers as
55208         interface headers, not private headers.
55209         (Specific advice for GNU/Linux systems): Describe use of headers
55210         from "make headers_install", not private headers from older
55211         kernels.
55212         * INSTALL: Regenerated.
55213         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55214         Change to 2.6.19.
55215         * sysdeps/unix/sysv/linux/configure: Regenerated.
55217         * manual/llio.texi (fclean): Remove documentation.
55219         * manual/Makefile (libc-texi-generated): New variable.  Include
55220         version.texi.
55221         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55222         $(libc-texi-generated), not duplicated list of files.
55223         (version.texi, stamp-version): New rules.
55224         (realclean): Remove $(libc-texi-generated), not individual files
55225         from that list.  Do not remove dir-add.texinfo.
55226         * manual/libc.texinfo: Comment out uses of edition numbers and
55227         references to printed manual.  Remove last-updated dates.
55228         (EDITION): Comment out.
55229         (ISBN): Likewise.
55230         (VERSION, UPDATED): Remove.
55231         (version.texi): Include.
55233 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55235         * sysdeps/posix/spawni.c: Include <signal.h>.
55236         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55237         * sysdeps/pthread/aio_fsync.c: Likewise.
55239 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55241         * conform/Makefile (tests): Run only when not cross-compiling and
55242         when fast-check is not defined.
55244         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55245         * conform/data/limits.h-data: Fixes for POSIX2008.
55246         * conform/run-conformtest.sh: Run all tests.
55247         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55248         headers.
55249         * include/bits/dlfcn.h: Likewise.
55250         * include/langinfo.h: Likewise.
55251         * include/monetary.h: Likewise.
55252         * include/sys/poll.h: Likewise.
55254         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55255         for __USE_GNU.
55256         * posix/spawn.h: Define __need_sigset_t.
55257         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55258         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55259         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55260         to get sigevent_t only.
55261         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55262         only for __USE_GNU.
55263         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55264         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55265         process_vm_writev only for __USE_GNU.
55266         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55268         * conform/Makefile: For now ignore errors from run-conformtest.
55269         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55270         POSIX to avoid namespace pollution.  Don't prepend headers.
55271         * conform/data/aio.h-data: Fixes for POSIX testing.
55272         * conform/data/fcntl.h-data: Likewise.
55273         * conform/data/glob.h-data: Likewise.
55274         * conform/data/grp.h-data: Likewise.
55275         * conform/data/pthread.h-data: Likewise.
55276         * conform/data/pwd.h-data: Likewise.
55277         * conform/data/signal.h-data: Likewise.
55278         * conform/data/spawn.h-data: Likewise.
55279         * conform/data/stdio.h-data: Likewise.
55280         * conform/data/stdlib.h-data: Likewise.
55281         * conform/data/stropts.h-data: Likewise.
55282         * conform/data/sys/mman.h-data: Likewise.
55283         * conform/data/sys/stat.h-data: Likewise.
55284         * conform/data/sys/types.h-data: Likewise.
55285         * conform/data/sys/wait.h-data: Likewise.
55286         * conform/data/time.h-data: Likewise.
55287         * conform/data/unistd.h-data: Likewise.
55288         * conform/data/utime.h-data: Likewise.
55290         * io/sys/stat.h: fchmod was always in POSIX.
55291         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55292         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55293         * rt/aio.h: Define __need_timespec before including <time.h>.
55294         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55295         struct.  Add forward declaration of pthread_attr_t and use it in
55296         sigevent.
55297         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55298         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55299         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55300         always remove CLK_TCK definition.
55302 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55304         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55306 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55308         * conform/run-conformtest.sh: New file.
55309         * conform/Makefile: Run run-conformtest for tests.
55310         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55311         support.
55313         * conform/data/uchar.h-data: New file.
55314         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55315         * conform/data/arpa/inet.h-data: Likewise.
55316         * conform/data/assert.h-data: Likewise.
55317         * conform/data/complex.h-data: Likewise.
55318         * conform/data/cpio.h-data: Likewise.
55319         * conform/data/ctype.h-data: Likewise.
55320         * conform/data/dirent.h-data: Likewise.
55321         * conform/data/dlfcn.h-data: Likewise.
55322         * conform/data/errno.h-data: Likewise.
55323         * conform/data/fcntl.h-data: Likewise.
55324         * conform/data/float.h-data: Likewise.
55325         * conform/data/fmtmsg.h-data: Likewise.
55326         * conform/data/fnmatch.h-data: Likewise.
55327         * conform/data/ftw.h-data: Likewise.
55328         * conform/data/glob.h-data: Likewise.
55329         * conform/data/grp.h-data: Likewise.
55330         * conform/data/iconv.h-data: Likewise.
55331         * conform/data/inttypes.h-data: Likewise.
55332         * conform/data/langinfo.h-data: Likewise.
55333         * conform/data/libgen.h-data: Likewise.
55334         * conform/data/limits.h-data: Likewise.
55335         * conform/data/locale.h-data: Likewise.
55336         * conform/data/math.h-data: Likewise.
55337         * conform/data/monetary.h-data: Likewise.
55338         * conform/data/mqueue.h-data: Likewise.
55339         * conform/data/ndbm.h-data: Likewise.
55340         * conform/data/net/if.h-data: Likewise.
55341         * conform/data/netdb.h-data: Likewise.
55342         * conform/data/netinet/in.h-data: Likewise.
55343         * conform/data/nl_types.h-data: Likewise.
55344         * conform/data/poll.h-data: Likewise.
55345         * conform/data/pthread.h-data: Likewise.
55346         * conform/data/pwd.h-data: Likewise.
55347         * conform/data/regex.h-data: Likewise.
55348         * conform/data/sched.h-data: Likewise.
55349         * conform/data/search.h-data: Likewise.
55350         * conform/data/semaphore.h-data: Likewise.
55351         * conform/data/setjmp.h-data: Likewise.
55352         * conform/data/signal.h-data: Likewise.
55353         * conform/data/spawn.h-data: Likewise.
55354         * conform/data/stdarg.h-data: Likewise.
55355         * conform/data/stdio.h-data: Likewise.
55356         * conform/data/stdlib.h-data: Likewise.
55357         * conform/data/string.h-data: Likewise.
55358         * conform/data/strings.h-data: Likewise.
55359         * conform/data/stropts.h-data: Likewise.
55360         * conform/data/sys/ipc.h-data: Likewise.
55361         * conform/data/sys/mman.h-data: Likewise.
55362         * conform/data/sys/msg.h-data: Likewise.
55363         * conform/data/sys/resource.h-data: Likewise.
55364         * conform/data/sys/select.h-data: Likewise.
55365         * conform/data/sys/sem.h-data: Likewise.
55366         * conform/data/sys/shm.h-data: Likewise.
55367         * conform/data/sys/socket.h-data: Likewise.
55368         * conform/data/sys/stat.h-data: Likewise.
55369         * conform/data/sys/statvfs.h-data: Likewise.
55370         * conform/data/sys/time.h-data: Likewise.
55371         * conform/data/sys/timeb.h-data: Likewise.
55372         * conform/data/sys/times.h-data: Likewise.
55373         * conform/data/sys/types.h-data: Likewise.
55374         * conform/data/sys/uio.h-data: Likewise.
55375         * conform/data/sys/un.h-data: Likewise.
55376         * conform/data/sys/utsname.h-data: Likewise.
55377         * conform/data/sys/wait.h-data: Likewise.
55378         * conform/data/syslog.h-data: Likewise.
55379         * conform/data/tar.h-data: Likewise.
55380         * conform/data/termios.h-data: Likewise.
55381         * conform/data/utime.h-data: Likewise.
55382         * conform/data/utmpx.h-data: Likewise.
55383         * conform/data/varargs.h-data: Likewise.
55384         * conform/data/wchar.h-data: Likewise.
55385         * conform/data/wctype.h-data: Likewise.
55386         * conform/data/wordexp.h-data: Likewise.
55388         * include/stropts.h: New file.
55389         * include/uchar.h: New file.
55390         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55391         * include/assert.h: Likewise.
55392         * include/ctype.h: Likewise.
55393         * include/dirent.h: Likewise.
55394         * include/dlfcn.h: Likewise.
55395         * include/fcntl.h: Likewise.
55396         * include/fnmatch.h: Likewise.
55397         * include/glob.h: Likewise.
55398         * include/grp.h: Likewise.
55399         * include/libio.h: Likewise.
55400         * include/locale.h: Likewise.
55401         * include/math.h: Likewise.
55402         * include/net/if.h: Likewise.
55403         * include/netdb.h: Likewise.
55404         * include/netinet/in.h: Likewise.
55405         * include/pthread.h: Likewise.
55406         * include/pwd.h: Likewise.
55407         * include/regex.h: Likewise.
55408         * include/sched.h: Likewise.
55409         * include/search.h: Likewise.
55410         * include/setjmp.h: Likewise.
55411         * include/signal.h: Likewise.
55412         * include/stdio.h: Likewise.
55413         * include/stdlib.h: Likewise.
55414         * include/string.h: Likewise.
55415         * include/sys/cdefs.h: Likewise.
55416         * include/sys/mman.h: Likewise.
55417         * include/sys/msg.h: Likewise.
55418         * include/sys/resource.h: Likewise.
55419         * include/sys/select.h: Likewise.
55420         * include/sys/socket.h: Likewise.
55421         * include/sys/stat.h: Likewise.
55422         * include/sys/statvfs.h: Likewise.
55423         * include/sys/time.h: Likewise.
55424         * include/sys/times.h: Likewise.
55425         * include/sys/uio.h: Likewise.
55426         * include/sys/utsname.h: Likewise.
55427         * include/sys/wait.h: Likewise.
55428         * include/termios.h: Likewise.
55429         * include/time.h: Likewise.
55430         * include/ulimit.h: Likewise.
55431         * include/unistd.h: Likewise.
55432         * include/utime.h: Likewise.
55433         * include/wchar.h: Likewise.
55434         * include/wctype.h: Likewise.
55435         * include/wordexp.h: Likewise.
55437         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55439         * time/time.h: TIME_UTC must be a macro.
55440         Make timespec_get available for ISO C11 only as well.
55442 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55444         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55445         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55447 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55449         * configure.in: Use -o not -a in test for unsupported multi-arch.
55451 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55453         * manual/texinfo.tex: Update to version 2012-01-19.16.
55455 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55457         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55459 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55461         [BZ #13738]
55462         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55463         * manual/fdl-1.3.texi: New file.
55464         * manual/fdl-1.1.texi: File removed.
55466         [BZ #13738]
55467         * manual/libc.texinfo (FDL_VERSION): New @set.
55468         Use it for mention of FDL in cover text.
55469         (Documentation License): Use it in @include file name.
55471 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55472             Roland McGrath  <roland@hack.frob.com>
55474         [BZ #5461]
55475         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55476         (not LONG_LONG_MAX and LONG_LONG_MIN.
55477         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55478         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55479         name.
55480         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55482 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55484         [BZ #2547]
55485         [BZ #11365]
55486         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55487         manipulate bits before adding and subtracting TWO23[sx].
55488         * math/libm-test.inc (nearbyint_test): Add more tests.
55490 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55492         [BZ #2548]
55493         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55494         bits before adding and subtracting TWO23[sx].
55495         * math/libm-test.inc (rint_test): Add more tests.
55496         (rint_test_tonearest): Likewise.
55497         (rint_test_towardzero): Likewise.
55498         (rint_test_downward): Likewise.
55499         (rint_test_upward: Likewise.
55501 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55503         [BZ #10110]
55504         * include/stdc-predef.h: New file.  Extracted from features.h.
55505         * include/features.h: Include stdc-predef.h.
55506         * Makefile (headers): Add stdc-predef.h.
55507         * CONFORMANCE (Compiler limitations): Update.
55509 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55511         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55513 2012-02-21  David S. Miller  <davem@davemloft.net>
55515         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55516         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55518 2012-02-20  David S. Miller  <davem@davemloft.net>
55520         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55521         using a normal save/restore sequence, rather than allocating a
55522         dummy stack frame just to store a frame pointer and restore.
55523         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55525 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55527         * manual/install.texi: Fix stray word in line-wrapped comment.
55529 2012-02-20  David S. Miller  <davem@davemloft.net>
55531         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55532         both binutils and gcc support GOTDATA.
55534         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55535         "rd %pc" in the PIC register setup sequences.
55537         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55538         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55539         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55540         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55541         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55542         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55543         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55544         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55545         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55546         (SYSCALL_ERROR_HANDLER): Likewise.
55547         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55548         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55549         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55550         (SYSCALL_ERROR_HANDLER): Likewise.
55552         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55553         (HAVE_GCC_GOTDATA): New.
55554         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55555         relocation support in both binutils and gcc.
55556         * sysdeps/sparc/elf/configure: Regenerate.
55558         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55559         * sysdeps/sparc/sparc32/elf/configure: Delete.
55560         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55561         * sysdeps/sparc/sparc64/elf/configure: Delete.
55562         * sysdeps/sparc/elf/configure.in: New file.
55563         * sysdeps/sparc/elf/configure: Generate.
55565         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55566         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55567         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55568         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55569         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55571 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55573         * manual/install.texi: Do not mention specific glibc version
55574         numbers.
55575         * manual/libc.texinfo (VERSION, UPDATED): Update.
55576         (@copying): Use @copyright{} and range of years.
55578 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55580         [BZ #13695]
55581         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55582         [crti.S not in sysdirs] (generated): Do not append.
55583         [crti.S not in sysdirs] (omit-deps): Likewise.
55584         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55585         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55586         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55587         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55588         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55589         Likewise.
55590         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55591         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55592         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55593         * csu/defs.awk: Remove file.
55594         * sysdeps/generic/initfini.c: Likewise.
55595         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55596         variable.
55597         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55598         Likewise.
55600 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55602         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55603         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55604         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55605         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55606         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55607         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55608         <bits/epoll.h>.
55609         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55610         (__EPOLL_PACKED): Define to empty if not defined by
55611         <bits/epoll.h>.
55612         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55613         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55614         bits/epoll.h.
55616 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55618         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55619         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55620         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55621         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55622         <bits/timerfd.h>.
55623         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55624         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55625         bits/timerfd.h.
55627 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55629         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55630         in C locale.
55631         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55632         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55633         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55636 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55638         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55639         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55641 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55643         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55644         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55645         defined.
55646         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55647         Likewise.
55648         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55649         entry for 2.16.
55651 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55653         * math/w_acos.c: Use non-signaling floating-point comparisons.
55654         * math/w_acosf.c: Likewise.
55655         * math/w_acosh.c: Likewise.
55656         * math/w_acoshf.c: Likewise.
55657         * math/w_acoshl.c: Likewise.
55658         * math/w_acosl.c: Likewise.
55659         * math/w_asin.c: Likewise.
55660         * math/w_asinf.c: Likewise.
55661         * math/w_asinl.c: Likewise.
55662         * math/w_atanh.c: Likewise.
55663         * math/w_atanhf.c: Likewise.
55664         * math/w_atanhl.c: Likewise.
55665         * math/w_exp2.c: Likewise.
55666         * math/w_exp2f.c: Likewise.
55667         * math/w_exp2l.c: Likewise.
55668         * math/w_j0.c: Likewise.
55669         * math/w_j0f.c: Likewise.
55670         * math/w_j0l.c: Likewise.
55671         * math/w_j1.c: Likewise.
55672         * math/w_j1f.c: Likewise.
55673         * math/w_j1l.c: Likewise.
55674         * math/w_jn.c: Likewise.
55675         * math/w_jnf.c: Likewise.
55676         * math/w_log.c: Likewise.
55677         * math/w_log10.c: Likewise.
55678         * math/w_log10f.c: Likewise.
55679         * math/w_log10l.c: Likewise.
55680         * math/w_log2.c: Likewise.
55681         * math/w_log2f.c: Likewise.
55682         * math/w_log2l.c: Likewise.
55683         * math/w_logf.c: Likewise.
55684         * math/w_logl.c: Likewise.
55685         * math/w_sqrt.c: Likewise.
55686         * math/w_sqrtf.c: Likewise.
55687         * math/w_sqrtl.c: Likewise.
55688         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55689         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55690         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55691         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55692         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55694 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55696         [BZ #9739]
55697         * manual/string.texi (strnlen): Use correct parameter name in
55698         equivalent expression.
55700 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55702         [BZ #11174]
55703         * manual/users.texi (seteuid): Consistently use neweuid for
55704         argument name.
55706 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55708         [BZ #13704]
55709         * manual/nss.texi (Services in the NSS configuration): Correct
55710         list of services in example configuration file.
55712 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55714         [BZ #11322]
55715         * manual/arith.texi: Remove statements about negative zero
55716         behaving identically to zero.
55718 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55720         [BZ #5993]
55721         * manual/install.texi: Do not document upgrading from libc5.
55723 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55725         [BZ #4596]
55726         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55728 2012-02-18  David S. Miller  <davem@davemloft.net>
55730         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55731         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55732         %o7 across the call.
55733         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55734         instead.
55735         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55736         SETUP_PIC_REG_LEAF.
55737         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55738         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55739         * sysdeps/sparc/crtn.S: Likewise.
55741 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55743         * aout/Makefile: Remove.
55745 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55747         [BZ #13058]
55748         * manual/examples/argp-ex1.c (main): Format definition in GNU
55749         style.
55750         * manual/examples/argp-ex2.c (main): Likewise.
55751         * manual/examples/argp-ex3.c (main): Likewise.
55752         * manual/examples/argp-ex4.c (main): Likewise.
55753         * manual/examples/longopt.c (main): Use new-style prototype
55754         definition.
55755         * manual/examples/strncat.c (main): Specify return type and use
55756         (void) for arguments.
55757         * manual/examples/subopt.c (main): Use char **argv argument.
55759 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55761         [BZ #5077]
55762         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55763         rounding modes.
55765 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55767         [BZ #6907]
55768         * manual/string.texi (strchr): Change when strchrnul is
55769         recommended.
55771 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55773         [BZ #174]
55774         * manual/locale.texi (setlocale): Document LOCPATH.
55776 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55778         [BZ #10210]
55779         * manual/process.texi (execle): Move @dots{} before last argument.
55781 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55783         [BZ #12047]
55784         * manual/charset.texi (Generic Charset Conversion): Fix typo
55785         (LC_TYPE -> LC_CTYPE).
55787 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55789         [BZ #5805]
55790         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55791         (scalbnf): Likewise.
55792         (scalbnl): Likewise.
55793         (scalbln): Likewise.
55794         (scalblnf): Likewise.
55795         (scalblnl): Likewise.
55796         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55797         (vwarnx): Likewise.
55798         (verr): Likewise.
55799         (verrx): Likewise.
55800         * manual/filesys.texi (telldir): Use braces around return type.
55801         * manual/llio.texi (mmap): Add space after comma.
55802         (mmap64): Likewise.
55803         * manual/math.texi (jn): Use @var{} on parameter names.
55804         (jnf): Likewise.
55805         (jnl): Likewise.
55806         (yn): Likewise.
55807         (ynf): Likewise.
55808         (ynl): Likewise.
55809         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55810         line.
55811         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55812         "...".
55813         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55814         (sched_get_priority_max): Likewise.
55815         * manual/signal.texi (sigvec): Add space after comma.
55816         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55817         names.
55818         (if_indextoname): Likewise.
55819         (if_freenameindex): Likewise.
55820         (sendto): Use ',' instead of '.' in prototype.
55821         * manual/startup.texi (syscall): Use @dots{} instead of literal
55822         "...".
55823         * manual/stdio.texi (__fpending): Separate initial words of
55824         paragraph from @deftypefun line.
55825         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55826         "...".
55827         (vsyslog): Use @var{} on parameter names.
55828         * manual/terminal.texi (stty): Use @var{} on parameter names.
55829         * manual/users.texi (getutmp): Use @var{} on parameter names.
55830         (getutmpx): Likewise.
55832 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55834         [BZ #6884]
55835         * manual/stdio.texi (fopen): Fix typos in description of
55836         ",ccs=STRING".
55838 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55840         [BZ #4026]
55841         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55842         get clock_id definition.
55844 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55846         [BZ #4822]
55847         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55848         (madvise): Cast every argument to void on its own.
55850 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55852         [BZ #9902]
55853         * manual/startup.texi (Exit Status): Fix typo.
55855 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55857         [BZ #10140]
55858         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55859         * manual/examples/argp-ex2.c: Likewise.
55860         * manual/examples/argp-ex3.c: Likewise.
55862 2012-02-16  Richard Henderson  <rth@redhat.com>
55864         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55865         * sysdeps/s390/s390-32/initfini.c: Remove.
55866         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55867         * sysdeps/s390/s390-64/initfini.c: Remove.
55869 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55871         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55872         compiler output for sysdeps/generic/initfini.c.
55873         * sysdeps/sh/elf/initfini.c: Remove file.
55875 2012-02-16  David S. Miller  <davem@davemloft.net>
55877         [BZ #11494]
55878         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55880         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55881         * sysdeps/sparc/crti.S: New file.
55882         * sysdeps/sparc/crtn.S: New file.
55883         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55884         * sysdeps/sparc/sparc64/Makefile: Likewise.
55886 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55888         [BZ #3335]
55889         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55891 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55893         [BZ #4822]
55894         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55896         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55897         (write, read, close): Likewise.
55898         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55900 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55902         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55903         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55904         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55905         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55906         <bits/signalfd.h>.
55907         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55908         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55909         bits/signalfd.h.
55911 2012-02-14  Marek Polacek  <polacek@redhat.com>
55913         * sysdeps/x86_64/crti.S: New file.
55914         * sysdeps/x86_64/crtn.S: New file.
55915         * sysdeps/x86_64/elf/initfini.c: Remove file.
55917 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55919         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55920         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55921         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55922         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55923         <bits/inotify.h>.
55924         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55925         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55926         bits/inotify.h.
55928 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55930         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55931         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55932         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55933         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55934         <bits/eventfd.h>.
55935         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55936         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55937         bits/eventfd.h.
55939 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55941         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55942         __feraiseexcept instead of feraiseexcept.
55944         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55945         nanosleep invocations.
55946         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55947         strings, and add error checking for a nanosleep invocations.
55949 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55951         Replace FSF snail mail address with URLs, as per GNU coding standards.
55952         Most of the snail mail addresses were wrong anyway, and omitting
55953         them makes the source code easier to maintain.  Almost all of the
55954         changes are to license notices and to locale LC_IDENTIFICATION
55955         addresses, except for this one:
55956         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55957         not its snail mail address.
55959 2012-02-09  Richard Henderson  <rth@twiddle.net>
55961         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55962         of kernel-features.h.
55964         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55966 2012-02-08  Marek Polacek  <polacek@redhat.com>
55968         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55969         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55970         * sysdeps/gnu/_G_config.h: Likewise.
55971         * sysdeps/generic/_G_config.h: Likewise.
55973 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55975         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55976         tests.
55977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55979         * sysdeps/powerpc/powerpc32/crti.S: New file.
55980         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55981         * sysdeps/powerpc/powerpc64/crti.S: New file.
55982         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55984         * Makeconfig (have-initfini): Don't set.
55985         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55986         * configure.in (nopic_initfini): Don't substitute.
55987         * config.h.in (HAVE_INITFINI): Don't #undef.
55988         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55989         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55991 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55993         Support crti.S and crtn.S provided directly by architectures.
55994         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55995         [crti.S in sysdirs] (omit-deps): Likewise.
55996         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55997         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55998         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55999         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56000         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56001         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56002         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56003         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56004         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56005         compiler output for sysdeps/generic/initfini.c.
56006         * sysdeps/i386/elf/Makefile: Remove file.
56007         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56009 2012-02-07  Marek Polacek  <polacek@redhat.com>
56011         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56012         * sysdeps/gnu/_G_config.h: Likewise.
56013         * sysdeps/mach/hurd/_G_config.h: Likewise.
56015 2012-02-07  Marek Polacek  <polacek@redhat.com>
56017         * math/Makefile (tests): Add tst-CMPLX2.
56018         * math/tst-CMPLX2.c: New file.
56020 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56022         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56024         * math/libm-test.inc (jn_test): Add missing L suffix.
56026 2012-02-06  Marek Polacek  <polacek@redhat.com>
56028         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56029         * sysdeps/i386/fpu/e_powf.S: Likewise.
56030         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56031         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56032         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56033         * sysdeps/i386/fpu/e_pow.S: Likewise.
56034         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56035         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56036         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56037         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56038         * sysdeps/i386/fpu/e_log2.S: Likewise.
56039         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56040         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56041         * sysdeps/i386/fpu/e_powl.S: Likewise.
56042         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56043         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56044         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56045         * sysdeps/i386/fpu/e_logl.S: Likewise.
56046         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56047         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56048         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56049         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56050         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56051         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56052         * sysdeps/i386/fpu/e_log.S: Likewise.
56053         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56054         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56055         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56056         * sysdeps/i386/fpu/e_logf.S: Likewise.
56057         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56058         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56059         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56060         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56061         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56062         * sysdeps/i386/fpu/e_log10.S: Likewise.
56063         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56064         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56065         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56066         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56067         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56068         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56069         * sysdeps/i386/asm-syntax.h: Likewise.
56070         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56071         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56072         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56073         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56074         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56075         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56076         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56077         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56078         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56079         * sysdeps/powerpc/sysdep.h: Likewise.
56080         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56081         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56083 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56085         [BZ #411]
56086         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56088 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56090         * sysdeps/i386/sysdep.h: Include <features.h>.
56091         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56092         version.
56094 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56096         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56097         Define.
56098         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56099         LOAD_PIC_REG_STR.
56101 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56103         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56104         (SETUP_PIC_REG): Use GET_PC_THUNK.
56105         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56106         macro.
56108 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56110         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56111         for non-PIC compilation.
56112         (SETUP_PIC_REG): Add .p2align directive.
56113         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56114         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56115         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56116         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56117         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56118         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56119         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56120         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56121         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56122         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56123         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56124         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56125         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56126         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56127         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56128         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56129         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56130         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56131         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56132         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56133         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56134         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56135         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56136         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56137         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56138         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56139         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56140         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56141         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56142         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56143         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56144         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56145         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56146         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56147         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56148         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56149         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56150         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56151         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56152         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56153         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56155 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56157         * math/tst-CMPLX.c: Include <stdio.h>.
56159 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56161         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56162         float.
56163         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56164         * sysdeps/sparc/bits/mathdef.h: Likewise.
56166 2012-01-31  Marek Polacek  <polacek@redhat.com>
56168         * libio/libio.h: Don't define _PARAMS.
56169         * locale/programs/config.h: Don't define PARAMS.
56170         * stdlib/strtol_l.c: Likewise.
56171         (__strtol_l): Remove PARAMS from the prototype.
56173 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56175         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56176         names.  Just use the correct names.  Remove unnecessary wrapper
56177         functions.
56178         * malloc/arena.c: Likewise.
56179         * malloc/hooks.c: Likewise.
56181         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56182         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56183         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56185 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56187         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56188         into tail calls.
56189         (update_get_addr): New function.
56190         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56191         GET_ADDR_MODULE parameter.
56193 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56195         * crypt/cert.c: Remove __STDC__ conditionals.
56196         * crypt/crypt-entry.c: Likewise.
56197         * crypt/crypt_util.c: Likewise.
56198         * libio/filedoalloc.c: Likewise.
56199         * libio/fileops.c: Likewise.
56200         * libio/genops.c: Likewise.
56201         * libio/iofclose.c: Likewise.
56202         * libio/iofdopen.c: Likewise.
56203         * libio/iofopen.c: Likewise.
56204         * libio/iofopen64.c: Likewise.
56205         * libio/iogetdelim.c: Likewise.
56206         * libio/iopopen.c: Likewise.
56207         * libio/obprintf.c: Likewise.
56208         * libio/oldfileops.c: Likewise.
56209         * libio/oldiofclose.c: Likewise.
56210         * libio/oldiofdopen.c: Likewise.
56211         * libio/oldiofopen.c: Likewise.
56212         * libio/oldiopopen.c: Likewise.
56213         * libio/wfiledoalloc.c: Likewise.
56214         * libio/wgenops.c: Likewise.
56215         * locale/programs/xmalloc.c: Likewise.
56216         * misc/syslog.c: Likewise.
56217         * stdio-common/xbug.c: Likewise.
56218         * string/memchr.c: Likewise.
56219         * string/memcmp.c: Likewise.
56220         * string/memrchr.c: Likewise.
56221         * string/rawmemchr.c: Likewise.
56222         * sysdeps/posix/getcwd.c: Likewise.
56223         * time/strftime_l.c: Likewise.
56225 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56227         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56228         * config.make.in (config-cflags-sse2avx): Define.
56229         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56230         Fix typo.
56232 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56234         * scripts/config.guess: Update from upstream config git repository.
56235         * scripts/config.sub: Likewise.
56237 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56239         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56240         (EM_NUM): Update.
56241         (R_TILEPRO_*, R_TILEGX_*): New macros.
56243         * scripts/firstversions.awk: Fix bug in version range handling.
56245         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56247         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56249         * include/sys/epoll.h: New file.
56250         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56251         libc_hidden_def.
56253 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56255         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56256         Avoid unnecessary __WORDSIZE == 64 test.
56257         (fmaxf): Use VEX format if possible.
56258         (fmax): Likewise.
56259         (fminf): Likewise.
56260         (fmin): Likewise.
56262         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56263         * math/math_private.h: Remove libc_fegetround* and
56264         libc_fesetround*.
56265         * sysdeps/i386/configure.in: Check for -msse2avx.
56266         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56267         also if SSE2AVX is defined.
56268         Remove libc_fegetround* and libc_fesetround*.
56269         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56270         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56271         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56272         of HAS_YMM_USABLE.
56273         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56274         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56275         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56276         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56277         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56279         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56281 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56283         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56284         size is not set.
56285         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56287 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56289         [BZ #13618]
56290         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56291         relocation.
56292         * Makeconfig (libm): Define.
56293         * elf/Makefile: Add rules to build and run tst-relsort1.
56294         * elf/tst-relsort1.c: New file.
56295         * elf/tst-relsort1mod1.c: New file.
56296         * elf/tst-relsort1mod2.c: New file.
56298 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56300         * math/s_ldexp.c: Remove __STDC__ conditionals.
56301         * math/s_ldexpf.c: Likewise.
56302         * math/s_ldexpl.c: Likewise.
56303         * math/s_nextafter.c: Likewise.
56304         * math/s_nexttowardf.c: Likewise.
56305         * math/s_significand.c: Likewise.
56306         * math/s_significandf.c: Likewise.
56307         * math/s_significandl.c: Likewise.
56308         * math/w_jnl.c: Likewise.
56309         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56310         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56311         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56312         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56313         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56314         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56315         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56316         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56317         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56318         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56319         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56320         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56321         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56322         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56323         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56324         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56325         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56326         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56327         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56328         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56329         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56330         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56331         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56332         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56333         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56334         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56335         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56336         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56337         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56338         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56339         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56340         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56341         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56342         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56343         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56344         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56345         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56346         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56347         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56348         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56349         * sysdeps/ieee754/k_standard.c: Likewise.
56350         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56351         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56352         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56353         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56354         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56355         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56356         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56357         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56358         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56359         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56360         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56361         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56362         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56363         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56364         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56365         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56366         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56367         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56368         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56369         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56370         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56371         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56372         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56373         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56374         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56375         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56376         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56377         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56378         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56379         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56380         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56381         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56382         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56383         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56384         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56385         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56386         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56387         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56388         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56389         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56390         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56391         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56392         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56393         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56394         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56395         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56396         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56397         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56398         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56399         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56400         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56401         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56402         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56403         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56404         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56405         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56406         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56407         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56408         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56409         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56410         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56411         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56412         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56413         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56414         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56415         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56416         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56417         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56418         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56419         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56420         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56421         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56422         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56423         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56424         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56425         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56426         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56427         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56428         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56429         * sysdeps/ieee754/s_matherr.c: Likewise.
56430         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56431         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56432         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56433         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56435 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56437         * crypt/md5.h: Remove __STDC__ conditionals.
56438         * libio/libioP.h: Likewise.
56439         * locale/programs/config.h: Likewise.
56440         * sysdeps/generic/sysdep.h: Likewise.
56441         * sysdeps/i386/asm-syntax.h: Likewise.
56442         * sysdeps/s390/asm-syntax.h: Likewise.
56443         * sysdeps/unix/sysdep.h: Likewise.
56444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56447 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56449         * libio/libio.h: Remove __STDC__ conditionals.
56450         * malloc/obstack.h: Likewise.
56451         * math/complex.h: Likewise.
56452         * math/math.h: Likewise.
56453         * sysdeps/generic/_G_config.h: Likewise.
56454         * sysdeps/gnu/_G_config.h: Likewise.
56455         * sysdeps/mach/hurd/_G_config.h: Likewise.
56456         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56457         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56458         * sysdeps/sparc/bits/mathdef.h: Likewise.
56460 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56462         [BZ #13583]
56463         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56464         Clean up HAS_* macros.
56465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56466         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56467         possible.
56468         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56469         HAS_AVX.
56470         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56471         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56472         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56473         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56474         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56476 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56478         * elf/tst-unique3.cc (gets): Remove declaration.
56479         * elf/tst-unique3lib.cc (gets): Likewise.
56480         * elf/tst-unique3lib2.cc (gets): Likewise.
56481         * elf/tst-unique4.cc (gets): Likewise.
56483 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56485         * include/stdio.h: Add C++ protection.  Add gets declarations and
56486         definitions.
56487         * debug/tst-chk1.c: Don't declare gets here.
56488         * stdio-common/tst-gets.c: Likewise.
56490 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56492         * posix/glob: Remove directory.
56494 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56496         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56498 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56500         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56501         of the non-standard EPFNOSUPPORT.
56503 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56505         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56506         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56507         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56509 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56511         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56513 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56515         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56516         transient errors.
56517         * nscd/grpcache.c (cache_addgr): Likewise.
56518         * nscd/hstcache.c (cache_addhst): Likewise.
56519         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56520         * nscd/pwdcache.c (cache_addpw): Likewise.
56521         * nscd/servicescache.c (cache_addserv): Likewise.
56523 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56525         * malloc/malloc.c: Various cleanups.
56526         * malloc/hooks.c: Likewise.
56528         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56529         * stdlib/bug-fmtmsg1.c: New file.
56531         * stdlib/fmtmsg.c (init): Add missing unlock.
56532         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56534 2012-01-12  Marek Polacek  <polacek@redhat.com>
56536         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56537         and _GNU_SOURCE.
56539 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56541         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56542         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56543         macro to ensure uniqueness of label name.
56544         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56545         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56547 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56549         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56551         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56552         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56553         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56554         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56556 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56558         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56560         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56561         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56562         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56564         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56566         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56567         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56568         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56569         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56571         * math/bits/math-finite.h: Add ldexp support.
56573 2012-01-10  Marek Polacek  <polacek@redhat.com>
56575         * locale/programs/localedef.h (show_archive_content): Add noreturn
56576         attribute.
56578 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56580         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56582 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56584         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56586         * io/Makefile (headers): Add bits/poll2.h.
56588 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56591         typo #include statement.
56593 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56595         * include/sys/cdefs.h: Define __attribute_alloc_size.
56596         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56597         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56598         * elf/pldd.c: Likewise.
56599         * iconv/iconv_charmap.c: Likewise.
56600         * iconv/iconvconfig.c: Likewise.
56601         * iconv/strtab.c: Likewise.
56602         * locale/programs/locale.c: Likewise.
56603         * locale/programs/localedef.h: Likewise.
56604         * locale/programs/simple-hash.c: Likewise.
56605         * nscd/nscd.h: Likewise.
56606         * nss/makedb.c: Likewise.
56607         * sysdeps/generic/ldconfig.h: Likewise.
56608         * locale/programs/localedef.c: Remove xmalloc prototype.
56609         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56611 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56613         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56614         appropriate.
56616 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56618         * math/Makefile (tests): Add tst-CMPLX.
56619         * math/tst-CMPLX.c: New file.
56621         * math/complex.h (CMPLXL): Fix typo.
56623         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56624         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56625         GLIBC_2.16.
56626         * debug/tst-chk1.c: Add poll and ppoll tests.
56627         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56628         * include/sys/poll.h: Add hidden proto for ppoll.
56629         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56630         * sysdeps/mach/hurd/ppoll.c: Likewise.
56631         * io/ppoll.c: Likewise.
56632         * debug/poll_chk.c: New file.
56633         * debug/ppoll_chk.c: New file.
56634         * include/bits/poll2.h: New file.
56635         * io/bits/poll2.h: New file.
56637         [BZ #1350]
56638         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56640         * configure.in: static is always set to yes.  Remove.
56641         * config.make.in: Don't set build-static.
56642         * Makeconfig: Remove use of build-static.
56643         * dlfcn/Makefile: Likewise.
56644         * elf/Makefile: Likewise.
56645         * math/Makefile: Likewise.
56646         * misc/Makefile: Likewise.
56647         * nptl/Makefile: Likewise.
56648         * sysdeps/mach/hurd/Makefile: Likewise.
56650         * configure.in: PWD_P is not used anymore.
56651         * config.make.in: Remove PWD_P entry.
56653         * configure.in: Remove last remnants of RANLIB.
56654         No need to check for signed size_t anymore.
56655         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56656         and IA-64.
56657         Remove __builtin_expect test because we require at least gcc 3.4.
56658         * aclocal.m4: Likewise.
56660         * wcsmbs/mbrtoc16.c: Implement using towc function.
56661         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56662         * wcsmbs/wcsmbsload.c: Likewise.
56663         * iconv/gconv_simple.c: Likewise.
56664         * iconv/gconv_int.h: Likewise.
56665         * iconv/gconv_builtin.h: Likewise.
56666         * iconv/iconv_prog.c: Remove CHAR16 handling.
56668         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56670         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56672         * configure.in: Remove --with-elf and --enable-bounded options.
56673         Dont set base_machine for ia64.  More non-ELF conditions removed.
56674         Remove testing and setting of leading underscore information.
56675         * config.make.in (build-bounded): Set to no.
56676         * config.h.in: Remove NO_UNDERSCORES entry.
56677         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56678         them.
56679         * csu/start.c: Remove !NO_UNDERSCORE code.
56680         * locale/localeinfo.h: Likewise.
56681         * sysdeps/generic/machine-gmon.h: Likewise.
56682         * sysdeps/generic/sysdep.h: Likewise.
56683         * sysdeps/i386/sysdep.h: Likewise.
56684         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56685         * sysdeps/mach/sysdep.h: Likewise.
56686         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56687         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56688         * sysdeps/sh/sysdep.h: Likewise.
56689         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56690         * sysdeps/unix/i386/sysdep.S: Likewise.
56691         * sysdeps/unix/sparc/start.c: Likewise.
56692         * sysdeps/unix/sparc/sysdep.S: Likewise.
56693         * sysdeps/unix/sparc/sysdep.h: Likewise.
56694         * sysdeps/unix/start.c: Likewise.
56695         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56696         * sysdeps/x86_64/sysdep.h: Likewise.
56698 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56700         [BZ #13553]
56701         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56702         for non-gcc.
56703         * argp/argp-fmtstream.h: Use const instead __const.
56704         * argp/argp.h: Likewise.
56705         * assert/assert.h: Likewise.
56706         * bits/fenv.h: Likewise.
56707         * bits/sched.h: Likewise.
56708         * bits/sigset.h: Likewise.
56709         * bits/sigthread.h: Likewise.
56710         * catgets/nl_types.h: Likewise.
56711         * conform/data/pthread.h-data: Likewise.
56712         * crypt/crypt-private.h: Likewise.
56713         * crypt/crypt.h: Likewise.
56714         * crypt/crypt_util.c: Likewise.
56715         * ctype/ctype.h: Likewise.
56716         * debug/execinfo.h: Likewise.
56717         * debug/mbsnrtowcs_chk.c: Likewise.
56718         * debug/mbsrtowcs_chk.c: Likewise.
56719         * debug/wcsnrtombs_chk.c: Likewise.
56720         * debug/wcsrtombs_chk.c: Likewise.
56721         * debug/wcstombs_chk.c: Likewise.
56722         * dirent/dirent.h: Likewise.
56723         * dlfcn/dlfcn.h: Likewise.
56724         * elf/neededtest4.c: Likewise.
56725         * grp/grp.h: Likewise.
56726         * gshadow/gshadow.h: Likewise.
56727         * iconv/gconv.h: Likewise.
56728         * iconv/gconv_int.h: Likewise.
56729         * iconv/gconv_simple.c: Likewise.
56730         * iconv/iconv.h: Likewise.
56731         * iconv/loop.c: Likewise.
56732         * iconv/skeleton.c: Likewise.
56733         * include/aio.h: Likewise.
56734         * include/aliases.h: Likewise.
56735         * include/argz.h: Likewise.
56736         * include/arpa/inet.h: Likewise.
56737         * include/assert.h: Likewise.
56738         * include/dirent.h: Likewise.
56739         * include/dlfcn.h: Likewise.
56740         * include/execinfo.h: Likewise.
56741         * include/fcntl.h: Likewise.
56742         * include/fenv.h: Likewise.
56743         * include/glob.h: Likewise.
56744         * include/grp.h: Likewise.
56745         * include/libintl.h: Likewise.
56746         * include/mntent.h: Likewise.
56747         * include/netdb.h: Likewise.
56748         * include/pwd.h: Likewise.
56749         * include/rpc/netdb.h: Likewise.
56750         * include/sched.h: Likewise.
56751         * include/search.h: Likewise.
56752         * include/shadow.h: Likewise.
56753         * include/signal.h: Likewise.
56754         * include/stdio.h: Likewise.
56755         * include/stdlib.h: Likewise.
56756         * include/string.h: Likewise.
56757         * include/sys/socket.h: Likewise.
56758         * include/sys/stat.h: Likewise.
56759         * include/sys/statfs.h: Likewise.
56760         * include/sys/statvfs.h: Likewise.
56761         * include/sys/syslog.h: Likewise.
56762         * include/sys/time.h: Likewise.
56763         * include/sys/uio.h: Likewise.
56764         * include/time.h: Likewise.
56765         * include/unistd.h: Likewise.
56766         * include/utmp.h: Likewise.
56767         * include/wchar.h: Likewise.
56768         * include/wctype.h: Likewise.
56769         * inet/aliases.h: Likewise.
56770         * inet/arpa/inet.h: Likewise.
56771         * inet/netinet/ether.h: Likewise.
56772         * inet/netinet/in.h: Likewise.
56773         * intl/libintl.h: Likewise.
56774         * io/bits/fcntl2.h: Likewise.
56775         * io/fcntl.h: Likewise.
56776         * io/ftw.h: Likewise.
56777         * io/sys/poll.h: Likewise.
56778         * io/sys/stat.h: Likewise.
56779         * io/sys/statfs.h: Likewise.
56780         * io/sys/statvfs.h: Likewise.
56781         * io/utime.h: Likewise.
56782         * libio/bits/stdio.h: Likewise.
56783         * libio/bits/stdio2.h: Likewise.
56784         * libio/libio.h: Likewise.
56785         * libio/libioP.h: Likewise.
56786         * libio/stdio.h: Likewise.
56787         * locale/lc-ctype.c: Likewise.
56788         * locale/locale.h: Likewise.
56789         * login/utmp.h: Likewise.
56790         * malloc/arena.c: Likewise.
56791         * malloc/malloc.c: Likewise.
56792         * malloc/malloc.h: Likewise.
56793         * malloc/mcheck.c: Likewise.
56794         * malloc/mtrace.c: Likewise.
56795         * math/bits/mathcalls.h: Likewise.
56796         * math/fenv.h: Likewise.
56797         * math/math_private.h: Likewise.
56798         * misc/bits/error.h: Likewise.
56799         * misc/bits/syslog.h: Likewise.
56800         * misc/err.h: Likewise.
56801         * misc/error.h: Likewise.
56802         * misc/fstab.h: Likewise.
56803         * misc/mntent.h: Likewise.
56804         * misc/regexp.h: Likewise.
56805         * misc/search.h: Likewise.
56806         * misc/sgtty.h: Likewise.
56807         * misc/sys/mman.h: Likewise.
56808         * misc/sys/syslog.h: Likewise.
56809         * misc/sys/uio.h: Likewise.
56810         * misc/sys/xattr.h: Likewise.
56811         * misc/ttyent.h: Likewise.
56812         * nis/rpcsvc/ypclnt.h: Likewise.
56813         * nss/nss.h: Likewise.
56814         * posix/bits/unistd.h: Likewise.
56815         * posix/fnmatch.h: Likewise.
56816         * posix/glob.h: Likewise.
56817         * posix/sched.h: Likewise.
56818         * posix/spawn.h: Likewise.
56819         * posix/sys/wait.h: Likewise.
56820         * posix/unistd.h: Likewise.
56821         * posix/wordexp.h: Likewise.
56822         * pwd/pwd.h: Likewise.
56823         * resolv/netdb.h: Likewise.
56824         * resource/sys/resource.h: Likewise.
56825         * rt/aio.h: Likewise.
56826         * rt/bits/mqueue2.h: Likewise.
56827         * rt/mqueue.h: Likewise.
56828         * shadow/shadow.h: Likewise.
56829         * signal/signal.h: Likewise.
56830         * socket/send.c: Likewise.
56831         * socket/sendto.c: Likewise.
56832         * socket/sys/socket.h: Likewise.
56833         * stdio-common/printf.h: Likewise.
56834         * stdlib/bits/stdlib.h: Likewise.
56835         * stdlib/fmtmsg.h: Likewise.
56836         * stdlib/monetary.h: Likewise.
56837         * stdlib/stdlib.h: Likewise.
56838         * stdlib/ucontext.h: Likewise.
56839         * streams/stropts.h: Likewise.
56840         * string/argz.h: Likewise.
56841         * string/bits/string2.h: Likewise.
56842         * string/string.h: Likewise.
56843         * string/strings.h: Likewise.
56844         * sunrpc/rpc/auth.h: Likewise.
56845         * sunrpc/rpc/auth_des.h: Likewise.
56846         * sunrpc/rpc/clnt.h: Likewise.
56847         * sunrpc/rpc/netdb.h: Likewise.
56848         * sunrpc/rpc/pmap_clnt.h: Likewise.
56849         * sunrpc/rpc/xdr.h: Likewise.
56850         * sysdeps/generic/inttypes.h: Likewise.
56851         * sysdeps/generic/net/if.h: Likewise.
56852         * sysdeps/generic/sys/swap.h: Likewise.
56853         * sysdeps/gnu/net/if.h: Likewise.
56854         * sysdeps/gnu/utmpx.h: Likewise.
56855         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56856         * sysdeps/i386/i486/bits/string.h: Likewise.
56857         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56858         * sysdeps/s390/bits/string.h: Likewise.
56859         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56860         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56861         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56862         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56863         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56864         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56865         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56866         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56867         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56868         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56869         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56870         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56871         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56872         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56873         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56874         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56875         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56876         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56877         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56878         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56879         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56880         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56881         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56882         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56883         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56884         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56885         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56886         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56887         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56888         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56889         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56890         * sysvipc/sys/ipc.h: Likewise.
56891         * sysvipc/sys/msg.h: Likewise.
56892         * sysvipc/sys/sem.h: Likewise.
56893         * sysvipc/sys/shm.h: Likewise.
56894         * termios/termios.h: Likewise.
56895         * time/sys/time.h: Likewise.
56896         * time/time.h: Likewise.
56897         * wcsmbs/bits/wchar2.h: Likewise.
56898         * wcsmbs/uchar.h: Likewise.
56899         * wcsmbs/wchar.h: Likewise.
56900         * wctype/wctype.h: Likewise.
56902         [BZ #13551]
56903         * Makeconfig: Remove all but ELF support including AIX support.
56904         * Makerules: Likewise.
56905         * config.h.in: Likewise.
56906         * config.make.in: Likewise.
56907         * configure: Likewise.
56908         * configure.in: Likewise.
56909         * csu/Makefile: Likewise.
56910         * csu/version.c: Likewise.
56911         * debug/Makefile: Likewise.
56912         * dlfcn/Makefile: Likewise.
56913         * elf/Makefile: Likewise.
56914         * extra-lib.mk: Likewise.
56915         * iconv/Makefile: Likewise.
56916         * include/libc-symbols.h: Likewise.
56917         * include/shlib-compat.h: Likewise.
56918         * resolv/Makefile: Likewise.
56919         * resolv/res_libc.c: Likewise.
56920         * rt/Makefile: Likewise.
56921         * sysdeps/i386/asm-syntax.h: Likewise.
56922         * sysdeps/i386/sysdep.h: Likewise.
56923         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56924         * sysdeps/mach/sysdep.h: Likewise.
56925         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56926         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56927         * sysdeps/s390/asm-syntax.h: Likewise.
56928         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56929         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56930         * sysdeps/sh/sysdep.h: Likewise.
56931         * sysdeps/unix/sparc/sysdep.h: Likewise.
56932         * sysdeps/wordsize-32/divdi3.c: Likewise.
56933         * sysdeps/x86_64/sysdep.h: Likewise.
56935         * argp/Versions: Remove _argp_unlock_xxx.
56937         [BZ #13559]
56938         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56939         * abilist/libBrokenLocale.abilist: Likewise.
56940         * abilist/libanl.abilist: Likewise.
56941         * abilist/libc.abilist: Likewise.
56942         * abilist/libcrypt.abilist: Likewise.
56943         * abilist/libdl.abilist: Likewise.
56944         * abilist/libm.abilist: Likewise.
56945         * abilist/libnsl.abilist: Likewise.
56946         * abilist/libpthread.abilist: Likewise.
56947         * abilist/libresolv.abilist: Likewise.
56948         * abilist/librt.abilist: Likewise.
56949         * abilist/libthread_db.abilist: Likewise.
56950         * abilist/libutil.abilist: Likewise.
56951         * abilist/libnss_db.abilist: New file.
56953         * scripts/abilist.awk: Add support for indirect functions.
56955         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56957         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56959         * shlib-versions: Remove entries for ports architectures.
56961         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56962         files in ports.
56963         * elf/stackguard-macros.h: Remove support for IA-64.
56964         * elf/tst-auditmod1.c: Likewise.
56965         * sysdeps/generic/ldsodefs.h: Likewise.
56967         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56968         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56969         configure files.
56971         [BZ #13552]
56972         * configure.in: Remove --enable-omitfp support.
56973         * FAQ.in: Adjust.
56974         * config.make.in: Likewise.
56975         * Makeconfig: Likewise.
56976         * manual/install.texi: Likewise.
56978         In case anyone cares, the IA-64 architecture could move to ports.
56979         * sysdeps/ia64/*: Removed.
56980         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56981         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56983         [BZ #13555]
56984         * configure.in: Remove entries for unsupported architectures.
56986         [BZ #13533]
56987         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56988         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56989         routines.
56990         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56991         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56992         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56993         fall back to using wcrtomb.
56994         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56995         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56996         renaming.
56997         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56998         * wcsmbs/tst-c16c32-1.c: New file.
57000         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57001         local variable.
57003         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57005         * elf/tst-unique3.cc: Add explicit declaration of gets.
57006         * elf/tst-unique3lib.cc: Likewise.
57007         * elf/tst-unique3lib2.cc: Likewise.
57008         * elf/tst-unique4.cc: Likewise.
57010         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57012 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57014         [BZ #13566]
57015         * assert/assert.h (static_assert): Don't define for C++.
57016         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57017         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57019 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57021         * iconv/loop.c (single loop): Fix assertion in storing of
57022         remaining bytes.
57024         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57026 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57028         * posix/getconf.c: Update copyright year.
57029         * nss/getent.c: Likewise.
57030         * nss/makedb.c: Likewise.
57031         * iconv/iconvconfig.c: Likewise.
57032         * iconv/iconv_prog.c: Likewise.
57033         * elf/ldconfig.c: Likewise.
57034         * elf/pldd.c: Likewise.
57035         * elf/sotruss.ksh: Likewise.
57036         * catgets/gencat.c: Likewise.
57037         * csu/version.c: Likewise.
57038         * elf/ldd.bash.in: Likewise.
57039         * elf/sprof.c (print_version): Likewise.
57040         * locale/programs/locale.c: Likewise.
57041         * locale/programs/localedef.c: Likewise.
57042         * login/programs/pt_chown.c: Likewise.
57043         * nscd/nscd.c (print_version): Likewise.
57044         * debug/xtrace.sh: Likewise.
57045         * malloc/memusage.sh: Likewise.
57046         * malloc/mtrace.pl: Likewise.
57047         * debug/catchsegv.sh: Likewise.
57049 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57051         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57052         pure attribute.
57054 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57056         [BZ #13533]
57057         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57058         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57059         transformations.
57060         * iconv/gconv_int.h: Likewise.
57061         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57062         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57063         from libc for GLIBC_2.16.
57064         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57065         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57066         * wcsmbs/uchar.h: Really define mbstate_t.
57067         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57068         * wcsmbs/c16rtomb.c: New file.
57069         * wcsmbs/mbrtoc16.c: New file.
57070         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57071         for C/POSIX locale.
57072         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57073         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57075         * wcsmbs/wchar.h: Add missing __restrict.
57077 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57079         [BZ #13532]
57080         * time/Makefile (routines): Add timespec_get.
57081         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57082         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57083         timespec for ISO C11.
57084         * time/timespec_get.c: New file.
57085         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57086         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57088         [BZ #13531]
57089         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57090         * stdlib/stdlib.h: Declare aligned_alloc.
57091         * Versions.def: Add GLIBC_2.16 for libc.
57092         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57094         [BZ 13527]
57095         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57096         ISO C11.
57098         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57099         code.
57101         [BZ #13528]
57102         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57104         [BZ #13529]
57105         * assert/assert.h (static_assert): Define.
57107         * version.h: Update for 2.16 development version.
57109         [BZ #13526]
57110         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57111         _ISOC11_SOURCE.
57113         * version.h (RELEASE): Bump for 2.15 release.
57114         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57116         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57117         Patch by Marek Polacek <mpolacek@redhat.com>.
57119         * bits/byteswap.h: Protect long long constants with __extension__.
57120         * sysdeps/i386/bits/byteswap.h: Likewise.
57121         * sysdeps/ia64/bits/byteswap.h: Likewise.
57122         * sysdeps/s390/bits/byteswap.h: Likewise.
57123         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57125 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57127         [BZ #13540]
57128         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57129         destination buffer.
57130         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57132 2011-12-23  Marek Polacek  <polacek@redhat.com>
57134         * elf/dl-addr.c (determine_info): Add inline keyword.
57135         * elf/tst-auditmod4b.c (check_avx): Likewise.
57136         * elf/tst-auditmod6b.c (check_avx): Likewise.
57137         * elf/tst-auditmod6c.c (check_avx): Likewise.
57138         * elf/tst-auditmod7b.c (check_avx): Likewise.
57140 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57142         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57143         !__SSE_MATH__.
57145 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57147         [BZ #13540]
57148         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57149         processing for last bytes.
57151 2011-08-06  Bruno Haible  <bruno@clisp.org>
57153         [BZ #13061]
57154         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57155         U+0385, not to U+1FEE.
57157         [BZ #13062]
57158         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57159         entry for U+00A5 U+0301.
57161 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57163         [BZ #13166]
57164         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57165         buffer for the output is too small.
57167         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57168         optimization.
57170         [BZ #13185]
57171         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57172         SSE flags if possible.
57174 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57176         [BZ #13540]
57177         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57178         processing for last bytes.
57180 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57182         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57183         (syscall-list-default-options, syscall-list-default-condition)
57184         (syscall-list-includes): Define.
57185         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57186         list of ABIs and options and #if conditions for each ABI.  Do not
57187         handle common syscalls between ABIs specially.
57188         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57189         Remove.
57190         (syscall-list-variants, syscall-list-32bit-options)
57191         (syscall-list-32bit-condition, syscall-list-64bit-options)
57192         (syscall-list-64bit-condition): Define.
57193         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
57198         Remove.
57199         (syscall-list-variants, syscall-list-32bit-options)
57200         (syscall-list-32bit-condition, syscall-list-64bit-options)
57201         (syscall-list-64bit-condition): Define.
57202         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57203         Remove.
57204         (syscall-list-variants, syscall-list-32bit-options)
57205         (syscall-list-32bit-condition, syscall-list-64bit-options)
57206         (syscall-list-64bit-condition): Define.
57208 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57210         * locale/iso-639.def: Add brx entry.
57212         [BZ #13328]
57213         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57214         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57216         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57217         __feraiseexcept_renamed.
57219 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57221         [BZ #13538]
57222         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57223         EPOLLET with unsigned values.
57224         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57225         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57227         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57228         to large cancellation.
57229         * math/s_cacoshf.c: Likewise.
57230         * math/s_cacoshl.c: Likewise.
57232 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57234         [BZ #13305]
57235         [BZ #12786]
57236         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57237         * math/s_cacoshf.c: Likewise.
57238         * math/s_cacoshl.c: Likewise.
57240 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57242         [BZ #13439]
57243         * iconv/gconv.h: Define __GCONV_SWAP.
57244         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57245         * iconvdata/utf-16.c: Likewise.
57246         * iconvdata/utf-32.c: Likewise.
57248 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57250         [BZ #13524]
57251         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57252         numerator after shifting it by one limb.
57254 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57256         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57257         under [__USE_EXTERN_INLINES].
57259 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57261         [BZ #13446]
57262         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57264 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57266         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57267         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57268         optimized code.
57269         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57270         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57271         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57272         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57273         for strncasecmp/strncasecmp_l compilation.
57274         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57275         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57277 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57279         [BZ #13484]
57280         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57281         of __asm__.
57283 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57285         [BZ #13506]
57286         * time/tzfile.c (__tzfile_read): Check values from file header.
57288 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57290         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57291         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57292         * powerpc/powerpc32/dl-start.S: Likewise.
57293         * powerpc/powerpc32/elf/start.S: Likewise.
57294         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57295         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57296         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57297         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57298         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57299         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57300         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57301         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57302         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57303         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57304         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57305         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57306         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57307         * powerpc/powerpc32/memset.S: Likewise.
57308         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57309         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57310         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57311         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57312         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57313         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57314         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57315         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57316         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57317         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57318         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57319         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57320         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57322 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57324         * math/libm-test.inc: Added more nearbyint tests.
57325         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57326         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57327         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57328         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57330 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57332         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57333         FD_CLOEXEC.
57335 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57337         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57338         Add wcscpy-ssse3 wcscpy-c.
57339         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57340         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57341         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57342         * sysdeps/x86_64/wcschr.S: New file.
57343         * sysdeps/x86_64/wcsrchr.S: New file.
57344         * string/test-strcmp.c: Remove checking of wcscmp function for
57345         wrong alignments.
57346         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57347         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57348         wcsrchr-sse2 wcsrchr-c.
57349         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57350         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57351         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57352         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57353         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57354         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57355         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57356         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57357         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57358         * wcsmbc/wcschr.c (WCSCHR): New macro.
57360 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57362         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57363         * wcsmbs/test-wcsrchr.c: New file.
57364         * string/test-strrchr.c: Add wcsrchr support.
57365         (WIDE): New macro.
57366         * wcsmbs/test-wcscpy.c: New file.
57367         * string/test-strcpy.c: Add wcscpy support.
57368         (WIDE): New macro.
57370 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57372         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57373         the inner loop.
57375 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57377         [BZ #13472]
57378         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57380 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57382         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57383         Minor optimizations.
57385         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57386         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57387         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57389 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57391         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57392         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57393         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57394         for gcc to avoid warnings.
57395         * inet/Makefile (tests): Add tst-checks.
57396         * inet/tst-checks.c: New file.
57398         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57399         warning.
57401         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57402         __wmemcmp_sse2.
57404         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57405         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57407         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57409 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57411         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57412         problem.
57414         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57416 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57418         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57419         conditional on GCC version.
57420         (__arch_compare_and_exchange_val_8_acq)
57421         (__arch_compare_and_exchange_val_16_acq)
57422         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57423         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57424         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57426 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57428         * sysdeps/sh/backtrace.c: New file.
57430 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57432         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57433         parenthesis.
57435 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57437         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57438         falling back to utime.
57440 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57442         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57443         expectations for float.
57445 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57447         * locale/weight.h (findidx): Add parameter len.
57448         * locale/weightwc.h (findidx): Likewise.
57449         * posix/fnmatch_loop.c (FCT): Adjust caller.
57450         * posix/regcomp.c (build_equiv_class): Likewise.
57451         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57452         * posix/regexec.c (check_node_accept_bytes): Likewise.
57453         * string/strcoll_l.c (STRCOLL): Likewise.
57454         * string/strxfrm_l.c (STRXFRM): Likewise.
57456 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57458         * Makefile.in: Remove CVSOPT handling.
57459         * configure.in: Remove use of AC_REVISION.
57460         * iconvdata/Makefile (distribute): No need to filter out CVS.
57461         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57462         handling.
57464 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57466         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57467         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57468         [USE_AS_STRNCASECMP_L]: Likewise.
57469         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57470         NO_TLS_DIRECT_SEG_REFS.
57471         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57472         Fix argument offsets for non-PIC.
57473         [USE_AS_STRNCASECMP_L]: Likewise.
57474         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57475         NO_TLS_DIRECT_SEG_REFS.
57477 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57479         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57480         O_CLOEXEC.
57481         * locale/loadlocale.c (_nl_load_locale): Likewise.
57483 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57485         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57486         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57487         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57488         (SYSCALL_GETTIME): Set errno on error.
57490         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57491         count references to noai6ai_cached.
57493 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57495         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57497         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57498         FD_CLOEXEC for /proc/self/maps.
57500         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57501         FD_CLOEXEC for /proc/meminfo.
57503         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57504         gai.conf.
57506         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57507         FD_CLOEXEC for given file.
57509         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57511         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57512         FD_CLOEXEC for /etc/hosts.
57513         (_gethtent): Likewise.
57515         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57517         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57518         cancellation and set FD_CLOEXEC for /etc/netgroup.
57520         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57521         reading /etc/publickey.
57523         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57524         allow cancellation when reading /etc/group.
57526         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57527         cancellation.
57528         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57530         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57531         when using data file.
57533         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57535         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57536         (write_nis_obj): Use "c" and "e" in fopen.
57538         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57540         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57542         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57544         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57546         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57547         locale.alias.
57549         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57551         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57553         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57555         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57556         file parsing and set FD_CLOEXEC.
57558 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57560         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57562 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57564         * malloc/arena.c (arena_get2): Don't call reused_arena when
57565         _int_new_arena failed.
57567 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57569         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57570         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57571         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57572         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57573         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57574         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57575         to compile strcasecmp and strncasecmp.
57576         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57577         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57579         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57581 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57583         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57584         locale-defines.sym to gen-as-const-headers.
57585         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57586         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57587         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57588         to compile strcasecmp and strncasecmp.
57589         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57590         strcasecmp_l and strncasecmp_l.
57591         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57592         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57593         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57594         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57595         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57596         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57597         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57598         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57599         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57600         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57601         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57603 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57605         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57606         result of SYSDEP_GETTIME_CPU to retval.
57607         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57608         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57610         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57611         variable.
57613         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57614         mantissa words.
57615         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57617         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57618         from unused variable.
57620         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57621         DWARF definitions.
57622         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57623         for assembling.
57625         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57626         over namespaces.
57628         * sunrpc/rpc_prot.c (rejected): Fix case value.
57630         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57631         unsigned long long int to avoid warnings in shift.
57633         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57634         of use of trans.
57635         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57636         variable tmp.
57638         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57639         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57640         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57642         * nis/nis_table.c (nis_list): Use variable of correct type for
57643         result of __follow_path call.
57645 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57647         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57648         of math functions ceil, trunc, floor, round, and sqrt, when
57649         avaliable on the platform.
57650         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57651         name clash.
57652         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57653         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57654         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57656 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57658         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57659         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57661 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57663         * include/unistd.h: Fix __readlink return type.
57664         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57666 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57668         * stdlib/ucontext.h: Undo last change for makecontext.
57670 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57672         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57674         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57675         * setjmp/setjmp.h: Mark functions as non-leaf.
57676         * setjmp/bits/setjmp2.h: Likewise.
57677         * stdlib/ucontext.h: Likewise.
57679 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57681         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57682         (reused_arena): Don't check arena limit.
57683         (arena_get2): Atomically check arena limit.
57685 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57687         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57688         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57690         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57691         instructions.
57693 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57695         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57696         handler when locking.
57698         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57699         Fix size of allocated buffer.
57701 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57703         [BZ #10103]
57704         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57705         declarations for long double functions.
57706         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57708         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57710 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57712         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57713         installed.
57715         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57716         is disabled.
57718 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57720         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57722 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57724         * include/alloca.h (stackinfo_alloca_round): Define.
57725         (extend_alloca): Use it.
57726         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57727         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57728         here.
57730         * scripts/check-local-headers.sh: Ignore libaudit.h.
57732         * nscd/Makefile (extra-objs): Make recursively expanded.
57734 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57736         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57737         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57739         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57740         * posix/tst-rfc3484-2.c: Likewise.
57741         * posix/tst-rfc3484-3.c: Likewise.
57743         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57744         process_vm_writev.
57745         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57746         process_vm_writev.
57747         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57748         process_vm_writev from libc using GLIBC_2.15 version.
57750         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57752 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57754         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57755         stack usage.
57757 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57759         [BZ #13367]
57760         * nss/getent.c (initgroups_keys): Show error message in case no group
57761         names are given.
57763         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57764         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57765         __bump_nl_timestamp.
57766         * nscd/connections (nscd_init): When host database is served open
57767         netlink socket and request notification about configuration changes.
57768         (main_loop_poll): Track netlink file descriptor and bump timestamp
57769         in case data becomes available.
57770         (main_loop_epoll): Likewise.
57771         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57772         (database_pers_head): Add extra_data fileds.
57773         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57774         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57775         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57776         Adjust caller.
57777         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57778         in6ai data, call __free_in6ai.
57779         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57780         Add -DHAVE_NETLINK.
57781         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57782         interface information.  Reuse previous data if netlink timestamp
57783         is not changed.
57784         (__bump_nl_timestamp): New function.
57785         (__free_in6ai): New function.
57787 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57789         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57790         close_not_cancel_no_status here.
57791         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57793 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57795         [BZ #13276]
57796         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57797         return value.
57799         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57800         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57801         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57803 2011-07-03  Andreas Jaeger  <aj@suse.de>
57805         [BZ #10709]
57806         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57807         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57808         * math/libm-test.inc (sin_test): Add test case.
57810 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57812         [BZ #13337]
57813         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57814         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57816         * elf/chroot_canon.c (chroot_canon): Cleanups.
57818         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57820         [BZ #13335]
57821         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57822         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57824         * string/test-strchr.c: Make usable for strchrnul testing.
57825         * string/test-strchrnul.c: New file.
57826         * string/Makefile (strop-tests): Add strchrnul.
57828         * po/it.po: Update from translation team.
57829         * po/es.po: Likewise.
57831 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57833         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57834         the three constants needed as parameters.  Drop the others.
57835         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57836         __m128i_strloadu_tolower.
57837         Create and initialize variable zero and use it in all the places
57838         where _mm_setzero_si128 was used.
57840         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57841         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57842         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57843         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57844         anymore.
57845         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57846         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57847         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57848         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57849         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57850         __mpranred, __mptan.
57851         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57852         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57853         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57854         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57855         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57856         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57857         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57858         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57859         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57861 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57863         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57864         redefine if SHARED.
57865         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57867         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57868         wide char related routines to wcsmbs subdir.
57870 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57872         [BZ #13344]
57873         * misc/sys/cdefs.h (__THROWNL): Define.
57874         * posix/unistd.h: Use __THREADNL instead of __THREAD
57875         for memory synchronization functions.
57877 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57879         [BZ #13349]
57880         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57881         doesn't exist.
57882         * manual/stdio.texi (Obstack Streams): Node removed.
57884 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57886         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57887         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57888         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57890         * math/math_private.h (math_force_eval): Allow non-addressable
57891         arguments.
57892         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57894 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57896         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57897         file is not needed.
57899         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57900         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57901         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57902         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57903         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57904         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57905         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57906         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57907         Add AVX variants.
57908         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57909         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57910         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57911         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57912         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57913         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57914         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57915         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57916         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57917         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57918         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57919         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57920         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57921         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57922         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57923         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57924         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57925         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57926         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57928         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57929         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57931         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57932         place.  Use VEX encoding when compiling for AVX.
57934 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57936         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57937         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57939         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57941 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57943         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57944         useless if() expression.
57945         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57946         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57947         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57948         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57949         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57950         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57951         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57952         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57953         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57954         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57955         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57956         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57957         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57958         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57959         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57960         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57961         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57962         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57963         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57965         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57967 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57969         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57970         condition.
57971         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57973 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57975         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57976         .text section.  Avoid duplicate constants.
57977         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57978         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57979         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57980         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57981         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57982         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57983         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57984         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57985         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57986         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57987         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57988         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57989         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57990         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57991         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57992         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57993         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57994         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57995         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57996         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57997         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57998         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57999         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58000         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58001         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58002         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58003         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58004         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58005         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58006         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58007         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58008         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58009         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58010         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58011         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58012         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58013         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58014         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58015         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58016         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58017         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58018         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58019         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58020         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58021         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58023 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58025         * sysdeps/x86_64/dla.h: Move to ...
58026         * sysdeps/x86_64/fpu/dla.h: ...here.
58027         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58028         situations.  Use __builtin_fma only for gcc 4.6 and up.
58030         * config.make.in: Add have-mfma4 entry.
58031         * configure.in: Substitute libc_cv_cc_fma4.
58032         * math/Makefile (dbl-only-routines): Add sincostab.
58033         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58034         Use __sincostab not sincos.
58035         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58036         name is a macro.
58037         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58038         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58039         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58040         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58041         using __copysign.
58042         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58043         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58044         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58045         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58046         and __inv.
58047         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58048         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58049         __copysign.
58050         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58051         define aliases when function name is a macro.
58052         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58053         sysdeps/ieee754/dbl-64/sincos.tbl.
58054         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58055         fma4-enabled routines.
58056         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58057         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58058         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58059         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58060         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58061         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58062         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58063         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58064         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58065         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58066         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58067         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58068         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58069         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58070         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58071         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58072         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58073         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58074         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58075         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58076         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58077         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58078         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58079         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58080         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58081         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58082         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58083         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58084         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58085         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58087         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58088         rename.
58089         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58090         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58091         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58092         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58093         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58094         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58095         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58096         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58098 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58100         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58102 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58104         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58106         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58107         prediction.
58108         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58110         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58111         Remove unused variable magic_bits.
58112         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58114         * string/strnlen.c: Define and use STRNLEN macro.
58115         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58116         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58117         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58118         * wcsmbs/wcslen.c: Define and use WCSLEN.
58119         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58120         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58121         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58122         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58123         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58124         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58125         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58127 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58129         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58130         strnlen-sse2-no-bsf.
58131         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58132         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58133         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58134         Add strnlen support.
58135         (USE_AS_STRNLEN): New macro.
58136         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58137         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58138         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58139         * sysdeps/x86_64/wcslen.S: New file.
58141 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58143         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58144         XMM-moves are used for copying on small sizes.
58146 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58148         * wcsmbs/Makefile (strop-tests): Add wcschr.
58149         * wcsmbs/test-wcschr.c: New file.
58150         * string/test-strchr.c: Update.
58151         Add wcschr support.
58152         (WIDE): New macro.
58154 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58156         * wcsmbs/Makefile (strop-tests): Add wcslen.
58157         * wcsmbs/test-wcslen.c: New file.
58158         * string/test-strlen.c: Update.
58159         Add wcslen support.
58160         (WIDE): New macro.
58162 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58164         * po/it.po: Update from translation team.
58166 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58168         * sysdeps/x86_64/wcscmp.S: Update.
58169         Fix wrong comparison semantics.
58170         wcscmp shall use signed comparison not unsigned.
58171         Don't use substraction to avoid overflow bug.
58172         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58173         * wcsmbc/wcscmp.c: Likewise.
58174         * string/test-strcmp.c: Likewise.
58175         Add new tests to check cases with negative values.
58177 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58179         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58180         * sysdeps/x86_64/dla.h: ...here.  New file.
58181         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58182         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58183         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58184         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58185         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58186         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58187         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58188         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58189         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58191 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58193         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58194         __ynl_finite aliases.
58196 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58198         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58200         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58201         define DLA_FMA.
58202         [DLA_FMA] (EMULV): Use DLA_FMA.
58203         [DLA_FMA] (MUL12): Use EMULV.
58204         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58205         that are not needed.
58206         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58207         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58208         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58209         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58210         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58211         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58212         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58214 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58216         * math/s_nan.c: Undef __nan.
58217         * math/s_nanf.c: Undef __nanf.
58218         * math/s_nanl.c: Undef __nanl.
58219         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58220         "math_private.h".
58222 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58224         * math/s_catan.c: Add branch predictions.
58225         * math/s_catanf.c: Likewise.
58226         * math/s_catanh.c: Likewise.
58227         * math/s_catanhf.c: Likewise.
58228         * math/s_catanhl.c: Likewise.
58229         * math/s_catanl.c: Likewise.
58230         * math/s_cexp.c: Likewise.
58231         * math/s_cexpf.c: Likewise.
58232         * math/s_cexpl.c: Likewise.
58233         * math/s_clog.c: Likewise.
58234         * math/s_clog10.c: Likewise.
58235         * math/s_clog10f.c: Likewise.
58236         * math/s_clog10l.c: Likewise.
58237         * math/s_clogf.c: Likewise.
58238         * math/s_clogl.c: Likewise.
58239         * math/s_csqrt.c: Likewise.
58240         * math/s_csqrtf.c: Likewise.
58241         * math/s_csqrtl.c: Likewise.
58242         * math/s_ctanf.c: Likewise.
58243         * math/s_ctanh.c: Likewise.
58244         * math/s_ctanhf.c: Likewise.
58245         * math/s_ctanhl.c: Likewise.
58246         * math/s_ctanl.c: Likewise.
58248         * math/math_private.h: Define __nan, __nanf, __nanl.
58249         * math/s_cacosh.c: Include <math_private.h>.
58250         * math/s_cacoshl.c: Likewise.
58251         * math/s_casinh.c: Likewise.
58252         * math/s_casinhf.c: Likewise.
58253         * math/s_casinhl.c: Likewise.
58254         * math/s_ccos.c: Rely entire on ccosh.
58255         * math/s_ccosf.c: Rely entire on ccoshf.
58256         * math/s_ccosl.c: Rely entirely on ccoshl.
58257         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58258         Remove tests for FE_INVALID.
58259         * math/s_ccoshf.c: Likewise.
58260         * math/s_ccoshl.c: Likewise.
58261         * math/s_csin.c: Likewise.
58262         * math/s_csinf.c: Likewise.
58263         * math/s_csinh.c Likewise.
58264         * math/s_csinhf.c: Likewise.
58265         * math/s_csinhl.c: Likewise.
58266         * math/s_csinl.c: Likewise.
58267         * math/s_ctan.c: Likewise.
58268         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58269         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58270         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58272 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58274         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58275         compilation problems.
58277         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58278         __builtin_expect.
58280 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58282         * sysdeps/i386/configure.in: Test for -mfma4 option.
58283         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58284         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58285         COMMON_CPUID_INDEX_80000001.
58286         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58287         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58288         use it if FMA3 is not supported.
58289         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58291         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58292         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58294 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58296         [BZ #12892]
58297         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58298         it would create a cycle with a link time dependency.
58300 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58302         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58303         instruction.
58304         * string/Makefile (strop-tests): Add rawmemchr.
58305         * string/test-rawmemchr.c: New file.
58307         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58308         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58309         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58310         when compiling str{,n}casecmp and when AVX is available.  Hook up
58311         new optimized code in initializers.
58313 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58315         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58316         __feraiseexcept instead of feraiseexcept.
58318 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58320         * math/math_private.h: Define defaults for libc_fetestexcept and
58321         libc_feupdateenv.
58322         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58323         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58324         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58325         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58326         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58327         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58328         libc_fetestexcept and libc_feupdateenv.
58330         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58331         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58332         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58333         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58334         libc_feholdexcept_setround.
58336         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58337         Add s_nearbyint-c and s_nearbyintf-c.
58338         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58339         nearbyintf inlines.
58340         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58341         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58342         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58343         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58345         * math/math_private.h: Define defaults for libc_fegetround,
58346         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58347         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58348         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58349         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58350         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58351         standard functions.
58352         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58353         Remove comments and hacks for old compiler versions.
58354         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58355         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58356         libc_feholdexceptl.
58358 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58360         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58361         (__feraiseexcept_renamed): Add __NTH.
58362         (feraiseexcept): Add __NTH.  Rename local variables to fix
58363         namespace violations.
58365 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58367         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58369         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58371         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58372         recently added interfaces.
58373         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58375         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58376         about macro parameter expansion.
58378         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58379         __NO_MATH_INLINES is defined.  Cleanups.
58381         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58382         and __floorf is target has SSE4.1.
58383         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58384         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58385         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58386         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58388         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58389         name.
58390         (floorf): Likewise.
58392         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58394 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58396         * misc/sys/cdefs.h: Fix last change.
58398         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58399         database lookup.
58401 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58403         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58405         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58406         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58407         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58408         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58409         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58410         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58411         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58412         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58413         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58414         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58415         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58416         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58417         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58418         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58419         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58420         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58421         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58422         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58423         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58424         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58425         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58426         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58428         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58429         ceil, ceilf, floor, floorf.
58431         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58432         Perform IRELATIVE relocations last.
58434         * elf/do-rel.h: Add another parameter nrelative, replacing the
58435         local variable with the same name.  Change name of the function
58436         to end in Rel or Rela (uppercase).
58437         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58438         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58439         elf_dynamic_do_##reloc function.
58441 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58443         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58444         is sufficient, at least on modern CPUs.
58446         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58448         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58449         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58451         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58452         __expl_finite.
58453         * math/bits/math-finite.h: Add entries for exp.
58454         * math/e_expl.c: Add __*_finite alias.
58455         * sysdeps/i386/fpu/e_exp.S: Likewise.
58456         * sysdeps/i386/fpu/e_expf.S: Likewise.
58457         * sysdeps/i386/fpu/e_expl.c: Likewise.
58458         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58459         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58460         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58461         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58462         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58463         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58464         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58466         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58467         is sufficient, at least on modern CPUs.
58469         * ctype/ctype-info.c (__ctype_init): Define.
58470         * include/ctype.h (__ctype_init): Declare.
58471         (__ctype_b_loc): The variable is always initialized.
58472         (__ctype_toupper_loc): Likewise.
58473         (__ctype_tolower_loc): Likewise.
58474         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58475         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58477 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58479         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58481         * configure.in: Also look in $cxxmachine/include for C++ system
58482         headers.
58484 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58486         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58487         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58488         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58489         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58490         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58491         (USE_AS_WMEMCMP): New macro.
58492         Fixing indents.
58493         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58494         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58495         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58496         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58497         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58498         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58499         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58500         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58501         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58502         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58503         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58504         (USE_AS_WMEMCMP): New macro.
58505         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58506         * sysdeps/string/test-memcmp.c: Update.
58507         Fix simple_wmemcmp.
58508         Add new tests.
58509         * wcsmbs/wmemcmp.c: Update.
58510         (WMEMCMP): New macro.
58511         Fix overflow bug.
58513 2011-10-12  Andreas Jaeger  <aj@suse.de>
58515         [BZ #13268]
58516         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58518 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58520         * libio/iofwide.c (do_length): Avoid warning.
58522         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58524 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58526         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58528         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58529         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58530         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58531         * sysdeps/i386/i686/fpu/e_log.S: New file.
58532         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58533         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58535         * ctype/ctype.h: Add support for inlined isXXX functions when
58536         compiling C++ code.
58538 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58540         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58542         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58544 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58546         [BZ #13291]
58547         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58549 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58551         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58552         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58553         feraiseexcept.
58555         * sysdeps/x86_64/memrchr.S: Check for zero size.
58557         * string/stratcliff.c: Add memrchr tests.
58559 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58561         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58562         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58563         rawmemchr-sse2 rawmemchr-sse2-bsf.
58564         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58565         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58566         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58567         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58568         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58569         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58570         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58571         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58572         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58573         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58574         * string/memrchr.c (MEMRCHR): New macro.
58576 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58578         Add integration with gcc's -ffinite-math-only and optimize wrapper
58579         functions in libm.
58580         * Versions.def: Define GLIBC_2.15 version for libm.
58581         * math/Makefile (headers): Add bits/math-finite.h.
58582         * math/bits/math-finite.h: New file.
58583         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58584         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58585         * math/e_acoshl.c: Add __*_finite alias.
58586         * math/e_acosl.c: Likewise.
58587         * math/e_asinl.c: Likewise.
58588         * math/e_atan2l.c: Likewise.
58589         * math/e_atanhl.c: Likewise.
58590         * math/e_coshl.c: Likewise.
58591         * math/e_exp10.c: Likewise.
58592         * math/e_exp10f.c: Likewise.
58593         * math/e_exp10l.c: Likewise.
58594         * math/e_exp2l.c: Likewise.
58595         * math/e_fmodl.c: Likewise.
58596         * math/e_gammal_r.c: Likewise.
58597         * math/e_hypotl.c: Likewise.
58598         * math/e_j0l.c: Likewise.
58599         * math/e_j1l.c: Likewise.
58600         * math/e_jnl.c: Likewise.
58601         * math/e_lgammal_r.c: Likewise.
58602         * math/e_log10l.c: Likewise.
58603         * math/e_log2l.c: Likewise.
58604         * math/e_logl.c: Likewise.
58605         * math/e_powl.c: Likewise.
58606         * math/e_sinhl.c: Likewise.
58607         * math/e_sqrtl.c: Likewise.
58608         * math/e_scalb.c: Completely rewritten and optimized.
58609         * math/e_scalbf.c: Likewise.
58610         * math/e_scalbl.c: Likewise.
58611         * math/w_acos.c: Likewise.
58612         * math/w_acosf.c: Likewise.
58613         * math/w_acosl.c: Likewise.
58614         * math/w_acosh.c: Likewise.
58615         * math/w_acoshf.c: Likewise.
58616         * math/w_acoshl.c: Likewise.
58617         * math/w_asin.c: Likewise.
58618         * math/w_asinf.c: Likewise.
58619         * math/w_asinl.c: Likewise.
58620         * math/w_atan2.c: Likewise.
58621         * math/w_atan2f.c: Likewise.
58622         * math/w_atan2l.c: Likewise.
58623         * math/w_atanh.c: Likewise.
58624         * math/w_atanhf.c: Likewise.
58625         * math/w_atanhl.c: Likewise.
58626         * math/w_exp10.c: Likewise.
58627         * math/w_exp10f.c: Likewise.
58628         * math/w_exp10l.c: Likewise.
58629         * math/w_fmod.c: Likewise.
58630         * math/w_fmodf.c: Likewise.
58631         * math/w_fmodl.c: Likewise.
58632         * math/w_j0.c: Likewise.
58633         * math/w_j0f.c: Likewise.
58634         * math/w_j0l.c: Likewise.
58635         * math/w_j1.c: Likewise.
58636         * math/w_j1f.c: Likewise.
58637         * math/w_j1l.c: Likewise.
58638         * math/w_jn.c: Likewise.
58639         * math/w_jnf.c: Likewise.
58640         * math/w_log.c: Likewise.
58641         * math/w_logf.c: Likewise.
58642         * math/w_logl.c: Likewise.
58643         * math/w_log10.c: Likewise.
58644         * math/w_log10f.c: Likewise.
58645         * math/w_log10l.c: Likewise.
58646         * math/w_log2.c: Likewise.
58647         * math/w_log2f.c: Likewise.
58648         * math/w_log2l.c: Likewise.
58649         * math/w_pow.c: Likewise.
58650         * math/w_powf.c: Likewise.
58651         * math/w_powl.c: Likewise.
58652         * math/w_remainder.c: Likewise.
58653         * math/w_remainderf.c: Likewise.
58654         * math/w_remainderl.c: Likewise.
58655         * math/w_scalb.c: Likewise.
58656         * math/w_scalbf.c: Likewise.
58657         * math/w_scalbl.c: Likewise.
58658         * math/w_sqrt.c: Likewise.
58659         * math/w_sqrtf.c: Likewise.
58660         * math/w_sqrtl.c: Likewise.
58661         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58662         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58663         used.
58664         * math/math_private.h: Declare __kernel_standard_f.
58665         * math/w_cosh.c: Remove cruft and optimize a bit.
58666         * math/w_coshf.c: Likewise.
58667         * math/w_coshl.c: Likewise.
58668         * math/w_exp2.c: Likewise.
58669         * math/w_exp2f.c: Likewise.
58670         * math/w_exp2l.c: Likewise.
58671         * math/w_hypot.c: Likewise.
58672         * math/w_hypotf.c: Likewise.
58673         * math/w_hypotl.c: Likewise.
58674         * math/w_lgamma.c: Likewise.
58675         * math/w_lgamma_r.c: Likewise.
58676         * math/w_lgammaf.c: Likewise.
58677         * math/w_lgammaf_r.c: Likewise.
58678         * math/w_lgammal.c: Likewise.
58679         * math/w_lgammal_r.c: Likewise.
58680         * math/w_sinh.c: Likewise.
58681         * math/w_sinhf.c: Likewise.
58682         * math/w_sinhl.c: Likewise.
58683         * math/w_tgamma.c: Likewise.
58684         * math/w_tgammaf.c: Likewise.
58685         * math/w_tgammal.c: Likewise.
58686         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58687         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58688         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58689         Minor optimizations.  Pretty printing.  Remove cruft.
58690         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58691         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58692         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58693         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58694         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58695         * sysdeps/i386/fpu/e_asin.S: Likewise.
58696         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58697         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58698         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58699         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58700         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58701         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58702         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58703         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58704         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58705         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58706         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58707         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58708         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58709         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58710         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58711         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58712         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58713         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58714         * sysdeps/i386/fpu/e_log.S: Likewise.
58715         * sysdeps/i386/fpu/e_log10.S: Likewise.
58716         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58717         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58718         * sysdeps/i386/fpu/e_log2.S: Likewise.
58719         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58720         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58721         * sysdeps/i386/fpu/e_logf.S: Likewise.
58722         * sysdeps/i386/fpu/e_logl.S: Likewise.
58723         * sysdeps/i386/fpu/e_pow.S: Likewise.
58724         * sysdeps/i386/fpu/e_powf.S: Likewise.
58725         * sysdeps/i386/fpu/e_powl.S: Likewise.
58726         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58727         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58728         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58729         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58730         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58731         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58732         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58733         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58734         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58735         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58736         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58737         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58738         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58739         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58740         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58741         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58742         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58743         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58744         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58745         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58746         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58747         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58748         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58749         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58750         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58751         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58752         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58753         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58754         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58755         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58756         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58757         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58758         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58759         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58760         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58761         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58762         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58763         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58764         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58765         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58766         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58767         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58768         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58769         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58770         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58771         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58772         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58773         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58774         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58775         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58776         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58777         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58778         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58779         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58780         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58781         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58782         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58783         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58784         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58785         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58786         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58787         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58788         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58789         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58790         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58791         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58792         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58793         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58794         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58795         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58796         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58797         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58798         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58799         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58800         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58801         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58802         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58803         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58804         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58805         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58806         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58807         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58808         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58809         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58810         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58811         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58812         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58813         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58814         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58815         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58816         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58817         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58818         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58819         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58820         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58821         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58822         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58823         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58824         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58825         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58826         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58827         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58828         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58829         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58830         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58831         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58832         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58833         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58834         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58835         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58836         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58837         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58838         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58839         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58840         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58841         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58842         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58843         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58844         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58845         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58846         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58847         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58848         (__isnanf): Likewise.
58849         (__isinf_ns): Likewise.
58850         (__isinf_nsf): Likewise.
58851         (__finite): Likewise.
58852         (__finitef): Likewise.
58853         (__ieee754_sqrt): Define as macro.
58854         (__ieee754_sqrtf): Define as macro.
58855         (__ieee754_sqrtl): Define as macro.
58856         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58857         inlined copy.
58858         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58859         __FINITE_MATH_ONLY__ consistent.
58860         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58862 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58864         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58865         of rawmemchr.
58867         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58869 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58871         * po/ja.po: Update from translation team.
58873 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58875         * locale/programs/locarchive.c (prepare_address_space): New function.
58876         (create_archive, enlarge_archive, open_archive): Use it.
58878         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58879         inside [SHARED], where it is used.
58881         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58883         * nss/getent.c (netgroup_keys): Remove unused variable.
58884         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58886 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58888         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58889         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58890         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58891         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58892         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58893         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58894         * math/Makefile (libm-calls): Add s_isinf_ns.
58895         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58896         * math/multc3.c: Likewise.
58897         * math/s_casin.c: Likewise.
58898         * math/s_casinf.c: Likewise.
58899         * math/s_casinl.c: Likewise.
58900         * math/s_ccos.c: Likewise.
58901         * math/s_ccosf.c: Likewise.
58902         * math/s_ccosl.c: Likewise.
58903         * math/s_ctan.c: Likewise.
58904         * math/s_ctanf.c: Likewise.
58905         * math/s_ctanh.c: Likewise.
58906         * math/s_ctanhf.c: Likewise.
58907         * math/s_ctanhl.c: Likewise.
58908         * math/s_ctanl.c: Likewise.
58909         * math/w_fmod.c: Likewise.
58910         * math/w_fmodf.c: Likewise.
58911         * math/w_fmodl.c: Likewise.
58912         * math/w_remainder.c: Likewise.
58913         * math/w_remainderf.c: Likewise.
58914         * math/w_remainderl.c: Likewise.
58915         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58916         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58917         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58918         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58919         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58920         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58921         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58922         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58924         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58925         of the number.
58926         * stdio-common/printf_fphex.c: Likewise.
58927         * stdio-common/printf_size.c: Likewise.
58929         * math/e_exp10.c: Include math_private.h using <...> not "...".
58930         * math/e_exp10f.c: Likewise.
58931         * math/e_exp10l.c: Likewise.
58932         * math/e_exp2l.c: Likewise.
58933         * math/e_j0l.c: Likewise.
58934         * math/e_j1l.c: Likewise.
58935         * math/e_jnl.c: Likewise.
58936         * math/e_lgammal_r.c: Likewise.
58937         * math/e_rem_pio2l.c: Likewise.
58938         * math/e_scalb.c: Likewise.
58939         * math/e_scalbf.c: Likewise.
58940         * math/e_scalbl.c: Likewise.
58941         * math/k_cosl.c: Likewise.
58942         * math/k_sinl.c: Likewise.
58943         * math/k_tanl.c: Likewise.
58944         * math/s_cacoshf.c: Likewise.
58945         * math/s_catan.c: Likewise.
58946         * math/s_catanf.c: Likewise.
58947         * math/s_catanh.c: Likewise.
58948         * math/s_catanhf.c: Likewise.
58949         * math/s_catanhl.c: Likewise.
58950         * math/s_catanl.c: Likewise.
58951         * math/s_ccosh.c: Likewise.
58952         * math/s_ccoshf.c: Likewise.
58953         * math/s_ccoshl.c: Likewise.
58954         * math/s_cexp.c: Likewise.
58955         * math/s_cexpf.c: Likewise.
58956         * math/s_cexpl.c: Likewise.
58957         * math/s_clog.c: Likewise.
58958         * math/s_clog10.c: Likewise.
58959         * math/s_clog10f.c: Likewise.
58960         * math/s_clog10l.c: Likewise.
58961         * math/s_clogf.c: Likewise.
58962         * math/s_clogl.c: Likewise.
58963         * math/s_csin.c: Likewise.
58964         * math/s_csinf.c: Likewise.
58965         * math/s_csinh.c: Likewise.
58966         * math/s_csinhf.c: Likewise.
58967         * math/s_csinhl.c: Likewise.
58968         * math/s_csinl.c: Likewise.
58969         * math/s_csqrt.c: Likewise.
58970         * math/s_csqrtf.c: Likewise.
58971         * math/s_csqrtl.c: Likewise.
58972         * math/s_ctan.c: Likewise.
58973         * math/s_ctanf.c: Likewise.
58974         * math/s_ctanh.c: Likewise.
58975         * math/s_ctanhf.c: Likewise.
58976         * math/s_ctanhl.c: Likewise.
58977         * math/s_ctanl.c: Likewise.
58978         * math/s_ldexp.c: Likewise.
58979         * math/s_ldexpf.c: Likewise.
58980         * math/s_ldexpl.c: Likewise.
58981         * math/s_significand.c: Likewise.
58982         * math/s_significandf.c: Likewise.
58983         * math/s_significandl.c: Likewise.
58984         * math/w_acos.c: Likewise.
58985         * math/w_acosf.c: Likewise.
58986         * math/w_acosh.c: Likewise.
58987         * math/w_acoshf.c: Likewise.
58988         * math/w_acoshl.c: Likewise.
58989         * math/w_acosl.c: Likewise.
58990         * math/w_asin.c: Likewise.
58991         * math/w_asinf.c: Likewise.
58992         * math/w_asinl.c: Likewise.
58993         * math/w_atan2.c: Likewise.
58994         * math/w_atan2f.c: Likewise.
58995         * math/w_atan2l.c: Likewise.
58996         * math/w_atanh.c: Likewise.
58997         * math/w_atanhf.c: Likewise.
58998         * math/w_atanhl.c: Likewise.
58999         * math/w_cosh.c: Likewise.
59000         * math/w_coshf.c: Likewise.
59001         * math/w_coshl.c: Likewise.
59002         * math/w_dremf.c: Likewise.
59003         * math/w_exp10.c: Likewise.
59004         * math/w_exp10f.c: Likewise.
59005         * math/w_exp10l.c: Likewise.
59006         * math/w_exp2.c: Likewise.
59007         * math/w_exp2f.c: Likewise.
59008         * math/w_fmod.c: Likewise.
59009         * math/w_fmodf.c: Likewise.
59010         * math/w_fmodl.c: Likewise.
59011         * math/w_hypot.c: Likewise.
59012         * math/w_hypotf.c: Likewise.
59013         * math/w_hypotl.c: Likewise.
59014         * math/w_j0.c: Likewise.
59015         * math/w_j0f.c: Likewise.
59016         * math/w_j0l.c: Likewise.
59017         * math/w_j1.c: Likewise.
59018         * math/w_j1f.c: Likewise.
59019         * math/w_j1l.c: Likewise.
59020         * math/w_jn.c: Likewise.
59021         * math/w_jnf.c: Likewise.
59022         * math/w_jnl.c: Likewise.
59023         * math/w_lgamma.c: Likewise.
59024         * math/w_lgamma_r.c: Likewise.
59025         * math/w_lgammaf.c: Likewise.
59026         * math/w_lgammaf_r.c: Likewise.
59027         * math/w_lgammal.c: Likewise.
59028         * math/w_lgammal_r.c: Likewise.
59029         * math/w_log.c: Likewise.
59030         * math/w_log10.c: Likewise.
59031         * math/w_log10f.c: Likewise.
59032         * math/w_log10l.c: Likewise.
59033         * math/w_log2.c: Likewise.
59034         * math/w_log2f.c: Likewise.
59035         * math/w_log2l.c: Likewise.
59036         * math/w_logf.c: Likewise.
59037         * math/w_logl.c: Likewise.
59038         * math/w_pow.c: Likewise.
59039         * math/w_powf.c: Likewise.
59040         * math/w_powl.c: Likewise.
59041         * math/w_remainder.c: Likewise.
59042         * math/w_remainderf.c: Likewise.
59043         * math/w_remainderl.c: Likewise.
59044         * math/w_scalb.c: Likewise.
59045         * math/w_scalbf.c: Likewise.
59046         * math/w_scalbl.c: Likewise.
59047         * math/w_sinh.c: Likewise.
59048         * math/w_sinhf.c: Likewise.
59049         * math/w_sinhl.c: Likewise.
59050         * math/w_sqrt.c: Likewise.
59051         * math/w_sqrtf.c: Likewise.
59052         * math/w_sqrtl.c: Likewise.
59053         * math/w_tgamma.c: Likewise.
59054         * math/w_tgammaf.c: Likewise.
59055         * math/w_tgammal.c: Likewise.
59057         * po/ja.po: Update from translation team.
59059 2011-09-29  Andreas Jaeger  <aj@suse.de>
59061         [BZ #13179]
59062         * sunrpc/netname.c (netname2host): Fix logic.
59064         [BZ #6779]
59065         [BZ #6783]
59066         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59067         correctly.
59068         * math/w_remainder.c (__remainder): Likewise.
59069         * math/w_remainderf.c (__remainderf): Likewise.
59070         * math/libm-test.inc (remainder_test): Add test cases.
59072 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59074         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59075         sdiv_qrnnd.
59077 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59079         * string/test-memcmp.c: Avoid unncessary #defines.
59080         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59082 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59084         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59085         Use new sse2 version for core i3 - i7 as it's faster
59086         than sse42 version.
59087         (bit_Prefer_PMINUB_for_stringop): New.
59088         * sysdeps/x86_64/rawmemchr.S: Update.
59089         Replace with faster SSE2 version.
59090         * sysdeps/x86_64/memrchr.S: New file.
59091         * sysdeps/x86_64/memchr.S: Update.
59092         Replace with faster SSE2 version.
59094 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59096         * elf/dl-load.c (lose): Add cast to avoid warning.
59098 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59100         * po/ca.po: Update from translation team.
59102         * inet/getnetgrent_r.c: Hook up nscd.
59103         * nscd/Makefile (routines): Add nscd_netgroup.
59104         (nscd-modules): Add netgroupcache.
59105         (CFLAGS-netgroupcache.c): Define.
59106         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59107         (cache_search): Add const to second parameter.
59108         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59109         INNETGR.
59110         (dbs): Add netgrdb entry.
59111         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59112         (verify_persistent_db): Handle netgrdb.
59113         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59114         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59115         GETFDNETGR.
59116         (netgroup_response_header): Define.
59117         (innetgroup_response_header): Define.
59118         (datahead): Add netgroup_response_header and innetgroup_response_header
59119         elements.
59120         * nscd/nscd.conf: Add entries for netgroup cache.
59121         * nscd/nscd.h (dbtype): Add netgrdb.
59122         (_PATH_NSCD_NETGROUP_DB): Define.
59123         (netgroup_iov_disabled): Declare.
59124         (xmalloc, xcalloc, xrealloc): Move declarations here.
59125         (cache_search): Adjust prototype.
59126         Add netgroup-related prototypes.
59127         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59128         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59129         (__nscd_innetgr): Declare.
59130         * nscd/selinux.c (perms): Use access_vector_t as element type and
59131         add netgroup-related initializers.
59132         * nscd/netgroupcache.c: New file.
59133         * nscd/nscd_netgroup.c: New file.
59134         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59135         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59136         For four parameters use innetgr.
59137         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59138         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59139         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59140         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59142         * nscd/connections.c (register_traced_file): Don't register file
59143         for disabled databases.
59145 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59147         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59149         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59150         from tree and freeing node.
59152 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59154         * nss/nsswitch.c (__nss_database_lookup): Handle
59155         nss_parse_service_list out of memory case.
59157 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59159         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59160         out of memory case.
59162 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59164         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59165         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59166         pass it down.
59167         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59168         elf_machine_rela, elf_machine_lazy_rel.
59169         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59170         (ELF_DYNAMIC_DO_REL): Likewise.
59171         (ELF_DYNAMIC_DO_RELA): Likewise.
59172         (ELF_DYNAMIC_RELOCATE): Likewise.
59173         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59174         to ELF_DYNAMIC_DO_REL.
59175         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59176         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59177         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59178         elf_machine_rela.
59179         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59180         skip_ifunc, don't call ifunc function if non-zero.
59181         (elf_machine_rela): Likewise.
59182         (elf_machine_lazy_rel): Likewise.
59183         (elf_machine_lazy_rela): Likewise.
59184         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59185         (elf_machine_lazy_rel): Likewise.
59186         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59187         Likewise.
59188         (elf_machine_lazy_rel): Likewise.
59189         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59190         Likewise.
59191         (elf_machine_lazy_rel): Likewise.
59192         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59193         (elf_machine_lazy_rel): Likewise.
59194         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59195         (elf_machine_lazy_rel): Likewise.
59196         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59197         (elf_machine_lazy_rel): Likewise.
59198         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59199         (elf_machine_lazy_rel): Likewise.
59200         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59201         (elf_machine_lazy_rel): Likewise.
59202         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59203         (elf_machine_lazy_rel): Likewise.
59205 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59207         * nss/nss_files/files-init.c (_nss_files_init): Use static
59208         initialization for all the *_traced_file variables.
59210 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59212         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59214 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59216         [BZ #13226]
59217         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59219 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59221         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59222         Reread the line before reparsing it.
59224 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59226         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59228 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59229             Maxim Kuvyrkov  <maxim@codesourcery.com>
59230             Joseph Myers  <joseph@codesourcery.com>
59232         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59233         if needed for __stack_chk_guard.
59235 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59237         * sysdeps/posix/spawni.c (script_execute): Always define it.
59238         It will be optimized away if unused.
59239         (maybe_script_execute): New function.
59240         (__spawni): Call it.
59242         * Makerules: Don't include tls.make.
59243         (config-tls): Always set to thread.
59244         * tls.make.c: File removed.
59246 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59248         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59249         * config.make.in (CPPFLAGS-config): New substituted variable.
59251 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59253         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59255         [BZ #13192]
59256         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59257         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59259 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59261         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59262         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59263         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59264         (CALL_FAIL): Likewise.
59265         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59266         (CALL_FAIL): Macro removed.
59267         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59269 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59271         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59272         for __FINITE_MATH_ONLY__ == 1.
59274 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59276         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59277         __ieee754_sqrt instead of sqrt.
59278         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59279         __ieee754_sqrtf instead of sqrtf.
59280         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59281         __floorf instead of floorf.
59282         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59283         __floorf, __truncf instead of floorf, truncf.
59285 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59287         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59289         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59290         __extern_always_inline.
59291         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59292         32-bit.
59294 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59296         * elf/rtld.c (dl_main): Also relocate in dependency order when
59297         doing symbol dependency testing.
59299 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59301         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59302         Always define `refsym'.
59304 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59306         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59307         (__FD_ELT): Renamed from __FDELT.
59308         * misc/bits/select2.h (__FD_ELT): Likewise.
59309         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59310         __FD_MASK instead of __FDELT, __FDMASK.
59311         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59312         Likewise.
59313         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59314         Likewise.
59316         * elf/Makefile (gen-ldd): Fix pattern.
59318         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59319         (init_tls): Likewise.
59321 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59323         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59325 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59327         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59328         `struct cmsghdr *' instead of `void *'.
59329         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59330         Likewise.
59332 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59334         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59335         if non-absolute.
59336         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59337         ldd_rewrite_script.
59339 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59341         * configure.in: Remove --with-tls option.
59342         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59343         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59344         out in case it is missing.
59345         * sysdeps/ia64/elf/configure.in: Likewise.
59346         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59347         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59348         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59349         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59350         * sysdeps/sh/elf/configure.in: Likewise.
59351         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59352         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59353         * sysdeps/x86_64/elf/configure.in: Likewise.
59354         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59355         * sysdeps/mach/hurd/tls.h: Likewise.
59357         [BZ #13067]
59358         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59360         [BZ #13090]
59361         * configure.in: Fix use of AC_INIT.
59363         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59365 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59367         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59368         __set_errno.
59369         * malloc/hooks.c: Likewise.
59371         [BZ #11929]
59372         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59373         variables statically.
59374         (narenas): Initialize.
59375         (list_lock): Initialize.
59376         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59377         initializtion of main_arena and list_lock.  Small cleanups.
59378         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59379         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59380         Add initializers to main_arena and mp_.
59381         (malloc_state): Remove pagesize member.  Change all users to use
59382         GLRO(dl_pagesize).
59384         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59385         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59386         is always initialized.
59388         * malloc/malloc.c: Removed unused configurations and dead code.
59389         * malloc/arena.c: Likewise.
59390         * malloc/hooks.c: Likewise.
59391         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59393         * include/tls.h: Removed.  USE___THREAD must always be defined.
59394         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59395         * elf/dl-libc.c: Likewise.
59396         * elf/dl-tsd.c: Likewise.
59397         * include/errno.h: Likewise.
59398         * include/netdb.h: Likewise.
59399         * include/resolv.h: Likewise.
59400         * inet/herrno-loc.c: Likewise.
59401         * inet/herrno.c: Likewise.
59402         * malloc/arena.c: Likewise.
59403         * malloc/hooks.c: Likewise.
59404         * malloc/malloc.c: Likewise.
59405         * resolv/res-state.c: Likewise.
59406         * resolv/res_libc.c: Likewise.
59407         * sysdeps/i386/dl-machine.h: Likewise.
59408         * sysdeps/ia64/dl-machine.h: Likewise.
59409         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59410         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59411         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59412         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59413         * sysdeps/sh/dl-machine.h: Likewise.
59414         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59415         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59416         * sysdeps/unix/i386/sysdep.S: Likewise.
59417         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59418         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59419         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59420         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59421         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59422         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59423         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59424         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59425         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59426         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59427         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59428         * sysdeps/x86_64/dl-machine.h: Likewise.
59429         * tls.make.c: Likewise.
59431         * configure.in: Remove --with-__thread option.  Make tests for
59432         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59433         tls_model attribute fail if no support is available.  Remove
59434         USE_IN_LIBIO.
59435         * Makeconfig: Adjust for dropped configure option.  All features are
59436         now mandatory.
59437         * Makerules: Likewise.
59438         * Versions.def: Likewise.
59439         * argp/argp-fmtstream.c: Likewise.
59440         * argp/argp-fmtstream.h: Likewise.
59441         * argp/argp-help.c: Likewise.
59442         * assert/assert.c: Likewise.
59443         * config.h.in: Likewise.
59444         * config.make.in: Likewise.
59445         * configure: Likewise.
59446         * configure.in: Likewise.
59447         * csu/Versions: Likewise.
59448         * csu/init.c: Likewise.
59449         * elf/tst-audit2.c: Likewise.
59450         * elf/tst-tls10.c: Likewise.
59451         * elf/tst-tls10.h: Likewise.
59452         * elf/tst-tls11.c: Likewise.
59453         * elf/tst-tls12.c: Likewise.
59454         * elf/tst-tls14.c: Likewise.
59455         * elf/tst-tlsmod11.c: Likewise.
59456         * elf/tst-tlsmod12.c: Likewise.
59457         * elf/tst-tlsmod13.c: Likewise.
59458         * elf/tst-tlsmod13a.c: Likewise.
59459         * elf/tst-tlsmod14a.c: Likewise.
59460         * elf/tst-tlsmod15b.c: Likewise.
59461         * elf/tst-tlsmod16a.c: Likewise.
59462         * elf/tst-tlsmod16b.c: Likewise.
59463         * elf/tst-tlsmod7.c: Likewise.
59464         * elf/tst-tlsmod8.c: Likewise.
59465         * elf/tst-tlsmod9.c: Likewise.
59466         * gmon/gmon.c: Likewise.
59467         * grp/fgetgrent_r.c: Likewise.
59468         * grp/putgrent.c: Likewise.
59469         * hurd/fopenport.c: Likewise.
59470         * include/libc-symbols.h: Likewise.
59471         * include/tls.h: Likewise.
59472         * intl/gettextP.h: Likewise.
59473         * intl/loadinfo.h: Likewise.
59474         * locale/global-locale.c: Likewise.
59475         * locale/localeinfo.h: Likewise.
59476         * mach/devstream.c: Likewise.
59477         * malloc/arena.c: Likewise.
59478         * malloc/set-freeres.c: Likewise.
59479         * misc/err.c: Likewise.
59480         * misc/getttyent.c: Likewise.
59481         * misc/mntent_r.c: Likewise.
59482         * posix/getopt.c: Likewise.
59483         * posix/wordexp.c: Likewise.
59484         * pwd/fgetpwent_r.c: Likewise.
59485         * resolv/Versions: Likewise.
59486         * resolv/res_hconf.c: Likewise.
59487         * shadow/fgetspent_r.c: Likewise.
59488         * shadow/putspent.c: Likewise.
59489         * stdio-common/printf_fphex.c: Likewise.
59490         * stdio-common/tmpfile.c: Likewise.
59491         * stdlib/abort.c: Likewise.
59492         * stdlib/fmtmsg.c: Likewise.
59493         * sunrpc/auth_unix.c: Likewise.
59494         * sunrpc/clnt_perr.c: Likewise.
59495         * sunrpc/clnt_tcp.c: Likewise.
59496         * sunrpc/clnt_udp.c: Likewise.
59497         * sunrpc/clnt_unix.c: Likewise.
59498         * sunrpc/openchild.c: Likewise.
59499         * sunrpc/svc_simple.c: Likewise.
59500         * sunrpc/svc_tcp.c: Likewise.
59501         * sunrpc/svc_udp.c: Likewise.
59502         * sunrpc/svc_unix.c: Likewise.
59503         * sunrpc/xdr.c: Likewise.
59504         * sunrpc/xdr_array.c: Likewise.
59505         * sunrpc/xdr_rec.c: Likewise.
59506         * sunrpc/xdr_ref.c: Likewise.
59507         * sunrpc/xdr_stdio.c: Likewise.
59509 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59511         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59513 2011-07-03  Andreas Jaeger  <aj@suse.de>
59515         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59516         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59517         regenerate with gen-libm-tests.pl.
59519 2010-05-12  Petr Baudis  <pasky@suse.cz>
59521         [BZ #11589]
59522         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59523         around j0() zero points by switching to j1().
59524         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59525         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59526         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59527         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59529 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59531         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59532         instead of 0.
59533         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59534         instead of 0.
59535         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59536         Patch in part by Pavel Roskin <proski@gnu.org>.
59538         [BZ #13138]
59539         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59540         realloc.
59541         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59542         Free memory block if necessary.
59544         [BZ #12847]
59545         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59546         be NULL.  Don't lock in this case.
59548 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59550         * elf/elf.h (ELFOSABI_GNU): New macro.
59551         (ELFOSABI_LINUX): Define to that.
59553 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59555         * string/strncat.c (strncat): Undef the symbol in case it has been
59556         defined in bits/string.h.
59558 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59560         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59562         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59563         link map.
59565 2011-08-17  Andreas Jaeger  <aj@suse.de>
59567         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59569 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59570             Ian Lance Taylor  <iant@google.com>
59572         * math/libm-test.inc (lround_test): New testcase.
59573         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59575 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59577         * Makefile: Remove support for automatic cvs check-ins.
59578         * Makerules: Likewise.
59579         * config.make.in: Likewise.
59580         * configure.in: Likewise.
59581         * intl/Makefile: Likewise.
59582         * locale/Makefile: Likewise.
59583         * po/Makefile: Likewise.
59584         * posix/Makefile: Likewise.
59585         * sysdeps/gnu/Makefile: Likewise.
59586         * sysdeps/mach/hurd/Makefile: Likewise.
59587         * sysdeps/sparc/sparc32/Makefile: Likewise.
59589         [BZ #13118]
59590         * posix/Makefile (bug-regex32-ENV): Define.
59591         Patch by John Stanley <jpsinthemix@verizon.net>.
59593         * misc/Makefile (headers): Add bits/select2.h.
59594         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59595         * misc/bits/select2.h: New file.
59596         * include/bits/select2.h: New file.
59597         * debug/Makefile (routines): Add fdelt_chk.
59598         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59599         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59600         FD_ISSET.
59601         * debug/fdelt_chk.c: New file.
59603         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59604         * wcsmbs/test-wmemcmp.c: Likewise.
59605         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59606         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59608 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59610         * string/Makefile (strop-tests): Add memcmp.
59611         * string/test-wmemcmp.c: New file.
59612         * string/test-memcmp.c: Add wmemcmp support.
59614 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59616         [BZ #13153]
59617         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59618         2011-07-19 change.
59620         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59621         garbage value in a __mach_port_mod_refs call in the cases of the
59622         task-self and thread-self ports.
59624 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59626         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59628 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59630         * elf/dl-load.c (lose): Check for non-null L.
59632 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59634         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59636         * elf/dl-libc.c (dlerror_run): Pass back error code from
59637         dl_catch_error.
59639         [BZ #13123]
59640         * elf/dl-load.c (lose): Free l_origin if it is valid.
59642         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59643         names.
59644         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59645         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59646         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59647         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59648         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59649         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59651 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59653         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59654         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59655         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59656         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59657         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59658         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59659         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59660         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59661         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59662         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59664 2011-08-15  Alan Modra  <amodra@gmail.com>
59666         [BZ #13092]
59667         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59668         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59669         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59670         ppc_mcount to static-only-routines.
59671         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59672         __mcount_internal.
59673         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59674         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59676 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59678         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59679         for finite and infinity parameters.
59681 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59683         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59684         and add nop instructions for throughput optimization.
59685         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59687 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59689         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59690         aligned copy for power7 with vector-scalar instructions.
59691         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59693 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59695         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59696         AVX check.
59698 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59700         [BZ #13144]
59701         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59702         last change.
59704 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59706         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59707         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59708         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59709         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59710         clock_gettime.
59712 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59714         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59715         Forgot to demangle the pointer.
59717         * sysdeps/i386/sysdep.h: Define atom_text_section.
59718         * sysdeps/x86_64/sysdep.h: Likewise.
59719         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59720         section with atom_text_section.
59721         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59722         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59723         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59724         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59725         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59727         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59728         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59729         already be defined.  Change to take two parameters and don't assign
59730         result to variable.  Adjust all users.
59731         Define INTERNAL_GETTIME if not already defined.
59732         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59733         call.
59734         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59735         HAVE_CLOCK_GETTIME_VSYSCALL.
59736         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59738         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59739         gettimeofday vsyscall, just use time.
59741 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59743         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59744         <errno.h>.
59746 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59748         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59749         syscall on x86-64.
59750         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59751         syscall.
59752         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59753         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59754         syscall if possible.
59756 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59758         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59759         e_ident.  Don't pass to find_mapsXX.
59760         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59762 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59764         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59765         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59766         * sysdeps/x86_64/multiarch/strchr.S: Update.
59767         Check bit_slow_BSF bit.
59768         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59769         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59770         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59772 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59774         [BZ #13134]
59775         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59776         before glibc 2.15.
59777         (tryshell): Define.
59778         (__spawni): Change last parameter to be flag.  Test
59779         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59780         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59781         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59782         * posix/spawni.c: Likewise.
59783         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59784         * posix/spawnp.c: Likewise.  Change normal version to use
59785         SPAWN_XFLAGS_USE_PATH.
59786         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59787         SPAWN_XFLAGS_TRY_SHELL.
59789         [BZ #13150]
59790         * posix/glob.h: Remove gcc 1.x support.
59792         [BZ #13068]
59793         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59795 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59797         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59798         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59799         strrchr-sse2-bsf
59800         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59801         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59802         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59803         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59804         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59805         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59807 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59809         * sysdeps/x86_64/wcscmp.S: New file.
59811         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59812         wcscmp-c wcscmp-sse2
59813         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59814         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59815         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59816         * wcsmbs/wcscmp.c: Allow renaming.
59818 2011-09-05  David S. Miller  <davem@davemloft.net>
59820         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59821         stack slot, rather than the struct return pointer slot.
59822         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59823         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59825         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59827 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59829         * po/ja.po: Update from translation team.
59831         [BZ #13144]
59832         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59833         kernel in 64-bit binaries.
59835 2011-09-01  David S. Miller  <davem@davemloft.net>
59837         * elf/elf.h (HWCAP_SPARC_*): Move to..
59838         * sysdeps/sparc/sysdep.h: this new file and add new values.
59839         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59840         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59841         _DL_HWCAP_COUNT to 24.
59842         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59843         entries.
59844         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59845         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59846         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59847         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59848         instead of magic constants.
59849         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59851 2011-08-31  David S. Miller  <davem@davemloft.net>
59853         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59854         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59855         Reimplement to do errno handling inline.
59856         (SYSCALL_ERROR_HANDLER): New macro.
59857         (__SYSCALL_STRING): Do not do errno handling in asm.
59858         (__CLONE_SYSCALL_STRING): Delete.
59859         (__INTERNAL_SYSCALL_STRING): Delete.
59860         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59861         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59862         (PSEUDO): Reimplement to do errno handling inline.
59863         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59864         (SYSCALL_ERROR_HANDLER): New macro.
59865         (__SYSCALL_STRING): Do not do errno handling in asm.
59866         (__CLONE_SYSCALL_STRING): Delete.
59867         (__INTERNAL_SYSCALL_STRING): Delete.
59868         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59869         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59870         i386.
59871         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59872         (inline_syscall*): Add 'err' argument.
59873         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59874         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59875         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59876         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59878         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59879         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59881 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59883         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59885 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59887         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59888         directive.
59890 2011-08-24  David S. Miller  <davem@davemloft.net>
59892         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59894 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59896         * elf/Makefile: Add rules to build and run unload8 test.
59897         * elf/unload8.c: New file.
59898         * elf/unload8mod1.c: New file.
59899         * elf/unload8mod1x.c: New file.
59900         * elf/unload8mod2.c: New file.
59901         * elf/unload8mod3.c: New file.
59903         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59904         it wasn't used.
59906 2011-08-23  David S. Miller  <davem@davemloft.net>
59908         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59909         subtract stack bias.
59910         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59911         %sp not %fp in calculations.
59912         (_JMPBUF_UNWINDS_ADJ): Likewise.
59914         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59915         (aio_suspend): Call it to force an exception region around the
59916         AIO_MISC_WAIT() invocation.
59918 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59920         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59921         backslash.
59923 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59925         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59926         protection macro.
59927         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59928         and <dl-machine.h>.
59929         (Elf64_FuncDesc): Remove.
59931 2011-08-22  David S. Miller  <davem@davemloft.net>
59933         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59934         sigaltstack check, add missing cfi directives.
59935         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59936         missing cfi directives, and sigaltstack handling.
59938 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59940         [BZ #11724]
59941         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59942         object is seen twice.
59943         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59945         * elf/Makefile (distribute): Add tst-initorder2.c.
59946         (tests): Add tst-initorder2.
59947         (modules-names): Add tst-initorder2a tst-initorder2b
59948         tst-initorder2c tst-initorder2d.  Add rules to build them.
59949         ($(objpfx)tst-initorder2.out): New rule.
59950         * elf/tst-initorder2.c: New file.
59951         * elf/tst-initorder2.exp: New file.
59953 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59955         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59957         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59958         dependencies back to end of function.
59960         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59961         $(elfobjdir)/ld.so.
59963 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59965         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59966         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59967         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59968         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59969         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59970         of __vdso_gettimeofday.
59971         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59972         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59973         attribute_hidden.
59974         (_libc_vdso_platform_setup): Remove initialization of
59975         __vdso_gettimeofday and __vdso_time.
59977 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59979         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59980         and fgetc_unlocked.
59981         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59982         getc_unlocked.
59984         * elf/dl-open.c (add_to_global): Report additions to the global scope
59985         for LD_DEBUG=scopes.
59986         (dl_open_worker): Also print scope of newly loaded dependencies.
59987         (_dl_show_scope): Indicate if there is no scope.
59989         [BZ #13114]
59990         * stdio-common/Makefile (tests): Add bug24.
59991         * stdio-common/bug24.c: New file.
59993 2011-08-19  Andreas Jaeger  <aj@suse.de>
59995         [BZ #13114]
59996         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59997         non-existant file when using close-on-exec mode.
59999 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60001         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60002         the very first instruction.
60004         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60005         the CFI state in the end.
60006         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60007         inclusion of dl-trampoline.h.
60008         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60010 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60012         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60013         expectations for long double.
60015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60016         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60018 2011-08-14  David S. Miller  <davem@davemloft.net>
60020         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60021         artificual limit depends upon the system page size.
60023 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60025         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60026         * resolv/Makefile: Define CFLAGS-libresolv.
60028 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60030         * nss/makedb.c (compute_tables): Make variables used in nested
60031         function static.
60033 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60035         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60036         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60037         if buffer was too small.
60039         * elf/pldd.c (main): Attach to all threads in the process.
60040         Rewrite /proc handling to use *at functions.
60042 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60044         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60045         specifies first scope to show.
60046         (dl_open_worker): Update callers.  Move printing scope of new
60047         object to before the relocation.
60048         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60049         * sysdeps/generic/ldsodefs.h: Update declaration.
60051         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60052         string for the scope number.
60054 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60056         * nscd/servicescache.c (cache_addserv): Make sure written is always
60057         initialized.
60059 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60061         * sysdeps/i386/i486/bits/atomic.h
60062         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60063         statement expression, so as to suppress "set but not used" warning.
60064         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60066         * string/strncat.c (STRNCAT): Use prototype definition.
60068         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60069         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60070         -Iprograms here.
60071         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60072         (localedef-modules): Add localedef.
60073         (locale-modules): Add locale.
60075         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60076         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60077         to avoid a warning.
60079 2011-08-14  David S. Miller  <davem@davemloft.net>
60081         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60082         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60084 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60086         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60087         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60088         * elf/rtld.c (dl_main): Set l_name of vDSO.
60089         Call _dl_show_scope when DL_DEBUG_SCOPES.
60090         (process_dl_debug): Recognize scopes flag and also set it for all.
60091         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60092         Declare _dl_show_scope.
60094         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60095         (do_dlopen): Pass caller_dlopen to dl_open.
60096         (__libc_dlopen_mode): Initialize caller_dlopen.
60098         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60099         of libc.  Make tolower call locale-independent.  Optimize a bit by
60100         using isdigit instead of isalnum.
60101         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60103 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60105         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60106         was a dependency or dynamically loaded.
60108 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60110         * intl/l10nflist.c: Allow architecture-specific pop function.
60111         * sysdeps/x86_64/l10nflist.c: New file.
60113         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60114         classification.
60116 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60118         * include/dirent.h: Add libc_hidden_proto for scandirat and
60119         scandirat64.  Don't declare __scandirat64.
60120         * dirent/scandirat.c: Add libc_hidden_def.
60121         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60122         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60124 2011-08-10  David S. Miller  <davem@davemloft.net>
60126         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60127         enum.
60128         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60129         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60130         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60132 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60134         * Versions.def [libc]: Add GLIBC_2.15.
60135         * dirent/Makefile (routines): Add scandirat and scandirat64.
60136         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60137         GLIBC_2.15.
60138         * dirent/dirent.h: Declare scandirat and scandirat64.
60139         * dirent/scandirat.c: New file.
60140         * dirent/scandirat64.c: New file.
60141         * sysdeps/wordsize-64/scandirat.c: New file.
60142         * sysdeps/wordsize-64/scandirat64.c: New file.
60143         * dirent/opendir.c: Define opendirat.
60144         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60145         using scandirat.
60146         * dirent/scandir64.c: Adjust for scandir.c change.
60147         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60148         __scandirat64, and __scandir_cancel_handler.
60149         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60150         additional parameter and use openat instead of open (outside of ld.so).
60151         Add new __opendir as wrapper around __opendirat.
60152         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60153         here without requiring old scandirat implementation.
60155 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60157         * dirent/scandir.c (cancel_handler): Renamed to
60158         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60159         defined.  Adjust users.
60160         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60161         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60163 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60165         * string/test-string.h (IMPL): Use __STRING to expand name and then
60166         stringify it.
60168         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60169         of cleanups.
60171 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60173         * string/Makefile: Update.
60174         (strop-tests): Append strncat.
60175         * string/test-wcscmp.c: New file.
60176         New comprehensive test for wcscmp.
60177         * string/test-strcmp.c: Update.
60178         (WIDE): New define.
60180 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60182         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60183         line.
60185 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60187         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60188         encoding to ACE if AI_IDN.
60190 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60192         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60193         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60195 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60197         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60198         Fix overflow bug in strncat.
60199         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60201         * string/test-strncat.c: Update.
60202         Add new tests for checking overflow bugs.
60204 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60206         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60207         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60208         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60209         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60210         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60211         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60212         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60213         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60214         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60216         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60217         (USE_AS_STRCAT): Define.
60218         Add strcat and strncat support.
60219         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60221 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60223         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60224         __n bigger than INT_MAX+1.
60225         (__strncmp_g): Likewise.
60227 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60229         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60230         * libio/stido.h: Likewise.
60232         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60233         (AF_NFC): Define.
60234         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60235         (AF_NFC): Define.
60237         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60238         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60239         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60240         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60241         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60243         [BZ #13021]
60244         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60245         installed.
60247         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60248         typo.
60249         (_dl_x86_64_save_sse): Likewise.
60251 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60253         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60254         OSXSAVE.
60255         (_dl_x86_64_save_sse): Likewise.
60257         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60259         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60261 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60263         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60264         change.
60265         (_dl_x86_64_save_sse): Use correct AVX check.
60267 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60269         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60270         bug in strncpy/strncat.
60271         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60273 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60275         * string/tester.c (test_strcat): Add tests for different alignments
60276         of source and destination.
60277         (test_strncat): Likewise.
60279 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60281         [BZ #12852]
60282         * posix/glob.c (glob): Check passed in values before using them in
60283         expressions to avoid some overflows.
60284         (glob_in_dir): Likewise.
60286         [BZ #13007]
60287         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60288         check for AVX enablement so that we don't crash with old kernels and
60289         new hardware.
60290         * elf/tst-audit4.c: Add same checks here.
60291         * elf/tst-audit6.c: Likewise.
60293         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60295 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60297         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60299 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60301         * po/cs.po: Update from translation team.
60302         * po/bg.po: Likewise.
60304 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60306         * misc/sys/cdefs.h: Add support for const attribute.
60307         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60308         to gnu_dev_{major,minor,makedev} functions.
60310 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60312         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60314 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60316         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60317         strlen results.
60319 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60321         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60322         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60323         register in order to avoid conflicts with the soft frame pointer
60324         being held in r11 when necessary.
60325         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60326         (INTERNAL_VSYSCALL_NCS): Likewise.
60328 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60330         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60331         * elf/dl-fini.c (_dl_fini): Adjust caller.
60332         * elf/dl-close.c (_dl_close_worker): Likewise.
60333         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60335 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60337         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60338         "aux_cache->nlibs < 0".
60340         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60341         in the reload-count case.
60343 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60346         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60347         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60348         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60349         * sysdeps/x86_64/multiarch/strcat.S: New file.
60350         * sysdeps/x86_64/multiarch/strncat.S: New file.
60351         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60352         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60353         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60354         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60355         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60356         (USE_AS_STRCAT): Define.
60357         Add strcat and strncat support.
60358         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60359         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60360         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60361         * string/strncat.c: Update.
60362         (USE_AS_STRNCAT): Define.
60363         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60364         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60365         and i7.
60366         * sysdeps/x86_64/multiarch/init-arch.h
60367         (bit_Prefer_PMINUB_for_stringop): New.
60368         (index_Prefer_PMINUB_for_stringop): Likewise.
60369         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60370         bit_Prefer_PMINUB_for_stringop.
60372 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60374         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60375         buffer64.
60376         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60377         of casting of buffer.
60378         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60379         buffer32 and buffer64.
60380         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60381         writes instead of casting of buffer.
60382         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60383         buffer32.
60384         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60385         casting of buffer.
60387 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60389         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60391 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60393         * nscd/nscd.c (termination_handler): Don't do anything for a database
60394         if it has not yet been initialized.
60396 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60398         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60400 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60402         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60404 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60406         * po/nl.po: Update from translation team.
60407         * po/sv.po: Likewise.
60409 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60411         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60412         now disallowed by GCC.
60414         * configure.in (use-default-link): Default to yes if a test -shared
60415         link meets our qualifications.
60416         * configure: Regenerated.
60418         * config.make.in (output-format): New variable.
60419         * configure.in: Check for ld --print-output-format support.
60420         * configure: Regenerated.
60421         * Makerules ($(common-objpfx)format.lds)
60422         [$(output-format) != unknown]: Just use $(output-format),
60423         instead of the linker-script munging.
60425 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60427         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60428         of $(common-objpfx)shlib.lds.
60429         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60431         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60432         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60434         * configure.in (-z relro check): Adjust test code to add a large
60435         writable data section after it.
60436         * configure: Regenerated.
60438 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60440         * configure.in (-z relro check): Fix test code to make the variable
60441         truly const.
60442         * configure: Regenerated.
60444 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60446         * nscd/nscd.h (struct traced_file): Define.
60447         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60448         elements.  Add traced_files.
60449         (inotify_fd): Declare.
60450         (register_traced_file): Declare.
60451         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60452         (inotify_fd): Export.
60453         (resolv_conf_descr): Remove.
60454         (nscd_init): Move inotify descriptor creation to main.
60455         Don't register files for notification here.
60456         (register_traced_file): New function.
60457         (invalidate_cache): Don't use reset_res to determine whether to call
60458         res_init, go through the list of registered files.
60459         (main_loop_poll): The inotify descriptors are now stored in the
60460         structures for the traced files.
60461         (main_loop_epoll): Likewise
60462         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60463         to __nss_disable_nscd.
60464         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60465         for a database anymore.  Check the records for all the registered
60466         files instead.
60467         * nss/Makefile (libnss_files-routines): Add files-init.
60468         (libnss_db-routines): Add db-init.
60469         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60470         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60471         * nss/nss_db/db-init.c: New file.
60472         * nss/nss_files/files-init.c: New file.
60473         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60474         __nss_lookup_function.
60475         (__nss_lookup_function): Call nss_load_library.
60476         (nss_load_all_libraries): New function.
60477         (__nss_disable_nscd): Take parameter with callback function for files
60478         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60479         used for the cached services.
60480         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60481         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60482         options for features to all the files in nscd.
60484         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60486 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60488         * csu/elf-init.c (__libc_csu_init): Comment typo.
60490 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60492         * po/pl.po: Update from translation team.
60493         * po/ja.po: Likewise.
60494         * po/ru.po: Likewise.
60495         * po/ko.po: Likewise.
60496         * po/fr.po: Likewise.
60498 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60500         * configure.in (.ctors/.dtors header and trailer check):
60501         Use an empirical test on a built program.
60502         * configure: Regenerated.
60504         * configure.in (-z relro check): Use an empirical test on a built DSO.
60505         Detect, but do not require, on ia64.
60506         * configure: Regenerated.
60508         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60509         Update tests that use readelf to use $READELF instead.
60510         * configure: Regenerated.
60512 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60514         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60515         if the result is not used.
60517 2011-07-05  Andreas Jaeger  <aj@suse.de>
60519         [BZ#9696]
60520         * stdlib/tst-strtod.c: Add testcase.
60522 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60524         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60525         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60526         The latter has a higher limit.  Take additional parameter to pass to
60527         the new function.
60528         (__pathconf): Pass file to __statfs_link_max.
60529         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60530         __statfs_link_max.
60531         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60532         __statfs_link_max.
60534         [BZ #12868]
60535         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60536         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60537         Handle Lustre.
60538         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60539         (__statfs_filesize_max): Likewise.
60540         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60542 2011-07-05  Andreas Jaeger  <aj@suse.de>
60544         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60546 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60548         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60549         `status' variable.
60550         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60551         Likewise.
60553 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60555         * Makefile (strop-tests): Add strncat.
60556         * string/test-strncat.c: New file.
60558 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60560         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60562 2011-06-21  Andreas Jaeger  <aj@suse.de>
60564         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60565         Copy rule from iconvdata/Makefile.
60567 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60569         [BZ #12922]
60570         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60571         but no long options are defined, just return 'W'.
60573 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60575         [BZ #9696]
60576         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60578 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60580         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60581         netgroups to read.
60582         (innetgr): Likewise.
60584 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60586         * config.make.in (install_root): Default to $(DESTDIR).
60588 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60590         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60592 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60594         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60596         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60597         containing directory rather than embedding absolute directory names.
60599         * scripts/check-local-headers.sh: Rewritten using awk.
60600         Match by word, not by line.  Print error messages for matches.
60601         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60603         * Makerules [shlib-lds-flags empty]:
60604         ($(common-objpfx)libc_pic.opts): New target.
60605         ($(common-objpfx)libc_pic.os.clean): New target.
60606         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60608         * config.make.in (OBJCOPY): New variable.
60609         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60610         * configure: Regenerated.
60612         * config.make.in (use-default-link): New variable.
60613         * configure.in (use_default_link): Grok --with-default-link to set it.
60614         * configure: Regenerated.
60615         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60616         (shlib-lds, shlib-lds-flags): Define to empty.
60618         * Makerules (shlib-lds): New variable.
60619         (shlib-lds-flags): New variable.
60620         (build-shlib, build-moduile, build-module-asneeded): Use it.
60621         ($(common-objpfx)libc.so): Use $(shlib-lds).
60622         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60623         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60625         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60626         DT_FLAGS/DT_FLAGS_1 with zero flags.
60628         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60629         linker script munging.
60631 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60633         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60634         as 128-bit value.
60635         * crypt/sha512.c (sha512_process_block): Perform total addition using
60636         128-bit if possible.
60637         (__sha512_finish_ctx): Likewise.
60638         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60639         as 64-bit value.
60640         * crypt/sha256.c (SWAP64): Define.
60641         (sha256_process_block): Perform total addition using 64-bit if
60642         possible.
60643         (__sha256_finish_ctx): Likewise.
60645 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60647         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60648         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60649         * nscd/hstcache.c (cache_addhst): Likewise.
60650         * nscd/grpcache.c (cache_addgr): Likewise.
60651         * nscd/aicache.c (addhstaiX): Likewise
60652         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60654 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60656         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60657         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60658         * nscd/hstcache.c (cache_addhst): Likewise.
60659         * nscd/grpcache.c (cache_addgr): Likewise.
60660         * nscd/aicache.c (addhstaiX): Likewise
60662 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60664         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60665         domain only when needed.
60667 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60669         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60670         is always restored.
60672 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60674         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60675         are re-adding the entry.
60676         * nscd/servicescache.c (cache_addserv): Likewise.
60678 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60680         * sysdeps/generic/dl-irel.h: fix protection against multiple
60681         inclusions.
60682         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60684 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60686         [BZ #12935]
60687         * malloc/memusage.sh: Fix quoting in message.
60688         * debug/xtrace.sh: Likewise.
60690         * configure.in: Remove support for --experimental-malloc option, make
60691         it the default.
60692         * config.make.in: Likewise.
60693         * malloc/Makefile: Likewise.
60695 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60697         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60698         two-byte characters.
60700 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60702         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60703         AC_CACHE_CHECK invocation.
60704         * configure: Regenerated.
60706         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60708 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60710         [BZ #12350]
60711         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60712         bit from old_res_options.
60714         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60716         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60717         value type for setfct.
60719 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60721         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60722         __gettimeofday instead of gettimeofday.
60724 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60726         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60728 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60730         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60732         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60733         info.
60735 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60738         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60739         strcpy-sse2-unaligned strncpy-sse2-unaligned
60740         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60741         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60742         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60743         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60744         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60745         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60746         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60747         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60748         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60749         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60750         (STRCPY): Support SSE2 and SSSE3 versions.
60752 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60754         [BZ #12874]
60755         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60756         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60757         kernels which artificially limit size of requests.
60759 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60761         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60762         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60763         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60764         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60765         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60766         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60767         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60768         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60769         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60770         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60771         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60772         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60773         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60774         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60775         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60777         Enable unaligned load optimization for Intel Core i3, i5 and i7
60778         processors.
60779         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60780         Define.
60781         (index_Fast_Unaligned_Load): Define.
60782         (HAS_FAST_UNALIGNED_LOAD): Define.
60784 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60786         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60788 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60790         [BZ #12907]
60791         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60792         until it is clear that the information is realy needed.
60793         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60795 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60797         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60799 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60801         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60802         /sys/devices/system/cpu/online if it is usable.
60804         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60805         reading the information from the /proc filesystem to once a second.
60807 2011-06-21  Andreas Jaeger  <aj@suse.de>
60809         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60810         NULL after inclusion of kernel headers.
60812 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60814         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60815         calls to internal_setent.
60817         [BZ #12885]
60818         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60819         addresses using gethostbyname4_r ignore IPv4 addresses.
60821         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60822         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60824         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60826 2011-06-20  David S. Miller  <davem@davemloft.net>
60828         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60829         inclusions.
60830         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60832         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60833         (elf_irel): Use it.
60834         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60835         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60836         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60837         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60838         * sysdeps/x86_64/dl-irel.h: Likewise.
60840         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60841         * elf/dl-sym.c: Likewise.
60843 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60845         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60846         need to dereference resplen2.
60848 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60850         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60852 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60854         * Makeconfig: Define vardbdir and inst_vardbdir.
60855         * nss/Makefile: Add rules to install db-Makefile.
60857         * nss/nss_db/db-XXX.c: Cleanup.
60859         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60860         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60861         GLIBC_PRIVATE.
60862         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60863         * nss/makedb.c: Implement -g option to specify that value strings
60864         are generated and should not be added to table iterated over for
60865         get*ent calls.
60866         * nss/nss_db/db-initgroups.c: New file.
60868         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60869         interface.
60871         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60872         (internal_getgrouplist): Adjust to name change.
60873         Update use_initgroups_entry if this is not the first call.
60874         * nss/databases.def: Add initgroups entry.
60876         * nss/makedb.c (compute_tables): Check result of multiple hash table
60877         sizes to minimize maximum chain length.
60879 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60881         * Versions.def: Add entry for libnss_db.
60882         * shlib-versions: Likewise.
60883         * nss/Makefile: Add rules to build libnss_db.
60884         * nss/Versions: Add libnss_db information.  Organize libnss_files
60885         entries better.
60886         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60887         makedb progra.  Some minor improvements to generate smaller files.
60888         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60889         here from...
60890         * nss/makedb.c: ...here.
60891         Improve database format to be smaller and require less memory at
60892         runtime.
60893         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60894         db anymore.
60895         * nss/nss_db/db-netgrp.c: Likewise.
60896         * nss/nss_db/db-open.c: Likewise.
60897         * nss/nss_files/flies-XXX.x: Adjust comments.
60898         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60899         * nss/nss_files/files-grp.c: Likewise.
60900         * nss/nss_files/files-hosts.c: Likewise.
60901         * nss/nss_files/files-network.c: Likewise.
60902         * nss/nss_files/files-proto.c: Likewise.
60903         * nss/nss_files/files-pwd.c: Likewise.
60904         * nss/nss_files/files-rpc.c: Likewise.
60905         * nss/nss_files/files-service.c: Likewise.
60906         * nss/nss_files/files-sgrp.c: Likewise.
60907         * nss/nss_files/files-spwd.c: Likewise.
60908         * nss/nss_db/db-alias.c: Removed.
60909         * nss/nss_db/dummy-db.h: Removed.
60911 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60913         * nss/makedb.c: Rewritten to not use database library.
60914         * nss/Makefile: Update to build new makedb program.
60916 2011-06-14  Andreas Jaeger  <aj@suse.de>
60918         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60919         memset declaration.
60921 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60924         tmpbuf.
60926 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60928         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60929         * elf/Makefile ($(objpfx)ld.so): Likewise.
60931         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60932         Don't list ld.so twice in dependencies.
60934         * posix/bug-regex31.c: Include <stdlib.h>.
60936         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60938         * nis/nss_compat/compat-spwd.c
60939         (getspent_next_nss_netgr): Remove unused variable.
60940         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60942         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60943         nonmembers" output to use the right array.
60945         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60947         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60949         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60950         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60951         * catgets/gencat.c (read_input_file): Likewise.
60952         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60954         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60955         variable definition inside #if's controlling its use.
60957         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60959         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60961         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60963         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60964         unreachable code.
60966         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60968         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60969         * configure: Regenerated.
60971         * Makerules: Revert last change.
60972         * elf/Makefile: Likewise.
60974 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60976         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60977         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60978         (reloc-link): Likewise.
60980 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60982         * elf/Makefile: Add rules to build pldd.
60983         * elf/pldd.c: New file.
60984         * elf/pldd-xx.c: New file.
60986 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60988         * version.h: Update for 2.15 development version.
60990 2011-06-07  David S. Miller  <davem@davemloft.net>
60992         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60993         ifuncs.
60994         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60995         elf_machine_lazy_rel): Likewise.
60996         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60997         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60998         elf_machine_lazy_rel): Likewise.
60999         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61000         dl_hwcap via passed in argument.
61001         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61002         Likewise.
61004 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61006         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61008 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61010         [BZ #12849]
61011         * manual/fdl-1.1.texi: New file, verbatim from:
61012         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61013         * manual/lgpl-2.1.texi: New file, verbatim from:
61014         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61015         * manual/Makefile (licenses): New variable, list those new file names.
61016         (texis): Use it.
61017         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61019         * manual/fdl.texi: File removed.
61020         * manual/lesser.texi: File removed.
61021         * manual/libc.texinfo (Copying, Documentation License):
61022         Use new @include file names, put @appendix directive before @include.
61024 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61026         [BZ #12841]
61027         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61028         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61029         (mq_open): Add __NTH.
61031 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61033         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61034         Assume Intel Core i3/i5/i7 processor if AVX is available.
61036 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61038         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61039         typo.
61041 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61043         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61044         memory.  Use alloca_account.  Fix memory leak when retrying.
61046 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61048         * version.h (RELEASE): Bump for 2.14 release.
61049         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61051         * config.make.in (RANLIB): Remove entry.
61053 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61055         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61056         (libc.pot): Work around missing support for .ksh extension in xgettext.
61058         [BZ #12684]
61059         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61060         if both request failed.
61061         (send_dg): In case of server errors clear resplen or *resplen2.
61063         [BZ #12454]
61064         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61065         when there are multiple maps.
61066         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61067         (_dl_fini): Remove test here.
61069         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61071 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61073         [BZ #12350]
61074         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61075         bit from old_res_options.
61076         (gaih_inet): Likewise.
61078         [BZ #11099]
61079         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61080         as signed.
61082         * resolv/res_init.c (res_setoptions): Make the code more compact.
61084         [BZ #11558]
61085         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61086         set RES_USEVC.
61088         [BZ #11634]
61089         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61091         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61093         [BZ #11781]
61094         * malloc/malloc.h: Declare malloc hook variables as volatile.
61096         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61097         in last patch.
61099         [BZ #11799]
61100         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61101         raise in the comment.
61102         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61103         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61104         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61106 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61108         [BZ #12811]
61109         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61110         grow the buffers more if it already has to be sufficient.
61111         (build_wcs_upper_buffer): Likewise.
61112         * posix/regexec.c (check_matching): Likewise.
61113         (clean_state_log_if_needed): Likewise.
61114         (extend_buffers): Don't enlarge buffers beyond size of the input
61115         buffer.
61116         Patches mostly by Emil Wojak <emil@wojak.eu>.
61117         * posix/bug-regex32.c: New file.
61118         * posix/Makefile (tests): Add bug-regex32.
61120         * locale/findlocale.c (_nl_find_locale): Return right away if
61121         _nl_explode_name failed.
61122         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61124         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61126         * debug/xtrace.sh: Unify messages.
61127         * malloc/memusage.sh: Likewise.
61129         [BZ #12813]
61130         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61131         time symbol from vDSO.  Substitute with vsyscall if not available.
61132         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61133         __vdso_time.
61135         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61136         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61137         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61138         Add sendmmsg and internal_sendmmsg.
61139         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61140         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61141         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61143         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61144         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61145         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61147 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61149         [BZ #12813]
61150         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61151         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61152         available.
61153         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61154         __vdso_getcpu.
61156         [BZ #12814]
61157         * iconvdata/Makefile (tests): Add bug-iconv9.
61158         * iconvdata/bug-iconv9.c: New file.
61160 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61162         [BZ #12814]
61163         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61165 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61167         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61168         (struct user_regs_struct): Change intcs field back to cs.
61170 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61172         * po/ja.po: Update from translation team.
61174 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61176         [BZ #12795]
61177         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61178         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61180 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61182         * stdlib/longlong.h: Update from GCC.
61184 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61186         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61187         parameter name.
61188         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61189         Add parameter name.
61190         (__sysconf): Pass it down.
61192 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61194         [BZ #12671]
61195         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61196         some situations.
61197         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61198         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61199         add in in __libc_use_alloca calls.  Adjust callers.
61200         (glob): Use malloc in some situations.
61202         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61203         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61204         pltexit.
61206 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61208         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61209         and CLOCK_BOOTTIME_ALARM.
61211         [BZ #12782]
61212         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61213         is returned.
61215         * string/_strerror.c (__strerror_r): Print negative errors as signed
61216         numbers.
61218         [BZ #12777]
61219         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61220         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61221         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61223         * configure.in: Fix typo in redirection and correct removal of test
61224         files in two cases.
61226         [BZ #12788]
61227         * locale/setlocale.c (new_composite_name): Fix test to check for
61228         identical name of all categories.
61230         [BZ #12792]
61231         * libio/filedoalloc.c (local_isatty): New function.
61232         (_IO_file_doallocate): Use local_isatty.
61233         * stdio-common/perror.c (perror): In case a new stream is used
61234         forward the stream error.
61235         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61236         error flag.
61238 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61240         [BZ #11869]
61241         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61242         alloca.
61243         * include/alloca.h (extend_alloca_account): Define.
61245         [BZ #11857]
61246         * posix/regex.h: Fix comments with documentation of user-accessible
61247         fields after compilation and describe correct free'ing of pattern
61248         after re_compile_pattern.
61249         Patch by Reuben Thomas <rrt@sc3d.org>.
61251 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61253         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61254         and -mno-altivec to prevent the compiler from using Altivec and/or
61255         VSX instructions when the corresponding registers are not available.
61257 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61259         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61261 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61263         * libio/freopen.c (freopen): Use __dup2, not dup2.
61264         * libio/freopen64.c (freopen64): Likewise.
61266 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61268         [BZ #12775]
61269         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61270         * math/Makefile (tests): Add test-powl.
61271         (CFLAGS-test-powl.c): Define.
61272         * math/test-powl.c: New file.
61274 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61276         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61278 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61280         [BZ #11837]
61281         * iconvdata/gb18030.c: Update to GB18020-2005.
61283 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61285         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61286         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61287         Patch by Aharon Robbins <arnold@skeeve.com>.
61289         [BZ #11892]
61290         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61291         on the stack.
61293         [BZ #11895]
61294         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61295         through underflows.
61297         [BZ #12766]
61298         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61299         point to strings before performing equality test for error_one_per_line
61300         mode.
61302         [BZ #11697]
61303         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61305         [BZ #11820]
61306         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61307         (struct user_fpregs_struct): Avoid __uint*_t types.
61309         [BZ #6420]
61310         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61311         symbol info.  Use it instead of calling _dl_addr locally.
61312         (lock_and_info): New function.
61313         (tr_freehook): Call lock_and_info and pass symbol info as additional
61314         parameter to tr_where.
61315         (tr_mallochook): Likewise.
61316         (tr_reallochook): Likewise.
61317         (tr_memalignhook): Likewise.
61319         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61320         used and couldn't be at all thread-safe.
61322 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61324         * libio/freopen.c (freopen): Don't close old file descriptor
61325         before the new one is opened.  Instead dup the new file descriptor
61326         to the old one after the new stream is created.
61327         * libio/freopen64.c (freopen64): Likewise.
61328         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61329         * libio/fileops.c (_IO_new_file_close_it): Handle new
61330         _IO_FLAGS2_NOCLOSE flag.
61331         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61332         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61333         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61334         _IO_FLAGS2_NOCLOSE flag.
61335         * include/unistd.h: Add hidden_proto for dup3.
61336         Define __have_dup3.
61337         * io/dup3.c: Define hidden symbol.
61338         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61340         [BZ #7101]
61341         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61342         when an incomplete long option is used.
61343         * posix/tst-getopt_long1.c: New file.
61344         * posix/Makefile (tests): Add tst-getopt_long1.
61346         [BZ #10138]
61347         * scripts/config.guess: Update from autoconf-2.68.
61348         * scripts/config.sub: Likewise.
61350         [BZ #10157]
61351         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61352         tests into ...
61353         (has_cpuclock): ...this.  New function.
61354         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61355         macro here based on has_cpuclock code.
61357         [BZ #10149]
61358         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61359         First byte (not low byte) is now always NUL.
61360         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61362         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61363         Use non-cancelable interfaces.
61365         [BZ #9809]
61366         * locale/iso-639.def: Add entry for Sorani.
61368         [BZ #11901]
61369         * include/stdlib.h: Move include protection to the right place.
61370         Define abort_msg_s.  Declare __abort_msg with it.
61371         * stdlib/abort.c (__abort_msg): Adjust type.
61372         * assert/assert.c (__assert_fail_base): New function.  Majority
61373         of code from __assert_fail.  Allocate memory for __abort_msg with
61374         mmap.
61375         (__assert_fail): Now call __assert_fail_base.
61376         * assert/assert-perr.c: Remove bulk of implementation.  Use
61377         __assert_fail_base.
61378         * include/assert.hL Declare __assert_fail_base.
61379         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61380         mmap.
61381         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61383 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61385         [BZ #11952]
61386         [BZ #12453]
61387         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61388         until all modules are registered in the DTV.
61389         * elf/Makefile: Add rules to build and run tst-tls19.
61390         * elf/tst-tls19.c: New file.
61391         * elf/tst-tls19mod1.c: New file.
61392         * elf/tst-tls19mod2.c: New file.
61393         * elf/tst-tls19mod3.c: New file.
61394         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61396         [BZ #12083]
61397         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61398         correctly.
61400         [BZ #12601]
61401         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61402         two-byte sequence errors.
61403         * iconvdata/Makefile (tests): Add bug-iconv8.
61404         * iconvdata/bug-iconv8.c: New file.
61406         [BZ #12626]
61407         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61408         buf2 definition.
61410         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61412         [BZ #12432]
61413         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61414         (dummy_getcfa): New function.
61415         (init): Get _Unwind_GetCFA address, use dummy if not found.
61416         (backtrace_helper): In recursion check, also check whether CFA changes.
61417         (__backtrace): Completely initialize arg.
61419         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61420         storing incomplete byte sequence in state object.  Avoid testing for
61421         guaranteed too small input if we know there is enough data available.
61423 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61425         * Makeconfig (+link-pie): Indent.
61426         * Rules (binaries-pie): Define if $(have-fpie) and
61427         $(build-shared).
61428         (binaries-shared): Also filter out $(binaries-pie).
61429         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61430         * nscd/Makefile (others-pie): Add nscd.
61431         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61432         ($(objpfx)nscd): Remove command override.
61433         * login/Makefile (others-pie): Add pt_chown.
61434         ($(objpfx)pt_chown): Remove command override.
61435         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61436         remove command overrides.
61438 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61440         * libio/tst_putwc.c: Fix error messages.
61442         [BZ #12724]
61443         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61444         currently writing and seek to current position when not.
61445         * libio/Makefile (tests): Add bug-fclose1.
61446         * libio/bug-fclose1.c: New file.
61448 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61450         [BZ #12511]
61451         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61452         don't set DF_1_NODELETE here.
61453         (do_lookup_x): When entering new entry test for copy relocation
61454         and if necessary set DF_1_NODELETE flag.
61455         * elf/tst-unique4.cc: New file.
61456         * elf/tst-unique4.h: New file.
61457         * elf/tst-unique4lib.cc: New file.
61458         * elf/Makefile: Add rules to build and run tst-unique4.
61459         Patch by Piotr Bury <pbury@goahead.com>.
61461 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61463         [BZ #12052]
61464         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61466         [BZ #12625]
61467         * misc/mntent_r.c (addmntent): Flush the stream after the output
61469         [BZ #12393]
61470         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61471         (is_trusted_path_normalize): Skip initial colon.  Append slash
61472         to empty buffer.  Duplicate is_trusted_path code but allow
61473         constructed patch to be prefix.
61474         (is_dst): Allow $ORIGIN followed by /.
61475         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61476         Correct testing of result of is_trusted_path_normalize
61477         (decompose_rpath): Fix warning.
61479 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61481         [BZ #11257]
61482         * grp/initgroups.c (internal_getgrouplist): When we found the service
61483         list through the initgroups entry in nsswitch.conf do not always
61484         continue on a successful lookup.  Don't always use the
61485         __nss_group_database value if it is set.
61486         * nss/nsswitch.conf (initgroups): Change action for successful db
61487         lookup to continue for compatibility.
61489 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61491         [BZ #11532]
61492         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61493         and CP774 modules.
61494         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61495         and CP774 modules.
61496         * iconvdata/tst-tables.sh: Likewise.
61497         * iconvdata/cp770.c: New file.
61498         * iconvdata/cp771.c: New file.
61499         * iconvdata/cp772.c: New file.
61500         * iconvdata/cp773.c: New file.
61501         * iconvdata/cp774.c: New file.
61502         * iconvdata/testdata/CP770: New file.
61503         * iconvdata/testdata/CP770..UTF8: New file.
61504         * iconvdata/testdata/CP771: New file.
61505         * iconvdata/testdata/CP771..UTF8: New file.
61506         * iconvdata/testdata/CP772: New file.
61507         * iconvdata/testdata/CP772..UTF8: New file.
61508         * iconvdata/testdata/CP773: New file.
61509         * iconvdata/testdata/CP773..UTF8: New file.
61510         * iconvdata/testdata/CP774: New file.
61511         * iconvdata/testdata/CP774..UTF8: New file.
61513         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61514         END CHARMAP line.
61515         * iconvdata/gen-8bit-gap.sh: Likewise.
61516         * iconvdata/gen-8bit.sh: Likewise.
61518         * locale/iso-639.def: Add ary entry.
61520         [BZ #11258]
61521         * locale/C-translit.h.in: Add U20A1 transliteration.
61523         [BZ #12178]
61524         * locale/iso-639.def: Add wae entry.
61525         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61527         [BZ #12545]
61528         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61529         for n.
61531         [BZ #12711]
61532         * locale/C-translit.h.in: Add entry for U20B9.
61533         Patch by pravin.d.s@gmail.com.
61535 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61537         [BZ #12713]
61538         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61539         ENAMETOOLONG use generic getcwd.
61540         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61541         in rtld.  Use *stat64.
61542         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61543         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61544         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61545         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61546         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61547         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61548         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61549         __fstatat64 macros.
61550         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61551         * dirent/rewinddir.c: Add libc_hidden_def.
61552         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61553         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61555         * include/dirent.h (__alloc_dir): Add flags parameter.
61556         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61557         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61558         __alloc_dir.
61559         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61560         from fdopendir if O_CLOEXEC is already set.
61562 2011-03-15  Alan Modra  <amodra@gmail.com>
61564         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61565         l_tls_firstbyte_offset non-zero.  Save padding offset in
61566         l_tls_firstbyte_offset for later use.
61567         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61568         freeing static tls block.
61570 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61572         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61573         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61574         being defined by the kernel headers.
61576 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61578         [BZ #12734]
61579         * resolv/resolv.h: Define RES_NOTLDQUERY.
61580         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61581         no-tld-query and set RES_NOTLDQUERY.
61582         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61583         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61584         modern BIND to search name as TLD unless forbidden.
61586 2011-05-07  Petr Baudis  <pasky@suse.cz>
61587             Ulrich Drepper  <drepper@gmail.com>
61589         [BZ #12393]
61590         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61591         (is_trusted_path): ...to here.
61592         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61593         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61594         using is_trusted_path_normalize() in setuid scripts.
61596 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61598         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61599         __BEGIN/__END_DECLS.
61601 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61603         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61604         NSS_STATUS_NOTFOUND if no record was found.
61606 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61608         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61609         (headers-not-in-tirpc): Remove rpc/netdb.h
61610         * resolv/netdb.h: Revert last change.
61612 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61614         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61615         circular dependency between libgcc.a and libc.a.
61617 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61619         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61620         * nis/Makefile: Don't install rpcsvc/*.
61621         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61622         instead of <rpc/types.h>.
61623         (MAXHOSTNAMELEN): Define.
61625 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61627         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61629 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61631         [BZ #12714]
61632         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61633         gethostbyname4_r when IPv6 results are possible.
61635 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61637         [BZ #12723]
61638         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61639         _PC_PIPE_BUF handling.
61641 2011-04-30  Bruno Haible  <bruno@clisp.org>
61643         [BZ #12717]
61644         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61645         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61646         to 'int'.
61647         * inet/getnameinfo.c (getnameinfo): Likewise.
61649 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61651         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61652         to groups setting in database lookup.
61653         * nss/nsswitch.conf: Add initgroups entry.
61655 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61657         [BZ #12685]
61658         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61659         mode string.
61660         Patch by Eric Blake <eblake@redhat.com>.
61662 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61664         * sunrpc/Makefile (need-export-routines): Add svc_run.
61665         (routines): Remove svc_run.
61666         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61667         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61668         * sunrpc/svc_run.c (svc_run): Likewise.
61669         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61671 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61673         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61674         problem in reallocation in last patch.
61676 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61678         * sunrpc/Makefile: Move inclusion of Rules.
61680 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61682         * nss/nss_files/files-initgroups.c: New file.
61683         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61684         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61685         _nss_files_initgroups_dyn.
61687 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61689         * elf/elf.h (R_ARM_IRELATIVE): Define.
61691 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61693         * po/ru.po: Update from translation team.
61695 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61697         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61698         dependencies.
61700 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61702         [BZ #12653]
61703         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61704         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61705         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61706         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61707         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61709 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61711         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61712         differing bytes.
61713         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61714         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61715         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61717 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61719         [BZ #12420]
61720         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61721         storing it.
61722         * stdlib/bug-getcontext.c: New file.
61723         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61725 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61727         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61728         instructions into .machine "z9-109".
61729         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61730         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61732 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61734         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61735         between environment variables and auxiliary vector.
61737 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61739         * Makefile: Add rules to build linkobj/libc.so.
61740         * include/libc-symbols.h: Define libc_hidden_nolink.
61741         * include/rpc/auth.h: Mark functions which are to be hidden.
61742         * include/rpc/auth_des.h: Likewise.
61743         * include/rpc/auth_unix.h: Likewise.
61744         * include/rpc/clnt.h: Likewise.
61745         * include/rpc/des_crypt.h: Likewise.
61746         * include/rpc/key_prot.h: Likewise.
61747         * include/rpc/pmap_clnt.h: Likewise.
61748         * include/rpc/pmap_prot.h: Likewise.
61749         * include/rpc/pmap_rmt.h: Likewise.
61750         * include/rpc/rpc_msg.h: Likewise.
61751         * include/rpc/svc.h: Likewise.
61752         * include/rpc/svc_auth.h: Likewise.
61753         * include/rpc/xdr.h: Likewise.
61754         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61755         * nss/Makefile: Likewise.
61756         * sunrpc/Makefile: Don't install headers.  Build library with normal
61757         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61758         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61759         for the compat linking library.  Remove use of INTDEF/INTUSE.
61760         * sunrpc/auth_none.c: Likewise.
61761         * sunrpc/auth_unix.c: Likewise.
61762         * sunrpc/authdes_prot.c: Likewise.
61763         * sunrpc/authuxprot.c: Likewise.
61764         * sunrpc/clnt_gen.c: Likewise.
61765         * sunrpc/clnt_perr.c: Likewise.
61766         * sunrpc/clnt_raw.c: Likewise.
61767         * sunrpc/clnt_simp.c: Likewise.
61768         * sunrpc/clnt_tcp.c: Likewise.
61769         * sunrpc/clnt_udp.c: Likewise.
61770         * sunrpc/clnt_unix.c: Likewise.
61771         * sunrpc/des_crypt.c: Likewise.
61772         * sunrpc/des_soft.c: Likewise.
61773         * sunrpc/get_myaddr.c: Likewise.
61774         * sunrpc/key_call.c: Likewise.
61775         * sunrpc/key_prot.c: Likewise.
61776         * sunrpc/netname.c: Likewise.
61777         * sunrpc/pm_getmaps.c: Likewise.
61778         * sunrpc/pm_getport.c: Likewise.
61779         * sunrpc/pmap_clnt.c: Likewise.
61780         * sunrpc/pmap_prot.c: Likewise.
61781         * sunrpc/pmap_prot2.c: Likewise.
61782         * sunrpc/pmap_rmt.c: Likewise.
61783         * sunrpc/publickey.c: Likewise.
61784         * sunrpc/rpc_cmsg.c: Likewise.
61785         * sunrpc/rpc_common.c: Likewise.
61786         * sunrpc/rpc_dtable.c: Likewise.
61787         * sunrpc/rpc_prot.c: Likewise.
61788         * sunrpc/rpc_thread.c: Likewise.
61789         * sunrpc/rtime.c: Likewise.
61790         * sunrpc/svc.c: Likewise.
61791         * sunrpc/svc_auth.c: Likewise.
61792         * sunrpc/svc_authux.c: Likewise.
61793         * sunrpc/svc_raw.c: Likewise.
61794         * sunrpc/svc_run.c: Likewise.
61795         * sunrpc/svc_simple.c: Likewise.
61796         * sunrpc/svc_tcp.c: Likewise.
61797         * sunrpc/svc_udp.c: Likewise.
61798         * sunrpc/svc_unix.c: Likewise.
61799         * sunrpc/svcauth_des.c: Likewise.
61800         * sunrpc/xcrypt.c: Likewise.
61801         * sunrpc/xdr.c: Likewise.
61802         * sunrpc/xdr_array.c: Likewise.
61803         * sunrpc/xdr_float.c: Likewise.
61804         * sunrpc/xdr_intXX_t.c: Likewise.
61805         * sunrpc/xdr_mem.c: Likewise.
61806         * sunrpc/xdr_rec.c: Likewise.
61807         * sunrpc/xdr_ref.c: Likewise.
61808         * sunrpc/xdr_sizeof.c: Likewise.
61809         * sunrpc/xdr_stdio.c: Likewise.
61811 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61813         [BZ #12650]
61814         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61815         * sysdeps/ia64/dl-tls.h: Likewise.
61816         * sysdeps/powerpc/dl-tls.h: Likewise.
61817         * sysdeps/s390/dl-tls.h: Likewise.
61818         * sysdeps/sh/dl-tls.h: Likewise.
61819         * sysdeps/sparc/dl-tls.h: Likewise.
61820         * sysdeps/x86_64/dl-tls.h: Likewise.
61821         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61823 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61825         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61826         rpath element also skip the following colon.
61827         (expand_dynamic_string_token): Add is_path parameter and pass
61828         down to DL_DST_REQUIRED and _dl_dst_substitute.
61829         (decompose_rpath): Call expand_dynamic_string_token with
61830         non-zero is_path.  Ignore empty rpaths.
61831         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61832         with zero is_path.
61834 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61837         Make cancelable.
61839 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61841         [BZ #12655]
61842         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61843         Patch by Filipe David Manana <fdmanana@apache.org>.
61845 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61847         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61848         Maintain aligned stack.
61849         (CHECK_RSP): Remove unused macro.
61851 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61853         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61854         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61856 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61858         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61860         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61862 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61864         [BZ #12518]
61865         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61866         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61867         * sysdeps/x86_64/memmove.c: New file.
61868         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61869         (memcpy): Renamed to ...
61870         (__new_memcpy): This.
61871         (memcpy): Provide GLIBC_2_14 memcpy.
61872         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61873         (memcpy): Provide GLIBC_2_2_5 memcpy.
61875 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61877         [BZ #12631]
61878         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61880 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61882         * misc/syncfs.c: New file.
61883         * misc/Makefile (routines): Add syncfs.
61884         * posix/unistd.h: Declare syncfs.
61885         * sysdeps/unix/syscalls.list: Add syncfs.
61887 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61889         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61890         open_by_handle_at.
61891         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61892         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61893         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61894         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61895         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61896         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61897         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61899 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61901         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61902         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61903         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61904         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61905         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61906         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61907         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61909         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61910         sync_file_range.c with -fexceptions.
61911         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61912         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61913         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61914         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61915         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61916         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61917         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61918         sync_file_range as cancellation point
61919         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61920         now a wrapper around __call_sync_file_range with cancellation handling.
61921         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61922         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61923         function name to __call_sync_file_range.
61924         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61925         Add call_sync_file_range.
61927 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61930         bits/timex.h.
61932 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61934         * iconv/iconv.h: Fix typo in comment.
61935         * io/fcntl.h: Likewise.
61936         * libio/stdio.h: Likewise.
61937         * posix/spawn.h: Likewise.
61938         * posix/unistd.h: Likewise.
61939         * stdlib/stdlib.h: Likewise.
61940         * time/time.h: Likewise.
61941         * wcsmbs/wchar.h: Likewise.
61943         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61944         open_by_handle): Add.
61945         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61946         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61947         Augment a few comments.
61948         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61949         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61950         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61951         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61952         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61953         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61954         open_by_handle.
61956         * io/fcntl.h (AT_EMPTY_PATH): Define.
61958 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61960         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61961         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61962         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61963         to...
61964         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61965         * Versions.def: Add GLIBC_2.14.
61966         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61967         Export.
61969 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61971         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61972         round counter.
61973         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61975 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61977         [BZ #12597]
61978         * string/test-strncmp.c (do_page_test): New function.
61979         (check2): Likewise.
61980         (test_main): Call check2.
61981         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61983 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61985         [BZ #12587]
61986         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61987         Handle cache information in CPU leaf 4.
61988         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61990 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61992         [BZ #12583]
61993         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61994         character representation.
61995         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61997 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61999         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62000         END(__isnan) to END(__isnanf) to match function entry point/label
62001         EALIGN(__isnanf,...).
62003 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62005         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62007 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62009         [BZ #12510]
62010         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62011         copy from the symbol referenced in the relocation to initialize the
62012         used variable.
62013         Patch by Piotr Bury <pbury@goahead.com>.
62014         * elf/Makefile: Add rules to build and tst-unique3.
62015         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62016         * elf/tst-unique3.cc: New file.
62017         * elf/tst-unique3.h: New file.
62018         * elf/tst-unique3lib.cc: New file.
62019         * elf/tst-unique3lib2.cc: New file.
62021         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62023 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62025         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62026         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62027         to _start.
62029 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62031         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62032         to-be-loaded object along a path to loader is ld.so.
62034 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62035             Ulrich Drepper  <drepper@gmail.com>
62037         * sysdeps/x86_64/memset.S: After aligning destination, code
62038         branches to different locations depending on the value of
62039         misalignment, when multiarch is enabled. Fix this.
62041 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62043         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62044         Set _x86_64_preferred_memory_instruction for AMD processsors.
62045         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62046         Set bit_Prefer_SSE_for_memop for AMD processors.
62048 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62050         * libio/fmemopen.c (fmemopen): Optimize a bit.
62052 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62054         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62056 2011-03-03  Roland McGrath  <roland@redhat.com>
62058         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62060 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62062         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62063         __bzero_ultra1 instead of __memset_ultra1.
62065 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62066             Ulrich Drepper  <drepper@gmail.com>
62068         [BZ #12509]
62069         * include/link.h (struct link_map): Add l_orig_initfini.
62070         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62071         returning unsuccessfully.
62072         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62073         close of a file loaded at startup, restore the original l_initfini
62074         list.
62075         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62076         list, store the pointer.
62077         * elf/Makefile ($(objpfx)noload-mem): New rule.
62078         (noload-ENV): Define.
62079         (tests): Add $(objpfx)noload-mem.
62080         * elf/noload.c: Include <memcheck.h>.
62081         (main): Call mtrace.  Close all opened handles.
62083 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62085         [BZ #12454]
62086         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62087         dependencies are missing.
62089 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62091         Fix __if_freereq crash: Unlike the generic version which uses free,
62092         Hurd needs munmap.
62093         * sysdeps/mach/hurd/ifreq.h: New file.
62095 2011-01-27  Petr Baudis  <pasky@suse.cz>
62096             Ulrich Drepper  <drepper@gmail.com>
62098         [BZ 12445]#
62099         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62100         to extend_alloca().
62101         * stdio-common/bug23.c: New file.
62102         * stdio-common/Makefile (tests): Add bug23.
62104 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62105             Ulrich Drepper  <drepper@gmail.com>
62107         [BZ #12489]
62108         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62109         before performing relro protection.  At old place add assertion
62110         to make sure nothing changed.
62112 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62113             Glauber de Oliveira Costa  <glommer@gmail.com>
62115         * elf/elf.h: Add new ARM TLS relocs.
62117 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62120         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62121         cast from r3.
62122         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62123         'tests' variable.
62124         * sysdeps/wordsize-64/tst-writev.c: New file.
62126 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62128         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62129         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62130         insns in _dl_start to prevent a TOC reference before relocs are
62131         resolved.
62133 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62135         [BZ #12469]
62136         * Makeconfig: Remove RANLIB definition.
62137         * Makerules: Don't use RANLIB.
62138         * aclocal.m4: Remove ranlib test.
62139         * configure.in: No need to check for ranlib.
62140         * elf/rtld-Rules: Don't use RANLIB.
62142 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62144         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62145         protection macro.
62146         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62147         inclusion protection macro.
62149         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62150         SIGRTMIN and SIGRTMAX and print information in that case only when
62151         SIGRTMIN is defined.
62153 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62155         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62156         arginfo fn returning -1.
62158         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62159         and thousands string is zero terminated.
62161 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62163         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62164         sysdeps/unix/sysv/linux/bits/socket.h.
62166 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62168         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62169         (__CPU_COUNT): Remove old macros.
62170         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62171         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62172         (__CPU_ALLOC, __CPU_FREE): Add macros.
62173         (__sched_cpualloc, __sched_cpufree): Add declarations.
62175 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62177         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62178         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62179         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62180         (readdhstai): Return value of addhstaiX call.
62181         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62182         (addgrbyX): Return value returned by cache_addgr.
62183         (readdgrbyname): Return value returned by addgrbyX.
62184         (readdgrbygid): Likewise.
62185         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62186         (addpwbyX): Return value returned by cache_addpw.
62187         (readdpwbyname): Return value returned by addhstbyX.
62188         (readdpwbyuid): Likewise.
62189         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62190         (addservbyX): Return value returned by cache_addserv.
62191         (readdservbyname): Return value returned by addservbyX:
62192         (readdservbyport): Likewise.
62193         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62194         (addhstbyX): Return value returned by cache_addhst.
62195         (readdhstbyname): Return value returned by addhstbyX.
62196         (readdhstbyaddr): Likewise.
62197         (readdhstbynamev6): Likewise.
62198         (readdhstbyaddrv6): Likewise.
62199         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62200         (readdinitgroups): Return value returned by addinitgroupsX.
62201         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62202         (prune_cache): Keep track of timeout value of re-added entries.
62203         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62204         * nscd/nscd.h: Adjust prototypes of readd* functions.
62206 2011-02-04  Roland McGrath  <roland@redhat.com>
62208         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62209         (nis_stats): Likewise.
62210         * nis/nis_modify.c (nis_modify): Likewise.
62211         * nis/nis_remove.c (nis_remove): Likewise.
62212         * nis/nis_add.c (nis_add): Likewise.
62214         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62216         * posix/fnmatch_loop.c: Add some consts.
62218         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62220 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62222         [BZ #12460]
62223         * config.make.in (config-cflags-novzeroupper): Define.
62224         * configure.in: Substitute libc_cv_cc_novzeroupper.
62225         * elf/Makefile (AVX-CFLAGS): Define.
62226         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62227         (CFLAGS-tst-auditmod4a.c): Likewise.
62228         (CFLAGS-tst-auditmod4b.c): Likewise.
62229         (CFLAGS-tst-auditmod6b.c): Likewise.
62230         (CFLAGS-tst-auditmod6c.c): Likewise.
62231         (CFLAGS-tst-auditmod7b.c): Likewise.
62232         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62234 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62236         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62237         function to the callback.
62238         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62240 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62242         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62243         of errno.
62245 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62247         [BZ #11724]
62248         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62249         of constructors.
62250         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62251         of destructors.
62252         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62254         [BZ #11724]
62255         * elf/Makefile: Add rules to build and run new test.
62256         * elf/tst-initorder.c: New file.
62257         * elf/tst-initorder.exp: New file.
62258         * elf/tst-initordera1.c: New file.
62259         * elf/tst-initordera2.c: New file.
62260         * elf/tst-initordera3.c: New file.
62261         * elf/tst-initordera4.c: New file.
62262         * elf/tst-initorderb1.c: New file.
62263         * elf/tst-initorderb2.c: New file.
62264         * elf/tst-order-a1.c: New file.
62265         * elf/tst-order-a2.c: New file.
62266         * elf/tst-order-a3.c: New file.
62267         * elf/tst-order-a4.c: New file.
62268         * elf/tst-order-b1.c: New file.
62269         * elf/tst-order-b2.c: New file.
62270         * elf/tst-order-main.c: New file.
62271         New test case by George Gensure <werkt0@gmail.com>.
62273 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62275         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62276         decoding ACE if AI_CANONIDN.
62278 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62280         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62282 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62284         * version.h (RELEASE): Bump for 2.13 release.
62285         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62287         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62289         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62290         MADV_NOHUGEPAGE.
62291         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62292         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62293         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62294         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62295         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62296         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62298         * posix/getconf.c: Update copyright year.
62299         * catgets/gencat.c: Likewise.
62300         * csu/version.c: Likewise.
62301         * debug/catchsegv.sh: Likewise.
62302         * debug/xtrace.sh: Likewise.
62303         * elf/ldconfig.c: Likewise.
62304         * elf/ldd.bash.in: Likewise.
62305         * elf/sprof.c (print_version): Likewise.
62306         * iconv/iconv_prog.c: Likewise.
62307         * iconv/iconvconfig.c: Likewise.
62308         * locale/programs/locale.c: Likewise.
62309         * locale/programs/localedef.c: Likewise.
62310         * malloc/memusage.sh: Likewise.
62311         * malloc/mtrace.pl: Likewise.
62312         * nscd/nscd.c (print_version): Likewise.
62313         * nss/getent.c: Likewise.
62315         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62316         PF_CAIF, and PF_ALG.
62317         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62319 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62321         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62322         (modules-names): Use them.
62323         (ifunc-test-modules, ifunc-pie-tests): Define.
62324         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62325         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62326         (test-extras): Likewise.
62327         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62328         $(compile-command.c).
62329         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62330         (all-built-dso): Define.
62331         (check-textrel.out, check-execstack.out): Depend on it.
62333         * configure.in: Don't override --enable-multi-arch.
62335 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62337         [BZ #6812]
62338         * nscd/hstcache.c (tryagain): Define.
62339         (cache_addhst): Return tryagain not notfound for temporary errors.
62340         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62341         failed.
62343 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62345         [BZ #10563]
62346         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62347         to make the syscall.
62348         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62350         [BZ #12378]
62351         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62352         and fall back to matching as normal character if the string ends before
62353         the matching ']' is found.  This is what POSIX requires.
62354         * posix/testfnm.c: Adjust test result.
62355         * posix/globtest.sh: Adjust test result.  Add new test.
62356         * posix/tst-fnmatch.input: Likewise.
62357         * posix/tst-fnmatch2.c: Add new test.
62359 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62361         * elf/Makefile (check-execstack): Revert last change.  Depend on
62362         check-execstack.h.
62363         (check-execstack.h): New target.
62364         (generated): Add check-execstack.h.
62365         * elf/check-execstack.c: Include "check-execstack.h".
62366         (main): Revert last change.
62367         (handle_file): Return zero if GNU_STACK is absent and
62368         DEFAULT_STACK_PERMS doesn't include PF_X.
62370 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62372         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62373         in child fails because the descriptor is already closed.
62374         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62375         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62376         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62378         [BZ #12397]
62379         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62380         syscall.
62382         [BZ #10484]
62383         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62384         temporary buffer used to handle multi lookups locally.
62385         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62387 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62389         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62390         loader is ld.so.
62392 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62394         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62395         alignment for SSE2.
62397 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62399         [BZ #12394]
62400         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62401         characters.  When rounding increased number of integer digits recompute
62402         number of groups.
62403         * stdio-common/tst-grouping.c: New file.
62404         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62406 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62408         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62409         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62411         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62412         void.
62413         * bits/select.h: Likewise.
62415 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62417         * po/ja.po: Update from translation team.
62419 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62421         [BZ #11155]
62422         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62423         implementation just like for lxstat, fxstatat, et al.
62425 2010-12-27  Jim Meyering  <meyering@redhat.com>
62427         [BZ #12348]
62428         * posix/regexec.c (build_trtable): Return failure indication upon
62429         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62431 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62433         [BZ #12201]
62434         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62435         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62436         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62437         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62439         [BZ #12207]
62440         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62442         [BZ #12204]
62443         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62444         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62446 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62448         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62449         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62450         script has SORT_BY_INIT_PRIORITY.
62451         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62452         NO_CTORS_DTORS_SECTIONS is defined.
62453         * elf/soinit.c: Likewise.
62454         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62455         NO_CTORS_DTORS_SECTIONS is defined.
62456         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62457         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62458         * sysdeps/sh/init-first.c: Likewise.
62459         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62461 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62463         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62464         always use the slow path.
62466 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62468         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62469         similar rule which adds the sysdep directories to the header search in
62470         order to pick up the correct platform stackinfo.h.
62471         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62472         perform test if it is, otherwise return successfully without testing.
62473         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62474         DEFAULT_STACK_PERMS define in stackinfo.h.
62475         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62476         defined in stackinfo.h.
62477         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62478         DEFAULT_STACK_PERMS defined in stackinfo.h.
62479         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62480         * sysdeps/ia64/stackinfo.h: Likewise.
62481         * sysdeps/s390/stackinfo.h: Likewise.
62482         * sysdeps/sh/stackinfo.h: Likewise.
62483         * sysdeps/sparc/stackinfo.h: Likewise.
62484         * sysdeps/x86_64/stackinfo.h: Likewise.
62485         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62486         PF_X for powerpc64.  Retain PF_X for powerpc32.
62488 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62490         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62491         accurately.
62492         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62493         GETDENTS_64BIT_ALIGNED.
62495 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62497         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62499 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62501         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62502         _GNU_SOURCE.
62504         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62505         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62506         Remove __restrict.
62507         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62508         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62510 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62512         [BZ #11655]
62513         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62514         are initialized.
62516 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62518         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62520 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62522         * po/it.po: Update from translation team.
62524 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62526         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62527         unused codes.
62529 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62531         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62533 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62535         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62536         specially.
62537         (gaih_getanswer_slice): Likewise.
62539 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62541         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62543 2010-05-31  Petr Baudis  <pasky@suse.cz>
62545         [BZ #11149]
62546         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62547         silently even in the chroot mode.
62549 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62551         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62552         last patch a bit.  Pretty printing
62554 2010-05-31  Petr Baudis <pasky@suse.cz>
62556         [BZ #10085]
62557         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62558         initialization of skip_initgroups_dyn.
62560 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62562         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62563         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62565 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62567         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62569 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62571         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62572         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62573         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62574         ($(objpfx)tst-fnmatch-mem): New rule.
62575         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62576         * posix/tst-fnmatch.c (main): Call mtrace.
62578 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62580         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62581         Support Intel processor model 6 and model 0x2c.
62583 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62585         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62586           signed comparison.
62588 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62590         [BZ #12205]
62591         * string/test-strncasecmp.c (check_result): New function.
62592         (do_one_test): Use it.
62593         (check1): New function.
62594         (test_main): Use it.
62595         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62596         Support strcasecmp and strncasecmp.
62598 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62600         [BZ #12194]
62601         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62602         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62604 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62606         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62607         IFUNC support.
62608         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62609         memset-x86-64.
62610         * sysdeps/x86_64/multiarch/bzero.S: New file.
62611         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62612         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62613         * sysdeps/x86_64/multiarch/memset.S: New file.
62614         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62616         Set bit_Prefer_SSE_for_memop for Intel processors.
62617         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62618         Define.
62619         (index_Prefer_SSE_for_memop): Define.
62620         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62622 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62624         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62625         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62627 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62629         [BZ #12191]
62630         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62631         (__x86_64_raw_data_cache_size_half): Likewise.
62632         (__x86_64_raw_shared_cache_size): Likewise.
62633         (__x86_64_raw_shared_cache_size_half): Likewise.
62635         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62636         (__x86_64_raw_data_cache_size_half): Likewise.
62637         (__x86_64_raw_shared_cache_size): Likewise.
62638         (__x86_64_raw_shared_cache_size_half): Likewise.
62639         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62640         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62641         and __x86_64_raw_shared_cache_size_half.  Round
62642         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62643         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62644         to multiple of 256 bytes.
62646 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62648         [BZ #12167]
62649         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62650         of inacessible symlinks.  Verify result of symlink before returning it.
62651         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62652         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62654 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62656         * math/math.h (isinf): Fix typo in comment.
62658 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62660         * po/da.po: Update from translation team.
62662 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62664         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62665         is added to the list.
62667 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62668             Ulrich Drepper  <drepper@gmail.com>
62670         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62671         the global list here.  Move code to...
62672         (_dl_add_to_namespace_list): ...here.  New function.
62673         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62674         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62675         * elf/dl-load.c (lose): Don't remove the element from the list.
62676         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62677         (_dl_map_object): Likewise.
62679 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62681         [BZ #12159]
62682         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62683         into all bytes of SSE register.
62684         Patch by Richard Li <richardpku@gmail.com>.
62686 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62688         [BZ #12140]
62689         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62690         perturbing.
62692 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62694         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62695         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62696         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62697         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62699         submachine.
62700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62702 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62704         * include/dlfcn.h (__RTLD_SECURE): Define.
62705         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62706         mode & __RTLD_SECURE instead.
62707         (open_path): Rename preloaded parameter to secure.
62708         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62709         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62710         * elf/dl-deps.c (openaux): Likewise.
62711         * elf/rtld.c (struct map_args): Remove is_preloaded.
62712         (map_doit): Don't use it.
62713         (dl_main): Likewise.
62714         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62715         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62717 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62719         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62720         (sysd-rules-targets): Remove duplicates.
62721         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62722         rtld-%.$o dependency.
62724 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62726         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62727         _dl_map_object do it.
62729 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62731         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62732         fast fma builtins, define the macros in the C99 standard.
62733         (FP_FAST_FMAF): Likewise.
62734         (FP_FAST_FMAL): Likewise.
62735         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62737         * bits/mathdef.h: Update copyright year.
62738         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62740 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62742         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62743         builtins, define the macros in the C99 standard.
62744         (FP_FAST_FMAF): Likewise.
62745         (FP_FAST_FMAL): Likewise.
62746         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62747         multiply/add.
62748         (FP_FAST_FMAF): Likewise.
62750 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62752         [BZ #3268]
62753         * math/libm-test.inc (fma_test): Some new testcases.
62754         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62755         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62756         y and infinite z.  Do multiplication by C already in long double.
62757         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62758         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62759         y and infinite z.  Do bitwise or of inexact bit into u.d.
62760         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62761         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62762         * sysdeps/i386/fpu/s_fma.S: Removed.
62763         * sysdeps/i386/fpu/s_fmal.S: Removed.
62765 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62767         [BZ #3268]
62768         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62769         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62770         computation is not scheduled after fetestexcept.  Fix value
62771         of minimum denormal long double.
62773 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62775         [BZ #3268]
62776         * math/libm-test.inc (fma_test): Add some more tests.
62777         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62778         correctly.
62780 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62782         * scripts/data/localplt-s390-linux-gnu.data: New file.
62783         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62785 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62787         [BZ #3268]
62788         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62789         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62790         instead of dbl-64.
62791         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62792         inlines.
62793         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62795         if one of x and y is very large and the other is subnormal.
62796         * sysdeps/s390/fpu/s_fmaf.c: New file.
62797         * sysdeps/s390/fpu/s_fma.c: New file.
62798         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62799         * sysdeps/powerpc/fpu/s_fma.S: New file.
62800         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62801         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62802         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62804 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62806         [BZ #3268]
62807         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62808         fma tests.
62809         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62810         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62811         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62812         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62813         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62814         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62815         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62817 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62819         [BZ #12078]
62820         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62821         * posix/bug-regex31.input: Add test case.
62823 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62825         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62826         * posix/bug-regex31.input: New file.
62828         [BZ #12078]
62829         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62830         (parse_sub_exp): Fix last change, use postorder.
62832         * posix/bug-regex31.c: New file.
62833         * posix/Makefile: Add rules to build and run bug-regex31.
62835         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62837         [BZ #12078]
62838         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62840         [BZ #12108]
62841         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62842         to have entries in sys_siglist.
62844         [BZ #12093]
62845         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62846         be NULL.
62848 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62850         [BZ #3268]
62851         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62852         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62853         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62854         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62855         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62856         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62857         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62858         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62859         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62860         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62861         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62862         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62863         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62864         * math/ftestexcept.c (fetestexcept): Likewise.
62865         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62866         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62867         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62868         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62869         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62870         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62871         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62873 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62875         [BZ #12107]
62876         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62877         newline.
62879 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62881         * string/bug-strstr1.c: New file.
62882         * string/Makefile: Add rules to build and run bug-strstr1.
62884 2010-10-05  Eric Blake  <eblake@redhat.com>
62886         [BZ #12092]
62887         * string/str-two-way.h (two_way_long_needle): Always clear memory
62888         when skipping input due to the shift table.
62890 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62892         [BZ #12005]
62893         * malloc/mcheck.c: Handle large requests.
62895         [BZ #12077]
62896         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62897         for strncmp and strncasecmp.
62898         * string/stratcliff.c: Add tests for strcmp and strncmp.
62899         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62901 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62903         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62904         __set_fpscr.
62906 2010-09-30  Andreas Jaeger  <aj@suse.de>
62908         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62909         (CGROUP_SUPER_MAGIC): Define.
62910         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62911         Handle btrfs and cgroup file systems.
62912         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62913         Likewise.
62915 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62917         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62918         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62920 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62922         [BZ #12067]
62923         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62924         trying to locate the ELF header.
62926 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62928         [BZ #11611]
62929         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62930         Mask out sign-bit copies when constructing f_fsid.
62932 2010-09-24  Petr Baudis <pasky@suse.cz>
62934         * debug/stack_chk_fail_local.c: Add missing licence exception.
62935         * debug/warning-nop.c: Likewise.
62937 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62939         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62940         implementing getdents64 using getdents syscall, set d_type if
62941         __ASSUME_GETDENTS32_D_TYPE.
62943 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62945         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62946         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62948 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62950         [BZ #12037]
62951         * posix/unistd.h: Undo change of feature selection for ftruncate from
62952         2010-01-11.
62954 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62956         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62957         detection.
62959 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62961         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62962         fanotify_mark.
62963         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62965 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62967         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62968         variables after CHECK_SP call.
62969         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62971 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62972             Ulrich Drepper  <drepper@redhat.com>
62974         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62975         re-relocationg ld.so.
62976         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62977         _dl_init_paths call.
62978         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62979         here anymore.
62981 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62983         * resolv/res_init.c (__res_vinit): Count the default server we added.
62985 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62986             Ulrich Drepper  <drepper@redhat.com>
62988         [BZ #11968]
62989         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62990         (____longjmp_chk): Use %ebx for saving value across system call.
62991         Add unwind info.
62993 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62995         * manual/Makefile: Don't mix pattern rules with normal rules.
62997 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62999         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63000         operation.
63001         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63002         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63003         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63004         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63005         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63006         Likewise.
63008 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63010         [BZ #11979]
63011         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63012         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63014 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63016         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63017         * sysdeps/x86_64/addmul_1.S: Likewise.
63018         * sysdeps/x86_64/lshift.S: Likewise.
63019         * sysdeps/x86_64/mul_1.S: Likewise.
63020         * sysdeps/x86_64/rshift.S: Likewise.
63021         * sysdeps/x86_64/sub_n.S: Likewise.
63022         * sysdeps/x86_64/submul_1.S: Likewise.
63024 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63026         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63027         Define __sched_param instead of SCHED_* and sched_param when
63028         <bits/sched.h> is included with __need_schedparam defined.
63029         * bits/sched.h [__need_schedparam]
63030         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63031         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63032         (__defined_schedparam): Define to 1.
63033         (__sched_param): New structure, identical to sched_param.
63034         (__need_schedparam): Undefine.
63036 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63038         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63039         (epoll_create1): Declare.
63041         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63043 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63045         [BZ #7066]
63046         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63047         shifting retval into place.
63049 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63051         * nis/rpcsvc/nis.h: Update copyright notice.
63052         * nis/rpcsvc/nis.x: Likewise.
63053         * nis/rpcsvc/nis_callback.h: Likewise.
63054         * nis/rpcsvc/nis_callback.x: Likewise.
63055         * nis/rpcsvc/nis_object.x: Likewise.
63056         * nis/rpcsvc/nis_tags.h: Likewise.
63057         * nis/rpcsvc/yp.h: Likewise.
63058         * nis/rpcsvc/yp.x: Likewise.
63059         * nis/rpcsvc/ypupd.h: Likewise.
63060         * nis/yp_xdr.c: Likewise.
63061         * nis/ypupdate_xdr.c: Likewise.
63063         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63064         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63065         (pmap_getport): Use __libc_rpc_getport.
63066         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63067         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63068         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63070 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63073         fanotify_mark.
63075 2010-08-27  Roland McGrath  <roland@redhat.com>
63077         * sysdeps/i386/i686/multiarch/Makefile
63078         (CFLAGS-varshift.c): New variable.
63080 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63082         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63083         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63085         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63087         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63089 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63091         * sysdeps/x86_64/strlen.S: Unroll the loop.
63092         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63093         strlen-sse2 strlen-sse2-bsf.
63094         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63095         __strlen_no_bsf if bit_Slow_BSF is set.
63096         (__strlen_sse42): Removed.
63097         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63098         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63100 2010-08-25  Roland McGrath  <roland@redhat.com>
63102         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63103         * sysdeps/x86_64/multiarch/varshift.c: New file.
63104         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63105         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63106         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63107         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63109 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63111         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63112         strlen-sse2 strlen-sse2-bsf.
63113         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63114         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63115         (__strlen_sse2): Removed.
63116         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63117         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63118         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63119         bit_Slow_BSF for Atom.
63120         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63121         (index_Slow_BSF): Define.
63122         (HAS_SLOW_BSF): Define.
63124 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63126         [BZ #10851]
63127         * resolv/res_init.c (__res_vinit): When no server address at all
63128         is given default to loopback.
63130 2010-08-24  Roland McGrath  <roland@redhat.com>
63132         * configure.in: Remove config-name.h generation.
63133         * configure: Regenerated.
63134         * config-name.in: File removed.
63135         * scripts/config-uname.sh: New file.
63136         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63137         ($(objdir)config-name.h): New target.
63139         * sunrpc/rpc_parse.h: Avoid nested comment.
63141 2010-08-24  Richard Henderson  <rth@redhat.com>
63142             Ulrich Drepper  <drepper@redhat.com>
63143             H.J. Lu  <hongjiu.lu@intel.com>
63145         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63146         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63147         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63148         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63149         _mm_alignr_epi8 with _mm_loadu_si128.
63150         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63151         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63152         (__m128i_shift_right): Removed.
63153         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63154         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63155         * sysdeps/x86_64/multiarch/varshift.h: New file.
63156         * sysdeps/x86_64/multiarch/varshift.S: New file.
63158 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63160         * configure.in: Move assembler checks to before sysdep dir checking.
63162 2010-08-20  Petr Baudis  <pasky@suse.cz>
63164         * LICENSES: Sync the sunrpc license.
63166 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63168         * sunrpc/auth_des.c: Update copyright notice once again.
63169         * sunrpc/auth_none.c: Likewise.
63170         * sunrpc/auth_unix.c: Likewise.
63171         * sunrpc/authdes_prot.c: Likewise.
63172         * sunrpc/authuxprot.c: Likewise.
63173         * sunrpc/bindrsvprt.c: Likewise.
63174         * sunrpc/clnt_gen.c: Likewise.
63175         * sunrpc/clnt_perr.c: Likewise.
63176         * sunrpc/clnt_raw.c: Likewise.
63177         * sunrpc/clnt_simp.c: Likewise.
63178         * sunrpc/clnt_tcp.c: Likewise.
63179         * sunrpc/clnt_udp.c: Likewise.
63180         * sunrpc/clnt_unix.c: Likewise.
63181         * sunrpc/des_crypt.c: Likewise.
63182         * sunrpc/des_soft.c: Likewise.
63183         * sunrpc/get_myaddr.c: Likewise.
63184         * sunrpc/getrpcport.c: Likewise.
63185         * sunrpc/key_call.c: Likewise.
63186         * sunrpc/key_prot.c: Likewise.
63187         * sunrpc/openchild.c: Likewise.
63188         * sunrpc/pm_getmaps.c: Likewise.
63189         * sunrpc/pm_getport.c: Likewise.
63190         * sunrpc/pmap_clnt.c: Likewise.
63191         * sunrpc/pmap_prot.c: Likewise.
63192         * sunrpc/pmap_prot2.c: Likewise.
63193         * sunrpc/pmap_rmt.c: Likewise.
63194         * sunrpc/rpc/auth.h: Likewise.
63195         * sunrpc/rpc/auth_unix.h: Likewise.
63196         * sunrpc/rpc/clnt.h: Likewise.
63197         * sunrpc/rpc/des_crypt.h: Likewise.
63198         * sunrpc/rpc/key_prot.h: Likewise.
63199         * sunrpc/rpc/netdb.h: Likewise.
63200         * sunrpc/rpc/pmap_clnt.h: Likewise.
63201         * sunrpc/rpc/pmap_prot.h: Likewise.
63202         * sunrpc/rpc/pmap_rmt.h: Likewise.
63203         * sunrpc/rpc/rpc.h: Likewise.
63204         * sunrpc/rpc/rpc_des.h: Likewise.
63205         * sunrpc/rpc/rpc_msg.h: Likewise.
63206         * sunrpc/rpc/svc.h: Likewise.
63207         * sunrpc/rpc/svc_auth.h: Likewise.
63208         * sunrpc/rpc/types.h: Likewise.
63209         * sunrpc/rpc/xdr.h: Likewise.
63210         * sunrpc/rpc_clntout.c: Likewise.
63211         * sunrpc/rpc_cmsg.c: Likewise.
63212         * sunrpc/rpc_common.c: Likewise.
63213         * sunrpc/rpc_cout.c: Likewise.
63214         * sunrpc/rpc_dtable.c: Likewise.
63215         * sunrpc/rpc_hout.c: Likewise.
63216         * sunrpc/rpc_main.c: Likewise.
63217         * sunrpc/rpc_parse.c: Likewise.
63218         * sunrpc/rpc_parse.h: Likewise.
63219         * sunrpc/rpc_prot.c: Likewise.
63220         * sunrpc/rpc_sample.c: Likewise.
63221         * sunrpc/rpc_scan.c: Likewise.
63222         * sunrpc/rpc_scan.h: Likewise.
63223         * sunrpc/rpc_svcout.c: Likewise.
63224         * sunrpc/rpc_tblout.c: Likewise.
63225         * sunrpc/rpc_util.c: Likewise.
63226         * sunrpc/rpc_util.h: Likewise.
63227         * sunrpc/rpcinfo.c: Likewise.
63228         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63229         * sunrpc/rpcsvc/key_prot.x: Likewise.
63230         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63231         * sunrpc/rpcsvc/mount.x: Likewise.
63232         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63233         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63234         * sunrpc/rpcsvc/rex.x: Likewise.
63235         * sunrpc/rpcsvc/rstat.x: Likewise.
63236         * sunrpc/rpcsvc/rusers.x: Likewise.
63237         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63238         * sunrpc/rpcsvc/spray.x: Likewise.
63239         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63240         * sunrpc/rtime.c: Likewise.
63241         * sunrpc/svc.c: Likewise.
63242         * sunrpc/svc_auth.c: Likewise.
63243         * sunrpc/svc_authux.c: Likewise.
63244         * sunrpc/svc_raw.c: Likewise.
63245         * sunrpc/svc_run.c: Likewise.
63246         * sunrpc/svc_simple.c: Likewise.
63247         * sunrpc/svc_tcp.c: Likewise.
63248         * sunrpc/svc_udp.c: Likewise.
63249         * sunrpc/svc_unix.c: Likewise.
63250         * sunrpc/svcauth_des.c: Likewise.
63251         * sunrpc/xcrypt.c: Likewise.
63252         * sunrpc/xdr.c: Likewise.
63253         * sunrpc/xdr_array.c: Likewise.
63254         * sunrpc/xdr_float.c: Likewise.
63255         * sunrpc/xdr_mem.c: Likewise.
63256         * sunrpc/xdr_rec.c: Likewise.
63257         * sunrpc/xdr_ref.c: Likewise.
63258         * sunrpc/xdr_sizeof.c: Likewise.
63259         * sunrpc/xdr_stdio.c: Likewise.
63261         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63262         handling.
63264 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63266         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63268 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63270         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63271         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63272         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63273         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63274         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63275         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63276         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63277         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63278         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63279         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63280         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63281         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63282         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63283         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63285 2010-07-26  Anton Blanchard  <anton@samba.org>
63287         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63288         * malloc/arena.c (heap_trim): Likewise.
63290 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63292         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63293         here.  Not...
63294         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63295         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63297 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63299         * sysdeps/i386/elf/Makefile: New file.
63301 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63303         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63304         from fanotify_init.
63305         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63306         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63308 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63310         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63311         of strncasecmp_l.
63312         * sysdeps/multiarch/strcmp.S: Likewise.
63314 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63316         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63317         strncase_l-nonascii.
63318         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63319         Add strncase_l-ssse3.
63320         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63321         * sysdeps/x86_64/strcmp.S: Likewise.
63322         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63323         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63324         * sysdeps/x86_64/strncase.S: New file.
63325         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63326         * sysdeps/x86_64/strncase_l.S: New file.
63327         * string/Makefile (strop-tests): Add strncasecmp.
63328         * string/test-strncasecmp.c: New file.
63330         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63331         warning.
63333         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63334         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63336 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63338         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63340 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63342         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63343         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63344         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63346 2010-05-01  Alan Modra  <amodra@gmail.com>
63348         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63349         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63350         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63351         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63352         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63353         tidying.  Don't tail-call __sigjmp_save for static lib.
63354         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63355         save location.
63356         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63357         (CALL_MCOUNT): Add eh info, and nop after bl.
63358         (TAIL_CALL_SYSCALL_ERROR): New macro.
63359         (PSEUDO_RET): Use it.
63360         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63361         Correct save location of integer regs and cr.
63362         (_dl_profile_resolve): Correct cr save location.  Delete nops
63363         after bl when SHARED.  Reduce cfi size a little by better
63364         placement of cfi directives.
63365         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63366         make a stack frame.  Instead use parm save area as a temp.
63367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63368         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63370         Don't make a stack frame for parent, use parm save area.
63371         Increase child stack frame to 112 bytes.  Don't save unused reg,
63372         and adjust reg usage.  Set up cfi on error recovery and
63373         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63375         (__makecontext): Add dummy nop after jump to exit.
63376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63377         Use correct parm save area and cr save, reduce stack frame.
63378         Correct cfi for possible PSEUDO_RET frame setup.
63379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63380         Branch to local label emitted by PSEUDO_RET rather than
63381         __syscall_error.
63383 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63385         [BZ #11904]
63386         * locale/programs/locale.c (print_assignment): New function.
63387         (show_locale_vars): Use it.
63389 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63391         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63392         field.
63393         (struct statfs64): Likewise.
63394         (_STATFS_F_FLAGS): Define.
63395         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63396         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63397         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63398         (ST_VALID): Define locally.
63399         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63400         __statvfs_getflags, use the provided value.
63401         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63402         __ASSUME_STATFS_F_FLAGS.
63404         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63406         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63407         Add sys/fanotify.h.
63408         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63409         fanotify_mask for GLIBC_2.13.
63410         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63411         fanotify_init and fanotify_mark.
63412         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63413         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63415         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63416         Add prlimit.
63417         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63418         prlimit64 for GLIBC_2.13.
63419         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63420         prlimit64.
63421         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63422         syscall.
63423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63424         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63425         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63426         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63427         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63428         add prlimit alias.
63429         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63431         [BZ #11903]
63432         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63433         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63435         * nss/Makefile: Add rules to build and run tst-nss-test1.
63436         * shlib-versions: Add entry for libnss_test1.
63437         * nss/nss_test1.c: New file.
63438         * nss/tst-nss-test1.c: New file.
63440         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63441         (__nss_configure_lookup): Set appropriate entry in
63442         __nss_configure_lookup to true.
63443         * nss/nsswitch.h: Define enum with indeces of databases in
63444         databases and __nss_database_custom arrays.  Declare
63445         __nss_database_custom.
63446         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63447         to avoid using nscd when custom rules are installed.
63448         * nss/getXXbyYY_r.c: Likewise.
63449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63451         * nss/nss_files/files-parse.c: Whitespace fixes.
63453 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63455         [BZ #11883]
63456         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63457         * posix/fnmatch_loop.c: Likewise.
63459 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63461         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63462         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63463         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63464         * Versions.def [GLIBC_2.13]: Add.
63466 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63468         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63469         Also fail if tpwd after pwuid call is NULL.
63471 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63473         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63474         when converting to ms.
63476 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63478         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63479         EOPNOTSUPP errors with ENOTTY.
63480         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63481         EOPNOTSUPP errors with ENOTTY.
63483 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63485         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63486         Add strcasecmp_l-ssse3.
63487         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63488         strcasecmp.
63489         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63490         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63491         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63493 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63495         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63497         * string/Makefile (strop-tests): Add strcasecmp.
63498         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63499         strcasecmp_l-nonascii.
63500         (gen-as-const-headers): Add locale-defines.sym.
63501         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63502         * sysdeps/x86_64/strcasecmp.S: New file.
63503         * sysdeps/x86_64/strcasecmp_l.S: New file.
63504         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63505         * sysdeps/x86_64/locale-defines.sym: New file.
63506         * string/test-strcasecmp.c: New file.
63508         * string/test-strcasestr.c: Test both ends of the range of characters.
63509         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63511 2010-07-29  Roland McGrath  <roland@redhat.com>
63513         [BZ #11856]
63514         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63516 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63518         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63519         for ld.so.
63521 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63523         * manual/memory.texi (Malloc Tunable Parameters): Document
63524         M_PERTURB.
63526 2010-07-26  Roland McGrath  <roland@redhat.com>
63528         [BZ #11840]
63529         * configure.in (-fgnu89-inline check): Set and substitute
63530         gnu89_inline, not libc_cv_gnu89_inline.
63531         * configure: Regenerated.
63532         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63534 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63536         * string/test-strnlen.c: New file.
63537         * string/Makefile (strop-tests): Add strnlen.
63538         * string/tester.c (test_strnlen): Add a few more test cases.
63539         * string/tst-strlen.c: Better error reporting.
63541         * sysdeps/x86_64/strnlen.S: New file.
63543 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63545         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63546         lower-latency instructions.
63548 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63550         * string/test-strcasestr.c: New file.
63551         * string/test-strstr.c: New file.
63552         * string/Makefile (strop-tests): Add strstr and strcasestr.
63553         * string/str-two-way.h: Don't undefine MAX.
63554         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63556 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63558         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63559         strcasestr-nonascii.
63560         (CFLAGS-strcasestr-nonascii.c): Define.
63561         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63562         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63563         Remove unused attribute.
63565 2010-07-20  Roland McGrath  <roland@redhat.com>
63567         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63568         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63569         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63570         like LD_HWCAP_MASK can disable hwcaps.
63572 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63574         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63576 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63578         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63579         call in strcasestr.
63580         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63581         __strcasestr_sse42_nonascii.
63582         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63583         strcasestr-nonascii.c.
63584         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63586 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63588         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63589         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63590         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63591         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63593 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63595         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63596         fcntl.
63598 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63600         [BZ #11577]
63601         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63602         dl_signal_cerror.
63604 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63606         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63607         _PC_PIPE_BUF using F_GETPIPE_SZ.
63609 2010-07-05  Roland McGrath  <roland@redhat.com>
63611         * manual/arith.texi (Rounding Functions): Fix rint description
63612         implicit in round description.
63614 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63616         * elf/Makefile: Fix linking for a few tests to make recent linker
63617         happy.
63619 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63621         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63622         $(common-objpfx)libc_nonshared.a.
63624 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63626         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63627         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63628         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63629         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63630         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63631         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63632         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63633         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63648         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63649         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63650         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63651         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63652         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63653         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63654         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63655         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63656         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63657         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63658         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63659         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63675 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63677         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63678         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63679         * string/memmove.c (memmove): Renamed to ...
63680         (MEMMOVE): ...this.  Default to memmove.
63681         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63682         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63683         (END_CHK): Define.
63684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63685         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63686         mempcpy-ssse3-back memmove-ssse3-back.
63687         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63688         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63689         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63690         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63691         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63692         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63693         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63694         * sysdeps/x86_64/multiarch/memmove.c: New file.
63695         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63696         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63697         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63698         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63699         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63700         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63701         Define.
63702         (index_Fast_Copy_Backward): Define.
63703         (HAS_ARCH_FEATURE): Define.
63704         (HAS_FAST_REP_STRING): Define.
63705         (HAS_FAST_COPY_BACKWARD): Define.
63707 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63709         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63710         Restore proper fallback handling.
63712 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63714         [BZ #11701]
63715         * posix/group_member.c (__group_member): Correct checking loop.
63717         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63718         OOM in getpwuid_r correctly.  Return error number when the caller
63719         should return, otherwise -1.
63720         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63721         call returning > 0 value.
63722         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63724 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63726         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63727         libc_nonshared.a from targets in modules-names.
63729 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63731         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63732         requires it.
63734 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63736         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63737         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63738         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63739         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63741 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63743         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63745 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63747         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63748         and F_GETPIPE_SZ.
63749         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63750         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63751         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63752         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63753         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63754         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63756 2010-06-14  Roland McGrath  <roland@redhat.com>
63758         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63760 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63762         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63763         __REDIRECT followed by __THROW.
63764         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63765         * posix/getopt.h (getopt): Likewise.
63767 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63769         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63770         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63771         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63772         in AT_FLAGS.
63773         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63774         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63776 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63778         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63780 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63782         [BZ #11640]
63783         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63784         Properly check family and model.
63786 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63788         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63790 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63792         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63794 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63796         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63797         symbol reference.
63799 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63801         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63802         symbol reference.
63804 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63806         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63807         and internal_recvmmsg.
63808         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63809         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63810         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63811         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63813         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63814         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63815         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63817 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63819         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63821 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63823         POWER7 optimizations.
63824         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63825         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63827 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63829         * version.h: Update for 2.13 development version.
63831 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63833         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63834         exceptions.  Return 0.
63836 2010-05-07  Roland McGrath  <roland@redhat.com>
63838         * elf/ldconfig.c (main): Add a const.
63840 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63842         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63843         (args_options): Add no-idn option.
63844         (ahosts_keys_int): Add idn_flags to ai_flags.
63845         (parse_option): Handle 'i' option to clear idn_flags.
63847         * malloc/malloc.c (_int_free): Possible race in the most recently
63848         added check.  Only act on the data if no current modification
63849         happened.
63851 See ChangeLog.17 for earlier changes.