Optimize the strlen implementation by using a page cross check and a fast check
[glibc.git] / ChangeLog
blobdf8c19eeab7f7d495bd6ca336f415101623efb9d
1 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
3         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
5 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
7         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
8         %ld with %jd and cast to intmax_t.
9         (do_test_length_zero): Likewise.
11 2015-07-10  Roland McGrath  <roland@hack.frob.com>
13         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17         * sysdeps/tile/libm-test-ulps: Regenerated.
19         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
20         Comment out the whole function, not just its body.
22 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
25         locks.
27         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
29 2015-07-10  Torvald Riegel  <triegel@redhat.com>
31         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
32         (sem_assume_only_signals_cause_futex_EINTR): Remove.
34 2015-07-10  Torvald Riegel  <triegel@redhat.com>
36         * sysdeps/nptl/futex-internal.h: New file.
37         * sysdeps/nacl/futex-internal.h: New file.
38         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
39         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
40         error checking.
41         (setxid_unmark_thread): Likewise.
42         (__nptl_setxid): Likewise.
43         (__wait_lookup_done): Likewise.
44         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
45         * nptl/nptl-init.c (sighandler_setxid): Likewise.
46         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
47         * nptl/pthread_once.c (clear_once_control): Likewise.
48         (__pthread_once_slow): Likewise.
49         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
50         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
51         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
52         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
53         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
54         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
55         Likewise.
56         (__pthread_rwlock_rdlock): Likewise.
57         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
58         Likewise.
59         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
60         Likewise.
61         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
62         Likewise.
63         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
64         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
65         Likewise.
66         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
67         __ASSUME_PRIVATE_FUTEX check.
68         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
69         Check that shared futexes are supported.
70         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
71         wrappers with error checking.
72         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
73         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
74         * nptl/pthread_barrierattr_setpshared.c
75         (pthread_barrierattr_setpshared): Check that shared futexes are
76         supported.
77         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
78         Likewise.
79         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
80         Likewise.
81         * nptl/sem_init.c (futex_private_if_supported): Remove.
82         (__new_sem_init): Adapt and check that shared futexes are supported.
83         * nptl/sem_open.c (sem_open): Likewise.
84         * nptl/sem_post.c (futex_wake): Remove.
85         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
86         (do_futex_wait): Use futex wrappers with error checking.
87         * nptl/sem_wait.c: Include lowlevellock.h.
88         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
89         Use futex_supports_pshared.
90         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
91         Use futex wrappers with error checking.
92         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
93         Likewise.
94         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
95         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
96         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
97         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
98         (futex_wake): Likewise.
99         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
100         (do_futex_wait): Use futex wrappers with error checking.
101         (__new_sem_wait_slow): Update EINTR handling.
102         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
104 2015-07-09  Martin Sebor  <msebor@redhat.com>
106         [BZ #18435]
107         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
108         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
109         * nptl/Makefile (test-xfail-tst-once5): Define.
111 2015-07-09  Roland McGrath  <roland@hack.frob.com>
113         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
114         * elf/dl-minimal.c: For readability, reorder some definitions and
115         introduce more page breaks.  Include <stdio.h>.
116         (__libc_fatal): New function.
118         * include/unistd.h: Add rtld_hidden_proto for _exit.
119         * posix/_exit.c: Add rtld_hidden_def.
120         * sysdeps/mach/hurd/_exit.c: Likewise.
121         * sysdeps/nacl/_exit.c: Likewise.
122         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
123         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
125 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
127         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
128         bndmov encoding with zero displacement.
130 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
131             H.J. Lu  <hongjiu.lu@intel.com>
133         [BZ #18134]
134         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
135         * sysdeps/i386/configure: Regenerated.
136         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
137         (_dl_runtime_profile): Save and restore Intel MPX return bound
138         registers when calling _dl_call_pltexit.  Add
139         PRESERVE_BND_REGS_PREFIX before return.
140         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
141         (LRV_BND1_OFFSET): Likewise.
142         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
143         lrv_bnd1.
144         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
145         typo in bndmov encoding.
146         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
147         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
148         branch instructions to preserve bounds.
150 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
153         [GLIBC_2.22]: Add fmemopen.
155 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
157         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
158         returns an error, also try to use host port from __mach_host_self for
159         the __vm_wire call.
160         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
162 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
164         [BZ #18400]
165         [BZ #18648]
166         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
167         Fix pr_uid and pr_gid members.
168         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
169         definition to elf_greg_t.
171 2015-07-08  Roland McGrath  <roland@hack.frob.com>
173         [BZ #18383]
174         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
175         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
176         * sysdeps/arm/configure: Regenerated.
177         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
178         (test-xfail-tst-tlsalign-static): Variable removed.
180         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
181         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
182         rather than explicit 'ln -s'.
184         * resolv/rpc/netdb.h: New file.
185         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
187 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
189         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
190         length buffers.
191         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
192         test-skeleton.c.
194         [BZ #6544]
195         [BZ #11216]
196         [BZ #12836]
197         [BZ #13151]
198         [BZ #13152]
199         [BZ #14292]
200         * include/stdio.h (fmemopen): Remove hidden prototype.
201         (__fmemopen): Add new hidden prototype.
202         * libio/Makefile: Add oldfmemopen object.
203         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
204         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
205         compliance.
206         * libio/oldfmemopen.c: New file: old fmemopen implementation for
207         symbol compatibility.
208         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
209         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
210         fmemopen.
211         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
212         on append and read mode.
213         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
214         fmemopen.
215         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
216         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
217         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
218         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
219         Likewise.
220         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
221         [GLIBC_2.22]: Likewise.
222         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
223         Likewise.
224         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
225         Likewise.
226         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
227         [GLIBC_2.22]: Likewise.
228         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
229         [GLIBC_2.22]: Likewise.
230         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
231         [GLIBC_2.22]: Likewise.
232         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
233         [GLIBC_2.22]: Likewise.
234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
235         [GLIBC_2.22]: Likewise.
236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
237         [GLIBC_2.22]: Likewise.
238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
239         [GLIBC_2.22]: Likewise.
240         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
241         Likewise.
242         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
243         Likewise.
244         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
245         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
246         [GLIBC_2.22]: Likewise.
247         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
248         [GLIBC_2.22]: Likewise.
249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
250         [GLIBC_2.22]: Likewise.
251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
252         [GLIBC_2.22]: Likewise.
253         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
254         Likewise.
255         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
256         Likewise.
257         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
258         Likewise.
259         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
260         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
262 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
264         [BZ #18643]
265         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
266         IPV6_PATHMTU, and IPV6_DONTFRAG.
268 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
270         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
271         and _IO_UNBUFFERED.
272         * libio/oldfileops.c: Likewise.
273         * libio/wfileops.c: Likewise.
275 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
277         * nscd/selinux.c: Delete selinux/flask.h include.
279 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
281         [BZ #18641]
282         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
283         (putpwent): Likewise.
284         (getpwnam): Likewise.
285         (getpwent_r): Likewise.
286         (getpwuid_r): Likewise.
287         (getpwnam_r): Likewise.
288         (fgetpwent_r): Likewise.
290 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
292         [BZ #18557]
293         * inet/rcmd.c (__validuser2_sa): Check user first to
294         short-circuit host check.
296 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
297             Mikhail Ilin  <m.ilin@samsung.com>
299         [BZ #17833]
300         * elf/Makefile (tests): Add tst-nodelete.
301         (modules-names): Add tst-nodelete-uniquemod.
302         (tst-nodelete-uniquemod.so-no-z-defs): New.
303         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
304         (tst-nodelete-zmod.so-no-z-defs): Likewise.
305         ($(objpfx)tst-nodelete): Likewise.
306         ($(objpfx)tst-nodelete.out): Likewise.
307         (LDFLAGS-tst-nodelete): Likewise.
308         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
309         * elf/dl-close.c (_dl_close_worker): Add a parameter to
310         implement forced object deletion.
311         (_dl_close): Pass false to _dl_close_worker.
312         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
313         * elf/tst-nodelete.cc: New file.
314         * elf/tst-nodeletelib.cc: Likewise.
315         * elf/tst-znodeletelib.cc: Likewise.
316         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
318 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
320         [BZ #18508]
321         * stdlib/Makefile ($(objpfx)tst-makecontext3):
322         Depend on $(libdl).
323         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
324         is not called infinitely times.
325         (backtrace_helper): New function.
326         (trace_arg): New struct.
327         (st1): Enlarge stack size.
328         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
329         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
330         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
331         Likewise.
333 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
335         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
337 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
339         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
340         Include sys/types.h instead of bits/types.h.
341         Remove inclusion of bits/wordsize.h.
343 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
345         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
346         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
347         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
348         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
349         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
350         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
352 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
354         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
355         link-defines.sym.
356         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
357         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
358         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
359         and LR_SIZE.
360         * sysdeps/i386/link-defines.sym: New file.
362 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
364         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
365         (modules-names): Add tst-auditmod3a tst-auditmod3b.
366         ($(objpfx)tst-audit3): New rule.
367         ($(objpfx)tst-audit3.out): Likewise.
368         * sysdeps/i386/tst-audit3.c: New file.
369         * sysdeps/i386/tst-audit3.h: Likewise.
370         * sysdeps/i386/tst-auditmod3a.c: Likewise.
371         * sysdeps/i386/tst-auditmod3b.c: Likewise.
373 2015-07-07  Torvald Riegel  <triegel@redhat.com>
375         [BZ #18633]
376         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
377         pointer in C code.
378         (__strcat_c): Likewise.
379         (__strcat_g): Likewise.
381 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
383         [BZ #18592]
384         * misc/sbrk.c: Set errno to ENOMEM on overflow.
386 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
388         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
389         New function.  (__ieee754_sqrtf): New function.
390         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
391         New function.
392         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
393         New function.
395 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
397         * sysdeps/ieee754/support.c: Remove unused file.
399 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
401         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
402         registers instead of d ones so the layout is kernel abi compatible.
403         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
404         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
405         Likewise.
407 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
409         * sysdeps/aarch64/libm-test-ulps: Regenerated.
411 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
413         [BZ #18619]
414         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
415         and return argument in case of subnormal argument.
417 2015-07-01  Martin Sebor  <msebor@redhat.com>
419         [BZ #18435]
420         * nptl/Makefile: Add tst-once5.cc.
421         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
422         Remove macro redefinitions.
423         * nptl/tst-once5.cc: New test.
425 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
427         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
429         * sysdeps/arm/libm-test-ulps: Regenerated.
431         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
432         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
434 2015-06-30  Torvald Riegel  <triegel@redhat.com>
436         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
437         lll_lock_wait_private and lll_futex_wake probes.
439         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
440         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
441         Likewise.
442         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
443         atomic_spin_nop.
444         * sysdeps/x86_64/bits/atomic.h: Likewise.
445         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
446         to atomic_spin_nop and move ...
447         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
448         ... here and ...
449         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
450         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
451         atomic_spin_nop instead of BUSY_WAIT_NOP.
452         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
453         Likewise.
454         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
455         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
456         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
457         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
458         instead of atomic_delay.
460 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
462         [BZ #18613]
463         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
464         X_ADJ not X when adjusting exponent.
465         (__ieee754_gamma_r): Do intermediate computations in
466         round-to-nearest then adjust overflowing and underflowing results
467         as needed.
468         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
469         of X_ADJ not X when adjusting exponent.
470         (__ieee754_gammaf_r): Do intermediate computations in
471         round-to-nearest then adjust overflowing and underflowing results
472         as needed.
473         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
474         log of X_ADJ not X when adjusting exponent.
475         (__ieee754_gammal_r): Do intermediate computations in
476         round-to-nearest then adjust overflowing and underflowing results
477         as needed.  Use 1.0L not 1.0f as numerator of division.
478         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
479         log of X_ADJ not X when adjusting exponent.
480         (__ieee754_gammal_r): Do intermediate computations in
481         round-to-nearest then adjust overflowing and underflowing results
482         as needed.  Use 1.0L not 1.0f as numerator of division.
483         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
484         of X_ADJ not X when adjusting exponent.
485         (__ieee754_gammal_r): Do intermediate computations in
486         round-to-nearest then adjust overflowing and underflowing results
487         as needed.  Use 1.0L not 1.0f as numerator of division.
488         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
489         to auto-libm-test-in.
490         (tgamma_test): Use ALL_RM_TEST.
491         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
492         tests of tgamma with spurious-overflow.
493         * math/auto-libm-test-out: Regenerated.
494         * math/gen-libm-have-vector-test.sh: Do not check for START.
495         * sysdeps/i386/fpu/libm-test-ulps: Update.
496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
498         [BZ #18612]
499         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
500         arguments, just return 0.5 times the argument, with underflow
501         forced as needed.
502         * math/auto-libm-test-in: Add more tests of j1.
503         * math/auto-libm-test-out: Regenerated.
505         [BZ #16559]
506         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
507         (__ieee754_j1): Force underflow exception for small results.
508         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
509         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
510         (__ieee754_j1f): Force underflow exception for small results.
511         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
512         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
513         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
514         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
515         (__ieee754_j1l): Force underflow exception for small results.
516         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
517         * math/auto-libm-test-in: Add more tests of j1 and jn.
518         * math/auto-libm-test-out: Regenerated.
520         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
521         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
522         (PF_MPLS): Likewise.
523         (AF_IB): Likewise.
524         (AF_MPLS): Likewise.
525         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
526         value and macro.
527         (MS_RMT_MASK): Include MS_LAZYTIME.
529 2015-06-26  Mel Gorman  <mgorman@suse.de>
531         [BZ #18502]
532         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
533         already minimal.
535 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
537         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
538         (DT_MIPS_NUM): Update.
539         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
540         DT_MIPS_RLD_MAP_REL.
542 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
544         [BZ #16559]
545         [BZ #18602]
546         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
547         round-to-nearest internally then recompute results that
548         underflowed to zero in the original rounding mode.
549         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
550         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
551         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
552         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
553         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
554         * sysdeps/i386/fpu/libm-test-ulps: Update.
555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
557 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
559         * NEWS: Fixed description of link with vector math library.
561 2015-06-25  Andreas Schwab  <schwab@suse.de>
563         [BZ #18549]
564         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
565         * libio/test-fmemopen.c (do_test): Add test for it.
567 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
569         [BZ #17841]
570         * Makeconfig (no-pie-ldflag): New.
571         (+link): Set to $(+link-pie) if default to PIE.
572         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
573         * config.make.in (build-pie-default): New.
574         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
575         is default.  AC_SUBST.
576         * configure: Regenerated.
577         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
579 2015-06-24  Roland McGrath  <roland@hack.frob.com>
581         * nptl/descr.h (struct pthread): Change type of field setxid_futex
582         to 'unsigned int'.
584         * resolv/gai_misc.h (struct waitlist): Change type of field
585         counterp to 'volatile unsigned int *'.
586         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
587         FUTEXADDR and OLDVAL.
588         * resolv/getaddrinfo_a.c (getaddrinfo_a):
589         Give local variable TOTAL type 'volatile unsigned int'.
590         (struct async_waitlist): Change type of field counter to 'unsigned int'.
591         * resolv/gai_suspend.c (gai_suspend):
592         Give local variable CNTR type 'unsigned int'.
594         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
595         counterp to 'volatile unsigned int *'.
596         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
597         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
598         (aio_suspend): Give local variable CNTR type 'unsigned int'.
599         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
600         Give local variable TOTAL type 'volatile unsigned int'.
601         (struct async_waitlist): Change type of field counter to 'unsigned int'.
603 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
605         [BZ #18383]
606         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
607         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
608         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
609         comment for i386/x86-64.
610         (test-xfail-tst-tlsalign-extern-static): Removed.
612 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
614         * math/test-double.h: New file.
615         * math/test-float.h: Likewise.
616         * math/test-ldouble.h: Likewise.
617         * math/test-math-inline.h: Likewise.
618         * math/test-math-no-inline.h: Likewise.
619         * math/test-math-scalar.h: Likewise.
620         * math/test-math-vector.h: Likewise.
621         * math/test-vec-loop.h: Remove file.  Contents moved into
622         test-math-vector.h.
623         * math/libm-test.inc (MATHCONST): Do not document macro.
624         * math/test-double.c: Include test-double.h, test-math-no-inline.h
625         and test-math-scalar.h.
626         (FUNC): Remove macro.
627         (FUNC_TEST): Likewise.
628         (FLOAT): Likewise.
629         (MATHCONST): Likewise.
630         (PRINTF_EXPR): Likewise.
631         (PRINTF_XEXPR): Likewise.
632         (PRINTF_NEXPR): Likewise.
633         (TEST_DOUBLE): Likewise.
634         (TEST_MATHVEC): Likewise.
635         (__NO_MATH_INLINES): Likewise.
636         * math/test-float.c: Include test-float.h, test-math-no-inline.h
637         and test-math-scalar.h.
638         (FUNC): Remove macro.
639         (FUNC_TEST): Likewise.
640         (FLOAT): Likewise.
641         (MATHCONST): Likewise.
642         (PRINTF_EXPR): Likewise.
643         (PRINTF_XEXPR): Likewise.
644         (PRINTF_NEXPR): Likewise.
645         (TEST_FLOAT): Likewise.
646         (TEST_MATHVEC): Likewise.
647         (__NO_MATH_INLINES): Likewise.
648         * math/test-idouble.c: Include test-double.h, test-math-inline.h
649         and test-math-scalar.h.
650         (FUNC): Remove macro.
651         (FUNC_TEST): Likewise.
652         (FLOAT): Likewise.
653         (MATHCONST): Likewise.
654         (PRINTF_EXPR): Likewise.
655         (PRINTF_XEXPR): Likewise.
656         (PRINTF_NEXPR): Likewise.
657         (TEST_DOUBLE): Likewise.
658         (TEST_MATHVEC): Likewise.
659         (TEST_INLINE): Likewise.
660         (__NO_MATH_INLINES): Likewise.
661         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
662         test-math-scalar.h.
663         (FUNC): Remove macro.
664         (FUNC_TEST): Likewise.
665         (FLOAT): Likewise.
666         (MATHCONST): Likewise.
667         (PRINTF_EXPR): Likewise.
668         (PRINTF_XEXPR): Likewise.
669         (PRINTF_NEXPR): Likewise.
670         (TEST_FLOAT): Likewise.
671         (TEST_MATHVEC): Likewise.
672         (TEST_INLINE): Likewise.
673         (__NO_MATH_INLINES): Likewise.
674         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
675         and test-math-scalar.h.
676         (FUNC): Remove macro.
677         (FUNC_TEST): Likewise.
678         (FLOAT): Likewise.
679         (MATHCONST): Likewise.
680         (PRINTF_EXPR): Likewise.
681         (PRINTF_XEXPR): Likewise.
682         (PRINTF_NEXPR): Likewise.
683         (TEST_LDOUBLE): Likewise.
684         (TEST_MATHVEC): Likewise.
685         (TEST_INLINE): Likewise.
686         (__NO_MATH_INLINES): Likewise.
687         * math/test-ldouble.c: Include test-ldouble.h,
688         test-math-no-inline.h and test-math-scalar.h.
689         (FUNC): Remove macro.
690         (FUNC_TEST): Likewise.
691         (FLOAT): Likewise.
692         (MATHCONST): Likewise.
693         (PRINTF_EXPR): Likewise.
694         (PRINTF_XEXPR): Likewise.
695         (PRINTF_NEXPR): Likewise.
696         (TEST_LDOUBLE): Likewise.
697         (TEST_MATHVEC): Likewise.
698         (__NO_MATH_INLINES): Likewise.
699         * math/test-double-vlen2.h: Include test-double.h,
700         test-math-no-inline.h and test-math-vector.h.
701         (FLOAT): Remove macro.
702         (FUNC): Likewise.
703         (MATHCONST): Likewise.
704         (PRINTF_EXPR): Likewise.
705         (PRINTF_XEXPR): Likewise.
706         (PRINTF_NEXPR): Likewise.
707         (TEST_DOUBLE): Likewise.
708         (TEST_MATHVEC): Likewise.
709         (__NO_MATH_INLINES): Likewise.
710         (CNCT): Likewise.
711         (CONCAT): Likewise.
712         (WRAPPER_NAME): Likewise.
713         (WRAPPER_DECL): Likewise.
714         (WRAPPER_DECL_ff): Likewise.
715         (WRAPPER_DECL_fFF): Likewise.
716         (VECTOR_WRAPPER): Likewise.
717         (VECTOR_WRAPPER_ff): Likewise.
718         (VECTOR_WRAPPER_fFF): Likewise.
719         (VEC_LEN): New macro.
720         * math/test-double-vlen4.h: Include test-double.h,
721         test-math-no-inline.h and test-math-vector.h.
722         (FLOAT): Remove macro.
723         (FUNC): Likewise.
724         (MATHCONST): Likewise.
725         (PRINTF_EXPR): Likewise.
726         (PRINTF_XEXPR): Likewise.
727         (PRINTF_NEXPR): Likewise.
728         (TEST_DOUBLE): Likewise.
729         (TEST_MATHVEC): Likewise.
730         (__NO_MATH_INLINES): Likewise.
731         (CNCT): Likewise.
732         (CONCAT): Likewise.
733         (WRAPPER_NAME): Likewise.
734         (WRAPPER_DECL): Likewise.
735         (WRAPPER_DECL_ff): Likewise.
736         (WRAPPER_DECL_fFF): Likewise.
737         (VECTOR_WRAPPER): Likewise.
738         (VECTOR_WRAPPER_ff): Likewise.
739         (VECTOR_WRAPPER_fFF): Likewise.
740         (VEC_LEN): New macro.
741         * math/test-double-vlen8.h: Include test-double.h,
742         test-math-no-inline.h and test-math-vector.h.
743         (FLOAT): Remove macro.
744         (FUNC): Likewise.
745         (MATHCONST): Likewise.
746         (PRINTF_EXPR): Likewise.
747         (PRINTF_XEXPR): Likewise.
748         (PRINTF_NEXPR): Likewise.
749         (TEST_DOUBLE): Likewise.
750         (TEST_MATHVEC): Likewise.
751         (__NO_MATH_INLINES): Likewise.
752         (CNCT): Likewise.
753         (CONCAT): Likewise.
754         (WRAPPER_NAME): Likewise.
755         (WRAPPER_DECL): Likewise.
756         (WRAPPER_DECL_ff): Likewise.
757         (WRAPPER_DECL_fFF): Likewise.
758         (VECTOR_WRAPPER): Likewise.
759         (VECTOR_WRAPPER_ff): Likewise.
760         (VECTOR_WRAPPER_fFF): Likewise.
761         (VEC_LEN): New macro.
762         * math/test-float-vlen4.h: Include test-float.h,
763         test-math-no-inline.h and test-math-vector.h.
764         (FLOAT): Remove macro.
765         (FUNC): Likewise.
766         (MATHCONST): Likewise.
767         (PRINTF_EXPR): Likewise.
768         (PRINTF_XEXPR): Likewise.
769         (PRINTF_NEXPR): Likewise.
770         (TEST_FLOAT): Likewise.
771         (TEST_MATHVEC): Likewise.
772         (__NO_MATH_INLINES): Likewise.
773         (CNCT): Likewise.
774         (CONCAT): Likewise.
775         (WRAPPER_NAME): Likewise.
776         (WRAPPER_DECL): Likewise.
777         (WRAPPER_DECL_ff): Likewise.
778         (WRAPPER_DECL_fFF): Likewise.
779         (VECTOR_WRAPPER): Likewise.
780         (VECTOR_WRAPPER_ff): Likewise.
781         (VECTOR_WRAPPER_fFF): Likewise.
782         (VEC_LEN): New macro.
783         * math/test-float-vlen8.h: Include test-float.h,
784         test-math-no-inline.h and test-math-vector.h.
785         (FLOAT): Remove macro.
786         (FUNC): Likewise.
787         (MATHCONST): Likewise.
788         (PRINTF_EXPR): Likewise.
789         (PRINTF_XEXPR): Likewise.
790         (PRINTF_NEXPR): Likewise.
791         (TEST_FLOAT): Likewise.
792         (TEST_MATHVEC): Likewise.
793         (__NO_MATH_INLINES): Likewise.
794         (CNCT): Likewise.
795         (CONCAT): Likewise.
796         (WRAPPER_NAME): Likewise.
797         (WRAPPER_DECL): Likewise.
798         (WRAPPER_DECL_ff): Likewise.
799         (WRAPPER_DECL_fFF): Likewise.
800         (VECTOR_WRAPPER): Likewise.
801         (VECTOR_WRAPPER_ff): Likewise.
802         (VECTOR_WRAPPER_fFF): Likewise.
803         (VEC_LEN): New macro.
804         * math/test-float-vlen16.h: Include test-float.h,
805         test-math-no-inline.h and test-math-vector.h.
806         (FLOAT): Remove macro.
807         (FUNC): Likewise.
808         (MATHCONST): Likewise.
809         (PRINTF_EXPR): Likewise.
810         (PRINTF_XEXPR): Likewise.
811         (PRINTF_NEXPR): Likewise.
812         (TEST_FLOAT): Likewise.
813         (TEST_MATHVEC): Likewise.
814         (__NO_MATH_INLINES): Likewise.
815         (CNCT): Likewise.
816         (CONCAT): Likewise.
817         (WRAPPER_NAME): Likewise.
818         (WRAPPER_DECL): Likewise.
819         (WRAPPER_DECL_ff): Likewise.
820         (WRAPPER_DECL_fFF): Likewise.
821         (VECTOR_WRAPPER): Likewise.
822         (VECTOR_WRAPPER_ff): Likewise.
823         (VECTOR_WRAPPER_fFF): Likewise.
824         (VEC_LEN): New macro.
825         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
826         test-vec-loop.h.
827         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
828         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
829         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
830         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
831         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
832         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
833         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
835 2015-06-24  Roland McGrath  <roland@hack.frob.com>
837         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
838         (__getlogin_r): ... this.
840 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
842         [BZ #18594]
843         * math/s_ccosh.c (__ccosh): Compare with least normal value
844         instead of comparing class with FP_SUBNORMAL.
845         * math/s_ccoshf.c (__ccoshf): Likewise.
846         * math/s_ccoshl.c (__ccoshl): Likewise.
847         * math/s_cexp.c (__cexp): Likewise.
848         * math/s_cexpf.c (__cexpf): Likewise.
849         * math/s_cexpl.c (__cexpl): Likewise.
850         * math/s_csin.c (__csin): Likewise.
851         * math/s_csinf.c (__csinf): Likewise.
852         * math/s_csinh.c (__csinh): Likewise.
853         * math/s_csinhf.c (__csinhf): Likewise.
854         * math/s_csinhl.c (__csinhl): Likewise.
855         * math/s_csinl.c (__csinl): Likewise.
856         * math/s_ctan.c (__ctan): Likewise.
857         * math/s_ctanf.c (__ctanf): Likewise.
858         * math/s_ctanh.c (__ctanh): Likewise.
859         * math/s_ctanhf.c (__ctanhf): Likewise.
860         * math/s_ctanhl.c (__ctanhl): Likewise.
861         * math/s_ctanl.c (__ctanl): Likewise.
862         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
863         csin, csinh, ctan and ctanh.
864         * math/auto-libm-test-out: Regenerated.
865         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
866         * sysdeps/i386/fpu/libm-test-ulps: Update.
867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
869 2015-06-24  Roland McGrath  <roland@hack.frob.com>
871         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
872         return value is wrong, print the expected value too.
874 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
876         [BZ #18585]
877         * elf/readlib.c (is_gdb_python_file): New.
878         (process_file): Don't issue errors on filenames with -gdb.py
879         suffix.
881 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
883         * math/auto-libm-test-in: Add more tests of csin and csinh.
884         * math/auto-libm-test-out: Regenerated.
885         * math/libm-test.inc (csin_test_data): Remove tests moved to
886         auto-libm-test-in.
887         (csinh_test_data): Likewise.
889         [BZ #18593]
890         * math/s_csin.c (__csin): Negate before rather than after possibly
891         overflowing multiplication.
892         * math/s_csinf.c (__csinf): Likewise.
893         * math/s_csinh.c (__csinh): Likewise.
894         * math/s_csinhf.c (__csinhf): Likewise.
895         * math/s_csinhl.c (__csinhl): Likewise.
896         * math/s_csinl.c (__csinl): Likewise.
897         * math/auto-libm-test-in: Add some tests of csin and csinh.
898         * math/auto-libm-test-out: Regenerated.
899         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
900         (csinh_test_data): Likewise.
901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
903         [BZ #18586]
904         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
905         underflow exception for small results.
907 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
909         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
910         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
911         variable and included header.
912         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
913         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
914         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
915         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
916         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
917         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
918         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
919         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
920         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
921         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
922         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
923         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
924         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
925         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
926         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
927         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
929 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
931         [BZ #16526]
932         [BZ #16538]
933         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
934         (__sin): Force underflow exception for arguments with small
935         absolute value.
936         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
937         (__kernel_sinf): Force underflow exception for arguments with
938         small absolute value.
939         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
940         (__kernel_sincosl): Force underflow exception for arguments with
941         small absolute value.
942         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
943         (__kernel_sinl): Force underflow exception for arguments with
944         small absolute value.
945         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
946         (__kernel_sincosl): Force underflow exception for arguments with
947         small absolute value.
948         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
949         (__kernel_sinl): Force underflow exception for arguments with
950         small absolute value.
951         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
952         (__kernel_sinl): Force underflow exception for arguments with
953         small absolute value.
954         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
955         (__kernel_sinf): Force underflow exception for arguments with
956         small absolute value.
957         * math/auto-libm-test-in: Add more tests of sin and sincos.
958         * math/auto-libm-test-out: Regenerated.
960         [BZ #18245]
961         [BZ #18583]
962         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
963         (__kernel_standard_l): Use feholdexcept and fesetenv around
964         conversion to double instead of special-casing overflow and
965         underflow.
966         * math/libm-test.inc (fmod_test_data): Add more tests.
967         (remainder_test_data): Likewise.
968         (sqrt_test_data): Likewise.
970 2015-06-23  Torvald Riegel  <triegel@redhat.com>
972         [BZ #17403]
973         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
974         atomic_read_barrier, atomic_write_barrier): Define.
975         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
976         atomic_read_barrier, atomic_write_barrier): Define.
978 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
980         * math/Makefile [$(PERL) != no]
981         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
982         dependency on libm-test.stmp below the inclusion of Rules.
984 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
986         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
987         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
988         and included header.
989         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
990         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
991         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
992         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
993         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
994         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
995         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
996         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
997         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
998         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
999         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1000         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1001         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1002         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1003         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1004         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1005         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1006         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1007         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1009 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1011         [BZ #18371]
1012         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1013         intermediate but not final result might underflow.
1014         * math/s_csqrtf.c (__csqrtf): Likewise.
1015         * math/s_csqrtl.c (__csqrtl): Likewise.
1016         * math/auto-libm-test-in: Add more tests of csqrt.
1017         * math/auto-libm-test-out: Regenerated.
1018         * sysdeps/i386/fpu/libm-test-ulps: Update.
1020         [BZ #18219]
1021         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1022         threshold on absolute value of exponent for which scaling is used.
1023         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1024         * math/auto-libm-test-in: Add more tests of exp2.
1025         * math/auto-libm-test-out: Regenerated.
1027 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1029         [BZ #17977]
1030         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1031         when initializing interface list, based on the bug analysis
1032         and the patch proposed by Eric Newton.
1033         * resolv/tst-res_hconf_reorder.c: New test.
1034         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1035         tst-res_hconf_reorder.
1036         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1037         and $(shared-thread-library).
1038         (tst-res_hconf_reorder-ENV): New variable.
1040         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1041         in comment.
1043 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1045         [BZ #16353]
1046         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1047         (__expm1): Force underflow exception for arguments with small
1048         absolute value.
1049         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1050         (__expm1f): Force underflow exception for arguments with small
1051         absolute value.
1052         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1053         (__expm1): Force underflow exception for arguments with small
1054         absolute value.
1055         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1056         (__expm1f): Force underflow exception for arguments with small
1057         absolute value.
1058         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1059         Check for small arguments before calling __expm1.
1060         * math/auto-libm-test-in: Do not mark underflow exceptions as
1061         possibly missing for bug 16353.
1062         * math/auto-libm-test-out: Regenerated.
1064 2015-06-22  Andreas Schwab  <schwab@suse.de>
1066         [BZ #18513]
1067         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1068         PTR queries.
1070 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1072         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1074         * string/strcoll_l.c: Remove unused struct element idxnow.
1076 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1078         [BZ #18569]
1079         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1080         underflow and return argument in case of subnormal argument.
1081         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1082         Likewise.
1083         * math/auto-libm-test-in: Add more tests of expm1.
1084         * math/auto-libm-test-out: Regenerated.
1086         [BZ #16361]
1087         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1088         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1089         tiny results.
1090         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1091         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1092         tiny results.
1093         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1094         mark underflow exceptions as possibly missing for bug 16361.
1095         * math/auto-libm-test-out: Regenerated.
1097 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1099         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1100         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1101         Remove variable.
1102         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1103         (test-xfail-XOPEN2K8/utmpx.h/conform).
1105         * conform/conformtest.pl ($xerrors): New variable.
1106         (note_error): New function.
1107         (compiletest): New argument $xfail.  Use not_error.
1108         (runtest): Likewise.
1109         (top level): Handle xfail- lines.  Update calls to compiletest and
1110         runtest.  Handle xfail- and optional- in headers listed with
1111         allow-header.
1112         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1113         (O_EXEC): Likewise.
1114         (O_SEARCH): Likewise.
1115         * conform/data/stropts.h-data (ioctl): Likewise.
1116         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1117         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1118         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1119         (msghdr.msg_controllen): Likewise.
1120         (cmsghdr.cmsg_len): Likewise.
1121         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1122         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1123         variable.
1124         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1125         (test-xfail-XPG4/stropts.h/conform): Likewise.
1126         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1127         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1128         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1129         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1130         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1131         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1132         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1133         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1134         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1135         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1136         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1137         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1138         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1139         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1140         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1141         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1142         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1143         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1144         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1146 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1148         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1149         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1150         definitions for proper unfolding of __MATHDECL_VEC.
1152 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1154         * benchtests/bench-strcoll.c:
1155         Include string.h.
1156         (main): Remove unused variable res.
1158 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1160         * timezone/Makefile (%/UTC %/Universal):
1161         Generate test-result files for UTC and Universal.
1163 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1165         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1167 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1169         [BZ #16350]
1170         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1171         for arguments with small absolute value.
1172         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1173         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1174         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1175         (__asinh): Force underflow exception for arguments with small
1176         absolute value.
1177         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1178         (__asinhf): Force underflow exception for arguments with small
1179         absolute value.
1180         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1181         (__asinhl): Force underflow exception for arguments with small
1182         absolute value.
1183         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1184         (__asinhl): Force underflow exception for arguments with small
1185         absolute value.
1186         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1187         (__asinhl): Force underflow exception for arguments with small
1188         absolute value.
1189         * math/auto-libm-test-in: Do not mark underflow exceptions as
1190         possibly missing for bug 16350.
1191         * math/auto-libm-test-out: Regenerated.
1193         * include/bits/ipc.h: Remove file.
1194         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1195         variable.
1196         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1197         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1198         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1199         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1200         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1201         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1202         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1203         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1204         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1206         * math/auto-libm-test-in: Remove spurious underflow allowance for
1207         tests of cexp.
1208         * math/auto-libm-test-out: Regenerated.
1210         [BZ #18558]
1211         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1212         unconditional definition.
1213         (MCAST_BLOCK_SOURCE): Likewise.
1214         (MCAST_UNBLOCK_SOURCE): Likewise.
1215         (MCAST_LEAVE_GROUP): Likewise.
1216         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1217         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1218         (MCAST_MSFILTER): Likewise.
1219         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1220         Remove variable.
1221         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1222         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1223         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1224         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1225         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1227 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1229         * NEWS: Mention addition of x86_64 vector sincosf.
1230         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1231         * math/test-float-vlen4.h: Likewise.
1232         * math/test-float-vlen8.h: Likewise.
1233         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1234         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1235         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1236         * sysdeps/x86_64/fpu/Versions: New versions added.
1237         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1238         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1239         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1240         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1241         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1242         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1243         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1244         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1245         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1246         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1247         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1248         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1249         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1250         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1251         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1252         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1253         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1254         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1255         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1256         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1257         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1258         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1259         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1260         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1262         * NEWS: Mention addition of x86_64 vector sincos.
1263         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1264         * math/math.h (__MATHDECL_VEC): New macro.
1265         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1266         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1267         declaration under condition.
1268         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1269         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1270         TEST_VEC_LOOP change.
1271         * math/test-double-vlen4.h: Likewise.
1272         * math/test-double-vlen8.h: Likewise.
1273         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1274         * math/test-float-vlen4.h: Likewise.
1275         * math/test-float-vlen8.h: Likewise.
1276         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1277         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1278         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1279         * sysdeps/x86_64/fpu/Versions: New versions added.
1280         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1281         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1282         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1283         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1284         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1285         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1286         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1287         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1288         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1289         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1290         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1291         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1292         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1293         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1294         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1295         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1296         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1297         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1298         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1299         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1300         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1301         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1302         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1303         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1305         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1306         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1307         redirections for powf.
1308         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1309         * sysdeps/x86_64/fpu/Versions: New versions added.
1310         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1311         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1312         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1313         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1314         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1315         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1316         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1317         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1318         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1319         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1320         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1321         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1322         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1323         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1324         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1325         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1326         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1327         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1328         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1329         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1330         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1331         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1332         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1333         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1334         * math/test-float-vlen16.h: Fixed 2 argument macro.
1335         * math/test-float-vlen4.h: Likewise.
1336         * math/test-float-vlen8.h: Likewise.
1337         * NEWS: Mention addition of x86_64 vector powf.
1339 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1341         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1342         and redefine.
1343         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1344         and redefine.
1345         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1346         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1347         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1349         [BZ #18553]
1350         * resource/getpriority.c (getpriority): Rename to __getpriority
1351         and define as weak alias of __getpriority.
1352         * resource/setpriority.c (setpriority): Rename to __setpriority
1353         and define as weak alias of __setpriority.
1354         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1355         __getpriority and define as weak alias of __getpriority.
1356         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1357         __setpriority and define as weak alias of __setpriority.
1358         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1359         strong name.
1360         (setpriority): Use __setpriority as strong name.
1361         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1362         __getpriority and define as weak alias of __getpriority.
1363         * include/sys/resource.h (__getpriority): Declare.  Use
1364         libc_hidden_proto.
1365         (__setpriority): Likewise.
1366         (getpriority): Don't use libc_hidden_proto.
1367         (setpriority): Likewise.
1368         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1369         getpriority.  Call __setpriority instead of setpriority.
1370         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1371         Remove variable.
1373         [BZ #18547]
1374         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1375         as weak alias of __getttynam.  Use prototype function definition.
1376         Call __setttyent, __getttyent and __endttyent instead of
1377         setttyent, getttyent and endttyent.
1378         (getttyent): Rename to __getttyent and define as weak alias of
1379         __getttyent.  Call __setttyent instead of setttyent.  Call
1380         __fgets_unlocked instead of fgets_unlocked.
1381         (setttyent): Rename to __setttyent and define as weak alias of
1382         __setttyent.
1383         (endttyent): Rename to __endttyent and define as weak alias of
1384         __endttyent.
1385         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1386         (__setttyent): Likewise.
1387         (__endttyent): Likewise.
1388         (getttyent): Don't use libc_hidden_proto.
1389         (setttyent): Likewise.
1390         (endttyent): Likewise.
1391         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1392         __endttyent instead of setttyent, getttyent and endttyent.
1393         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1394         Remove variable.
1396         [BZ #18546]
1397         * socket/recv.c (__recv): Use libc_hidden_def.
1398         * socket/socket.c (__socket): Likewise.
1399         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1400         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1401         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1402         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1403         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1404         libc_hidden_def.
1405         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1406         libc_hidden_weak.
1407         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1408         Use libc_hidden_proto.
1409         (__recv): Likewise.
1410         * socket/Versions (libc): Export __recv and __socket at version
1411         GLIBC_PRIVATE.
1412         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1413         instead of recv.
1414         (init_mq_netlink): Call __socket instead of socket.
1415         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1416         Remove variable.
1418         [BZ #18545]
1419         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1420         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1421         hidden_weak.
1422         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1423         define as alias of __mq_timedsend.  Use hidden_weak.
1424         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1425         __mq_timedsend as strong name.
1426         (mq_timedreceive): Use __mq_timedreceive as strong name.
1427         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1428         (__mq_timedreceive): Likewise.
1429         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1430         __mq_timedreceive instead of mq_timedreceive.
1431         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1432         instead of mq_timedsend.
1433         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1434         Remove variable.
1436         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1437         hidden_def and hidden_weak instead of libc_hidden_def and
1438         libc_hidden_weak.
1439         (top level): Refer to hidden_def in comment.
1440         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1441         macro.  Use it instead of libc_hidden_def.
1442         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1443         specify __GI_* name explicitly.
1444         (mq_timedreceive): Likewise.
1445         (mq_setattr): Likewise.
1447         [BZ #18544]
1448         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1449         __pthread_barrier_init and define as weak alias of
1450         __pthread_barrier_init.
1451         * sysdeps/sparc/nptl/pthread_barrier_init.c
1452         (pthread_barrier_init): Likewise.
1453         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1454         __pthread_barrier_wait and define as weak alias of
1455         __pthread_barrier_wait.
1456         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1457         (pthread_barrier_wait): Likewise.
1458         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1459         (pthread_barrier_wait): Likewise.
1460         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1461         (pthread_barrier_wait): Likewise.
1462         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1463         (pthread_barrier_wait): Likewise.
1464         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1465         __pthread_barrier_wait at version GLIBC_PRIVATE.
1466         * include/pthread.h (__pthread_barrier_init): Declare.
1467         (__pthread_barrier_wait): Likewise.
1468         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1469         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1470         (helper_thread): Likewise.
1471         (init_mq_netlink): Call __pthread_barrier_init instead of
1472         pthread_barrier_init.
1474         [BZ #18542]
1475         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1476         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1477         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1478         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1479         vswscanf.
1480         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1481         Remove variable.
1483         [BZ #18540]
1484         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1485         strong alias of _IO_fflush.  Use libc_hidden_def.
1486         * libio/iofflush_u.c (fflush_unlocked): Rename to
1487         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1488         Use libc_hidden_weak.
1489         * include/stdio.h (__fflush_unlocked): Declare.  Use
1490         libc_hidden_proto.
1491         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1492         fflush_unlocked.
1493         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1494         Remove variable.
1496         [BZ #18539]
1497         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1498         define as weak alias of __addseverity.
1499         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1500         Remove variable.
1501         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1502         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1503         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1505         [BZ #18536]
1506         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1507         (__tfind): Likewise.
1508         (__tdelete): Likewise.
1509         (__twalk): Likewise.
1510         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1511         __twalk to GLIBC_PRIVATE.
1512         * include/search.h (__tsearch): Use libc_hidden_proto.
1513         (__tfind): Likewise.
1514         (__tdelete): Likewise.
1515         (__twalk): Likewise.
1516         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1517         Call __tdelete instead of tdelete.
1518         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1519         tfind.  Call __tsearch instead of tsearch.
1520         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1521         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1522         Remove variable.
1523         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1525         [BZ #18534]
1526         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1527         (dprintf): Define as a weak alias of __dprintf, not a strong
1528         alias.
1529         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
1530         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1531         dprintf.
1532         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1533         Remove variable.
1534         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1535         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1537         [BZ #18533]
1538         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1539         not a strong alias.
1540         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1541         Remove variable.
1543         [BZ #18532]
1544         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1545         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1546         (in6addr_loopback): Rename to __in6addr_loopback and define as
1547         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1548         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1549         libc_hidden_proto.
1550         (__in6addr_any): Likewise.
1551         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1552         in6addr_any.
1553         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1554         variable.
1555         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1557 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1559         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1560         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1561         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1562         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1563         redirections for pow.
1564         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1565         * sysdeps/x86_64/fpu/Versions: New versions added.
1566         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1567         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1568         build of SSE, AVX2 and AVX512 IFUNC versions.
1569         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1570         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1571         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1572         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1573         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1574         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1575         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1576         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1577         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1578         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1579         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1580         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1581         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1582         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1583         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1584         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1585         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1586         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1587         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1588         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1589         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1590         * NEWS: Mention addition of x86_64 vector pow.
1592         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1593         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1594         redirections for expf.
1595         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1596         * sysdeps/x86_64/fpu/Versions: New versions added.
1597         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1598         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1599         build of SSE, AVX2 and AVX512 IFUNC versions.
1600         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1601         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1602         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1603         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1604         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1605         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1606         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1607         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1608         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1609         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1610         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1611         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1612         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1613         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1614         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1615         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1616         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1617         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1618         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1619         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1620         * NEWS: Mention addition of x86_64 vector expf.
1622         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1623         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1624         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1625         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1626         redirections for exp.
1627         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1628         * sysdeps/x86_64/fpu/Versions: New versions added.
1629         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1630         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1631         build of SSE, AVX2 and AVX512 IFUNC versions.
1632         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1633         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1634         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1635         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1636         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1637         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1638         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1639         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1640         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1641         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1642         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1643         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1644         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1645         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1646         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1647         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1648         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1649         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1650         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1651         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1652         * NEWS: Mention addition of x86_64 vector exp.
1654         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1655         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1656         redirections for logf.
1657         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1658         * sysdeps/x86_64/fpu/Versions: New versions added.
1659         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1660         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1661         build of SSE, AVX2 and AVX512 IFUNC versions.
1662         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1663         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1664         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1665         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1666         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1667         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1668         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1669         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1670         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1671         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1672         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1673         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1674         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1675         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1676         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1677         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1678         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1679         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1680         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1681         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1682         * NEWS: Mention addition of x86_64 vector logf.
1684         * bits/libm-simd-decl-stubs.h: Added stubs for log.
1685         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1686         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1687         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1688         redirections for log.
1689         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1690         * sysdeps/x86_64/fpu/Versions: New versions added.
1691         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1692         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1693         build of SSE, AVX2 and AVX512 IFUNC versions.
1694         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1695         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1696         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1697         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1698         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1699         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1700         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1701         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1702         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1703         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1704         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1705         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1706         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1707         test.
1708         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1709         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1710         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1711         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1712         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1713         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1714         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1715         * NEWS: Mention addition of x86_64 vector log.
1717 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1719         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1720         cfi_adjust_cfa_offset argument.
1721         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1722         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1724         [BZ #18034]
1725         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1726         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1727         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1728         ordering using ldar.
1729         (_dl_tlsdesc_dynamic): Likewise.
1730         (_dl_tlsdesc_return_lazy): Likewise.
1731         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1732         relaxed atomics instead of volatile and synchronize with release store.
1733         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1734         volatile.
1735         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1737 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
1739         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1740         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1741         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1742         * sysdeps/x86_64/fpu/Versions: New versions added.
1743         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1744         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1745         build of SSE, AVX2 and AVX512 IFUNC versions.
1746         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1747         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1748         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1749         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1750         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1751         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1752         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1753         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1754         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1755         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1756         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1757         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1758         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1759         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1760         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1761         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1762         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1763         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1764         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1765         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1766         * NEWS: Mention addition of x86_64 vector sinf.
1768 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
1770         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1771         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1772         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1773         Remove variable.
1774         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1775         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1777 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1779         [BZ #18530]
1780         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1781         strong alias of _IO_fputs.  Use libc_hidden_def.
1782         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1783         and define as weak alias of __fputs_unlocked.  Use
1784         libc_hidden_weak.
1785         * include/stdio.h (__fputs_unlocked): Declare.  Use
1786         libc_hidden_proto.
1787         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1788         fputs_unlocked.
1790         [BZ #18529]
1791         * resolv/netdb.h [__USE_POSIX]: Change condition to
1792         [__USE_XOPEN2K].
1793         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1794         not expect.
1795         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1796         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1797         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1798         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1799         [XPG4 || UNIX98] (AI_ALL): Likewise.
1800         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1801         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1802         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1803         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1804         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1805         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1806         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1807         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1808         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1809         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1810         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1811         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1812         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1813         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1814         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1815         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1816         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1817         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1818         [XPG4 || UNIX98] (gai_strerror): Likewise.
1819         [XPG4 || UNIX98] (getaddrinfo): Likewise.
1820         [XPG4 || UNIX98] (getnameinfo): Likewise.
1822         [BZ #18528]
1823         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1824         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1825         __USE_XOPEN2K8].
1826         (getgrent): Likewise.
1827         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1828         expect.
1829         [XPG3 || POSIX2008] (endgrent): Likewise.
1830         [XPG3] (setgrent): Likewise.
1831         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1832         variable.
1833         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1835         [BZ #18527]
1836         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1837         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
1838         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1839         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1840         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1841         * include/unistd.h (__getlogin_r): Declare.  Use
1842         libc_hidden_proto.
1843         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1844         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1845         variable.
1846         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1847         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1848         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1850 2015-06-12  Martin Sebor  <msebor@redhat.com>
1852         [BZ #18512]
1853         * Makerules (check-install-supported): New target.
1854         (install): Add check-install-supported as a dependency.
1855         * manual/install.texi (Installing the C Library): Document
1856         that overriding prefix and exec_prefix is not supported.
1857         Mention DESTDIR.
1858         * INSTALL: Regenerate from the above.
1860 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1862         [BZ #18519]
1863         * posix/Versions (libc): Export __libc_pread at version
1864         GLIBC_PRIVATE.
1865         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1866         instead of pread.
1867         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1868         variable.
1870         [BZ #18522]
1871         * misc/efgcvt_r.c
1872         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1873         (cvt_symbol): Use weak_alias instead of strong_alias.
1874         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1875         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1876         Remove variable.
1877         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1878         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1880         [BZ #18520]
1881         * inet/herrno.c (h_errno): Rename to __h_errno.
1882         (__libc_h_errno): Define as alias of __h_errno not h_errno.
1883         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1884         to __h_errno instead of h_errno.
1885         * nptl/herrno.c (h_errno): Rename to __h_errno.
1886         (__h_errno_location): Refer to __h_errno not h_errno.
1887         * resolv/Versions (h_errno): Rename to __h_errno.
1888         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1889         Remove variable.
1890         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1892 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
1894         * configure.ac: More strict check for AVX512 assembler support.
1895         * configure: Regenerated.
1897         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1898         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1899         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1900         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1901         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1902         * sysdeps/x86_64/fpu/Versions: New versions added.
1903         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1904         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1905         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1906         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1907         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1908         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1909         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1910         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1911         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1912         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1913         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1914         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1915         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1916         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1917         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1918         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1919         test.
1920         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1921         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1922         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1923         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1924         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1925         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1926         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1927         * NEWS: Mention addition of x86_64 vector sin.
1929 2015-06-11  Florian Weimer  <fweimer@redhat.com>
1931         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1932         comment.
1934 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1936         [BZ #18479]
1937         * nptl/pt-interp.c: New file.
1938         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1939         Add pt-interp.
1940         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1941         $(common-objpfx)runtime-linker.h.
1943 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
1945         * Makeconfig (+interp): Remove unused variable.
1946         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1947         only.  Depend on $(common-objpfx)runtime-linker.h instead of
1948         $(elf-objpfx)runtime-linker.h.
1949         ($(elf-objpfx)runtime-linker.h): Rename to
1950         $(common-objpfx)runtime-linker.h and move ...
1951         * Makerules [$(build-shared) = yes]: ... here.
1952         * elf/interp.c: Include <runtime-linker.h> instead of
1953         <elf/runtime-linker.h>.
1955 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1957         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1958         (__gettimeofday_syscall): Remove vsyscall fallback.
1959         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1960         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1961         Add syscall fallback function.
1962         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1963         if vDSO is not present.
1964         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1965         fallback function.
1966         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1967         present.
1968         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1969         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1971 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
1973         [BZ #18497]
1974         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1975         of wcscmp.
1976         (wcscmp): Define as weak alias of WCSCMP.
1977         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1978         wcscoll.
1979         (USE_HIDDEN_DEF): Define.
1980         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1981         __wcscoll.  Don't use libc_hidden_weak.
1982         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1983         wcscmp.
1984         * sysdeps/i386/i686/multiarch/wcscmp-c.c
1985         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1986         __GI_wcscmp.
1987         (weak_alias): Undefine and redefine.
1988         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1989         __wcscmp and define as weak alias of __wcscmp.
1990         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1991         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
1992         (__wcscoll): Likewise.
1993         (wcscmp): Don't use libc_hidden_proto.
1994         (wcscoll): Likewise.
1995         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1996         wcscoll.
1997         * posix/regexec.c (check_node_accept_bytes): Likewise.
1998         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1999         variable.
2000         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2001         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2003         [BZ #18507]
2004         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2005         __fstatvfs and define as weak alias of __fstatvfs.  Use
2006         libc_hidden_weak.
2007         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2008         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2009         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2010         Define as alias of __fstatvfs, not fstatvfs.
2011         (fstatvfs64): Likewise.
2012         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2013         Define as alias of __statvfs, not statvfs.
2014         (statvfs64): Likewise.
2015         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2016         Remove variable.
2018 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2021         (HAVE_GETCPU_VSYSCALL): Define.
2022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2023         (HAVE_GETCPU_VSYSCALL): Likewise.
2024         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2025         * sysdeps/unix/sysv/linux/sched_getcpu.c
2026         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2027         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2028         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2029         prototype.
2030         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2031         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2032         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2034         Define.
2035         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2036         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2037         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2038         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2040 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2042         * sysdeps/x86_64/fpu/Makefile: New file.
2043         * sysdeps/x86_64/fpu/Versions: New file.
2044         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2045         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2046         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2047         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2048         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2049         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2050         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2051         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2052         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2053         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2054         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2055         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2056         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2057         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2058         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2059         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2060         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2061         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2062         * sysdeps/x86_64/configure: Regenerated.
2063         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2064         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2065         * manual/install.texi (Configuring and compiling): Document
2066         --disable-mathvec.
2067         * INSTALL: Regenerated.
2068         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2070         * math/Makefile: Added rules for vector tests.
2071         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2072         declaration under condition.
2073         * math/test-double-vlen2.h: New file.
2074         * math/test-double-vlen4.h: New file.
2075         * math/test-double-vlen8.h: New file.
2076         * math/test-vec-loop.h: Added initialization macro.
2077         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2078         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2079         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2080         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2081         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2082         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2083         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2084         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2085         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2086         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2087         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2089         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2090         * sysdeps/x86_64/fpu/Versions: New versions added.
2091         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2092         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2093         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2094         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2095         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2096         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2097         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2098         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2099         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2100         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2101         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2102         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2103         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2104         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2105         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2106         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2107         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2108         * NEWS: Mention addition of x86_64 vector cosf.
2110         * math/Makefile: Added CFLAGS for new tests.
2111         * math/test-float-vlen16.h: New file.
2112         * math/test-float-vlen4.h: New file.
2113         * math/test-float-vlen8.h: New file.
2114         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2115         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2116         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2117         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2118         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2119         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2120         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2121         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2122         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2123         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2124         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2126 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2128         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2129         * locale/programs/ld-ctype.c: Likewise.
2131 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2133         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2134         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2135         bit_ZMM16_31_state): New macro.
2136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2137         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2139 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2141         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2143 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2145         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2147 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2149         [BZ #18498]
2150         * libio/memstream.c (open_memstream): Rename to __open_memstream
2151         and define as weak alias of __open_memstream.
2152         * include/stdio.h (__open_memstream): Declare.  Use
2153         libc_hidden_proto.
2154         (open_memstream): Don't use libc_hidden_proto.
2155         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2156         open_memstream.
2157         * posix/getopt.c (_getopt_internal_r): Likewise.
2158         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2159         variable.
2160         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2161         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2162         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2164         [BZ #18496]
2165         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2166         instead of wcrtomb.
2168         [BZ #18483]
2169         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2170         [__USE_XOPEN2K8].  Remove redundant #endif.
2171         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2172         Remove redundant #if.
2173         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2174         Remove variable.
2175         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2176         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2178         [BZ #18495]
2179         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2180         (__iswlower): Likewise.
2181         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2182         (__iswlower): Likewise.
2183         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2184         instead of towlower.
2185         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2186         instead of iswlower.  Call __towupper instead of towupper.
2187         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2188         instead of iswalnum.
2190 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2192         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2193         errors to stderr.
2195 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2197         [BZ #15661]
2198         [BZ #17322]
2199         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2200         Check for overflow properly.  Check for O_APPEND.  Ignore large
2201         file system block sizes.  Add comments about problems.
2202         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2203         * manual/filesys.texi (Storage Allocation): New node.
2205 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2207         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2208         cancellable syscalls.
2209         (SYS_ify): Add guard to no redefine it.
2210         (INLINE_SYSCALL): Likewise.
2211         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2212         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2213         SYSCALL_CANCEL instead.
2214         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2215         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2216         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2217         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2218         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2219         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2220         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2221         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2222         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2223         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2224         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2225         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2226         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2227         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2228         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2229         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2230         Likewise.
2231         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2232         (__libc_pread64): Likewise.
2233         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2234         (__libc_preadv): Likewise.
2235         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2236         (__libc_readv64): Likewise.
2237         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2238         (__libc_pwrite): Likewise.
2239         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2240         (__libc_pwrite64): Likewise.
2241         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2242         (__libc_pwritev): Likewise.
2243         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2244         (__libc_pwritev64): Likewise.
2245         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2246         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2247         (sync_file_range): Likewise.
2248         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2249         Likewise.
2250         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2251         Likewise.
2252         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2253         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2254         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2255         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2256         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2257         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2258         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2259         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2261         Likewise.
2262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2263         (__libc_read64): Likewise.
2264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2265         Likewise.
2266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2267         Likewise.
2268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2269         Likewise.
2270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2271         Likewise.
2272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2273         (__libc_pread64): Likewise.
2274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2275         Likewise.
2276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2277         (__libc_pwrite64): Likewise.
2278         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2279         (sync_file_range): Likewise.
2280         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2281         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2282         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2283         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2284         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2285         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2286         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2287         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2288         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2289         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2290         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2291         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2292         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2293         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2294         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2295         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2296         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2297         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2298         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2299         Likewise.
2300         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2301         Likewise.
2302         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2303         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2304         Likewise.
2305         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2306         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2307         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2308         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2309         Likewise.
2310         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2311         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2312         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2313         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2314         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2316 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2318         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2319         Include dl-vdso.
2320         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2321         Use VDSO routines for gettimeofday, clock_gettime if
2322         available.
2323         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2324         Declare VDSO symbols.
2325         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2326         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2327         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2328         * sysdeps/unix/sysv/linux/arm/Versions: Add
2329         __vdso_clock_gettime.
2331 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2333         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2334         be an inline implementation regardless of library is built within.
2335         (open_not_cancel_2): Likewise.
2336         (__read_nocancel): Likewise.
2337         (__write_nocancel): Likewise.
2338         (openat_not_cancel): Likewise.
2339         (openat_not_cancel_3): Likewise.
2340         (openat64_not_cancel): Likewise.
2341         (openat64_not_cancel_3): Likewise.
2342         (__close_nocancel): Likewise.
2343         (pause_not_cancel): Likewise.
2344         (nanosleep_not_cancel): Likewise.
2345         (sigsuspend_not_cancel): Likewise.
2347 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2349         [BZ #14958]
2350         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2351         wake-up.
2352         (__pthread_rwlock_rdlock_slow): Likewise.
2353         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2354         Likewise.
2355         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2356         Likewise.
2357         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2358         * nptl/tst-rwlock16.c: New file.
2359         * nptl/Makefile (tests): Add new test.
2361 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2363         [BZ #18324]
2364         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2365         missing wake-up of readers.
2366         * nptl/tst-rwlock15.c: New file.
2367         * nptl/Makefile (tests): Add new test.
2369 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2371         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2372         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2373         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2374         and __nacl_supply_interface_rtld.
2375         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2376         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2377         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2378         Add __nacl_supply_interface_rtld.
2379         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2381 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2383         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2384         isfinite.
2385         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2386         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2388 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2390         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2391         __signbit* with standard C99 macros.
2392         * math/e_exp10l.c: Likewise.
2393         * math/e_exp2l.c: Likewise.
2394         * math/e_scalb.c: Likewise.
2395         * math/e_scalbf.c: Likewise.
2396         * math/e_scalbl.c: Likewise.
2397         * math/s_ldexp.c: Likewise.
2398         * math/s_ldexpf.c: Likewise.
2399         * math/s_ldexpl.c: Likewise.
2400         * math/w_atan2.c: Likewise.
2401         * math/w_atan2f.c: Likewise.
2402         * math/w_atan2l.c: Likewise.
2403         * math/w_cosh.c: Likewise.
2404         * math/w_coshf.c: Likewise.
2405         * math/w_coshl.c: Likewise.
2406         * math/w_exp10.c: Likewise.
2407         * math/w_exp10f.c: Likewise.
2408         * math/w_exp10l.c: Likewise.
2409         * math/w_exp2.c: Likewise.
2410         * math/w_exp2f.c: Likewise.
2411         * math/w_exp2l.c: Likewise.
2412         * math/w_fmod.c: Likewise.
2413         * math/w_fmodf.c: Likewise.
2414         * math/w_fmodl.c: Likewise.
2415         * math/w_hypot.c: Likewise.
2416         * math/w_hypotf.c: Likewise.
2417         * math/w_hypotl.c: Likewise.
2418         * math/w_jnl.c: Likewise.
2419         * math/w_lgamma.c: Likewise.
2420         * math/w_lgamma_r.c: Likewise.
2421         * math/w_lgammaf.c: Likewise.
2422         * math/w_lgammaf_r.c: Likewise.
2423         * math/w_lgammal.c: Likewise.
2424         * math/w_lgammal_r.c: Likewise.
2425         * math/w_pow.c: Likewise.
2426         * math/w_powf.c: Likewise.
2427         * math/w_powl.c: Likewise.
2428         * math/w_remainder.c: Likewise.
2429         * math/w_remainderf.c: Likewise.
2430         * math/w_remainderl.c: Likewise.
2431         * math/w_scalb.c: Likewise.
2432         * math/w_scalbf.c: Likewise.
2433         * math/w_scalbl.c: Likewise.
2434         * math/w_scalbln.c: Likewise.
2435         * math/w_scalblnf.c: Likewise.
2436         * math/w_scalblnl.c: Likewise.
2437         * math/w_sinh.c: Likewise.
2438         * math/w_sinhf.c: Likewise.
2439         * math/w_sinhl.c: Likewise.
2440         * math/w_tgamma.c: Likewise.
2441         * math/w_tgammaf.c: Likewise.
2442         * math/w_tgammal.c: Likewise.
2443         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2444         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2445         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2446         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2447         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2448         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2449         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2450         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2451         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2452         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2453         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2454         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2455         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2456         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2457         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2458         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2459         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2460         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2461         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2462         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2463         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2464         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2465         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2466         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2467         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2468         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2469         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2470         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2471         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2472         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2473         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2474         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2475         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2476         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2477         * stdio-common/printf_fp.c: Likewise.
2478         * stdio-common/printf_fphex.c: Likewise.
2479         * stdio-common/printf_size.c: Likewise.
2481 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2483         [BZ #18470]
2484         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2485         strnlen.
2486         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2487         Remove variable.
2488         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2489         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2490         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2491         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2492         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2493         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2494         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2495         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2496         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2497         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2499         [BZ #18468]
2500         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2501         weak alias of __wmemchr.  Use libc_hidden_weak.
2502         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2503         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2504         instead of wmemchr.
2506 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2508         [BZ #18383]
2509         * elf/tst-tlsalign-extern.c: New file.
2510         * elf/tst-tlsalign-extern-static.c: New file.
2511         * elf/tst-tlsalign-vars.c: New file.
2512         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2513         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2514         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2515         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2516         (test-xfail-tst-tlsalign-extern-static): New variable.
2518 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2520         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2521         Use variable name _sc_err instead of err.
2522         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2523         instead of ret.
2524         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2525         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2526         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2527         (INLINE_SYSCALL): Likewise.
2529         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2530         * include/string.h (__strnlen): Use libc_hidden_proto.
2531         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2532         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2533         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2534         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2535         (libc_hidden_def): Undefine and redefine.
2536         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2537         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2538         __GI_strnlen.
2539         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2540         libc_hidden_def.
2541         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2543         [BZ #18469]
2544         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2545         weak alias of __towlower.  Use libc_hidden_weak.
2546         (towupper): Rename to __towupper and define as weak alias of
2547         __towupper.  Use libc_hidden_weak.
2548         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2549         (__towupper): Likewise.
2550         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2551         __towlower instead of towlower.
2553 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2555         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2556         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2558 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2560         * sysdeps/aarch64/libm-test-ulps: Update.
2562 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2564         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2565         Define.
2566         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2567         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2568         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2569         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2570         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2571         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2572         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2574 2015-06-01  Martin Sebor  <msebor@redhat.com>
2576         [BZ #18116]
2577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2578         (__setcontext): Use extended four-operand version of mtsf whenever
2579         possible.
2580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2581         (__novec_swapcontext): Likewise.
2583 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2585         * benchtests/scripts/compare_bench.py: New file.
2586         * benchtests/scripts/import_bench.py (mean): New function.
2587         (split_list): Likewise.
2588         (do_for_all_timings): Likewise.
2589         (compress_timings): Likewise.
2591         * benchtests/scripts/import_bench.py: New file.
2592         * benchtests/scripts/validate_benchout.py: Import import_bench
2593         instead of jsonschema.
2594         (validate_bench): Remove function.
2595         (main): Use import_bench.
2597 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2599         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2600         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2602 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2606 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2608         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2609         set THREAD_SELF->tid to a magic value and futex-wake it.
2610         Pass its address to the thread_exit system call.
2611         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2612         bit is clear.
2613         * sysdeps/nacl/lowlevellock.h: New file.
2614         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2616         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2617         Add TIMEOUT to current time, don't subtract it.
2619 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2621         [BZ #18422]
2622         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2623         ($(objpfx)tst-audit2.out): Also depend on
2624         $(objpfx)tst-auditmod9b.so.
2625         * elf/tst-audit2.c: Include <dlfcn.h>.
2626         (calloc_called): New.
2627         (calloc): Allow to be called more than once.
2628         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2630 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2632         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2633         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2635 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2637         * stdlib/monetary.h: Fix comment.
2639 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2641         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2642         Avoid using variables in #defines that might cause shadowing.
2643         (INTERNAL_VSYSCALL_CALL): Likewise.
2645 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2647         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2649         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2650         * nptl/lll_timedlock_wait.c: ... to this new file.
2651         * nptl/Makefile (libpthread-routines): Add it.
2652         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2653         * nptl/lll_timedwait_tid.c: ... to this new file.
2654         * nptl/Makefile (libpthread-routines): Add it.
2655         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2656         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2657         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2658         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2659         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2660         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2661         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2662         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2663         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2664         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2666 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2668         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2669         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2670         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2671         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2672         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2673         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2674         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2675         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2676         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2677         * sysdeps/unix/sysv/linux/tile/sysdep.h
2678         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2679         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2680         using vDSO syscall macro.
2682 2015-05-26  Andriy Rysin  <arysin@gmail.com>
2684         [BZ #17293]
2685         * uk_UA: Fix sorting order for Ukrainian locale
2687 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
2689         * stdlib/monetary.h: Fix comment.
2691 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2693         [BZ #18234]
2694         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2695         st_mtim and st_ctim members.
2696         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2697         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2698         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2699         (struct stat64): Likewise.
2700         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2701         (struct stat64): Likewise.
2702         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2703         (struct stat64): Likewise.
2705 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2707         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2708         Define and include sysdep-vdso.h.
2709         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2710         Likewise.
2711         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2712         Likewise.
2713         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2714         Define with VDSO_SYMBOL and use PTR_MANGLE.
2715         (__vdso_clock_gettime): Likewise.
2716         (__vdso_clock_getres): Likewise.
2717         (_libc_vdso_platform_setup): Likewise.
2718         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2719         Likewise.
2720         (_libc_vdso_platform_setup): Likewise.
2721         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2722         Likewise.
2723         (__vdso_clock_gettime): Likewise.
2724         (__vdso_clock_getres): Likewise.
2725         (__vdso_get_tbfreq): Likewise.
2726         (__vdso_getcpu): Likewise.
2727         (__vdso_time): Likewise.
2728         (__vdso_sigtramp_rt64): Likewise.
2729         (__vdso_signtramp32): Likewise.
2730         (__vdso_sigtramp_rt32): Likewise.
2731         (_libc_vdso_platform_setup): Likewise.
2732         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2733         Likewise.
2734         (__vdso_clock_gettime): Likewise.
2735         (__vdso_clock_getres): Likewise.
2736         (_libc_vdso_platform_setup): Likewise.
2737         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2738         Likewise.
2739         (__vdso_clock_gettime): Likewise.
2740         (_libc_vdso_platform_setup): Likewise.
2741         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2742         Likewise.
2743         (__vdso_getcpu): Likewise.
2744         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2745         Use VDSO_SYMBOL macro to define.
2746         (__vdso_clock_gettime): Likewise.
2747         (__vdso_clock_getres): Likewise.
2748         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2749         Likewise.
2750         (__vdso_clock_gettime): Likewise.
2751         (__vdso_clock_getres): Likewise.
2752         (__vdso_get_tbfreq): Likewise.
2753         (__vdso_getcpu): Likewise.
2754         (__vdso_time): Likewise.
2755         (__vdso_sigtramp_rt64): Likewise.
2756         (__vdso_signtramp32): Likewise.
2757         (__vdso_sigtramp_rt32): Likewise.
2758         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2759         Likewise.
2760         (__vdso_clock_gettime): Likewise.
2761         (__vdso_clock_getres): Likewise.
2762         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2763         Likewise.
2764         (__vdso_clock_gettime): Likewise.
2765         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2766         Likewise.
2767         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
2768         macro.
2769         (INTERNAL_VSYSCALL): Likewise.
2770         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2771         Remove macro.
2772         (INTERNAL_VSYSCALL): Likewise.
2773         (INTERNAL_VSYSCALL_NCS): Likewise.
2774         (INTERNAL_VSYSCALL_CALL): New macro.
2775         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2776         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2777         Likewise.
2778         (INTERNAL_VSYSCALL): Likewise.
2779         (INTERNAL_VSYSCALL_NCS): Likewise.
2780         (INTERNAL_VSYSCALL_CALL): New macro.
2781         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2783         (INLINE_VSYSCALL): Remove macro.
2784         (INTERNAL_VSYSCALL): Remove macro.
2785         (INTERNAL_VSYSCALL_NCS): Remove macro.
2786         (INTERNAL_VSYSCALL_CALL): New macro.
2787         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2788         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2789         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2790         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2791         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2793         (INLINE_VSYSCALL): Remove macro.
2794         (INTERNAL_VSYSCALL): Likewise.
2795         (INTERNAL_VSYSCALL_NCS): Likewise.
2796         (INTERNAL_VSYSCALL_CALL): New macro.
2797         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2798         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2799         PTR_DEMANGLE on vDSO pointer.
2800         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2801         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2802         macro.
2803         (INTERNAL_SYSCALL): Likewise.
2804         (INTERNAL_VSYSCALL_NCS): Remove macro.
2805         (INTERNAL_VSYSCALL_CALL): New macro.
2806         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2807         Remove macro.
2808         (INTERNAL_VSYSCALL): Likewise.
2809         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2810         sysdep-vdso.h instead of libc-vdso.h.
2811         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2812         definition.
2813         (INLINE_VSYSCALL): Likewise.
2814         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2815         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2816         definition.
2817         (INLINE_VSYSCALL): Likewise.
2818         (INTERNAL_VSYSCALL): Likewise.
2819         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2820         * sysdeps/unix/sysv/linux/timespec_get.c
2821         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2822         (timespec_get): Use ANSI prototype.
2823         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2824         and definition for Linux.
2826 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2828         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2829         * include/libc-symbols.h: libmvec_hidden_* macro series added.
2831 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2833         [BZ #18410]
2834         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2835         for missing DT_PLTRELSZ.
2837 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
2839         Remove obsolete aliases that broke 'locale -a'
2840         [BZ #18412]
2841         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2842         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2843         breaking some applications that use 'locale -a' output.
2844         Change the encoding of this file from Latin-1 to ASCII to avoid
2845         other potential problems with people grepping this file.
2847 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2849         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2850         -fasynchronous-unwind-tables.
2851         (CFLAGS-sendto.c): Likewise.
2852         (CFLAGS-sendmsg.c): Likewise.
2853         (CFLAGS-connect.c): Likewise.
2854         (CFLAGS-recvmsg.c): Likewise.
2855         (CFLAGS-recvfrom.c): Likewise.
2856         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2857         (SOCKETCALL): New macro: non-cancellable socketcall.
2858         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2859         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2860         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2861         * sysdeps/unix/sysv/linux/accept.c: New file.
2862         * sysdeps/unix/sysv/linux/bind.c: Likewise.
2863         * sysdeps/unix/sysv/linux/connect.c: Likewise.
2864         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2865         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2866         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2867         * sysdeps/unix/sysv/linux/listen.c: Likewise.
2868         * sysdeps/unix/sysv/linux/recv.c: Likewise.
2869         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2870         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2871         * sysdeps/unix/sysv/linux/send.c: Likewise.
2872         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2873         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2874         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2875         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2876         * sysdeps/unix/sysv/linux/socket.c: Likewise.
2877         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2878         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2879         prototype.
2880         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2881         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2882         instead of __internal_xxx function.
2883         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2884         prototype.
2885         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2886         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2887         instead of __internal_xxx function.
2888         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2889         prototype.
2890         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2891         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2892         instead of __internal_xxx function.
2893         * sysdeps/unix/sysv/linux/accept.S: Remove file.
2894         * sysdeps/unix/sysv/linux/bind.S: Likewise.
2895         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2896         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2897         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2898         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2899         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2900         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2901         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2902         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2903         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2904         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2905         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2906         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2907         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2908         * sysdeps/unix/sysv/linux/listen.S: Likewise.
2909         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2910         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2911         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2912         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2915         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2916         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2917         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2918         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2919         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2920         * sysdeps/unix/sysv/linux/send.S: Likewise.
2921         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2922         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2923         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2924         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2925         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2926         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2927         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2928         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2929         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2930         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2931         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2932         socketcall is implemented in GLIBC.
2934 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2936         * soft-fp/fmadf4.c: Include <libc-internal.h>.
2937         (__fma): Ignore uninitialized warnings around packing.
2938         * soft-fp/fmasf4.c: Include <libc-internal.h>.
2939         (__fmaf): Ignore uninitialized warnings around packing.
2940         * soft-fp/fmatf4.c: Include <libc-internal.h>.
2941         (__fmal): Ignore uninitialized warnings around packing.
2943         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2944         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2945         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2946         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2948         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2949         switch statement into default case.
2950         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2952         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2953         a conditional in forcing "inexact".
2954         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2955         Likewise.
2957 2015-05-22  Roland McGrath  <roland@hack.frob.com>
2959         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2960         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2961         for each INTERNAL_SYSCALL use.
2963 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2965         [BZ #438]
2966         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2967         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2968         variable.
2970         [BZ #18444]
2971         * string/basename.c (basename): Rename to __basename and define as
2972         weak alias of __basename.  Use libc_hidden_weak.
2973         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
2974         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2975         __basename instead of basename.
2976         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2977         Remove variable.
2978         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2980 2015-05-18  Florian Weimer  <fweimer@redhat.com>
2982         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2983         (_IO_JUMPS_FILE_plus): New.
2984         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2985         _IO_CAST_FIELD_ACCESS.
2986         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2987         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2988         * libio/freopen.c (freopen): Likewise.
2989         * libio/freopen64.c (freopen64): Likewise.
2990         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2991         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2992         * libio/iofwide.c (_IO_fwide): Likewise.
2993         * libio/memstream.c (open_memstream): Likewise.
2994         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2995         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2996         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2998 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3000         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3001         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3002         NADJ.
3003         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3004         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3005         NADJ.
3006         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3007         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3008         NADJ.
3010         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3011         (p == 4) case.
3013         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3014         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3015         Remove variable.
3016         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3017         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3018         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3020 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3022         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3023         Adjust jump table label generation macros.
3025 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3027         * stdio-common/vfprintf.c (vfprintf): Move local variables
3028         args_malloced, specs, specs_malloced, and the code after
3029         do_positional to the printf_positional function.
3030         (printf_positional): New function.
3032 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3034         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3035         function.
3036         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3037         STEP4_TABLE, process_arg): Move macro definitions
3038         out of the vfprintf function.  (Cosmetic change only.)
3040 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3042         * benchtests/Makefile (stdio-common-bench): Define.
3043         (benchset): Add stdio-common-bench.
3044         * sprintf-inputs: New file.
3045         * sprintf-source.c: New file.
3047 2015-05-21  Andreas Schwab  <schwab@suse.de>
3049         [BZ #13028]
3050         [BZ #17053]
3051         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3052         of struct __res_state.
3053         * resolv/res_send.c (__libc_res_nsend): Likewise.
3054         (get_nsaddr): New function.
3055         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3056         statp directly.
3058 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3060         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3061         -D_POSIX_C_SOURCE=199506L.
3063         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3065         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3066         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3067         Do not mention otherwise.
3068         [POSIX] (_XOPEN_VERSION): Do not expect.
3069         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3070         [POSIX] (_POSIX2_C_BIND): Likewise.
3071         [POSIX] (_POSIX2_VERSION): Likewise.
3072         [POSIX] (_XOPEN_XPG2): Likewise.
3073         [POSIX] (_XOPEN_XPG3): Likewise.
3074         [POSIX] (_XOPEN_XPG4): Likewise.
3075         [POSIX] (_XOPEN_UNIX): Likewise.
3076         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3077         [POSIX] (_POSIX_BARRIERS): Likewise.
3078         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3079         [POSIX] (_POSIX_CPUTIME): Likewise.
3080         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3081         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3082         [POSIX] (_POSIX_SHELL): Likewise.
3083         [POSIX] (_POSIX_SPAWN): Likewise.
3084         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3085         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3086         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3087         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3088         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3089         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3090         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3091         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3092         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3093         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3094         [POSIX] (_POSIX2_PBS): Likewise.
3095         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3096         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3097         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3098         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3099         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3100         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3101         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3102         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3103         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3104         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3105         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3106         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3107         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3108         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3109         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3110         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3111         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3112         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3113         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3114         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3115         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3116         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3117         [POSIX] (_SC_2_C_BIND): Likewise.
3118         [POSIX] (_SC_2_C_VERSION): Likewise.
3119         [POSIX] (_SC_2_PBS): Likewise.
3120         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3121         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3122         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3123         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3124         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3125         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3126         [POSIX] (_SC_BARRIERS): Likewise.
3127         [POSIX] (_SC_BASE): Likewise.
3128         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3129         [POSIX] (_SC_DEVICE_IO): Likewise.
3130         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3131         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3132         [POSIX] (_SC_FD_MGMT): Likewise.
3133         [POSIX] (_SC_FIFO): Likewise.
3134         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3135         [POSIX] (_SC_FILE_LOCKING): Likewise.
3136         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3137         [POSIX] (_SC_IOV_MAX): Likewise.
3138         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3139         [POSIX] (_SC_NETWORKING): Likewise.
3140         [POSIX] (_SC_PAGE_SIZE): Likewise.
3141         [POSIX] (_SC_PASS_MAX): Likewise.
3142         [POSIX] (_SC_PIPE): Likewise.
3143         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3144         [POSIX] (_SC_REGEXP): Likewise.
3145         [POSIX] (_SC_SHELL): Likewise.
3146         [POSIX] (_SC_SIGNALS): Likewise.
3147         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3148         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3149         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3150         [POSIX] (_SC_USER_GROUPS): Likewise.
3151         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3152         [POSIX] (_SC_STREAMS): Likewise.
3153         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3154         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3155         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3156         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3157         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3158         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3159         [POSIX] (_PC_FILESIZEBITS): Likewise.
3160         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3161         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3162         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3163         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3164         [POSIX] (uid_t): Likewise.
3165         [POSIX] (gid_t): Likewise.
3166         [POSIX] (off_t): Likewise.
3167         [POSIX] (pid_t): Likewise.
3168         [POSIX] (cuserid): Allow.
3169         (_SC_2_CHAR_TERM): Require constant.
3170         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3171         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3172         variable.
3174 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3176         * sysdeps/nacl/pthread-pids.h: New file.
3177         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3178         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3180         * nptl/pthread-pids.h: New file.
3181         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3182         * nptl/nptl-init.c: Include <pthread-pids.h>.
3183         (__pthread_initialize_minimal_internal):
3184         Call __pthread_initialize_pids instead of set_tid_address syscall.
3186         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3187         * sysdeps/posix/usleep.c: ... here.
3189 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3191         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3192         call_pselect6 object.
3193         [$(subdir) = io]: Remove call_sync_file_range object.
3194         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3195         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3196         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3197         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3199 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3201         * math/s_cproj.c: Add include "math_private.h".
3202         * math/s_cprojf.c: Likewise.
3203         * math/s_cprojl.c: Likewise.
3205 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3207         [BZ #18244]
3208         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3209         high mantissa bit when testing whether P is a NaN.
3210         * math/libm-test.inc (remainder_test_data): Add more tests.
3211         (remquo_test_data): Likewise.
3213         [BZ #18049]
3214         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3215         below -32, return the argument, with underflow if subnormal.
3216         * math/auto-libm-test-in: Add more tests of atanh.
3217         * math/auto-libm-test-out: Regenerated.
3219 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3221         [BZ #18434]
3222         * nptl/tst-sem15.c: New file.
3223         * nptl/Makefile (tests): Add it.
3224         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3225         s/<</>>/ to fix typo in EOVERFLOW check.
3226         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3228 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3230         * manual/strings.texi (envz_remove): Fix typo in safety
3231         annotations.
3233 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3234             Steve Ellcey  <sellcey@imgtec.com>
3236         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3237         in order to avoid strict alias warnings.
3238         (iruserok_af): Ditto for ra.
3240 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3242         [BZ #17581]
3243         * malloc/hooks.c
3244         (magicbyte): Convert to a function and avoid returning 0x01.
3245         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3246         (mem2chunk_check): Fix unsigned comparisons to zero.
3247         Hoist defs of sz and magic.
3249 2015-05-19  Richard Henderson  <rth@redhat.com>
3251         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3253         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3255 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3257         [BZ #16159]
3258         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3259         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3260         (reused_arena): Find a non-corrupt arena.
3261         (heap_trim): Pass arena to unlink.
3262         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3263         malloc_printerr.
3264         (top_check): Likewise.
3265         (free_check): Likewise.
3266         (realloc_check): Likewise.
3267         * malloc/malloc.c (malloc_printerr): Add arena argument.
3268         (unlink): Likewise.
3269         (munmap_chunk): Adjust.
3270         (ARENA_CORRUPTION_BIT): New macro.
3271         (arena_is_corrupt): Likewise.
3272         (set_arena_corrupt): Likewise.
3273         (sysmalloc): Use mmap if there are no usable arenas.
3274         (_int_malloc): Likewise.
3275         (__libc_malloc): Don't fail if arena_get returns NULL.
3276         (_mid_memalign): Likewise.
3277         (__libc_calloc): Likewise.
3278         (__libc_realloc): Adjust for additional argument to
3279         malloc_printerr.
3280         (_int_free): Likewise.
3281         (malloc_consolidate): Likewise.
3282         (_int_realloc): Likewise.
3283         (_int_memalign): Don't touch corrupt arenas.
3284         * malloc/tst-malloc-backtrace.c: New test case.
3286         * Makefile (summarize-tests): Fix return value on success.
3288         * manual/string.texi (Envz Functions): Add envz_remove.
3290 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3292         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3293         (invalid_name): New function, broken out of ...
3294         (__opendirat): ... here.  Call it.
3295         (need_isdir_precheck): New function, broken out of ...
3296         (__opendirat): ... here.  Call it.
3297         Use __fxstatat64, not __xstatat64.
3298         (opendir_oflags): New function, broken out of ...
3299         (__opendirat): ... here.  Call it.
3300         (opendir_tail): New function, broken out of ...
3301         (__opendirat): ... here.  Call it.
3302         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3303         opendir_tail, rather than punting to __opendirat.
3304         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3306 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3308         * .gitignore: Ignore generated *.pyc.
3310 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3312         * include/stdio.h: Define __need_wint_t.
3313         * test-skeleton.c: Avoid `for' loop initial declaration.
3314         * nptl/tst-initializers1.c: Use test-skeleton.c.
3316 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3318         [BZ #18418]
3319         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3321 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3323         [BZ #16352]
3324         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3325         (__ieee754_atanh): Force underflow exception for results with
3326         small absolute value.
3327         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3328         (__ieee754_atanhf): Force underflow exception for results with
3329         small absolute value.
3330         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3331         (__ieee754_atanh): Force underflow exception for results with
3332         small absolute value.
3333         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3334         (__ieee754_atanhf): Force underflow exception for results with
3335         small absolute value.
3336         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3337         (__ieee754_atanhl): Force underflow exception for results with
3338         small absolute value.
3339         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3340         (__ieee754_atanhl): Force underflow exception for results with
3341         small absolute value.
3342         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3343         (__ieee754_atanhl): Force underflow exception for results with
3344         small absolute value.
3345         * math/auto-libm-test-in: Do not allow missing underflow
3346         exceptions from atanh.
3347         * math/auto-libm-test-out: Regenerated.
3349         [BZ #18221]
3350         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3351         2**-28 as threshold for returning x or +/- 1/x.
3352         * math/auto-libm-test-in: Add more tests of tan.
3353         * math/auto-libm-test-out: Regenerated.
3355         [BZ #18220]
3356         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3357         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3358         * math/auto-libm-test-in: Add another test of lgamma.
3359         * math/auto-libm-test-out: Regenerated.
3361 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3363         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3364         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3365         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3366         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3367         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3368         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3369         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3370         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3371         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3372         (log1): Use fabs.  (my_log2): Use fabs.
3373         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3374         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3375         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3376         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3377         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3378         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3379         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3380         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3381         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3382         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3383         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3385 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3387         [BZ #18217]
3388         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3389         as threshold for returning 1 - x.
3390         * math/auto-libm-test-in: Add more tests of erfc.
3391         * math/auto-libm-test-out: Regenerated.
3393 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3395         [BZ #18196]
3396         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3397         threshold for large arguments.
3398         * math/auto-libm-test-in: Add another test of atan.
3399         * math/auto-libm-test-out: Regenerated.
3401         [BZ #16339]
3402         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3403         (__log1p): Force underflow exception for results with small
3404         absolute value.
3405         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3406         (__log1pf): Force underflow exception for results with small
3407         absolute value.
3408         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3409         (__log1p): Force underflow exception for results with small
3410         absolute value.
3411         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3412         (__log1pf): Force underflow exception for results with small
3413         absolute value.
3414         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3415         (__log1pl): Force underflow exception for results with small
3416         absolute value.
3417         * math/auto-libm-test-in: Do not allow missing underflow
3418         exceptions from log1p.
3419         * math/auto-libm-test-out: Regenerated.
3421 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3422             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3424         [BZ #16704]
3425         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3427 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3429         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3430         (libmvec): New variable.
3431         * configure.ac: Added option for mathvec build.
3432         * configure: Regenerated.
3433         * mathvec/Depend: New file.
3434         * mathvec/Makefile: New file.
3435         * shlib-versions: Added libmvec.
3436         * math/Makefile: Added rule for libm.so installation.
3438         * bits/math-vector.h: New file.
3439         * bits/libm-simd-decl-stubs.h: New header.
3440         * math/Makefile (headers): Added new header
3441         libm-simd-decl-stubs.h.
3442         * math/math.h (__MATHCALL_VEC): New macro.
3444         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3445         for conditions in testing functions.
3446         * math/Makefile: Added call of libm-have-vector-test.sh.
3447         * math/libm-test.inc (HAVE_VECTOR): New macros.
3449         * math/libm-test.inc: START refactored.
3450         * math/test-double.c (TEST_MATHVEC): Add define.
3451         * math/test-float.c: Likewise.
3452         * math/test-idouble.c: Likewise.
3453         * math/test-ifloat.c: Likewise.
3454         * math/test-ildoubl.c: Likewise.
3455         * math/test-ldouble.c: Likewise.
3456         * sysdeps/generic/math-tests-arch.h
3457         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3458         architecture check.
3460         * math/test-double.c (FUNC_TEST): New macro.
3461         * math/test-float.c: Likewise.
3462         * math/test-idouble.c: Likewise.
3463         * math/test-ifloat.c: Likewise.
3464         * math/test-ildoubl.c: Likewise.
3465         * math/test-ldouble.c: Likewise.
3466         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3468 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3470         * sysdeps/nacl/fdopendir.c: New file.
3472         * dirent/scandir-tail.c: New file.
3473         * dirent/scandir64-tail.c: New file.
3474         * dirent/Makefile (routines): Add them.
3475         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3476         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3477         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3478         [!SCANDIR] (SCANDIR_TAIL): New macro.
3479         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3480         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3481         (SCANDIRAT): Macro removed.
3482         (SCANDIR_TAIL): New macro.
3483         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3484         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3485         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3486         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3487         (READDIR): Macro removed.
3488         (SCANDIR_TAIL): New macro.
3489         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3490         (SCANDIR_TAIL): New macro.
3492         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3493         * dirent/scandir-cancel.c: ... to this new file.
3494         * dirent/Makefile (routines): Add it.
3495         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3496         * sysdeps/unix/sysv/linux/i386/scandir64.c
3497         (SKIP_SCANDIR_CANCEL): Macro removed.
3498         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3500         * dirent/tst-scandir.c: New file.
3501         * dirent/tst-scandir64.c: New file.
3502         * dirent/Makefile (tests): Add them.
3504 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3506         [BZ #18409]
3507         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3509 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3511         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3512         list.
3514 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
3516         * benchtests/bench-strcoll.c: New benchmark.
3517         * benchtests/Makefile: Generate locales and run benchmark.
3518         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3519         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3520         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3521         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3522         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3523         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3524         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3525         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3526         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3527         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3528         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3529         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3530         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3531         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3532         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3533         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3534         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3535         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3536         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3537         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3538         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3539         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3540         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3541         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3543 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3545         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3546         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3548 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3550         * posix/uname-values.h: New file.
3551         * posix/uname.c: Include that instead of <config-name.h>.
3552         * sysdeps/nacl/uname-values.h: New file.
3553         * sysdeps/arm/nacl/uname-values.h: New file.
3555 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3557         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3558         splitting into fields.
3560 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3562         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3563         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3564         * locale/localeinfo.h: Add enum collation_encoding_type.
3565         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3566         * programs/ld-collate.c (collate_output): Add encoding type info.
3567         * string/strcoll_l.c (STRDIFF): New function.
3568         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3569         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3571 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3573         [BZ #18397]
3574         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3575         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3576         <fpu_control.h> instead of <math/fpu_control.c>.
3577         * sysdeps/mips/mips32/fpu/Makefile: New file.
3579 2015-05-11  Andreas Schwab  <schwab@suse.de>
3581         [BZ #18007]
3582         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3583         nss_endgrent.
3584         (_nss_compat_endgrent): Call nss_endgrent.
3585         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3586         nss_endpwent.
3587         (_nss_compat_endpwent): Call nss_endpwent.
3588         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3589         needent, call nss_setspent only if non-zero.
3590         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3591         (internal_endspent): Don't call nss_endspent.
3592         (_nss_compat_endspent): Call nss_endspent.
3593         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3594         Remove.  All uses removed.
3595         (internal_setent): Remove parameter stayopen, add parameter
3596         stream.  Use it instead of global variable.
3597         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3598         (internal_endent, internal_getent): Add parameter stream.  Use it
3599         instead of global variable.
3600         (CONCAT(_nss_files_end,ENTNAME))
3601         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3602         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3603         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3604         uses removed.
3605         (internal_setent, internal_endent): Add parameter stream.  Use it
3606         instead of global variable.
3607         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3608         stream.
3609         (get_next_alias): Add parameter stream.
3610         (_nss_files_getaliasent_r): Pass global stream.
3611         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3612         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3613         (_nss_files_gethostbyname4_r): Pass local stream to
3614         internal_setent, internal_getent and internal_endent.  Remove
3615         locking.
3617 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3619         * tst-strfmon1.c (tests): Update expected currency symbol.
3621 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3623         * sysdeps/nacl/gethostname.c: New file.
3625 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3627         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3628         and sinh.
3629         * math/auto-libm-test-out: Regenerated.
3630         * sysdeps/i386/fpu/libm-test-ulps: Update.
3631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3633 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3635         [BZ #18125]
3636         * stdlib/tst-setcontext3.c: New file.
3637         * stdlib/tst-setcontext3.sh: New file.
3638         * stdlib/Makefile (tests): Add tst-setcontext3.
3639         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3640         to verify test program created output file.
3641         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3642         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3643         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3644         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3646 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3648         [BZ #18383]
3649         * elf/tst-tlsalign.c: New file.
3650         * elf/tst-tlsalign-static.c: New file.
3651         * elf/tst-tlsalign-lib.c: New file.
3652         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3653         (tests-static): Add tst-tlsalign-static.
3654         (modules-names): Add tst-tlsalign-lib.
3655         (test-xfail-tst-tlsalign): New variable.
3656         (test-xfail-tst-tlsalign-static): New variable.
3658         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3659         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3661 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3663         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3664         csqrt, erfc, sin and sincos.
3665         * math/auto-libm-test-out: Regenerated.
3666         * sysdeps/i386/fpu/libm-test-ulps: Update.
3667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3669 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3671         * sysdeps/aarch64/libm-test-ulps: Update.
3673 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
3675         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3676         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3677         * math/auto-libm-test-out: Regenerated.
3678         * sysdeps/i386/fpu/libm-test-ulps: Update.
3679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3681 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3683         [BZ #18265]
3684         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3685         (wcsncpy): Likewise.
3687 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3689         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3690         Assume __ASSUME_FALLOCATE is always true.
3691         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3692         (__posix_fallocate64_l64): Likweise.
3693         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3694         (posix_fallocate): Likewise.
3695         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3696         (__posix_fallocate64_l64): Likewise.
3697         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3698         [!__ASSUME_FALLOCATE]: Add comment.
3700 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3702         * sysdeps/unix/sysv/linux/i386/Makefile
3703         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3704         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3705         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3706         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3707         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3708         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3709         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3711 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
3713         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3714         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3715         tgamma.
3716         * math/auto-libm-test-out: Regenerated.
3717         * sysdeps/i386/fpu/libm-test-ulps: Update.
3718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3720 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3722         * math/auto-libm-test-in: Add more tests of tgamma.
3723         * math/auto-libm-test-out: Regenerated.
3724         * sysdeps/i386/fpu/libm-test-ulps: Update.
3725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3727         * math/auto-libm-test-in: Add more tests of tanh.
3728         * math/auto-libm-test-out: Regenerated.
3729         * sysdeps/i386/fpu/libm-test-ulps: Update.
3730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3732         * math/auto-libm-test-in: Add more tests of tan.
3733         * math/auto-libm-test-out: Regenerated.
3734         * sysdeps/i386/fpu/libm-test-ulps: Update.
3735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3737         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3738         * math/auto-libm-test-out: Regenerated.
3739         * sysdeps/i386/fpu/libm-test-ulps: Update.
3740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3742         * math/auto-libm-test-in: Add another test of pow.
3743         * math/auto-libm-test-out: Regenerated.
3744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3746         * math/auto-libm-test-in: Add more tests of lgamma.
3747         * math/auto-libm-test-out: Regenerated.
3748         * sysdeps/i386/fpu/libm-test-ulps: Update.
3749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3751         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3752         log1p.
3753         * math/auto-libm-test-out: Regenerated.
3754         * sysdeps/i386/fpu/libm-test-ulps: Update.
3755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3757 2015-05-01  Mark Wielaard  <mjw@redhat.com>
3759         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3760         Elf64_Chdr structs and ELFCOMPRESS constants.
3762 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3764         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3765         expm1.
3766         * math/auto-libm-test-out: Regenerated.
3767         * sysdeps/i386/fpu/libm-test-ulps: Update.
3768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3770         * math/auto-libm-test-in: Add more tests of erf and erfc.
3771         * math/auto-libm-test-out: Regenerated.
3772         * sysdeps/i386/fpu/libm-test-ulps: Update.
3773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3775 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3777         * config.h.in (HAVE_AARCH64_BE): Add.
3779 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
3781         * math/auto-libm-test-in: Add more tests of csqrt.
3782         * math/auto-libm-test-out: Regenerated.
3783         * sysdeps/i386/fpu/libm-test-ulps: Update.
3784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3786         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3787         * math/auto-libm-test-out: Regenerated.
3788         * sysdeps/i386/fpu/libm-test-ulps: Update.
3789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3791         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3793 2015-04-29  Roland McGrath  <roland@hack.frob.com>
3795         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3796         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3798         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3799         (euidaccess, eaccess): Define as weak aliases.
3801         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3802         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
3803         but __suseconds_t is often 'long int' so some sources assume that
3804         type is being used (e.g. they use %ld to print tv_usec).
3806 2015-04-29  Florian Weimer  <fweimer@redhat.com>
3808         [BZ #18007]
3809         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3810         (CVE-2014-8121)
3811         * nss/tst-nss-getpwent.c: New file.
3812         * nss/Makefile (tests): Add new test.
3814 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
3816         [BZ #18346]
3817         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3818         exponents less than 48 as cases where high part of mantissa needs
3819         examining to determine whether argument is integral.
3820         * math/libm-test.inc (round_test_data): Add more tests.
3822 2015-04-28  Mark Wielaard  <mjw@redhat.com>
3824         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3826 2015-04-27  David S. Miller  <davem@davemloft.net>
3828         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3829         __tls_get_addr.
3830         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3832 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
3834         [BZ#18333]
3835         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3837 2015-04-27  Florian Weimer  <fweimer@redhat.com>
3839         [BZ#18333]
3840         * time/tzset.c (parse_tzname): Return error on memory allocation
3841         failure.
3842         * test-skeleton.c (struct temp_name_list): Change type of name
3843         member to non-const.
3844         (add_temp_file): Create a copy of the file name.
3845         (delete_temp_files): Deallocate memory.
3846         (create_temp_file): Add comment.
3848 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3850         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3851         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3853 2015-04-24  Roland McGrath  <roland@hack.frob.com>
3855         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3856         * sysdeps/arm/configure: Regenerated.
3858 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3860         [BZ #17715]
3861         * time/tzfile.c (__tzfile_read): Check for large values of
3862         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
3863         * time/tzset.c (__tzstring_len): New function, based on the old
3864         __tzstring function.
3865         (__tzstring): Call __tzstring_len.
3866         (parse_tzname): New helper function extracted from
3867         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
3868         the input string.
3869         (parse_offset): New helper function extracted from
3870         __tzset_parse_tz.  Replace switch with fallthrough with
3871         initialization before sscanf.
3872         (parse_rule): Likewise.
3873         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
3874         new-style function definition.
3875         * timezone/Makefile (tests): Add tst-tzset.
3876         (tst-tzset.out): Dependencies on time zone files.
3877         (tst-tzset-ENV): Set TZDIR.
3878         (testdata/XT%): Copy crafted time zone files.
3879         * timezone/README: Mention crafted time zone files.
3880         * timezone/testdata/XT1, timezone/testdata/XT2,
3881         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3882         files.
3883         * timezone/tst-tzset.c: New test.
3885 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3887         * Makeconfig (+gccwarn): Remove -Winline.
3889 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3891         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3893 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3895         * NEWS: Mention sysconf() cache information support for s390.
3896         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3898 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
3900         * math/k_casinh.c (__kernel_casinh): Use __copysign.
3901         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3902         (__nearbyint): Likewise.
3903         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3904         (copysignl): Likewise.
3906 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
3908         [BZ #18287]
3909         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3910         based on padding.  (CVE-2015-1781)
3912 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3914         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3915         libc-vdso.h.
3916         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3917         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3918         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3919         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3920         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3921         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3922         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3923         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3924         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3925         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3926         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3927         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3928         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3929         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3930         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3931         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3932         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3933         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3934         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3935         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3936         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3937         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3938         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3940 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3942         * stdlib/setenv.c (__add_to_environ):
3943         Dump core quickly if setenv (..., NULL, ...) is called.
3944         This time, do it the right way, and pacify GCC with a pragma.
3946 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3948         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3949         IMAP->l_prev cannot be null, and #if out the code for the contrary
3950         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3951         believe that NS (&_dl_ns[NSID]) could point outside the array.
3953         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3954         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3955         before using NSID as an index.
3957 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
3959         [BZ #17825]
3960         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3961         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3962         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3964 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3966         Add preliminary port to Google Native Client on ARM.
3967         * abi-tags (.*-.*-nacl.*): New entry.
3968         * sysdeps/arm/nacl: New directory.
3969         * sysdeps/nacl: New directory.
3971 2015-04-16  David S. Miller  <davem@davemloft.net>
3973         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3974         lowlevellock-futex.h
3976 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
3978         * sysdeps/tile/configure.ac: New file.
3979         * sysdeps/tile/configure: Regenerated.
3981 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3983         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
3984         conditionals for weak_alias and libc_hidden_weak.
3985         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3986         libc_hidden_weak and weak_alias.
3987         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3988         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3989         and weak_alias for static one.
3991 2015-04-15  David S. Miller  <davem@davemloft.net>
3993         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3995 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3997         [BZ #18206]
3998         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3999           Use signed comparision instead of substraction to avoid
4000           overflow bug.
4001         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4002           Take the sign of ret.
4003         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4004           Do not expect precise return values. Only the sign matters.
4005         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4006         * wcsmbs/test-wcsncmp.c: New File.
4007         * string/test-strncmp.c: Add wcsncmp support.
4009 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4011         [BZ #6792]
4012         * math/w_log1p.c: New file.
4013         * math/w_log1pf.c: Likewise.
4014         * math/w_log1pl.c: Likewise.
4015         * math/Makefile (libm-calls): Add w_log1p.
4016         * math/s_log1pl.c (log1pl): Remove weak_alias.
4017         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4018         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4019         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4020         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4021         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4022         [NO_LONG_DOUBLE] (log1pl): Likewise.
4023         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4024         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4025         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4026         (log1p): Remove long_double_symbol.
4027         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4028         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4029         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4030         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4031         remove weak_alias for corresponding log1p function.
4032         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4033         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4034         * sysdeps/ia64/fpu/w_log1p.c: New file.
4035         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4036         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4037         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4039 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4041         [BZ #18247]
4042         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4043         decimal exponent by 1.
4044         * stdlib/tst-strtod-round-data: Add more tests.
4045         * stdlib/tst-strtod-round.c (tests): Regenerated.
4047 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4049         * math/auto-libm-test-in: Add more tests of clog and clog10.
4050         * math/auto-libm-test-out: Regenerated.
4051         * sysdeps/i386/fpu/libm-test-ulps: Update.
4052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4054 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4056         * Makeconfig (module-cppflags): Exclude all .v.i files.
4057         (skip-module-cppflags): Variable removed.
4059         * configure.ac (libc_config_ok): Initialize before reading
4060         preconfigure scripts, not after.
4061         * configure: Regenerated.
4063         * test-skeleton.c (TIMEOUT): Move #define to top level.
4064         (main): Grok environment variable TEST_DIRECT.  If set, print
4065         test expectation details into that file and then behave as if
4066         given --direct.
4068 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4070         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4071         warning on 32-bit.
4073 2015-04-08  David S. Miller  <davem@davemloft.net>
4075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4077 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4079         * math/auto-libm-test-in: Add more tests of atanh.
4080         * math/auto-libm-test-out: Regenerated.
4081         * sysdeps/i386/fpu/libm-test-ulps: Update.
4082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4084         * math/auto-libm-test-in: Add more tests of atan.
4085         * math/auto-libm-test-out: Regenerated.
4086         * sysdeps/i386/fpu/libm-test-ulps: Update.
4087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4089 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4091         * elf/pldd.c (main): Rewrite to use struct
4092         scratch_buffer instead of extend_alloca.
4093         * elf/pldd-xx.c (find_maps): Likewise.
4094         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4095         <alloca.h>.
4096         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4097         scratch_buffer instead of extend_alloca.
4098         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4099         grp/compat-initgroups.c.
4100         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4101         Rewrite to use struct scratch_buffer instead of extend_alloca.
4102         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4103         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4105 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4107         * math/auto-libm-test-in: Add more tests of cbrt.
4108         * math/auto-libm-test-out: Regenerated.
4109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4111         * math/auto-libm-test-in: Add more tests of cabs.
4112         * math/auto-libm-test-out: Regenerated.
4113         * sysdeps/i386/fpu/libm-test-ulps: Update.
4114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4116         [BZ #18210]
4117         [BZ #18211]
4118         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4119         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4120         computations.
4121         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4122         clog10.
4123         * math/auto-libm-test-out: Regenerated.
4124         * sysdeps/i386/fpu/libm-test-ulps: Update.
4125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4127         [BZ #18197]
4128         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4129         (atan): Set FE_TONEAREST mode for internal computations.
4130         * math/auto-libm-test-in: Add more tests of atan.
4131         * math/auto-libm-test-out: Regenerated.
4133 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4135         [BZ #17930]
4136         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4138 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4140         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4142 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4144         * include/scratch_buffer.h: New file.
4145         * malloc/scratch_buffer_grow.c: Likewise.
4146         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4147         * malloc/scratch_buffer_set_array_size.c: Likewise.
4148         * malloc/tst-scratch_buffer.c: Likewise.
4149         * malloc/Makefile (routines): Add scratch_buffer_grow.
4150         (tests): Add test case.
4151         * malloc/Versions (GLIBC_PRIVATE): Export
4152         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4153         __libc_scratch_buffer_set_array_size.
4155 2015-04-06  Richard Henderson  <rth@redhat.com>
4157         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4158         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4160         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4161         unsigned int before printing.
4163 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4165         [BZ #17596]
4166         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4167         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4169 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4171         * include/libc-internal.h (libc_max_align_t): Define.
4173 2015-04-02  Andreas Schwab  <schwab@suse.de>
4175         [BZ #16850]
4176         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4178 2015-04-02  Mel Gorman  <mgorman@suse.de>
4180         [BZ #17195]
4181         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4182         as well as the main arena.
4184 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4186         [BZ #18185]
4187         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4188         sharing L2 cache to 2 for Silvermont/Knights Landing.
4190 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4192         [BZ #17711]
4193         * config.make.in (have-protected-data): New.
4194         * configure.ac: Check linker support for protected data symbol.
4195         * configure: Regenerated.
4196         * elf/Makefile (modules-names): Add tst-protected1moda and
4197         tst-protected1modb if $(have-protected-data) is yes.
4198         (tests): Add tst-protected1a and tst-protected1b if
4199         $(have-protected-data) is yes.
4200         ($(objpfx)tst-protected1a): New.
4201         ($(objpfx)tst-protected1b): Likewise.
4202         (tst-protected1modb.so-no-z-defs): Likewise.
4203         * elf/tst-protected1a.c: New file.
4204         * elf/tst-protected1b.c: Likewise.
4205         * elf/tst-protected1mod.h: Likewise.
4206         * elf/tst-protected1moda.c: Likewise.
4207         * elf/tst-protected1modb.c: Likewise.
4209 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4211         [BZ #17711]
4212         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4213         indicates it is called from do_lookup_x on relocation against
4214         protected data, skip the data definion in the executable from
4215         copy reloc.
4216         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4217         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4218         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4219         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4220         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4221         otherwise to 0.
4222         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4223         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4224         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4225         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4226         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4227         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4229 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4231         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4232         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4234 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4236         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4237         THREAD_SETMEM_NC.
4238         * sysdeps/x86_64/nptl/tls.h: Ditto.
4240 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4242         * dlfcn/tststatic.c (main): Converted to ...
4243         (do_test): ... this.
4244         (TEST_FUNCTION): New macro.
4245         Include test-skeleton.c.
4247 2015-03-26  Alan Modra  <amodra@gmail.com>
4249         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4250         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4251         zero for undefined weak.
4252         (elf_machine_plt_conflict): Similarly.
4254 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4256         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4257         atanh.
4258         * math/auto-libm-test-out: Regenerated.
4259         * sysdeps/i386/fpu/libm-test-ulps: Update.
4260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4262         * math/auto-libm-test-in: Add another test of asin.
4263         * math/auto-libm-test-out: Regenerated.
4264         * sysdeps/i386/fpu/libm-test-ulps: Update.
4265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4267         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4268         Remove macro.
4269         (LLL_EBX_REG): Likewise.
4270         (LLL_ENTER_KERNEL): Likewise.
4272         * math/auto-libm-test-in: Add more tests of asin.
4273         * math/auto-libm-test-out: Regenerated.
4274         * sysdeps/i386/fpu/libm-test-ulps: Update.
4275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4277         [BZ #18138]
4278         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4279         libc_do_syscall_args): New structure.
4280         (INTERNAL_SYSCALL_MAIN_0): New macro.
4281         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4282         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4283         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4284         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4285         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4286         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4287         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4288         Replace conditional definitions by conditional definitions of ....
4289         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4290         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4291         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4292         (libpthread-sysdep_routines): Add libc-do-syscall.
4293         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4294         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4295         to __NR_futex not 240.
4297 2015-03-25  Alan Modra  <amodra@gmail.com>
4299         * NEWS: Advertise TLS optimization.
4300         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4301         (DT_PPC_NUM): Increment.
4302         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4303         (CHECK_STATIC_TLS): Use here.
4304         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4305         TLS descriptors.
4306         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4307         * sysdeps/powerpc/dl-tls.c: New file.
4308         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4309         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4310         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4311         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4316 2015-03-25  Alan Modra  <amodra@gmail.com>
4318         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4319         for overlapping .opd entries" to "support...".
4320         * sysdeps/powerpc/powerpc64/configure: Regenerate
4322 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4324         * math/auto-libm-test-in: Add more tests of acos.
4325         * math/auto-libm-test-out: Regenerated.
4326         * sysdeps/i386/fpu/libm-test-ulps: Update.
4327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4329         * math/auto-libm-test-in: Add more tests of expm1.
4330         * math/auto-libm-test-out: Regenerated.
4331         * sysdeps/i386/fpu/libm-test-ulps: Update.
4332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4334 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4336         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4337         * math/auto-libm-test-out: Regenerated.
4338         * sysdeps/i386/fpu/libm-test-ulps: Update.
4339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4341         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4344         * math/auto-libm-test-in: Add more tests of log2.
4345         * math/auto-libm-test-out: Regenerated.
4346         * sysdeps/i386/fpu/libm-test-ulps: Update.
4347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4349 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4351         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4352         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4353         _IO_IS_APPENDING bit in READ_WRITE instead.
4355 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4357         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4358         (__determine_cpumask_size): Replace extend_alloca with a
4359         variable-length array.  Do not treat res == 0 as an error.
4361 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4363         [BZ #18100]
4364         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4365         and integer overflow.
4366         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4367         (main): Add integer overflow tests.
4368         * manual/pattern.texi (Calling Wordexp): Document additional use
4369         for WRDE_SYNTAX.
4371 2015-03-23  Alan Modra  <amodra@gmail.com>
4373         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4374         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4375         and false branch of conditional.
4376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4377         Likewise.
4379 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4381         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4382         libc-modules.h
4383         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4384         unused declaration of _hurd_intr_rpc_msg_in_trap.
4385         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4386         defined instead of whether it is non-zero.
4387         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4388         input constraint instead of both input and output constraint.  Use ecx
4389         clobber instead of %ecx.
4390         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4391         mutex_unlock): Use a statement expression instead of an expression list.
4392         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4393         type to vm_size_t instead of vm_address_t.
4394         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4395         defined instead of whether it is non-zero.
4396         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4397         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4398         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4399         comparisons with mapaddr.
4400         * nscd/nscd-client.h: Include <time.h>.
4401         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4402         9th parameter to __vm_region instead of int.
4403         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4404         * scripts/check-local-headers.sh (exclude): Add device/,
4405         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4406         cthreads.h.
4408 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4410         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4411         to account for alignment padding.
4412         * sysdeps/arm/memmove.S: Likewise.
4414 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4416         * sysdeps/unix/sysv/linux/generic/README: New file.
4418 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4420         [BZ #18138]
4421         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4422         (futex_abstimed_wait)
4423         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4424         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4425         of lll_futex_timed_wait.
4427 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4429         [BZ #17542]
4430         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4432 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4434         [BZ #17090]
4435         [BZ #17620]
4436         [BZ #17621]
4437         [BZ #17628]
4438         * NEWS: Update.
4439         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4440         entries with Static TLS too.  Skip entries past the end of the
4441         allocated DTV, from Alan Modra.
4442         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4443         Static TLS DTV entry set up from...
4444         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4445         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4446         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4447         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4448         for Static TLS.
4449         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4450         that the slot we find is associated with the given map before
4451         using its generation count.
4452         * nptl_db/db_info.c: Include ldsodefs.h.
4453         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4454         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4455         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4456         (link_map::l_tls_offset): New struct field.
4457         (dtv_t::counter): Likewise.
4458         (rtld_global): New struct.
4459         (_rtld_global): New rtld variable.
4460         (dl_tls_dtv_slotinfo_list): New rtld global field.
4461         (dtv_slotinfo_list): New struct.
4462         (dtv_slotinfo): Likewise.
4463         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4464         (td_lookup): Rename to...
4465         (td_mod_lookup): ... this.  Use new mod parameter instead of
4466         LIBPTHREAD_SO.
4467         * nptl_db/td_thr_tlsbase.c: Include link.h.
4468         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4469         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4470         addresses even if the DTV is out of date or missing them.
4471         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4472         index zero-length arrays.
4473         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4474         (td_lookup): Make it a macro implemented in terms of...
4475         (td_mod_lookup): ... this declaration.
4476         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4477         (DB_MAIN_VARIABLE): Likewise.
4479 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4481         [BZ #18134]
4482         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4484 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4486         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4488 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4490         [BZ #18128]
4491         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4492         (atomic_add, atomic_increment_and_test)
4493         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4495 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4497         * stdlib/setenv.c (__add_to_environ):
4498         Dump core quickly if setenv (..., NULL, ...) is called.
4500 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4502         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4503         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4504         all the necessary asm magic in one place.
4505         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4506         using those.
4508 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4510         [BZ #14906]
4511         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4512         traced file mtime. Use consistent log message.
4513         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4514         (register_traced_file): Call install_watches. Always set mtime.
4515         (invalidate_cache): Iterate over all trace files. Call install_watches.
4516         (inotify_check_files): Don't inline. Handle watching parent
4517         directories and configuration file movement in and out.
4518         (handle_inotify_events): New function.
4519         (main_loop_poll): Call handle_inotify_events.
4520         (main_loop_epoll): Likewise.
4521         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4522         (struct traced_file): Use array of inotify fds. Add parent directory,
4523         and basename.
4524         (struct database_dyn): Remove unused file_mtime.
4525         (init_traced_file): New inline function.
4526         (define_traced_file): New macro.
4527         * nss/nss_db/db-init.c: Use define_traced_file.
4528         (_nss_db_init): Use init_traced_file.
4529         * nss/nss_files/files-init.c: Use define_traced_file.
4530         (_nss_files_init): Use init_traced_file.
4532 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4534         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4535         [_LIBC]: Do not include <stdlib.h>.
4536         [!_LIBC] (abort): Remove declaration.
4537         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4538         _FP_STATIC_ASSERT instead of conditionally calling abort.
4539         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4540         (_FP_EXTEND_CNAN): Likewise.
4541         (FP_TRUNC): Likewise.
4542         (__FP_CLZ): Likewise.
4543         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4545 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4547         * manual/string.texi (XPG basename): Fix prototype.
4549 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4551         [BZ #18080]
4552         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4553         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4554         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4555         (__setcontext): Likewise.
4556         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4557         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4558         Call rt_sigprocmask syscall one time to set new signal mask
4559         and retrieve the current signal mask instead of two calls.
4560         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4561         (__swapcontext): Likewise.
4562         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4563         * stdlib/tst-setcontext2.c: New file.
4565 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4567         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4569 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4571         [BZ #18093]
4572         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4573         the wrong size.
4575 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4577         [BZ #18043]
4578         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4580 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4582         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4583         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4584         Remove define.
4585         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4586         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4587         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4588         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4589         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4590         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4591         define.
4592         * nptl_db/td_symbol_list.c (td_lookup): Remove
4593         HAVE_ASM_GLOBAL_DOT_NAME code.
4594         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4595         HAVE_ASM_GLOBAL_DOT_NAME check.
4596         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4597         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4598         (DOT_LABEL): Remove define.
4599         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4600         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4601         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4602         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4603         (__TLS_GET_ADDR): Likewise.
4604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4605         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4607 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4609         [BZ #18111]
4610         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4611         (_FPU_SETCW): Initialize cw from fpsr before storing.
4612         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4613         (fesetexceptflag): Rewrite using fpu_control.h.
4614         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4616 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4618         [BZ #18110]
4619         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4620         asms.
4621         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4623 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4625         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4626         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4627         abort.
4628         (_FP_FMA): Likewise.
4629         (_FP_DIV): Likewise.
4631 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4633         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4634         with 0 in that case.
4635         * Makefile (summarize-tests): New canned sequence, factored out of
4636         commands for targets tests and xtests.  Display summary lines that
4637         don't start with PASS: or XFAIL: rather than ones that do start with
4638         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4639         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4640         do start with ERROR: or FAIL:.
4641         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4642         (except for [$(build-shared) = yes]).
4643         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4644         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4645         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4646         * nptl/Makefile: Revert 2015-03-04 changes.
4647         [$(CXX) empty] (tests-unsupported): New variable.
4648         * debug/Makefile: Likewise.
4650         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4651         gnulib file.  Replace __attribute with __attribute__ throughout.
4653 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4655         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4657 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4659         [BZ #18104]
4660         * math/auto-libm-test-in: Add another test of pow.
4661         * math/auto-libm-test-out: Regenerated.
4663 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4665         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4666         $(config-cflags-nofma).
4668 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4670         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4671         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4672         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4673         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4674         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4675         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4676         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4677         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4678         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4679         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4680         Add comment on closing #endif.
4682 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4684         * posix/wordexp.c (CHAR_IN_SET): New macro.
4685         (parse_param): Use it.
4687 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4689         * sysdeps/powerpc/fpu/libm-test-ulps: update.
4691 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4693         [BZ #18043]
4694         * posix/wordexp.c (parse_param): Fix buffer overflow.
4695         * posix/wordexp-test.c (test_case): Add test case.
4697 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4699         [BZ #18042]
4700         * posix/wordexp.c (parse_backtick): Fix off-by-one.
4701         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4703 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4705         [BZ #18043]
4706         * posix/wordexp-test.c (test_case): Add test for BZ #18043
4707         (do_bz18043): Delete.
4708         (at_page_end): New.
4709         (testit): Refactor to have words at the edge of unreadable page.
4711 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4713         [BZ #16734]
4714         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4715         Cleanup read-only streams as well.
4716         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4718 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4720         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4721         <bits/libc-lockP.h>
4723 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
4725         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
4726         on [__KERNEL__].
4727         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4728         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4729         * soft-fp/op-common.h (_FP_DECL): Likewise.
4731 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4733         * elf/ifuncdep2.c (global): Replace
4734         __attribute__((visibility("protected"))) with
4735         asm (".protected global").
4736         * elf/ifuncmod1.c (global): Likewise.
4737         * elf/ifuncmod5.c (global): Likewise.
4739 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
4741         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4742         <asm/sfp-machine.h> instead of <sfp-machine.h>.
4744 2015-03-06  Roland McGrath  <roland@hack.frob.com>
4746         * manual/install.texi (Configuring and compiling):
4747         Document test-wrapper-env-only.
4748         * INSTALL: Regenerated.
4750 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4752         [BZ #18043]
4753         * posix/wordexp.c (parse_param): Fix buffer overflow.
4754         * posix/wordexp-test.c (do_bz18043): Add test case.
4756 2015-03-06  Vincent Bernat  <vincent@bernat.im>
4758         * time/tst-strptime2.c (do_test): Ensure failing tests are
4759         reported correctly.
4760         * time/tst-strptime3.c (do_test): Likewise.
4762 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
4764         Fix aio_error thread-safety.
4765         * sysdeps/pthread/aio_error.c: New file
4766         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4767         synchronization.
4769 2015-03-06  Florian Weimer  <fweimer@redhat.com>
4771         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4772         (group_number, vfprintf): Use it.
4773         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4774         (JUMP, REF): Use it.
4775         (WORK_BUFFER_SIZE): New enum constant.
4776         (process_arg, vfprintf): Use it.
4778 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
4780         * manual/errno.texi (Error Messages): Complete example function
4781         by adding missing #define.
4782         (program_invocation_name): Add statement indicating GNU
4783         extension and reference which header file declares the variable.
4784         (program_invocation_short_name): Likewise.
4786 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
4788         * manual/errno.texi (Error Messages): Delete strerror ISO C89
4789         compatibility note.
4791 2015-03-05  Roland McGrath  <roland@hack.frob.com>
4793         * Makeconfig (test-wrapper-env-only): New variable.
4794         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4795         then use that with $(test-wrapper-env-only) rather than using
4796         $(test-wrapper-env) $(run-program-env) $($*-ENV).
4798 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4800         [BZ #18082]
4801         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4802         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4803         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4804         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4805         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4806         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4807         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4808         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4809         Likewise.
4810         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4811         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4812         Likewise.
4813         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4814         Likewise.
4815         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4816         Likewise.
4817         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4818         Likewise.
4819         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4820         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4821         Likewise.
4822         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4823         Likewise.
4824         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4825         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4827 2015-03-04  Roland McGrath  <roland@hack.frob.com>
4829         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4830         (ETH_ALEN): New macro.
4831         (struct ether_addr): Use it for length of ether_addr_octet.
4833         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4834         (setdb): Don't call __nss_configure_lookup for "rpc".
4835         (do_test): Don't call test_rpc.
4836         (output_rpcent, test_rpc): Functions moved ...
4837         * sunrpc/test-rpcent.c: ... to this new file.
4838         * sunrpc/Makefile (tests): Add it.
4840         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4841         __xpg_sigpause.
4842         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4843         * nptl/tst-signal6.c: Likewise.
4844         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4845         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4847         * configure.ac (libc_cv_cxx_link_ok): New check.
4848         Reset CXX to empty if it fails to link.
4849         * configure: Regenerated.
4850         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4851         bug-atexit3-lib only if $(CXX) is nonempty.
4852         * nptl/Makefile (tests): Likewise for tst-cancel24.
4853         (tests, tests-static): Likewise for tst-cancel24-static.
4854         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4855         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4856         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4857         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4859 2015-03-04  Andreas Schwab  <schwab@suse.de>
4861         [BZ #17631]
4862         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4863         for non-GCC compilers.
4864         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4865         Likewise.
4867 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4869         [BZ #17776]
4870         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4871         integer before bitwise and assembly operations.
4872         (feclearexcept): Likewise.
4873         * math/test-fenvinline.c: New file.
4874         * math/Makefile: Add test-fenvinline test.
4876 2015-03-03  Alan Modra  <amodra@gmail.com>
4878         [BZ #16512]
4879         * scripts/localplt.awk: Strip off symbol version.
4880         * NEWS: Mention bug fix.
4882 2015-03-02  Roland McGrath  <roland@hack.frob.com>
4884         * sysdeps/pthread/timer_routines.c
4885         (timer_free_list, thread_free_list, thread_active_list): Make static.
4887 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
4889         [BZ #17779]
4890         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4891         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4892         Undefine.
4893         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4894         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4895         Likewise.
4896         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4897         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4898         Likewise.
4900 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4902         [BZ #18036]
4903         * posix/fnmatch_loop.c (END): Detect invalid pattern.
4904         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4906 2015-03-02  Andreas Schwab  <schwab@suse.de>
4908         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4909         variable name.
4911 2015-03-02  Florian Weimer  <fweimer@redhat.com>
4913         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4914         Return error status.
4916 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
4918         [BZ #15969]
4919         * locale/findlocale.c (_nl_find_locale): Introduce const
4920         version of loc_name and drop unsafe type casts.
4922 2015-02-27  Roland McGrath  <roland@hack.frob.com>
4924         * dlfcn/tststatic2.c (main): Converted to ...
4925         (do_test): ... this.
4926         (TEST_FUNCTION): New macro.
4927         Include test-skeleton.c.
4929 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
4931         [BZ #17711]
4932         * elf/Makefile (tests): Add vismain only if PIE is enabled.
4933         (tests-pie): Add vismain.
4934         (CFLAGS-vismain.c): New.
4935         * elf/vismain.c: Add comments for PIE requirement.
4937 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4939         [BZ #18046]
4940         [BZ #18047]
4941         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4942         0x1p-56L as threshold for just returning the argument.
4943         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4944         0x1p-32L as threshold for just returning the argument.
4945         * math/auto-libm-test-in: Add more tests of atanh.
4946         * math/auto-libm-test-out: Regenerated.
4947         * sysdeps/i386/fpu/libm-test-ulps: Update.
4948         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4950 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4952         * string/bcopy.c (bcopy): Call memmove for performance.
4954 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4956         * string/bzero.c (__bzero): Call memset for performance.
4958 2015-02-27  John David Anglin  <dave.anglin@bell.net>
4960         [BZ #18068]
4961         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4962         to 00100000.
4964 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4966         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4968 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4970         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4971         (__kernel_standard): Use CSTR macro when setting exc.name.
4972         * sysdeps/ieee754/Makefile [$(subdir) = math]
4973         (CFLAGS-k_standard.c): Remove variable.
4975         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4976         setting p and q from "else if" to "else".
4977         (qzero): Likewise.
4978         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4979         (qone): Likewise.
4980         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4981         (qzerof): Likewise.
4982         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4983         (qonef): Likewise.
4984         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4985         (qzero): Likewise.
4986         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4987         (qone): Likewise.
4989         [BZ #18038]
4990         [BZ #18039]
4991         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4992         return pi/2 for arguments below 0x1p-113L.
4993         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4994         return pi/2 for arguments below 0x1p-106L.
4995         * math/auto-libm-test-in: Add more tests of acos.
4996         * math/auto-libm-test-out: Regenerated.
4998         [BZ #16351]
4999         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5000         (MO): New macro.
5001         (__ieee754_asin): Force underflow exception for results with small
5002         absolute value.
5003         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5004         (MO): New macro.
5005         (__ieee754_asinf): Force underflow exception for results with
5006         small absolute value.
5007         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5008         (__ieee754_asin): Force underflow exception for results with small
5009         absolute value.
5010         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5011         (__ieee754_asinf): Force underflow exception for results with
5012         small absolute value.
5013         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5014         (__ieee754_asinl): Force underflow exception for results with
5015         small absolute value.
5016         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5017         (__ieee754_asinl): Force underflow exception for results with
5018         small absolute value.
5019         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5020         (__ieee754_asinl): Force underflow exception for results with
5021         small absolute value.
5022         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5023         Include <math.h>.
5024         * math/auto-libm-test-in: Do not mark underflow exceptions as
5025         possibly missing for bug 16351.
5026         * math/auto-libm-test-out: Regenerated.
5028         [BZ #18030]
5029         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5030         of power of 2 down when low part has opposite sign.
5031         * math/libm-test.inc (logb_test_data): Add more tests.
5033 2015-02-26  Andreas Schwab  <schwab@suse.de>
5035         [BZ #18032]
5036         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5037         over collating symbol inside a bracket expression.  Minor cleanup.
5038         * posix/tst-fnmatch3.c (do_test): Add test case.
5040 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5042         [BZ #18029]
5043         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5044         Adjust exponent of power of 2 down when low part has opposite
5045         sign.
5046         * math/libm-test.inc (ilogb_test_data): Add more tests.
5048 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5050         [BZ #15969]
5051         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5052         the previous change.
5054         [BZ #15969]
5055         * locale/findlocale.c (_nl_find_locale): Retry archive search
5056         after alias expansion.
5058 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5060         * iconv/tst-iconv3.c (main): Converted to ...
5061         (do_test): ... this.
5062         (TEST_FUNCTION): New macro.
5063         Include test-skeleton.c.
5065         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5066         (convert): Make function static.
5067         (test_unalign): Likewise.  Add const to argument pointee types.
5068         (main): Replace with static function do_test.
5069         Print "Succeeded." only if RET is zero.
5070         (TEST_FUNCTION): New macro.
5071         Include test-skeleton.c.
5073         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5074         returns a null pointer.
5076 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5078         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5079         to __memcpy_ppc only for static builds.
5081 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5083         [BZ #18020]
5084         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5085         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5086         * math/auto-libm-test-in: Add more tests of asinh.
5087         * math/auto-libm-test-out: Regenerated.
5088         * sysdeps/i386/fpu/libm-test-ulps: Update.
5089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5091 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5093         [BZ #15850]
5094         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5095         and ip6_mtuinfo definitions here.
5096         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5097         in this define too.  Update comment.
5099 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5101         * elf/sprof.c (load_shobj): Tweak error message to match others.
5103 2015-02-24  Kevin Easton  <kevin@guarana.org>
5105         [BZ #16145] (partial fix)
5106         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5107         to reduce lock contention.
5109 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5111         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5112         (struct timex): Update time comment.
5113         (ADJ_SETOFFSET): Define.
5115 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5117         [BZ #18019]
5118         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5119         2**56 not 2**28 as threshold for log (2x) formula.
5120         * math/auto-libm-test-in: Add more tests of acosh.
5121         * math/auto-libm-test-out: Regenerated.
5122         * sysdeps/i386/fpu/libm-test-ulps: Update.
5123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5125 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5127         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5128         parenthesis around the buf assignment.
5129         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5131 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5133         [BZ #16783]
5134         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5135         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5136         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5137         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5138         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5139         * math/libm-test.inc (scalb_test_data): Add more tests.
5141 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5143         [BZ #17916]
5144         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5145         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5147 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5149         [BZ #17523]
5150         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5151         * io/bits/fcntl2.h (open): Use it.
5152         (openat): Likewise.
5153         * io/open.c (__libc_open): Likewise.
5154         * io/open64.c (__libc_open64): Likewise.
5155         * io/open64_2.c (__open64_2): Likewise.
5156         * io/open_2.c (__open_2): Likewise.
5157         * io/openat.c (__openat): Likewise.
5158         * io/openat64.c (__openat64): Likewise.
5159         * io/openat64_2.c (__openat64_2): Likewise.
5160         * io/openat_2.c (__openat_2): Likewise.
5161         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5162         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5163         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5164         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5165         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5166         (__open_nocancel): Likewise.
5167         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5168         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5169         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5171 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5173         [BZ #14841]
5174         * resolv/gethnamaddr.c (getanswer): Skip logging if
5175         RES_USE_DNSSEC is set.
5176         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5178 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5180         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5182 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5184         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5185         201304L, for Unicode 7.
5187 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5189         [BZ #17836]
5190         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5191         shared library.  Add gmon-start.os otherwise.
5192         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5193         $(objpfx)gmon-start.os if builing shared library.
5194         ($(objpfx)g$(static-start-installed-name)): Likewise.
5196 2015-02-23  Andreas Schwab  <schwab@suse.de>
5198         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5200 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5202         [BZ #17269]
5203         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5204         (enlarge_userbuf): Likewise.
5206 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5208         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5209         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5210         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5211         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5213 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5215         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5216         expression inside statement expression.
5218 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5220         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5221         <sysdeps/nptl/lowlevellock.h> and remove macros and
5222         functions that are now defined there.
5223         (SYS_futex): Remove.
5224         (lll_compare_and_swap): Remove.
5225         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5227 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5229         [BZ #17999]
5230         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5231         instead of scandirat.
5232         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5233         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5234         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5235         __scandirat.
5236         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5237         (__scandirat): Declare.  Use libc_hidden_proto.
5238         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5239         Remove variable.
5240         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5242 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5244         [BZ #15319]
5245         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5246         (MO): New macro.
5247         (__ieee754_atan2): For results with small absolute value, force
5248         underflow exception and remove excess range and precision from
5249         return value.
5250         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5251         (MO): New macro.
5252         (__ieee754_atan2f): For results with small absolute value, force
5253         underflow exception and remove excess range and precision from
5254         return value.
5255         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5256         (MO): New macro.
5257         (__atan): For results with small absolute value, force underflow
5258         exception and remove excess range and precision from return value.
5259         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5260         (MO): New macro.
5261         (__atanf): For results with small absolute value, force underflow
5262         exception and remove excess range and precision from return value.
5263         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5264         <math.h>.
5265         (__ieee754_atan2): Force underflow exception for results with
5266         small absolute value.
5267         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5268         <math_private.h>.
5269         (atan): Force underflow exception for results with small absolute
5270         value.
5271         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5272         (__atanf): Force underflow exception for results with small
5273         absolute value.
5274         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5275         <math.h>.
5276         (__atanl): Force underflow exception for results with small
5277         absolute value.
5278         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5279         (__atanl): Force underflow exception for results with small
5280         absolute value.
5281         * sysdeps/x86/fpu/bits/mathinline.h
5282         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5283         (__ieee754_atan2): Only define inline for long double.
5284         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5285         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5286         * math/auto-libm-test-in: Do not mark underflow exceptions as
5287         possibly missing for bug 15319.  Add more tests of atan2.
5288         * math/auto-libm-test-out: Regenerated.
5289         * math/libm-test.inc (casin_test_data): Do not mark underflow
5290         exceptions as possibly missing for bug 15319.
5291         (casinh_test_data): Likewise.
5292         * sysdeps/i386/fpu/libm-test-ulps: Update.
5294 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5296         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5297         * sysdeps/mips/bits/endian.h: Fix comments.
5299 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5301         [BZ #17996]
5302         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5303         (hdestroy_r): Likewise.
5304         (hsearch_r): Likewise.
5305         (__hcreate_r): Declare and use libc_hidden_proto.
5306         (__hdestroy_r): Likewise.
5307         (__hsearch_r): Likewise.
5308         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5309         (hcreate): Call __hcreate_r instead of hcreate_r.
5310         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5311         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5312         as weak alias of __hcreate_r.
5313         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5314         __hdestroy_r.
5315         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5316         __hsearch_r.
5317         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5318         Remove variable.
5319         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5320         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5321         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5322         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5324 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5326         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5327         arena_lock into a single arena_get.
5329 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5331         * dl-reloc.c: Inlucde libc-internal.h.
5332         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5333         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5334         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5335         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5336         (grow_heap): Likewise.
5337         * malloc/malloc.c: Include libc-internal.h.
5338         (do_check_malloc): Call powerof2.
5339         (sysmalloc): Use pagesize. Call ALIGN_UP.
5340         (systrim): Use pagesize.
5341         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5342         (__libc_valloc): Use pagesize.
5343         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5345 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5347         [BZ #17991]
5348         * include/sys/resource.h (__getrlimit64): Declare.  Use
5349         libc_hidden_proto.
5350         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5351         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5352         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5353         getrlimit64.
5354         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5355         __getrlimit64.
5356         [!getrlimit64] (getrlimit64): Define as weak alias of
5357         __getrlimit64.  Use libc_hidden_weak.
5358         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5359         using __getrlimit64 not __new_getrlimit64.
5360         (__GI_getrlimit64): Likewise.
5361         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5362         Likewise.
5363         (__GI_getrlimit64): Likewise.
5364         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5366         (getrlimit): Add __getrlimit64 alias.
5367         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5368         Likewise.
5369         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5370         Remove variable.
5371         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5372         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5374 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5376         * libio/fileops.c: Add missing sys/mman.h
5377         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5379 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5381         * manual/math.texi (Errors in Math Functions): Clarify goals
5382         regarding inexact and underflow exceptions.
5384 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5386         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5387         * sysdeps/mips/memset.S: Ditto.
5389 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5391         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5393 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5395         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5396         (__v1longjmp): Remove versioned symbol.
5397         (__v1siglongjmp): Remove alias and versioned symbol.
5398         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5399         (__v2siglongjmp): Likewise.
5401 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5403         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5405 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5407         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5409 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5411         [BZ #17987]
5412         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5413         zero result does not depend on the sign resulting from
5414         subtraction.
5415         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5416         Likewise.
5417         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5418         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5419         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5420         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5421         * math/libm-test.inc (remquo_test_data): Add more tests.
5423 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5425         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5426         Problem reported by J William Piggott.
5428 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5430         [BZ #17978]
5431         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5432         products 4 * y and 2 * y where those would overflow.
5433         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5434         Likewise.
5435         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5436         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5437         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5438         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5439         * math/libm-test.inc (remquo_test_data): Add more tests.
5441         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5443         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5444         [defined _COMPILING_NEWLIB].
5445         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5446         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5448         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5449         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5451 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5453         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5454         acquired.
5456 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5458         [BZ #17792]
5459         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5460         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5461         HOST_STACK_END_ADDR): Likewise.
5463 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5465         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5466         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5467         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5469 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5471         * sysdeps/generic/c++-types.data: New file.
5472         * sysdeps/generic/ld.abilist: New file.
5473         * sysdeps/generic/libBrokenLocale.abilist: New file.
5474         * sysdeps/generic/libanl.abilist: New file.
5475         * sysdeps/generic/libc.abilist: New file.
5476         * sysdeps/generic/libcrypt.abilist: New file.
5477         * sysdeps/generic/libdl.abilist: New file.
5478         * sysdeps/generic/libm.abilist: New file.
5479         * sysdeps/generic/libpthread.abilist: New file.
5480         * sysdeps/generic/libresolv.abilist: New file.
5481         * sysdeps/generic/librt.abilist: New file.
5483 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5485         [BZ #17569]
5486         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5487         Compute absolute value of x as modified by fmod, not original
5488         value of x.
5489         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5490         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5491         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5492         RUN_TEST_ffI_f1_mod8.
5493         (remquo_test_data): Add more tests.
5495 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5497         * sysdeps/init_array/pt-crti.S: New file.
5499 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5501         [BZ #17967]
5502         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5503         __builtin_fmaf instead of relying on contraction of a * b + c.
5505 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5507         [BZ #17969]
5508         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5509         node.
5511 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5513         [BZ #17964]
5514         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5515         __builtin_fma instead of relying on contraction of a * b + c.
5517 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5519         * Makeconfig (ASFLAGS): Add -Werror=undef.
5520         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5521         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5522         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5524         * Makeconfig (after-link): New variable.
5525         (+link-pie, +link-pie-tests): Use it.
5526         (+link-static, +link-static-tests): Likewise.
5527         (+link, +link-tests): Likewise.
5528         * Makerules (build-module, build-module-asneeded): Likewise.
5529         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5530         Likewise.
5531         * elf/Makefile ($(objpfx)ld.so): Likewise.
5533 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5535         [BZ #17965]
5536         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5537         both struct timeval and struct timespec.
5539 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5541         [BZ #16560]
5542         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5543         and redefine.
5544         (__ieee754_exp2l): Do not multiply small fractional parts by
5545         M_LN2l.
5546         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5547         small argument.
5548         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5549         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5550         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5551         * math/auto-libm-test-in: Add more tests of exp2.
5552         * math/auto-libm-test-out: Regenerated.
5554 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5556         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5557         unaligned path.
5559 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5561         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5562         little endian.
5564 2015-02-12  Andreas Schwab  <schwab@suse.de>
5566         [BZ #15790]
5567         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5568         Filter out elision flags from value returned in kind.
5569         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5570         * nptl/tst-pthread-mutexattr.c: New file.
5572 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5574         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5575         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5576         into gnu-gnu, and update comment to refer to abi-tags.
5578 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5580         [BZ #15467]
5581         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5582         (__sincos): Set errno to EDOM for infinite argument.
5583         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5584         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5585         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5586         (__sincosl): Set errno to EDOM for infinite argument.
5587         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5588         (__sincosl): Set errno to EDOM for infinite argument.
5589         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5590         (__sincosl): Set errno to EDOM for infinite argument.
5591         * math/libm-test.inc (sincos_test_data): Test errno setting.
5593 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5595         * string/strxfrm_l.c: Remove #define STRCMP.
5596         * string/strcoll_l.c: Remove #define STRLEN.
5597         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5598         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5600 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5602         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5603         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5604         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5605         * sysdeps/mips/mips64/Makefile: ... here.
5606         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5607         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5608         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5609         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5610         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5611         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5612         * sysdeps/mips/mips64/n64/Implies: Likewise.
5614 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5616         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5617         <sys/time.h>, <string.h>, and <errno.h>.
5618         (dest_offset, dest_address, value, zero): Remove unused variables.
5619         (ldouble): Remove typedef.
5620         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5621         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5622         1).  Fix code style.
5623         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5624         (check): Function removed.
5625         (CHECK): New macro.
5626         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5627         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5628         Don't call set_sigaction_FP and remove_sigaction_FP here.
5629         (ldouble_test): Just use 'long double' as macro argument, no need for
5630         the 'ldouble' typedef.
5631         (do_test): Set up SIGFPE handler at start, using plain signal rather
5632         than sigaction.  Fix code style.
5634 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5636         [BZ #17949]
5637         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5638         jump label.
5640 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5642         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5643         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5645         * sysdeps/powerpc/configure.ac: Remove file.
5646         * sysdeps/powerpc/configure: Likewise.
5648         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5649         [sysdep_routines]: Remove wordcopy-power6 object.
5650         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5651         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5652         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5653         (__memmove_ppc32): Likewise.
5654         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5655         file.
5656         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5657         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5658         Remove preprocessor.
5660         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5661         [sysdep_routines]: Remove wide chars objects.
5662         [wcsmbs]: New rule for wide char objects.
5664         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5665         Remove wordcopy-power6 obejct.
5666         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5667         Use local call for wordcopy and memcpy symbols.
5668         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5669         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5670         implementation for loader.
5671         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5673         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5674         Remove wordcopy-power7 object.
5675         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5676         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5677         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5678         (_wordcopy_fwd_dest_aligned): Likewise.
5679         (_wordcopy_bwd_aligned): Likewise.
5680         (_wordcopy_bwd_dest_aligned): Likewise.
5682         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5683         Rewrite to call __memmove_ppc instead of include default
5684         implementation.
5686         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5687         Remove wide chars objects.
5688         [wcsmbs]: New rule for wide char objects.
5690 2015-02-09  Andreas Schwab  <schwab@suse.de>
5692         [BZ #17912]
5693         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5694         in terms of __O_DIRECTORY.
5696 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5698         * time/getdate.c: Include <stdbool.h>.
5699         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5700         call PTR_MANGLE.
5701         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5702         PTR_DEMANGLE.
5704 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
5706         Add ersatz _Static_assert on older C hosts
5707         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5708         pre-C11 C platform that is not known to support _Static_assert.
5710 2015-02-07  Richard Braun  <rbraun@sceen.net>
5712         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5713         sigstate.
5714         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5716 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5718         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5719         priority against unexistent AIO_PRIO_DELTA_MAX.
5720         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5721         instead of int.
5722         * misc/fchflags.c (fchflags): Likewise.
5723         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5724         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5725         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5726         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5727         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5728         Declare macros.
5729         [__USE_MISC] (chflags, fchflags): Declare functions.
5730         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5731         EINVAL when nfds is greater than FD_SETSIZE.
5732         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5733         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5734         45.
5735         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5736         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5737         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5738         MACH_RCV_TIMED_OUT.
5739         * hurd/hurd/signal.h (_hurd_self_sigstate,
5740         _hurd_critical_section_lock, _hurd_critical_section_unlock):
5741         Explicit casts from void *.
5742         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5743         * abi-tags: Rename gnu-gnu os into gnu.
5745         [BZ #4719]
5746         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5747         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5748         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5749         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5750         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5751         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5753         [BZ #17944]
5754         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5755         duplicates ADDR->sun_path with sockaddr LEN limitation.
5756         * sysdeps/mach/hurd/connect.c: Include <string.h>
5757         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5758         * sysdeps/mach/hurd/sendmsg.c: Likewise.
5759         * sysdeps/mach/hurd/sendto.c: Likewise.
5760         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5761         implementing it by hand.
5763 2015-02-06  Roland McGrath  <roland@hack.frob.com>
5765         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5766         Use sfi_breg on ldr.
5767         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5768         Likewise.
5770         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5771         it's defined.
5772         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5773         Test SIGSETXID only if it's defined.
5775         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5777         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5778         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
5780         * nptl/tst-align2.c: Moved ...
5781         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5782         * nptl/Makefile (tests): Remove tst-align2.
5783         * sysdeps/unix/sysv/linux/Makefile
5784         [$(subdir) = nptl] (tests): Add tst-align-clone.
5785         * nptl/tst-getpid1.c: Moved ...
5786         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5787         * nptl/tst-getpid2.c: Moved ...
5788         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5789         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5790         * sysdeps/unix/sysv/linux/Makefile
5791         [$(subdir) = nptl] (tests): ... here.
5792         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5793         * sysdeps/unix/sysv/linux/Makefile
5794         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5796         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5797         Drop trailing \n from perror argument.  Use return rather than exit.
5799         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5800         on [SA_SIGINFO].
5801         * nptl/tst-cancel21.c (do_test): Likewise.
5802         * debug/tst-backtrace6.c: Include <signal.h> first thing.
5803         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5804         [!SA_SIGINFO]: Make it a stub test.
5806         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5807         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5809         * posix/tst-getlogin.c: Move to ...
5810         * login/tst-getlogin.c: ... here.
5811         * posix/Makefile (tests): Move tst-getlogin to ...
5812         * login/Makefile (tests): ... here.
5814         * libio/tst-atime.c (do_test): Move local variables SV and E
5815         inside [ST_NOATIME] conditional.
5817         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5819         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5821         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5822         (wait_code): New function replaces macro.
5823         Call nanosleep rather than syscall.
5825         * nptl/pt-system.c: Rewritten.  Put everything under
5826         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5827         Use IFUNC to redirect when possible.
5829         * nptl/pt-longjmp.c: Rewritten.  Put everything under
5830         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5831         Use IFUNC to redirect when possible.
5833         * nptl/pt-fork.c: Rewritten.  Put everything under
5834         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5835         Use IFUNC to redirect when possible.
5836         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5838         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5839         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5840         unconditionally nowadays.  This included the only reference to
5841         __vdso_clock_gettime that appears outside libc proper.
5842         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5843         Remove version set (containing only __vdso_clock_gettime).
5844         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5845         Add attribute_hidden.
5846         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5847         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5848         libc_hidden_data_def.
5849         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5850         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5852         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5853         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5854         setrpcent, and getrpcport to ...
5855         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5856         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5857         getrpcbynumber_r, and getrpcent_r to ...
5858         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5859         * inet/getrpcbyname.c: Moved ...
5860         * sunrpc/getrpcbyname.c: ... here.
5861         * inet/getrpcbyname_r.c: Moved ...
5862         * sunrpc/getrpcbyname_r.c: ... here.
5863         * inet/getrpcbynumber.c: Moved ...
5864         * sunrpc/getrpcbynumber.c: ... here.
5865         * inet/getrpcbynumber_r.c: Moved ...
5866         * sunrpc/getrpcbynumber_r.c: ... here.
5867         * inet/getrpcent.c: Moved ...
5868         * sunrpc/getrpcent.c: ... here.
5869         * inet/getrpcent_r.c: Moved ...
5870         * sunrpc/getrpcent_r.c: ... here.
5871         * inet/Makefile (routines): Move those to ...
5872         * sunrpc/Makefile (routines): ... here.
5873         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5874         the $(subdirs) list.
5875         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
5876         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5877         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5878         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5880         * elf/Makefile (routines): Include $(all-dl-routines), not just
5881         $(dl-routines).
5882         (rtld-routines): Likewise.  Use = rather than :=.
5883         * sysdeps/aarch64/Makefile [$(subdir) = elf]
5884         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5885         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5886         * sysdeps/arm/Makefile: Likewise.
5887         * sysdeps/i386/Makefile: Likewise.
5888         * sysdeps/x86_64/Makefile: Likewise.
5889         * sysdeps/hppa/Makefile [$(subdir) = elf]
5890         (sysdep_routines, sysdep-rtld-routines): Don't add
5891         $(sysdep-dl-routines) to these.
5892         * sysdeps/ia64/Makefile: Likewise.
5893         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5894         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5895         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5896         Don't add dl-static to these; sysdep-dl-routines alone is enough.
5897         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5898         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5899         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5900         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5901         * sysdeps/powerpc/Makefile [$(subdir) = elf]
5902         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5903         these; sysdep-dl-routines alone is enough.
5905 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
5907         [BZ #17932]
5908         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5909         where multiplication results in zero and third argument is finite
5910         and nonzero.
5911         * math/auto-libm-test-in: Add more tests of fma.
5912         * math/auto-libm-test-out: Regenerated.
5914         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5915         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5916         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5917         (_FP_CMP_EQ): Likewise.
5918         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5920         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5921         extra argument CHECK_NAN.  Redefine as wrapper around
5922         _FP_EXTEND_CNAN.
5924 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
5926         * version.h (RELEASE): Set to "stable".
5927         (VERSION): Set to "2.21"
5928         * include/features.h (__GLIBC_MINOR__): Set to 21.
5930         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5932 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5933             Paul Eggert  <eggert@cs.ucla.edu>
5935         [BZ #16618]
5936         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5937         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5938         size in bytes. Store needed elements in wpmax. Use needed size
5939         in bytes for extend_alloca.
5941 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
5943         * manual/install.texi: Latest tested versions are GCC 4.9.2,
5944         binutls 2.25, and texinfo 5.2.
5945         * INSTALL: Regenerate.
5946         * sysdeps/nios2/configure: Regenerate.
5947         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5948         * manual/contrib.texi: Update.
5949         * po/be.po: Update.
5950         * po/bg.po: Update.
5951         * po/ca.po: Update.
5952         * po/cs.po: Update.
5953         * po/da.po: Update.
5954         * po/de.po: Update.
5955         * po/el.po: Update.
5956         * po/eo.po: Update.
5957         * po/es.po: Update.
5958         * po/fi.po: Update.
5959         * po/fr.po: Update.
5960         * po/gl.po: Update.
5961         * po/hr.po: Update.
5962         * po/hu.po: Update.
5963         * po/ia.po: Update.
5964         * po/id.po: Update.
5965         * po/it.po: Update.
5966         * po/ja.po: Update.
5967         * po/ko.po: Update.
5968         * po/lt.po: Update.
5969         * po/nb.po: Update.
5970         * po/nl.po: Update.
5971         * po/pl.po: Update.
5972         * po/pt_BR.po: Update.
5973         * po/ru.po: Update.
5974         * po/rw.po: Update.
5975         * po/sk.po: Update.
5976         * po/sl.po: Update.
5977         * po/sv.po: Update.
5978         * po/tr.po: Update.
5979         * po/uk.po: Update.
5980         * po/vi.po: Update.
5981         * po/zh_CN.po: Update.
5982         * po/zh_TW.po: Update.
5984         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5985         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5986         * sysdeps/hppa/dl-irel.h: Remove #warning.
5987         * sysdeps/hppa/entry.h: Provide prototype for
5988         __canonicalize_funcptr_for_compare and cast argument.
5989         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5990         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5991         * sysdeps/hppa/sotruss-lib.c: New file.
5992         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5993         (atomic_compare_and_exchange_val_acq): Use __typeof__.
5994         (atomic_compare_and_exchange_bool_acq): Likewise.
5995         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5996         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5998         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5999         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6000         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6002 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6004         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6005         called function in non-PIC case.
6007 2015-01-31  David S. Miller  <davem@davemloft.net>
6009         * sysdeps/sparc/sparc32/bits/atomic.h
6010         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6011         unlock not after it.
6012         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6013         volatile register usage warnings from the compiler.
6015         * sysdeps/sparc/nptl/sem_init.c: Delete.
6016         * sysdeps/sparc/nptl/sem_post.c: Delete.
6017         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6018         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6019         * sysdeps/sparc/sparc32/sem_init.c: New file.
6020         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6021         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6022         padding explicitly initialized.
6023         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6024         padding for in-semaphore spinlock.
6025         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6026         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6027         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6028         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6029         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6030         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6031         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6032         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6033         version.
6034         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6035         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6037 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6039         [BZ #17801]
6040         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6041         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6042         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6043         New.
6044         (index_AVX_Fast_Unaligned_Load): Likewise.
6045         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6046         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6047         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6048         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6049         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6050         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6051         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6052         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6053         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6055 2015-01-29  Andreas Schwab  <schwab@suse.de>
6057         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6059 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6061         [BZ #17892]
6062         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6064 2015-01-28  Martin Sebor  <msebor@redhat.com>
6066         * math/README.libm-test: Clarify. Add "How to read the test output."
6068 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6070         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6071         Define to 0.
6073 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6075         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6076         (__HAVE_64B_ATOMICS): Define to 0.
6078 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6080         [BZ #17885]
6081         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6082         value to set as new flag.
6084         [BZ #16576]
6085         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6086         and use _ARCH_PPCSQ instead.
6087         (__ieee754_sqrt): Likewise.
6088         (__ieee754_sqrtf): Likewise.
6089         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6090         _ARCH_PPCSQ is defined.
6091         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6092         fsqrt instruction.
6093         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6094         _ARCH_PPCSQ is defined.
6095         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6096         fsqrts instruction.
6097         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6099 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6101         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6102         bug (GCC BZ #64739).
6104 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6106         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6107         Mark _retval as used.
6108         (lll_futex_wake_unlock): Likewise.
6109         (lll_futex_timed_wait_requeue_pi): Likewise.
6111         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6112         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6113         register variables.
6115         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6116         libm_hidden_def.
6118         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6119         (__bswap_64): Mark as __always_inline.
6121 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6123         [BZ #15378]
6124         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6125         when none of the search directories exist.
6127 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6129         [BZ #17869]
6130         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6131         power8 in .machine directive.
6133         [BZ #17868]
6134         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6135         set dependency from opd value.
6137 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6139         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6140         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6141         architecture.
6143 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6145         [BZ #17870]
6146         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6147         with uint64_t.
6148         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6149         (uint64_t) 1.
6150         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6151         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6152         Replace 1UL with (uint64_t) 1.
6153         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6154         int with uint64_t.
6156 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6158         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6159         (if_freenameindex): Likewise.
6161         * resource/getrlimit64.c: Add missing libc_hidden_def.
6163 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6165         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6166         __label__.
6167         (_FP_FMA): Likewise.
6168         (_FP_TO_INT_ROUND): Likewise.
6169         (_FP_FROM_INT): Likewise.
6171 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6173         [BZ #16418]
6174         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6175         Make code racy and cancel safe.
6177 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6179         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6180         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6181         attribution.
6183         * pwd/tst-getpw.c: Rewrite.
6185         [BZ #17702]
6186         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6187         (modules-names): Add moddummy1 and moddummy2.
6188         ($(objpfx)tst-rec-dlopen): Define.
6189         * dlfcn/moddummy1.c: New file.
6190         * dlfcn/moddummy2.c: New file.
6191         * dlfcn/tst-rec-dlopen.c: New file.
6192         * elf/dl-cache.c (_dl_load_cache_lookup):
6193         Return char*. Copy result with alloca/strcpy/strdup.
6194         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6195         returns char*. Free cached. If not saving realname
6196         free cached.
6197         * elf/dl-open.c (dl_open_worker): Do not assert that
6198         _r_debug->r_state is RT_CONSISTENT.
6199         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6200         returns char*.
6202 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6203             Carlos O'Donell  <carlos@redhat.com>
6205         [BZ #12674]
6206         * nptl/sem_waitcommon.c: New file.
6207         * nptl/sem_wait.c: Include sem_waitcommon.c.
6208         (__sem_wait_cleanup, do_futex_wait): Remove.
6209         (__new_sem_wait): Adapt.
6210         (__new_sem_trywait): New function.
6211         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6212         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6213         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6214         (sem_timedwait): Adapt.
6215         * nptl/sem_post.c (__new_sem_post): Adapt.
6216         (futex_wake): New function.
6217         (__old_sem_post): Add release MO fence.
6218         * nptl/sem_open.c (sem_open): Adapt.
6219         * nptl/sem_init.c (__new_sem_init): Adapt.
6220         (futex_private_if_supported): New function.
6221         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6222         (__old_sem_getvalue): Add using previous code.
6223         * sysdeps/nptl/internaltypes.h: Adapt.
6224         * nptl/tst-sem13.c (do_test): Adapt.
6225         * nptl/tst-sem11.c (main): Adapt.
6226         * nptl/sem_trywait.c: Remove.
6227         * nptl/DESIGN-sem.txt: Remove.
6228         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6229         (gen-as-const-headers): Remove structsem.sym.
6230         * nptl/structsem.sym: Remove.
6231         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6232         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6233         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6234         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6235         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6236         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6237         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6238         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6239         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6240         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6241         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6242         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6243         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6244         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6245         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6246         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6247         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6248         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6249         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6250         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6251         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6252         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6254 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6256         * INSTALL: Regenerated.
6258         * po/libc.pot: Regenerated.
6260 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6261             Sandra Loosemore  <sandra@codesourcery.com>
6262             Andrew Jenner  <andrew@codesourcery.com>
6263             Joseph Myers  <joseph@codesourcery.com>
6264             Nathan Sidwell  <nathan@codesourcery.com>
6266         * NEWS: Mention new Nios II port.
6267         * sysdeps/nios2/Implies: New file.
6268         * sysdeps/nios2/Makefile: New file.
6269         * sysdeps/nios2/Subdirs: New file.
6270         * sysdeps/nios2/Versions: New file.
6271         * sysdeps/nios2/__longjmp.S: New file.
6272         * sysdeps/nios2/abort-instr.h: New file.
6273         * sysdeps/nios2/backtrace.c: New file.
6274         * sysdeps/nios2/bits/endian.h: New file.
6275         * sysdeps/nios2/bits/fenv.h: New file.
6276         * sysdeps/nios2/bits/link.h: New file.
6277         * sysdeps/nios2/bits/setjmp.h: New file.
6278         * sysdeps/nios2/bsd-_setjmp.S: New file.
6279         * sysdeps/nios2/bsd-setjmp.S: New file.
6280         * sysdeps/nios2/configure: New generated file.
6281         * sysdeps/nios2/configure.ac: New file.
6282         * sysdeps/nios2/crti.S: New file.
6283         * sysdeps/nios2/crtn.S: New file.
6284         * sysdeps/nios2/dl-init.c: New file.
6285         * sysdeps/nios2/dl-machine.h: New file.
6286         * sysdeps/nios2/dl-sysdep.h: New file.
6287         * sysdeps/nios2/dl-tls.h: New file.
6288         * sysdeps/nios2/dl-trampoline.S: New file.
6289         * sysdeps/nios2/gccframe.h: New file.
6290         * sysdeps/nios2/gmp-mparam.h: New file.
6291         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6292         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6293         * sysdeps/nios2/ldsodefs.h: New file.
6294         * sysdeps/nios2/libc-tls.c: New file.
6295         * sysdeps/nios2/libm-test-ulps: New file.
6296         * sysdeps/nios2/machine-gmon.h: New file.
6297         * sysdeps/nios2/math-tests.h: New file.
6298         * sysdeps/nios2/math_private.h: New file.
6299         * sysdeps/nios2/memusage.h: New file.
6300         * sysdeps/nios2/nptl/Makefile: New file.
6301         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6302         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6303         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6304         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6305         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6306         * sysdeps/nios2/nptl/tls.h: New file.
6307         * sysdeps/nios2/preconfigure: New file.
6308         * sysdeps/nios2/s_fma.c: New file.
6309         * sysdeps/nios2/s_fmaf.c: New file.
6310         * sysdeps/nios2/setjmp.S: New file.
6311         * sysdeps/nios2/sfp-machine.h: New file.
6312         * sysdeps/nios2/sotruss-lib.c: New file.
6313         * sysdeps/nios2/stackguard-macros.h: New file.
6314         * sysdeps/nios2/stackinfo.h: New file.
6315         * sysdeps/nios2/start.S: New file.
6316         * sysdeps/nios2/sysdep.h: New file.
6317         * sysdeps/nios2/tls-macros.h: New file.
6318         * sysdeps/nios2/tst-audit.h: New file.
6319         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6320         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6321         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6322         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6323         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6324         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6325         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6326         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6327         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6328         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6329         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6330         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6331         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6332         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6333         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6334         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6335         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6336         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6337         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6338         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6339         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6340         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6341         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6342         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6343         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6344         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6345         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6346         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6347         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6348         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6349         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6350         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6351         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6352         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6353         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6354         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6355         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6356         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6357         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6358         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6359         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6360         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6361         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6362         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6364 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6366         [BZ #17844]
6367         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6368         (getutent): Use weak_alias in non SHARED case
6369         and default_symbol_version in SHARED case.
6370         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6371         (getutent_r, pututline): Likewise.
6372         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6373         (getutid): Likewise.
6374         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6375         (getutid_r): Likewise.
6376         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6377         (getutline): Likewise.
6378         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6379         (getutline_r): Likewise.
6380         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6381         (updwtmp): Likewise.
6383 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6385         [BZ #17848]
6386         * sysdeps/s390/s390-32/memcmp.S
6387         (memcmp_g5): Rename to __memcmp_g5.
6388         * sysdeps/s390/s390-32/memcpy.S
6389         (memcpy_g5): Rename to __memcpy_g5.
6390         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6391         (memcpy_mvcle) Rename to __memcpy_mvcle.
6392         * sysdeps/s390/s390-32/memset.S
6393         (memset_g5): Rename to __memset_g5.
6394         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6395         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6396         and use prefixed functions.
6397         * sysdeps/s390/s390-32/multiarch/memcmp.S
6398         (memcmp_z196): Rename to __memcmp_z196.
6399         (memcmp_z10): Rename to __memcmp_z10.
6400         (memcmp): Set alias to __memcmp_g5.
6401         (bcmp): Set alias to __memcmp_g5.
6402         * sysdeps/s390/s390-32/multiarch/memcpy.S
6403         (memcpy_z196): Rename to __memcpy_z196.
6404         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6405         (memcpy_z10): Rename to __memcpy_z10.
6406         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6407         (memcpy): Set alias to __memcpy_g5.
6408         * sysdeps/s390/s390-32/multiarch/memset.S
6409         (memset_z196): Rename to __memset_z196.
6410         Jump to __memset_mvcle instead of memset_mvcle.
6411         (memset_z10): Rename to __memset_z10.
6412         Jump to __memset_mvcle instead of memset_mvcle.
6413         (memset_mvcle) Rename to __memset_mvcle.
6414         (memset): Set alias to __memset_g5.
6415         * sysdeps/s390/s390-64/memcmp.S
6416         (memcmp_z900): Rename to __memcmp_z900.
6417         * sysdeps/s390/s390-64/memcpy.S
6418         (memcpy_z900): Rename to __memcpy_z900.
6419         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6420         (memcpy_mvcle) Rename to __memcpy_mvcle.
6421         * sysdeps/s390/s390-64/memset.S
6422         (memset_z900): Rename to __memset_z900.
6423         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6424         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6425         and use prefixed functions.
6426         * sysdeps/s390/s390-64/multiarch/memcmp.S
6427         (memcmp_z196): Rename to __memcmp_z196.
6428         (memcmp_z10): Rename to __memcmp_z10.
6429         (memcmp): Set alias to __memcmp_z900.
6430         (bcmp): Set alias to __memcmp_z900.
6431         * sysdeps/s390/s390-64/multiarch/memcpy.S
6432         (memcpy_z196): Rename to __memcpy_z196.
6433         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6434         (memcpy_z10): Rename to __memcpy_z10.
6435         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6436         (memcpy): Set alias to __memcpy_z900.
6437         * sysdeps/s390/s390-64/multiarch/memset.S
6438         (memset_z196): Rename to __memset_z196.
6439         Jump to __memset_mvcle instead of memset_mvcle.
6440         (memset_z10): Rename to __memset_z10.
6441         Jump to __memset_mvcle instead of memset_mvcle.
6442         (memset_mvcle) Rename to __memset_mvcle.
6443         (memset): Set alias to __memset_z900.
6445 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6447         [BZ #17748]
6448         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6449         __fesetenv instead of fesetenv.
6451 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6453         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6454         macro.
6456 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6458         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6459         regression on LE.
6461         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6462         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6463         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6464         strncmp-power8 object.
6465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6466         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6467         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6468         * NEWS: Update.
6470 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6471             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6473         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6474         trailing byte check.
6476 2015-01-13  David S. Miller  <davem@davemloft.net>
6478         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6480 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6482         * login/logout.c (logout): Use memset rather than bzero.
6483         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6484         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6485         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6486         (_gethtbyaddr): Likewise.
6487         * locale/programs/simple-hash.c (bcopy): Macro removed.
6489 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6491         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6492         Add strcmp-power8 object.
6493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6494         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6495         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6496         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6497         __strcmp_power8 implementation.
6498         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6499         * NEWS: Update.
6501         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6502         Add strncpy-power8 and stpncpy-power8 objects.
6503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6504         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6505         implementations.
6506         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6507         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6508         __stpncpy_power8 implementation.
6509         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6510         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6511         __strncpy_power8 implementation.
6512         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6513         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6514         * NEWS: Update.
6516         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6517         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6518         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6520         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6521         strncat-power8 object.
6522         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6523         __strcat_power8 implementation.
6524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6525         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6526         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6527         optimized strcat for power8.
6529         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6530         strcpy-power8 and stpcpy-power8 objects.
6531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6532         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6533         implementations.
6534         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6535         multiarch stpcpy implementation for POWER8.
6536         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6537         multiarch strcpy implementation for POWER8.
6538         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6539         __strcpy_power8 function.
6540         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6541         stpcpy for POWER8.
6542         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6543         strcpy for POWER8.
6544         * NEWS: Update.
6546 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6548         [BZ #16009]
6549         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6550         weights and rules. Use do_xfrm_cached if data fits in cache,
6551         do_xfrm otherwise.  Moved former main loop to...
6552         * (do_xfrm_cached): New function.
6553         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6554         find_idx, find_position and stack_push.
6555         * (find_idx): New function.
6556         * (find_position): Likewise.
6557         * localedata/sort-test.sh: Added test run for do_xfrm.
6558         * localedata/xfrm-test.c (main): Added command line option
6559         -nocache to run the test with strings that are too large for
6560         the STRXFRM cache.
6562 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6564         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6565         variable to lll_futex_wake call, not the value itself.
6567 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6569         [BZ #17803]
6570         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6571         twom64.  Adjust value to 0x1p-64L.
6572         (__scalblnl): Only return standard underflowing result for K <=
6573         -64 not K <= -63; adjust exponent for underflowing result by 64
6574         not 63.
6575         * math/libm-test.inc (scalbn_test_data): Add more tests.
6576         (scalbln_test_data): Likewise.
6578         [BZ #17834]
6579         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6580         0x1p63L.
6581         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6582         not HX.
6583         * math/libm-test.inc (scalbn_test_data): Add more tests.
6584         (scalbln_test_data): Likewise.
6586 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6587             Stefani Seibold  <stefani@seibold.net>
6589         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6590         (sysdep_routines): Add dl-vdso here, ...
6591         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6592         (sysdep_routines): ... not here.
6593         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6594         fallback when vDSO is not presented.
6595         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6596         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6597         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6598         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6599         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6600         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6601         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6602         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6603         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6604         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6605         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6606         fallback configurable symbol when vDSO is not available.
6607         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6608         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6609         be able to redefine fallback symbol when vDSO is not available.
6610         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6611         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6613 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6615         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6616         (TLS_INIT_TP): Add tm_capable initialization.
6617         (TLS_DEFINE_INIT_TP): Likewise.
6618         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6619         TCB.
6620         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6621         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6622         calculation.
6623         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6624         transactoion is lock elision is built and TCB tm_capable is set.
6625         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6627         (INTERNAL_SYSCALL_NCS): Likewise.
6628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6629         (INTERNAL_SYSCALL_NCS): Likewise.
6630         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6632         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6633         for powerpc.
6634         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6635         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6636         and remove it for 32 bits case.
6637         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6638         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6639         initialization.
6640         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6641         Disable lock elision with rdlocks if elision is not available.
6643         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6644         (sysdep_routines): Add lock elision objects.
6645         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6646         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6647         [pthread_mutex_t] (__elision): Add field.
6648         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6649         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6650         elision definitions for powerpc.
6651         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6652         implementation of lock elision for powerpc.
6653         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6654         implementation of timed lock elision for powerpc.
6655         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6656         implementation of trylock with lock elision for powerpc.
6657         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6658         implementaion of unlock for lock elision for powerpc.
6659         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6660         automatic enable lock elision for mutexes.
6661         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6662         transaction execution definitions for powerpc.
6663         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6664         definitions.
6665         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6666         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6667         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6668         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6669         * NEWS: Update.
6671 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6673         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6674         for #include of <shm-directory.h>.
6676 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
6678         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6679         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6681 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
6683         [BZ #17791]
6684         * NEWS: Mention bug fix.
6685         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6686         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6687         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6689 2015-01-09  Torvald Riegel <triegel@redhat.com>
6691         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6693 2015-01-09  Torvald Riegel <triegel@redhat.com>
6695         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6697 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6699         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6700         pointer and cast to uintptr_t.
6702 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6704         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6705         removed.
6706         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6708 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6710         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6711         of 0.
6713 2015-01-08  Roland McGrath  <roland@hack.frob.com>
6715         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6716         <nptl/pthreadP.h> instead.
6717         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6719         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6720         already defined.
6721         [__SIGRTMIN] (init): Function removed.
6722         [__SIGRTMIN] (initialized): Variable removed.
6723         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6724         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6725         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6726         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6727         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6728         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6729         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6730         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6731         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6732         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6733         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6734         * sysdeps/nptl/allocrtsig.c: New file.
6735         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6736         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6737         * sysdeps/generic/testrtsig.h: File removed.
6739         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6740         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6742         * nptl/nptl-init.c (pthread_functions): Conditionalize
6743         .ptr__nptl_setxid initialization on [SIGSETXID].
6745         * sysdeps/nptl/sys/procfs.h: New file.
6746         * nptl_db/Makefile (headers): Add it.
6747         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6749         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6750         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6751         * nptl/pthread_attr_setaffinity.c: Include it.
6752         * nptl/pthread_setattr_default_np.c: Likewise.
6753         * nptl/check-cpuset.h: New file.
6755 2015-01-08  Richard Henderson  <rth@redhat.com>
6757         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6758         (CFLAGS-tst-execstack-prog.c): Likewise.
6759         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6761 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
6762             Sandra Loosemore  <sandra@codesourcery.com>
6763             Andrew Jenner  <andrew@codesourcery.com>
6764             Joseph Myers  <joseph@codesourcery.com>
6765             Nathan Sidwell  <nathan@codesourcery.com>
6767         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6768         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6769         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6770         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6771         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6772         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6773         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6774         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6775         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6776         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6777         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6778         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6779         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6780         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6781         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6782         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6783         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6785 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6787         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6788         timespec struct member in syscall macro.
6789         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6790         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6791         first timeval struct member in syscall macro.
6792         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6794 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
6796         [BZ #17748]
6797         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6798         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6799         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6800         __feupdateenv and define as weak alias of __feupdateenv.  Use
6801         libm_hidden_weak.
6802         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6803         libm_hidden_def.
6804         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6805         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
6806         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6807         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6808         libm_hidden_def.
6809         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6810         __feupdateenv and define as weak alias of __feupdateenv.  Use
6811         libm_hidden_weak.
6812         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6813         libm_hidden_def.
6814         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6815         __feupdateenv and define as weak alias of __feupdateenv.  Use
6816         libm_hidden_weak.
6817         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6818         libm_hidden_def.
6819         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6820         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6821         (__feupdateenv): Likewise.
6822         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6823         __feupdateenv and define as weak alias of __feupdateenv.  Use
6824         libm_hidden_weak.
6825         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6826         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6827         libm_hidden_def.
6828         * sysdeps/tile/math_private.h (__feupdateenv): New inline
6829         function.
6830         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6831         libm_hidden_def.
6832         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6833         __feupdateenv instead of feupdateenv.
6834         (default_libc_feupdateenv_test): Likewise.
6835         (libc_feresetround_ctx): Likewise.
6837 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6839         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6840         prototype.
6842 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
6844         * posix/regcomp.c (parse_bracket_exp): Initialize type to
6845         COLL_SYM in a couple of places to avoid uninitialized variable
6846         wanings on tilegx gcc 4.8.2.
6848 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6850         * sysdeps/aarch64/strcpy.S: New file.
6851         * sysdeps/aarch64/stpcpy.S: New file.
6852         * NEWS: Updated.
6854 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6856         * sysdeps/aarch64/strrchr.S: New file.
6857         * NEWS: Updated.
6859 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
6861         [BZ #17658]
6862         * stdlib/setenv.c: Fix memory leak when setting large,
6863         duplicate string.
6865 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
6867         [BZ #17273]
6868         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6869         and tabs from buffer before parsing fstab entry.
6870         * misc/tst-mntent.c (main): Add test for mount entry with
6871         trailing spaces and tabs.
6873 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
6875         [BZ #17748]
6876         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
6877         * math/fesetround.c (fesetround): Rename to __fesetround and
6878         define as weak alias of __fesetround.  Use libm_hidden_weak.
6879         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6880         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6881         * sysdeps/arm/fesetround.c (fesetround): Likewise.
6882         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6883         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6884         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6885         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6886         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6887         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6888         __fesetround_inline.
6889         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6890         __fesetround_inline instead of __fesetround.
6891         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6892         __fesetround and define as weak alias of __fesetround.  Use
6893         libm_hidden_weak.  Call __fesetround_inline instead of
6894         __fesetround.
6895         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6896         __fesetround and define as weak alias of __fesetround.  Use
6897         libm_hidden_weak.
6898         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6899         Likewise.
6900         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6901         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6902         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6903         * sysdeps/tile/math_private.h (__fesetround): New inline function.
6904         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6905         __fesetround and define as weak alias of __fesetround.  Use
6906         libm_hidden_weak.
6907         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6908         __fesetround instead of fesetround.
6909         (default_libc_feholdexcept_setround): Likewise.
6910         (libc_feholdsetround_ctx): Likewise.
6911         (libc_feholdsetround_noex_ctx): Likewise.
6913         [BZ #17748]
6914         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6915         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6916         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6917         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6918         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6919         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6920         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6921         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6922         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6923         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6924         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6925         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6926         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6927         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6928         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6929         libm_hidden_def.
6930         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6931         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6932         Likewise.
6933         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6934         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6935         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6936         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6937         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6938         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6939         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6940         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6941         __fesetenv instead of fesetenv.
6942         (libc_feresetround_noex_ctx): Likewise.
6943         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6944         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6945         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6946         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6947         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6948         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6949         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6950         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6951         (__feupdateenv): Likewise.
6952         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6953         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6954         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6955         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6957 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6959         [BZ #17806]
6960         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6961         addresses have been freed.
6963 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6965         * resolv/res_init.c (__res_vinit): Improve comments about nserv
6966         and nservall.
6968 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
6970         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6971         Clean up check_pf allocation pattern. addresses
6973 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6975         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6976         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6977         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6978         * nptl/pthread_exit.c (__pthread_exit): Likewise.
6979         * nptl/pthread_join.c (pthread_join): Likewise.
6980         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6981         * sysdeps/posix/waitid.c (__waitid): Likewise.
6982         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6983         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6984         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6985         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6986         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6987         Likewise.
6988         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6989         (__libc_pread64): Likewise.
6990         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6991         (__libc_pwrite): Likewise.
6992         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6993         (__libc_pwrite64): Likewsie.
6994         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6995         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6996         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6997         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6998         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6999         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7000         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7002         Likewise.
7003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7004         (__libc_pread64): Likewise.
7005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7006         Likewise.
7007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7008         (__libc_pwrite64): Likewise.
7009         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7010         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7011         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7012         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7013         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7014         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7015         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7016         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7017         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7018         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7019         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7020         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7021         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7022         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7023         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7024         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7025         Likewise.
7027 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7029         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7030         (CFLAGS-test-double.c): Likewise.
7031         (CFLAGS-test-ldouble.c): Likewise.
7032         (CPPFLAGS-test-ifloat.c): Likewise.
7033         (CPPFLAGS-test-idouble.c): Likewise.
7034         (CPPFLAGS-test-ildoubl.c): Likewise.
7035         (CFLAGS-test-test-fenv.c): Remove variable.
7036         (CFLAGS-test-misc.c): Likewise.
7038 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7040         [BZ #17797]
7041         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7042         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7043         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7044         CLOCKS_PER_SEC == 1000000.
7045         * time/clocktest.c (main): Replace %ld with %jd and cast to
7046         intmax_t.
7048 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7050         * sysdeps/generic/unwind-resume.h: New file.
7051         * sysdeps/gnu/unwind-resume.c: Include it.
7052         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7053         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7054         argument list.
7055         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7056         global rather than static.
7057         (_Unwind_Resume): Update user.
7058         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7059         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7060         rather than static.  Add __attribute__ ((cold)).
7061         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7062         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7063         * sysdeps/arm/arm-unwind-resume.S: New file.
7064         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7065         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7066         * sysdeps/arm/Makefile [$(subdir) = csu]
7067         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7068         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7069         Add rt-arm-unwind-resume.
7070         [$(subdir) = nptl]
7071         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7072         Add pt-arm-unwind-resume.
7073         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7074         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7076 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7078         [BZ #17748]
7079         * include/fenv.h (__feholdexcept): Declare.  Use
7080         libm_hidden_proto.
7081         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7082         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7083         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7084         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7085         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7086         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7087         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7088         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7089         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7090         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7091         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7092         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7093         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7094         (feholdexcept): Likewise.
7095         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7096         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7097         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7098         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7099         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7100         __feholdexcept instead of feholdexcept.
7101         (default_libc_feholdexcept_setround): Likewise.
7103 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7105         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7106         to avoid using stl/str to align destination.
7108 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7110         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7112 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7114         [BZ #17796]
7115         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7116         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7117         Define as weak alias not strong alias.
7119 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7121         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7122         bltzal with addiupc.
7123         (RTLD_START): Ditto.
7125 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7127         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7128         for __vdso_* functions in declarations.
7129         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7130         definitions.
7131         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7132         INTERNAL_VSYSCALL): Use struct return types to check for error.
7134         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7135         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7136         function with cast from llround().
7137         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7138         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7139         Define.
7141 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7143         [BZ #17793]
7144         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7145         Define as weak alias not strong alias.
7147         [BZ #17635]
7148         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7149         ...
7150         * ctype/ctype-extn.c: ... here.
7151         (__isblank_l): Move to ...
7152         * ctype/ctype-c99_l.c: ... here.  New file.
7153         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7154         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7155         Remove variable.
7156         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7157         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7158         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7159         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7160         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7162         [BZ #17777]
7163         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7164         (posix_fadvise64): Define as weak alias not strong alias.
7165         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7166         (posix_fallocate64): Likewise.
7167         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7168         Remove variable.
7169         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7170         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7171         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7172         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7173         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7175 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7177         [BZ #16191]
7178         * NEWS: Mention bug fix.
7179         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7180         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7181         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7182         (HOST_STACK_END_ADDR): Likewise.
7184 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7186         [BZ #17748]
7187         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7188         * math/fegetround.c (fegetround): Rename to __fegetround and
7189         define as weak alias of __fegetround.  Use libm_hidden_weak.
7190         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7191         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7192         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7193         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7194         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7195         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7196         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7197         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7198         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7199         Undefine after rather than before function definition; use
7200         parentheses around function name in definition.
7201         (__fegetround): Also undefine macro after function definition.
7202         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7203         __fegetround and define as weak alias of __fegetround.  Use
7204         libm_hidden_weak.  Do not undefine as macro.
7205         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7206         Likewise.
7207         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7208         __fegetround and define as weak alias of __fegetround.  Use
7209         libm_hidden_weak.
7210         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7211         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7212         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7213         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7214         __fegetround and define as weak alias of __fegetround.  Use
7215         libm_hidden_weak.
7216         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7217         __fegetround instead of fegetround.
7219         [BZ #17782]
7220         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7221         Condition macro definition on [__USE_MISC].
7223         [BZ #17781]
7224         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7225         (struct sigaction): Change type of sa_flags field to int.
7227         [BZ #17780]
7228         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7229         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7230         __glibc_reserved0.
7232         * nptl/version.c (banner): Use single year in copyright notice.
7234         * NEWS: Update copyright dates.
7235         * catgets/gencat.c (print_version): Likewise.
7236         * csu/version.c (banner): Likewise.
7237         * debug/catchsegv.sh: Likewise.
7238         * debug/pcprofiledump.c (print_version): Likewise.
7239         * debug/xtrace.sh (do_version): Likewise.
7240         * elf/ldconfig.c (print_version): Likewise.
7241         * elf/ldd.bash.in: Likewise.
7242         * elf/pldd.c (print_version): Likewise.
7243         * elf/sotruss.sh: Likewise.
7244         * elf/sprof.c (print_version): Likewise.
7245         * iconv/iconv_prog.c (print_version): Likewise.
7246         * iconv/iconvconfig.c (print_version): Likewise.
7247         * locale/programs/locale.c (print_version): Likewise.
7248         * locale/programs/localedef.c (print_version): Likewise.
7249         * login/programs/pt_chown.c (print_version): Likewise.
7250         * malloc/memusage.sh (do_version): Likewise.
7251         * malloc/memusagestat.c (print_version): Likewise.
7252         * malloc/mtrace.pl: Likewise.
7253         * manual/libc.texinfo: Likewise.
7254         * nptl/version.c (banner): Likewise.
7255         * nscd/nscd.c (print_version): Likewise.
7256         * nss/getent.c (print_version): Likewise.
7257         * nss/makedb.c (print_version): Likewise.
7258         * posix/getconf.c (main): Likewise.
7259         * scripts/test-installation.pl: Likewise.
7260         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7262 2015-01-02  Will Newton  <will.newton@linaro.org>
7264         * sysdeps/arm/armv7/configure: Removed.
7265         * sysdeps/arm/armv7/configure.ac: Likewise.
7267 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7269         * All files with FSF copyright notices: Update copyright dates
7270         using scripts/update-copyrights.
7271         * intl/plural.c: Regenerated.
7272         * locale/programs/charmap-kw.h: Likewise.
7273         * locale/programs/locfile-kw.h: Likewise.
7275 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7277         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7279 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7281         [BZ #17748]
7282         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7283         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7284         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7285         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7286         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7287         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7288         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7289         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7290         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7291         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7292         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7293         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7294         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7295         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7296         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7297         libm_hidden_def.
7298         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7299         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7300         Likewise.
7301         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7302         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7303         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7304         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7305         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7306         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7307         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7308         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7309         __fegetenv instead of fegetenv.
7310         (libc_feholdsetround_noex_ctx): Likewise.
7312 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7314         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7315         (Elf_MIPS_ABIFlags_v0): New structure.
7316         (EF_MIPS_FP64): Define.
7317         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7318         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7319         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7320         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7321         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7322         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7323         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7324         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7325         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7326         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7327         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7328         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7329         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7330         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7331         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7332         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7333         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7334         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7335         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7336         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7337         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7338         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7339         field.
7340         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7341         EF_MIPS_FP64.
7342         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7343         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7344         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7345         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7346         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7347         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7348         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7349         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7350         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7351         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7352         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7353         record the current FP ABI extension.
7354         (mips-mode-switch): Define to show if kernel headers support mode
7355         switching.
7356         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7357         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7358         supported SYSV ABI version to 3.
7359         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7360         feature.
7362 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7363             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7365         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7366         path.
7367         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7369 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7371         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7372         __fegetround and redefine to call __fegetround.  Remove condition
7373         on [!__NO_MATH_INLINES].
7374         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7375         function.
7376         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7377         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7378         Remove macro.
7379         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7380         instead of <fenv_libc.h>.
7381         (__llrintl): Call fegetround instead of __fegetround.
7382         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7383         instead of <fenv_libc.h>.
7384         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7385         (__lrintl): Call fegetround instead of __fegetround.
7386         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7387         instead of <fenv_libc.h>.
7388         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7389         (__rintl): Call fegetround instead of __fegetround.
7391 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7393         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7394         arrays.
7396 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7398         [BZ #17775]
7399         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7400         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7401         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7403 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7405         * sysdeps/i386/tls-macros.h: Include <features.h>.
7406         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7407         (TLS_IE): Likewise.
7408         (TLS_LD): Likewise.
7409         (TLS_GD): Likewise.
7410         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7411         define for GCC >= 5.0.
7413 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7415         * math/test-fenv.c (test_single_exception, set_single_exc,
7416         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7417         feexcp_mask_test, feenable_test, fe_single_test): Add
7418         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7419         case where they are not used.
7420         * math/libm-test.inc: Likewise.
7421         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7422         unused in the absence of FP rounding/exception support.
7423         * stdio-common/tst-printf-round.c: Likewise.
7424         * stdlib/tst-strtod-round.c: Likewise.
7425         * stdlib/tst-strtod-underflow.c: Likewise.
7427 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7429         [BZ #17723]
7430         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7431         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7432         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7433         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7434         libm_hidden_weak.
7435         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7436         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7437         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7438         libm_hidden_def.
7439         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7440         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7441         libm_hidden_weak.
7442         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7443         Likewise.
7444         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7445         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7446         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7447         libm_hidden_weak.
7448         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7449         libm_hidden_def.
7450         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7451         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7452         (__feraiseexcept): Likewise.
7453         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7454         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7455         libm_hidden_weak.
7456         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7457         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7458         libm_hidden_def.
7459         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7460         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7461         Use libm_hidden_def.
7462         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7463         libm_hidden_def.
7464         (feraiseexcept): Define as weak not strong alias.  Use
7465         libm_hidden_weak.
7466         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7467         New inline function.  Factored out of ...
7468         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7469         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7470         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7471         feraiseexcept.
7472         * math/w_acos.c (__acos): Likewise.
7473         * math/w_asin.c (__asin): Likewise.
7474         * math/w_ilogb.c (__ilogb): Likewise.
7475         * math/w_j0.c (y0): Likewise.
7476         * math/w_j1.c (y1): Likewise.
7477         * math/w_jn.c (yn): Likewise.
7478         * math/w_log.c (__log): Likewise.
7479         * math/w_log10.c (__log10): Likewise.
7480         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7481         * sysdeps/aarch64/fpu/math_private.h
7482         (libc_feupdateenv_test_aarch64): Likewise.
7483         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7484         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7485         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7486         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7487         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7488         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7489         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7490         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7491         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7492         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7494 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7496         [BZ #17732]
7497         * io/test-utime.c (main): Replace %ld with %jd and cast to
7498         intmax_t.
7499         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7500         * nptl/tst-mutex5.c: Include <stdint.h>.
7501         (do_test): Replace %ld with %jd and cast to intmax_t.
7502         * posix/tst-regex.c (run_test): Likewise.
7503         (run_test_backwards): Likewise.
7504         * rt/tst-clock.c: Include <stdint.h>.
7505         (clock_test): Replace %ld with %jd and cast to intmax_t.
7506         * rt/tst-cpuclock1.c: Include <stdint.h>.
7507         (do_test): Replace %lu with %ju and cast to uintmax_t.
7508         * rt/tst-cpuclock2.c: Include <stdint.h>.
7509         (do_test): Replace %lu with %ju and cast to uintmax_t.
7510         * rt/tst-mqueue1.c: Include <stdint.h>.
7511         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7512         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7513         intmax_t.
7514         * rt/tst-mqueue4.c (do_test): Likewise.
7515         * rt/tst-timer4.c: Include <stdint.h>.
7516         (check_ts): Replace %ld with %jd and cast to intmax_t.
7517         (do_test): Likewise.
7518         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7519         and cast to intmax_t.
7520         * sysdeps/pthread/tst-timer.c (main): Likewise.
7521         * time/clocktest.c (main): Likewise.
7522         * time/tst-posixtz.c (do_test): Likewise.
7523         * timezone/tst-timezone.c (main): Likewise.
7525 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7526             H.J. Lu  <hongjiu.lu@intel.com>
7528         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7529         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7530         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7531         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7532         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7533         version if bit_Fast_Unaligned_Load is set.
7534         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7535         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7536         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7537         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7538         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7539         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7540         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7541         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7542         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7543         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7544         to 4.
7545         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7546         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7547         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7548         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7550 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7552         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7553         instead of #if to avoid a Wundef warning.
7554         * stdlib/tst-limits.c (do_test): Likewise.
7556         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7557         parallel other exception macros.
7558         (fegetenv): Convert from macro to extern inline so that it applies
7559         retroactively to inline functions already seen by the compiler.
7560         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7562         * posix/Makefile (before-compile): Use $(objpfx) for
7563         posix-conf-vars-def.h.
7565 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7567         * posix/getconf.c (main): Use size_t for type of I.
7568         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7569         NSPEC.
7571         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7572         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7573         * posix/posix-envs.def: Likewise.
7574         * sysdeps/posix/sysconf.c: Likewise.
7575         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7576         (specs): Remove array.
7577         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7578         array.
7580         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7581         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7582         (__sysconf): Use CONF_IS_* macros.
7584         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7585         ($(objpfx)posix-conf-vars-def.h): New target.
7586         * posix/posix-conf-vars.list: New file.
7587         * posix/posix-conf-vars.h: New file.
7588         * posix/confstr.c: Include posix-conf-vars.h.
7589         (confstr): Use CONF_IS_* macros.
7590         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7591         CONF_IS_* macros.
7592         * scripts/gen-posix-conf-vars.awk: New file.
7594 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7596         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7597         fegetround): Add no-op macros to avoid linknamespace issues.
7599         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7600         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7602         * sysdeps/unix/sysv/linux/tile/sysdep.h
7603         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7604         assembly-specific section to avoid a redefinition warning.
7606         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7607         long before casting to pointer to avoid a cast warning.
7609 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7611         * sysdeps/tile/tilegx/Implies: New file.
7613 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7615         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7617 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7619         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7621 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7623         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7624         not define.
7625         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7626         <kernel-features.h>.
7627         (__utimes) [__NR_utimes]: Make code unconditional.
7628         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7629         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7630         (__ASSUME_UTIMES): Do not undefine.
7631         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7632         (__ASSUME_UTIMES): Likewise.
7633         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7634         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7635         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7636         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7638 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7640         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7642 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7644         [BZ #17747]
7645         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7646         alias to weak alias for j0l, y0l.
7647         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7648         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7650         [BZ #17746]
7651         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7652         conversion.
7654 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7656         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7657         to zero if not already defined.
7659 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7661         [BZ #17724]
7662         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7663         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7664         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7665         (char *) casts added.
7666         * sysdeps/ieee754/k_standardf.c: New file.
7667         * sysdeps/ieee754/k_standardl.c: Likewise.
7668         * math/Makefile (libm-support): Remove k_standard.
7669         (libm-calls): Add k_standard.
7671 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7673         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7674         Optimize to avoid an unnecessary FPCR read.
7676 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7678         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7679         Optimize to reduce FPCR/FPSR accesses.
7681 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7683         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7684         Call libc_fetestexcept_aarch64.
7686 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7688         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7689         Call libc_fesetround_aarch64.
7691 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7693         [BZ #17733]
7694         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7695         (__bind): Do not define as weak alias.
7696         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7697         define.
7698         (__getsockname): Do not define as weak alias.
7700 2014-12-22  Will Newton  <will.newton@linaro.org>
7702         * manual/install.texi: Document that we require bison 2.7
7703         or above.
7704         * INSTALL: Regenerate.
7705         * configure.ac: Use AC_CHECK_PROG_VER instead of
7706         AC_PATH_PROG when checking for bison and check for
7707         version 2.7 or above.
7708         * configure: Regenerate.
7710 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
7712         [BZ #17745]
7713         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7714         * sysdeps/tile/ffsll.c (ffsll): To here.
7716         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7718 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7720         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7721         if not defined.
7722         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7723         definition.
7724         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7725         hidden ___tls_get_addr.
7726         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7727         hidden __tls_get_addr.
7728         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7729         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7730         Likewise.
7732 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7734         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7735         _dl_init call.
7737 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7739         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7740         from "call _dl_init@PLT".
7741         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7743 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
7745         * manual/search.texi: (Array Sort Function): Clarify stable sorting
7746         guarantees.
7748 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
7750         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7752 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7754         [BZ #17744]
7755         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7756         strnlen.
7758 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7760         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7761         of multu on MIPSr6.
7762         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7763         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7764         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7765         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7766         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7768 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7770         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7771         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7772         (PTR_SUBU): Use subu for mips32r6/mips64r6.
7773         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7774         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7775         mips32r6/mips64r6.
7776         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7778 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
7780         * string/strncat.c (STRNCAT): Simplify implementation.
7782 2014-12-19  David S. Miller  <davem@davemloft.net>
7784         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7785         access the quad as both a long double and as a series of 4 words.
7787         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7788         link_map->l_info array access.
7790 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7792         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7794         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7795         * math/atest-exp2.c (TIMEOUT): Likewise.
7796         * math/atest-sincos.c (TIMEOUT): Likewise.
7798 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7800         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7801         -Wno-error with -fno-builtin-lround.
7803 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7805         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7806         Contains futex constants and functions moved over from ...
7807         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
7808         <lowlevellock-futex.h>.
7809         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7810         (lll_timedwait_tid): Add comments and parentheses around macro
7811         arguments.
7813 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7815         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7816         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
7817         (__lll_private_flag): Remove.
7818         (lll_futex_wait): Likewise.
7819         (lll_futex_timed_wait): Likewise.
7820         (lll_futex_wake): Likewise.
7821         (lll_futex_requeue): Likewise.
7822         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7823         (__lll_timedwait_tid): Spell out argument names.
7824         (lll_timedwait_tid): Add comments and parentheses around macro
7825         arguments.
7826         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7827         LLL_SHARED and LLL_PRIVATE usable from assembly code.
7829 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7831         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7832         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7833         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7834         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7835         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7836         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7837         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7838         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7839         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7840         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7841         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7842         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7843         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7844         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7845         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7846         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7847         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7848         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7849         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7851 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7853         * sysdeps/x86_64/x32/Makefile: New file.
7855 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7857         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7858         1L with (mp_limb_t) 1.
7860 2014-12-17  Roland McGrath  <roland@hack.frob.com>
7862         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7863         * nptl/libc_pthread_init.c: ... here.
7864         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7865         * nptl/register-atfork.c: ... here.
7867         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7868         Use pthread_sigmask rather than INTERNAL_SYSCALL.
7869         Use assert_perror to check its return value.
7870         (__gai_create_helper_thread): Likewise.
7872         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7874         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7876 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
7878         [BZ #17725]
7879         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7880         __profil_counter.
7881         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7882         Likewise.
7883         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7884         Likewise.
7885         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7886         Likewise.
7887         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7888         (profil_counter): Likewise.
7889         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7890         (profil_counter): Likewise.
7891         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7892         Likewise.
7893         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7894         Likewise.
7895         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7896         (profil_counter): Likewise.
7897         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7898         Likewise.
7899         [!__profil_counter] (profil_counter): Define as weak alias of
7900         __profil_counter.
7901         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7902         (profil_counter): Rename to __profil_counter.
7903         [!__profil_counter] (profil_counter): Define as weak alias of
7904         __profil_counter.
7905         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7906         (profil_counter): Rename to __profil_counter.
7907         [!__profil_counter] (profil_counter): Define as weak alias of
7908         __profil_counter.
7909         * sysdeps/posix/profil.c: Update comment referring to
7910         profil_counter.
7911         (__profil): Use __profil_counter instead of profil_counter.
7912         * sysdeps/posix/sprofil.c (profil_counter): Rename to
7913         __profil_counter.  Use __profil_counter_ushort and
7914         __profil_counter_uint in definitions.
7915         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7916         instead of profil_counter_uint and profil_counter_ushort.
7918         [BZ #17722]
7919         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7920         define as weak alias of __inet_makeaddr.
7921         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7922         as weak alias of __inet_addr.
7923         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7924         as weak alias of __inet_pton.  Use libc_hidden_weak.
7925         * include/arpa/inet.h (__inet_pton): Declare.  Use
7926         libc_hidden_proto.
7927         (inet_makeaddr): Don't use libc_hidden_proto.
7928         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
7929         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7930         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
7931         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7932         Remove variable.
7933         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7934         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7936 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
7938         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7940 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7942         * stdio-common/bug-vfprintf-nargs.c (do_test):
7943         Cast value to intptr_t to avoid format warning
7944         for usage with PRIdPTR printing macro.
7946 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7948         * libio/tst-widetext.c (do_test):
7949         Use format type %td instead of %Zd for ptrdiff_t
7950         in order to avoid format warning.
7952 2014-12-17  Andreas Schwab  <schwab@suse.de>
7954         * nscd/mem.c (gc): Add size_t cast to match printf format.
7956 2014-12-16  Roland McGrath  <roland@hack.frob.com>
7958         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7959         (init): Apply PTR_MANGLE to pointers before storing them.
7960         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7961         before using them.
7963 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
7965         [BZ #17719]
7966         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7967         define as weak alias of __memrchr.
7968         (__memrchr): Do not define as strong alias of memrchr.
7969         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7970         Remove variable.
7971         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7972         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7973         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7975         [BZ #17717]
7976         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7977         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
7978         (if_indextoname): Rename to __if_indextoname and define as weak
7979         alias of __if_indextoname.  Use libc_hidden_weak.
7980         (if_freenameindex): Rename to __if_freenameindex and define as
7981         weak alias of __if_freenameindex.
7982         (if_nameindex): Rename to __if_nameindex and define as weak alias
7983         of __if_nameindex.
7984         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7985         __if_nametoindex and define as weak alias of __if_nametoindex.
7986         Use libc_hidden_weak.
7987         (if_freenameindex): Rename to __if_freenameindex and define as
7988         weak alias of __if_freenameindex.
7989         (if_nameindex): Rename to __if_nameindex and define as weak alias
7990         of __if_nameindex.
7991         (if_indextoname): Rename to __if_indextoname and define as weak
7992         alias of __if_indextoname.  Use libc_hidden_weak.
7993         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7994         __if_nametoindex and define as weak alias of __if_nametoindex.
7995         Use libc_hidden_weak.
7996         (if_freenameindex): Rename to __if_freenameindex and define as
7997         weak alias of __if_freenameindex.  Use libc_hidden_weak.
7998         (if_nameindex_netlink): Use __if_freenameindex instead of
7999         if_freenameindex.
8000         (if_nameindex): Rename to __if_nameindex and define as weak alias
8001         of __if_nameindex.  Use libc_hidden_weak.
8002         (if_indextoname): Rename to __if_indextoname and define as weak
8003         alias of __if_indextoname.  Use libc_hidden_weak.
8004         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8005         libc_hidden_proto.
8006         [!_ISOMAC] (__if_freenameindex): Likewise.
8007         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8008         if_nametoindex.
8009         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8010         variable.
8011         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8012         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8013         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8014         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8015         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8016         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8017         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8019         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8020         Remove variable.
8021         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8022         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8024 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8026         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8027         subscript above bounds'
8029         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8030         bounds.
8032 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8034         * libio/tst-fopenloc.c: Use test-skeleton.c.
8036         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8037         (entry): Rename to ITEM.
8038         (do_test, comp): Adjust.
8040         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8042 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8044         * string/tester.c: Include <libc-internal.h>.
8045         (test_memset): Ignore -Wmemset-transposed-args.
8047 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8049         * misc/tst-mntent2.c (do_test): Fix warning.
8051 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8053         * elf/tst-unique4lib.cc(a): Mark as used.
8055 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8057         [BZ #17630]
8058         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8059         names.
8061 2014-12-16  Allan McRae  <allan@archlinux.org>
8063         * stdio-common/Makefile (tests): Re-add bug26.
8065 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8067         [BZ #17657]
8068         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8069         static array.
8071 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8073         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8074         (__lll_lock_wait): Likewise.
8075         (__lll_timedlock_wait): Likewise.
8076         (__lll_timedwait_tid): Likewise.
8077         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8078         (__lll_robust_timedlock_wait): Likewise.
8079         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8080         (lll_cond_trylock): Likewise.
8081         (__lll_lock): Likewise.
8082         (__lll_robust_lock): Likewise.
8083         (__lll_cond_lock): Likewise.
8084         (lll_robust_cond_lock): Likewise.
8085         (__lll_timedlock): Likewise.
8086         (__lll_robust_timedlock): Likewise.
8087         (__lll_unlock): Likewise.
8088         (__lll_robust_unlock): Likewise.
8089         (lll_wait_tid): Likewise.
8090         (lll_timedwait_tid): Likewise.
8092 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8094         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8096 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8098         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8100 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8102         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8103         * stdio-common/tst-sprintf.c: Likewise.
8105 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8107         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8109 2014-12-15  Jeff Law  <law@redhat.com>
8111         [BZ #16617]
8112         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8113         on the heap.  (CVE-2012-3406)
8114         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8115         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8116         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8118 2014-12-15  Will Newton  <will.newton@linaro.org>
8120         * manual/install.texi: Bump required version of texinfo
8121         to 4.7 from 4.5.
8122         * INSTALL: Regenerated.
8123         * configure.ac: Check for makeinfo version 4.7 and above.
8124         * configure: Regenerated.
8126 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8128         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8129         PREFIX, string constant to insert between directory and name.
8130         * sysdeps/posix/shm_open.c: Update caller.
8131         * sysdeps/posix/shm_unlink.c: Likewise.
8132         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8133         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8134         (SEM_SHM_PREFIX): New macro.
8135         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8136         [$(have-thread-library) = no].
8137         * nptl/Makefile (libpthread-routines): Add shm-directory.
8138         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8139         * sysdeps/nptl/shm-directory.h: New file.
8140         * sysdeps/posix/shm-directory.c
8141         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8142         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8143         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8144         INTERNAL_SYSCALL.
8145         (__where_is_shmfs): Function removed.
8146         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8147         Variables removed.
8148         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8149         Use SHM_GET_NAME.
8150         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8152         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8153         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8154         unconditional for use inside libpthread.
8155         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8157 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8159         * nptl/pthread_getaffinity.c: New file.
8160         * nptl/pthread_setaffinity.c: New file.
8161         * nptl/pthread_getname.c: New file.
8162         * nptl/pthread_setname.c: New file.
8164         * nptl/pthread_create.c (START_THREAD_DEFN)
8165         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8167 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8168             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8170         * resolv/res_send.c (send_vc): Disable warning resplen may
8171         be used uninitialized.
8173 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8175         * nptl/tst-mutex6.c
8176         (ATTR_NULL): New define checks ATTR against NULL.
8177         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8178         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8180 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8182         [BZ #17581]
8183         * malloc/hooks.c
8184         (mem2mem_check): Revert my previous change.
8185         (malloc_check_get_size): Revert my previous change.
8186         (mem2chunk_check): Revert my previous change.
8188 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8190         * sysdeps/posix/shm-directory.c: New file.
8191         * sysdeps/posix/shm-directory.h: New file.
8192         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8193         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8194         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8195         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8196         Transmute EPERM to EACCES.
8197         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8198         from ...
8199         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8200         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8202 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8204         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8205         pointer and cast to uintptr_t.
8206         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8207         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8208         Add cast to avoid warning.
8209         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8211 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8213         * nptl/semaphore.h: Move to ...
8214         * sysdeps/pthread/semaphore.h: ... here.
8215         * Makefile (installed-headers): Change nptl/semaphore.h to
8216         sysdeps/pthread/semaphore.h.
8218 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8220         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8221         generated error format strings.
8223         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8224         -Wformat-extra-args warnings for scanf formats.
8225         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8226         test of zero-length format (duh).
8227         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8228         corner-case scanf format test.
8229         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8230         generated fprintf format string.
8231         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8232         corner-case sprintf format tests.
8233         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8234         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8235         -Wformat-extra-args warnings throughout.
8236         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8237         (CFLAGS-scanf4.c): Likewise.
8238         (CFLAGS-scanf7.c): Likewise.
8239         (CFLAGS-tst-sprintf.c): Likewise.
8240         (CFLAGS-tst-printf.c): Likewise.
8241         (CFLAGS-tst-printfsz.c): Likewise.
8243 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8245         * include/cpio.h: New file.
8246         * include/fmtmsg.h: Likewise.
8248         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8249         corresponding format argument to size_t.
8250         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8251         arguments.
8252         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8253         corresponding format argument to size_t.
8254         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8255         arguments.
8256         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8257         corresponding format argument to size_t.
8258         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8259         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8260         (CFLAGS-tst-mbswcs2.c): Likewise.
8261         (CFLAGS-tst-mbswcs3.c): Likewise.
8262         (CFLAGS-tst-mbswcs4.c): Likewise.
8263         (CFLAGS-tst-mbswcs5.c): Likewise.
8264         (CFLAGS-tst-trans.c): Likewise
8266 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8268         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8269         rather than assuming they won't contain any '%'s.
8271 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8273         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8274         inhibit_loop_to_libcall to avoid recursive calls.
8275         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8276         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8278 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8280         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8281         prototype.
8283 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8285         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8286         integer value instead of boolean.
8288 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8290         * malloc/malloc.c: Fix powerof2 check.
8292 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8294         * locale/programs/locfile.h (maybe_swap_uint32):
8295         Remove inline and add unused attribute.
8297 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8299         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8300         Truncating assembler expression to a .long expression.
8302 2014-12-11  Andreas Schwab  <schwab@suse.de>
8304         * elf/rtld.c (struct map_args): Constify str member.
8305         (do_preload): Constify fname argument.
8307 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8309         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8310         constants definition.
8312 2014-12-11  Andreas Schwab  <schwab@suse.de>
8314         [BZ #16657]
8315         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8316         FORCE_ELISION instead of DO_ELISION.
8317         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8318         Remove.
8319         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8320         Likewise.
8322         * iconvdata/gconv-modules: Remove duplicate entry.
8324 2014-12-11  Will Newton  <will.newton@linaro.org>
8326         Merge gettext 0.19.3 into intl/.
8328         This involves a number of cosmetic changes to comments
8329         and ANSI function definitions and prototypes throughout
8330         all the files. The gettext copyright header is used but
8331         with the date ranges taken from the glibc copy.
8333         * NEWS: Add gettext merge to 2.21.
8334         * intl/bindtextdom.c: Switch to gettext copyright.
8335         Use ANSI definitions and prototypes.
8336         Use gl_* locking primitives rather than __libc_* ones.
8337         Use __builtin_expect rather than __glibc_likely/unlikely.
8338         * intl/dcgettext.c: Switch to gettext copyright.
8339         Use ANSI definitions and prototypes.
8340         * intl/dcigettext.c: Switch to gettext copyright.
8341         Use ANSI definitions and prototypes.
8342         (INTDIV0_RAISES_SIGFPE): New define.
8343         Use gl_* locking primitives rather than __libc_* ones.
8344         Include eval-plural.h instead of plural-eval.c.
8345         Use __builtin_expect rather than __glibc_likely/unlikely.
8346         * intl/dcngettext.c: Switch to gettext copyright.
8347         Use ANSI definitions and prototypes.
8348         * intl/dgettext.c: Likewise.
8349         * intl/dngettext.c: Likewise.
8350         * intl/plural-eval.c: Renamed to...
8351         * intl/eval-plural.h: ...this.
8352         * intl/explodename.c: Switch to gettext copyright.
8353         Use ANSI definitions and prototypes.
8354         (_nl_explode_name): Use strchr instead of __rawmemchr.
8355         * intl/finddomain.c: Switch to gettext copyright.
8356         Use ANSI definitions and prototypes.
8357         Use gl_* locking primitives rather than __libc_* ones.
8358         (_nl_find_domain): Use malloc rather than alloca for
8359         allocation of temporary locale name.
8360         * intl/gettext.c: Switch to gettext copyright.
8361         Use ANSI definitions and prototypes.
8362         * intl/gettextP.h: Switch to gettext copyright.
8363         Use ANSI definitions and prototypes.
8364         Use gl_* locking primitives rather than __libc_* ones.
8365         * intl/gmo.h: Switch to gettext copyright.
8366         (struct sysdep_string): Move struct segment_pair outside of
8367         struct definition.
8368         * intl/hash-string.c: Use ANSI definitions and prototypes.
8369         * intl/hash-string.h: Switch to gettext copyright.
8370         Use ANSI definitions and prototypes.
8371         * intl/l10nflist.c: Switch to gettext copyright.
8372         Use ANSI definitions and prototypes.
8373         (_nl_normalize_codeset): Avoid integer overflow.
8374         * intl/loadinfo.h: Switch to gettext copyright.
8375         Use ANSI definitions and prototypes.
8376         (LIBINTL_DLL_EXPORTED): New define.
8377         (PATH_SEPARATOR): New define.
8378         * intl/loadmsgcat.c: Switch to gettext copyright.
8379         * intl/localealias.c: Switch to gettext copyright.
8380         Use ANSI definitions and prototypes.
8381         (_nl_expand_alias): Use PATH_SEPARATOR.
8382         * intl/ngettext.c: Switch to gettext copyright.
8383         Use ANSI definitions and prototypes.
8384         * intl/plural-exp.c: Likewise.
8385         * intl/plural-exp.h: Switch to gettext copyright.
8386         Use ANSI definitions and prototypes.
8387         (struct expression): Move definition of enum operator outside
8388         of struct definition.
8389         * intl/plural.c: Regenerate.
8390         * intl/plural.y: Switch to gettext copyright.
8391         Use ANSI definitions and prototypes.
8392         Port to bison 3.0.
8393         * intl/textdomain.c: Switch to gettext copyright.
8394         Use ANSI definitions and prototypes.
8395         Use gl_* locking primitives rather than __libc_* ones.
8397 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8399         * debug/warning-nop.c: Add used atrribute.
8401 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8403         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8405         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8406         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8407         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8409 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8410             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8412         [BZ #17634]
8413         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8414         Undefine after defining function.  Define as weak alias of
8415         __wcschr.  Use libc_hidden_weak.
8416         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8417         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8418         (libc_hidden_def): Also define __GI___wcschr alias.
8419         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8420         __wcschr and define as weak alias of __wcschr.
8421         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8422         __wcschr.
8423         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8424         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8425         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8426         libc_hidden_weak.  Do not use libc_hidden_def.
8427         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8428         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8429         __GI___wcschr alias.
8430         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8431         [IS_IN (libc)] (wcschr): Define as macro expanding to
8432         __redirect_wcschr.
8433         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8434         [IS_IN (libc)] (__wcschr_power6): Likewise.
8435         [IS_IN (libc)] (__wcschr_power7): Likewise.
8436         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8437         instead of wcschr.
8438         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8439         __libc_wcschr.
8440         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8441         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8442         __wcschr and define as weak alias of __wcschr.  Use
8443         libc_hidden_builtin_def.
8444         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8445         as weak alias of __wcschr.  Use libc_hidden_weak.
8446         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8447         wcschr.
8448         * time/era.c (_nl_init_era_entries): Likewise.
8449         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8450         variable.
8451         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8452         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8454 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8456         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8457         format for long int variable.
8459 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8461         [BZ #10672]
8462         * manual/search.texi: (Array Sort Function): Remove claim how to make
8463         qsort stable.
8465 2014-12-10  Andreas Schwab  <schwab@suse.de>
8467         [BZ #12847]
8468         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8469         user-controlled locks.
8471 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8473         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8474         register.
8476 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8478         * configure.ac (--disable-werror): New configure option.
8479         (enable_werror): New AC_SUBST.
8480         * configure: Regenerated.
8481         * config.make.in (enable-werror): New variable.
8482         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8483         -Wno-error=undef.
8484         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8485         * manual/install.texi (Configuring and compiling): Document
8486         --disable-werror.
8487         * INSTALL: Regenerated.
8488         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8489         (CFLAGS-tst-chk2.c): Likewise.
8490         (CFLAGS-tst-chk3.c): Likewise.
8491         (CFLAGS-tst-chk4.cc): Likewise.
8492         (CFLAGS-tst-chk5.cc): Likewise.
8493         (CFLAGS-tst-chk6.cc): Likewise.
8494         (CFLAGS-tst-lfschk1.c): Likewise.
8495         (CFLAGS-tst-lfschk2.c): Likewise.
8496         (CFLAGS-tst-lfschk3.c): Likewise.
8497         (CFLAGS-tst-lfschk4.cc): Likewise.
8498         (CFLAGS-tst-lfschk5.cc): Likewise.
8499         (CFLAGS-tst-lfschk6.cc): Likewise.
8501         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8502         (main): Disable -Wdeprecated-declarations around calls to
8503         register_printf_function.
8505         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8506         (do_test): Disable -Wdiv-by-zero around some calls to
8507         fwrite_unlocked and fread_unlocked.
8509         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8510         (DIAG_POP_NEEDS_COMMENT): Likewise.
8511         (_DIAG_STR1): Likewise.
8512         (_DIAG_STR): Likewise.
8513         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8514         * stdio-common/bug21.c: Include <libc-internal.h>.
8515         (do_test): Disable -Wformat around call to sscanf.
8516         * stdio-common/scanf14.c: Include <libc-internal.h>.
8517         (main): Disable -Wformat around some calls to scanf functions.
8519 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8521         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8523 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8525         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8526         stack variable alignment.
8528 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
8530         [BZ #17682]
8531         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8532         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8533         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8534         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8535         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8536         __getrlimit instead of getrlimit.
8537         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8538         __gettimeofday instead of gettimeofday.
8539         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8540         Likewise.
8541         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8542         Likewise.
8543         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8544         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8545         Remove variable.
8546         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8547         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8549 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8551         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8552         for wide-character tests.
8554 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8556         * io/openat64.c: #include <libc-internal.h>
8557         (__openat64): Prototypify.  Use ignore_value on MODE.
8558         * io/openat.c: Likewise.
8559         * misc/reboot.c: #include <libc-internal.h>
8560         (reboot): Prototypify.  Use ignore_value on HOWTO.
8561         * misc/ptrace.c: #include <libc-internal.h>
8562         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8564 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8566         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8567         XPG4, UNIX98 and XOPEN2K.
8568         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8569         Remove variable.
8570         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8572 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8574         * libio/fileops.c: Use ISO C style for function definitions.
8575         * libio/iofopen.c: Likewise.
8576         * libio/wfileops.c: Likewise.
8578         [BZ #17653]
8579         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8580         offset on EOF.
8581         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8582         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8583         (fgets_func): Function pointer to fgets and fgetws.
8584         (do_ftell_test): Add test to verify ftell value after read
8585         EOF.
8586         (do_test): Set fgets_func.
8588         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8589         O_TRUNC flag for w and w+ modes.
8590         (do_rewind_test): Likewise.
8591         (do_ftell_test): Likewise.
8592         (do_write_test): Likewise.
8594         [BZ #17647]
8595         * libio/fileops.c (do_ftell): Seek only when there are
8596         unflushed writes.
8597         * libio/wfileops.c (do_ftell_wide): Likewise.
8598         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8599         test case.
8600         (do_one_test): Call it.
8602 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8604         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8605         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8606         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8607         Remove variable.
8608         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8609         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8610         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8612 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8614         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8615         Remove variable.
8616         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8618         [BZ #17668]
8619         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8620         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8621         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8622         __freeifaddrs.  Use libc_hidden_weak.
8623         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8624         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8625         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8626         __freeifaddrs.  Use libc_hidden_weak.
8627         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8628         __getifaddrs and define as weak alias of __getifaddrs.  Use
8629         libc_hidden_weak.
8630         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8631         __freeifaddrs.  Use libc_hidden_weak.
8632         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8633         Remove variable.
8634         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8635         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8637 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8639         [BZ #17601]
8640         * sysdeps/mips/start.S (__start): Use indirect jump to call
8641         __libc_start_main.
8643 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8645         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8647         * nptl/tst-mutex1.c: Include <stdbool.h>.
8648         [!ATTR] (ATTR_NULL): New macro.
8649         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8650         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8651         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8653         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8654         to char *.
8656         [BZ #17665]
8657         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8658         Change conditional to [__USE_MISC].
8660         [BZ #17664]
8661         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8662         fgets_unlocked.
8663         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8664         __fgets_unlocked.
8665         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8666         fgets_unlocked.
8667         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8668         Remove variable.
8669         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8670         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8671         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8672         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8673         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8674         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8675         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8676         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8677         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8679         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8681 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8683         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8684         Remove strpbrk objects.
8685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8686         (__libc_ifunc_impl_list): Remove strpbrk implementation.
8687         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8688         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8689         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8690         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8692         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8693         Remove strcspn objects.
8694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8695         (__libc_ifunc_impl_list): Remove strcspn implementation.
8696         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8697         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8698         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8699         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8701         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8702         Remove strspn objetcs.
8703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8704         (__libc_ifunc_impl_list): Remove strspn implementation.
8705         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8706         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8707         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8708         * sysdeps/powerpc/powerpc64/strspn.S: New file.
8710 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
8712         [BZ #17581]
8713         * malloc/hooks.c
8714         (mem2mem_check): Add a terminator to the chain of checking blocks.
8715         (malloc_check_get_size): Use it here.
8716         (mem2chunk_check): Ditto.
8718 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8720         * sysdeps/powerpc/powerpc64/strtok.S: New file.
8721         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8723 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
8725         * bits/ioctl-types.h: Indent preprocessor directives correctly.
8727         * nptl/nptl-init.c: Include libc-internal.h.
8728         (__pthread_initialize_minimal_internal): Use ROUND_UP.
8730         * elf/ldconfig.c (search_dir): Expand comment.
8732 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
8734         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8735         variable.
8736         (linknamespace-symlist-stdlibs-tests): Likewise.
8737         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8738         instead of $(objpfx)symlist-stdlibs.
8739         (linknamespace-libs-isoc): New variable.
8740         (linknamespace-libs): Use $(linknamespace-libs-isoc).
8741         (linknamespace-libs-ISO): New variable.
8742         (linknamespace-libs-ISO99): Likewise.
8743         (linknamespace-libs-ISO11): Likewise.
8744         (linknamespace-libs-XPG3): Likewise.
8745         (linknamespace-libs-XPG4): Likewise.
8746         (linknamespace-libs-POSIX): Likewise.
8747         (linknamespace-libs-UNIX98): Likewise.
8748         (linknamespace-libs-XOPEN2K): Likewise.
8749         (linknamespace-libs-POSIX2008): Likewise.
8750         (linknamespace-libs-XOPEN2K8): Likewise.
8751         ($(objpfx)symlist-stdlibs): Replace by
8752         $(linknamespace-symlist-stdlibs-tests).  Use
8753         $(linknamespace-libs-$*) as set of libraries.
8754         ($(linknamespace-header-tests)): Update dependencies.  Use
8755         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8756         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8757         * conform/linknamespace.pl: Remove comment about considering
8758         definitions of symbols from irrelevant libraries.
8760 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8762         [BZ #13862]
8763         * elf/dl-tls.c: Include <atomic.h>.
8764         (oom): Remove #ifdef SHARED/#endif.
8765         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8766         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
8767         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8768         big enough.
8769         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8770         * nptl/Makefile (tests): Add tst-stack4.
8771         (modules-names): Add tst-stack4mod.
8772         ($(objpfx)tst-stack4): New.
8773         (tst-stack4mod.sos): Likewise.
8774         ($(objpfx)tst-stack4.out): Likewise.
8775         ($(tst-stack4mod.sos)): Likewise.
8776         (clean): Likewise.
8777         * nptl/tst-stack4.c: New file.
8778         * nptl/tst-stack4mod.c: Likewise.
8780 2014-11-27  J. Brown  <jb999@gmx.de>
8782         * sysdeps/x86/bits/string.h: Add recent CPUs.
8784 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8786         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8787         sigblock.
8789         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8790         feof.
8792         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8793         variable.
8795 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8797         * nscd/connections.c: Include libc-internal.h because of macro
8798         usage ignore_value.
8800 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8802         * string/bits/string3.h (__warn_memset_zero_len): Don't
8803         declare for gcc newer than 5.0.
8804         (memset): Don't test for zero-length __LEN for gcc newer than
8805         5.0.
8807 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8809         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8810         size_t for %zu format.
8812         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8813         difference, not %ju.
8815 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8817         * include/libc-internal.h (ignore_value): New macro.
8818         * nscd/connections.c (restart): Wrap calls to setuid and setgid
8819         with ignore_value.
8821         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8822         definition.
8824         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8825         pthread_cleanup_push to void *.
8827         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8828         Undefine.
8830         [BZ #16619]
8831         [BZ #16740]
8832         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8833         instead of 1L << 52.
8835         * libio/bug-rewind.c (do_test): Check fwscanf return values.
8836         * libio/bug-rewind2.c (do_test): Likewise.
8838         * debug/test-stpcpy_chk-ifunc.c: Remove file.
8839         * debug/test-strcpy_chk-ifunc.c: Likewise.
8840         * wcsmbs/test-wcschr-ifunc.c: Likewise.
8841         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8842         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8843         * wcsmbs/test-wcslen-ifunc.c: Likewise.
8844         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8845         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8846         * Rules [$(multi-arch) = no] (tests): Do not filter out
8847         $(tests-ifunc).
8848         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8849         * debug/Makefile (tests-ifunc): Remove variable.
8850         (tests): Do not add $(tests-ifunc).
8851         * wcsmbs/Makefile (tests-ifunc): Remove variable.
8852         (tests): Do not add $(tests-ifunc).
8853         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8854         [TEST_IFUNC]: Remove conditionals.
8855         * string/test-string.h (TEST_IFUNC): Remove macro.
8856         [TEST_IFUNC]: Remove conditionals.
8858         * string/test-strchr.c [!WIDE] (L): New macro.
8859         [WIDE] (L): Likewise.
8860         (check1): Use CHAR instead of char.  Use L on string and character
8861         constants.
8863 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
8865         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8866         tests.
8867         * sysdeps/powerpc/bits/atomic.h
8868         (__arch_atomic_exchange_and_add_32_acq): Add definition.
8869         (__arch_atomic_exchange_and_add_32_rel): Likewise.
8870         (atomic_exchange_and_add_acq): Likewise.
8871         (atomic_exchange_and_add_rel): Likewise.
8872         * sysdeps/powerpc/powerpc32/bits/atomic.h
8873         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8874         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8875         * sysdeps/powerpc/powerpc64/bits/atomic.h
8876         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8877         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8879 2014-11-26  Torvald Riegel  <triegel@redhat.com>
8881         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8882         Change synchronization of __sched_fifo_min_prio and
8883         __sched_fifo_max_prio.
8884         * nptl/pthread_mutexattr_getprioceiling.c
8885         (pthread_mutexattr_getprioceiling): Likewise.
8886         * nptl/pthread_mutexattr_setprioceiling.c
8887         (pthread_mutexattr_setprioceiling): Likewise.
8888         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8889         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8890         Likewise.
8892 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8894         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8895         void.
8897 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8899         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8900         third argument const.
8902 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
8904         fnmatch: work around GCC compiler warning bug with uninit var
8905         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8906         This works around a bug with x86-64 GCC 4.9.2 and earlier
8907         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8908         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8909         used uninitialized in this function [-Wmaybe-uninitialized]".
8911 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8913         * posix/bug-regex31.c (main): Return RES not 0.
8915 2014-11-25  Anton Blanchard <anton@samba.org>
8917         * sysdeps/powerpc/bits/atomic.h
8918         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8920 2014-11-24  Sterling Augustine  <saugustine@google.com>
8922         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8924 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
8926         [BZ #17608]
8927         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8929 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
8931         [BZ #17633]
8932         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8933         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8934         variable.
8935         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8936         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8938 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8940         * string/strncpy.c (strncpy): Improve performance by using memset.
8942 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8944         * string/strcpy.c (strcpy):
8945         Improve performance by using strlen and memcpy.
8947 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
8949         * string/strcoll_l.c (get_next_seq): __always_inline.
8950         * string/strcoll_l.c (do_compare): __always_inline.
8952 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8954         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8955         defined.
8956         * include/mqueue.h: Likewise.
8957         * include/stdlib.h: Likewise.
8959         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8960         (get_null_defines): Adjust.
8961         * sunrpc/Makefile: Adjust comment.
8962         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8963         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8964         (CFLAGS-interp.c): Likewise.
8965         (CFLAGS-ldconfig.c): Likewise.
8966         (CPPFLAGS-.os): Likewise.
8967         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8968         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8969         * extra-modules.mk (extra-modules.mk): Likewise.
8970         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8971         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8972         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8973         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8974         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8975         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8976         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8977         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8978         * iconvdata/Makefile (CPPFLAGS): Likewise.
8979         (cpp-srcs-left): Add libof for all iconvdata routines.
8980         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8981         * include/assert.h: Likewise.
8982         * include/ctype.h: Likewise.
8983         * include/errno.h: Likewise.
8984         * include/libc-symbols.h: Likewise.
8985         * include/math.h: Likewise.
8986         * include/netdb.h: Likewise.
8987         * include/resolv.h: Likewise.
8988         * include/stdio.h: Likewise.
8989         * include/stdlib.h: Likewise.
8990         * include/string.h: Likewise.
8991         * include/sys/stat.h: Likewise.
8992         * include/wctype.h: Likewise.
8993         * intl/l10nflist.c: Likewise.
8994         * libidn/idn-stub.c: Likewise.
8995         * libio/libioP.h: Likewise.
8996         * nptl/libc_multiple_threads.c: Likewise.
8997         * nptl/pthreadP.h: Likewise.
8998         * posix/regex_internal.h: Likewise.
8999         * resolv/res_hconf.c: Likewise.
9000         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9001         * sysdeps/arm/memmove.S: Likewise.
9002         * sysdeps/arm/sysdep.h: Likewise.
9003         * sysdeps/generic/_itoa.h: Likewise.
9004         * sysdeps/generic/symbol-hacks.h: Likewise.
9005         * sysdeps/gnu/errlist.awk: Likewise.
9006         * sysdeps/gnu/errlist.c: Likewise.
9007         * sysdeps/i386/i586/memcpy.S: Likewise.
9008         * sysdeps/i386/i586/memset.S: Likewise.
9009         * sysdeps/i386/i686/memcpy.S: Likewise.
9010         * sysdeps/i386/i686/memmove.S: Likewise.
9011         * sysdeps/i386/i686/mempcpy.S: Likewise.
9012         * sysdeps/i386/i686/memset.S: Likewise.
9013         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9014         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9015         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9016         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9017         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9018         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9019         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9020         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9021         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9022         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9023         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9024         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9025         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9026         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9027         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9028         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9029         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9030         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9031         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9032         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9033         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9034         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9035         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9036         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9037         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9038         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9039         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9040         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9041         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9042         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9043         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9044         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9045         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9046         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9047         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9048         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9049         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9050         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9051         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9052         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9053         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9054         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9055         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9056         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9057         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9058         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9059         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9060         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9061         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9062         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9063         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9064         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9065         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9066         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9067         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9068         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9069         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9070         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9071         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9072         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9073         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9074         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9075         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9076         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9077         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9078         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9079         * sysdeps/posix/closedir.c: Likewise.
9080         * sysdeps/posix/opendir.c: Likewise.
9081         * sysdeps/posix/readdir.c: Likewise.
9082         * sysdeps/posix/rewinddir.c: Likewise.
9083         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9084         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9085         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9086         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9087         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9088         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9089         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9090         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9091         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9092         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9093         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9094         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9095         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9096         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9097         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9098         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9099         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9100         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9101         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9102         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9103         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9104         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9105         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9106         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9107         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9108         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9109         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9110         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9111         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9112         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9113         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9114         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9115         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9116         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9117         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9118         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9119         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9120         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9121         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9122         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9123         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9124         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9125         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9126         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9127         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9128         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9129         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9130         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9131         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9132         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9133         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9134         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9135         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9136         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9137         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9138         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9139         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9140         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9141         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9142         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9143         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9144         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9145         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9146         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9147         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9148         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9149         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9150         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9151         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9152         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9153         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9154         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9155         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9156         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9157         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9158         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9159         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9160         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9161         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9162         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9163         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9164         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9165         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9166         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9167         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9168         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9169         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9170         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9171         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9172         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9173         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9174         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9175         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9176         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9177         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9178         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9179         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9180         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9181         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9182         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9183         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9184         * sysdeps/unix/alpha/sysdep.S: Likewise.
9185         * sysdeps/unix/alpha/sysdep.h: Likewise.
9186         * sysdeps/unix/make-syscalls.sh: Likewise.
9187         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9188         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9189         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9190         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9191         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9192         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9193         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9194         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9195         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9196         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9197         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9198         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9199         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9200         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9201         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9202         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9203         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9204         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9205         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9206         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9207         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9208         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9209         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9210         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9211         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9212         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9213         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9216         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9217         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9218         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9219         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9220         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9221         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9222         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9223         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9224         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9225         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9226         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9227         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9228         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9229         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9230         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9231         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9232         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9233         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9234         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9235         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9236         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9237         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9238         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9239         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9240         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9241         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9242         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9243         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9244         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9245         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9246         * sysdeps/x86_64/memcpy.S: Likewise.
9247         * sysdeps/x86_64/memmove.c: Likewise.
9248         * sysdeps/x86_64/memset.S: Likewise.
9249         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9250         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9251         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9252         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9253         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9254         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9255         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9256         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9257         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9258         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9259         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9260         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9261         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9262         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9263         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9264         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9265         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9266         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9267         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9268         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9269         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9270         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9271         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9272         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9273         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9274         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9275         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9276         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9277         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9278         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9279         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9280         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9281         * sysdeps/x86_64/strcmp.S: Likewise.
9283         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9285         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9286         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9287         * elf/rtld-Rules: Likewise.
9288         * elf/setup-vdso.h: Likewise.
9289         * include/assert.h: Likewise.
9290         * include/bits/stdlib-float.h: Likewise.
9291         * include/errno.h: Likewise.
9292         * include/sys/stat.h: Likewise.
9293         * include/unistd.h: Likewise.
9294         * sysdeps/aarch64/setjmp.S: Likewise.
9295         * sysdeps/alpha/setjmp.S: Likewise.
9296         * sysdeps/arm/__longjmp.S: Likewise.
9297         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9298         * sysdeps/arm/setjmp.S: Likewise.
9299         * sysdeps/arm/sysdep.h: Likewise.
9300         * sysdeps/generic/_itoa.h: Likewise.
9301         * sysdeps/generic/dl-sysdep.h: Likewise.
9302         * sysdeps/generic/ldsodefs.h: Likewise.
9303         * sysdeps/i386/dl-tls.h: Likewise.
9304         * sysdeps/i386/setjmp.S: Likewise.
9305         * sysdeps/m68k/setjmp.c: Likewise.
9306         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9307         * sysdeps/mach/hurd/opendir.c: Likewise.
9308         * sysdeps/posix/getcwd.c: Likewise.
9309         * sysdeps/posix/opendir.c: Likewise.
9310         * sysdeps/posix/profil.c: Likewise.
9311         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9312         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9313         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9314         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9315         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9316         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9317         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9318         * sysdeps/s390/dl-tls.h: Likewise.
9319         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9320         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9321         * sysdeps/sh/sh3/setjmp.S: Likewise.
9322         * sysdeps/sh/sh4/setjmp.S: Likewise.
9323         * sysdeps/unix/alpha/sysdep.h: Likewise.
9324         * sysdeps/unix/arm/sysdep.S: Likewise.
9325         * sysdeps/unix/i386/sysdep.S: Likewise.
9326         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9327         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9328         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9329         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9330         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9331         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9332         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9333         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9334         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9335         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9336         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9337         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9338         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9341         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9342         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9343         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9344         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9345         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9346         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9347         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9348         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9349         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9350         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9351         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9352         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9353         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9354         * sysdeps/x86_64/setjmp.S: Likewise.
9356         * include/math.h: Use IS_IN instead of IS_IN_libm.
9357         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9358         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9359         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9360         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9361         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9362         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9363         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9364         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9365         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9366         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9367         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9368         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9369         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9370         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9371         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9372         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9373         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9374         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9375         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9376         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9377         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9378         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9379         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9380         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9381         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9382         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9383         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9384         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9385         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9386         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9387         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9388         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9389         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9391         Likewise.
9392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9393         Likewise.
9394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9395         Likewise.
9396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9397         Likewise.
9398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9399         Likewise.
9400         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9401         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9402         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9403         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9404         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9405         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9411         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9412         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9413         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9414         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9415         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9416         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9417         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9418         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9419         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9420         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9421         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9422         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9423         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9424         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9426         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9428         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9429         * nptl/pthreadP.h: Likewise.
9430         * nptl_db/structs.def: Likewise.
9431         * sysdeps/arm/sysdep.h: Likewise.
9432         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9433         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9434         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9435         * sysdeps/unix/alpha/sysdep.h: Likewise.
9436         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9437         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9438         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9439         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9440         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9441         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9442         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9443         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9444         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9445         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9446         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9447         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9448         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9449         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9452         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9453         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9454         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9455         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9456         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9457         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9458         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9459         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9460         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9461         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9463         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9464         * nptl/pthreadP.h: Likewise.
9465         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9466         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9467         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9468         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9469         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9470         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9471         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9472         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9473         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9474         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9475         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9476         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9478         Likewise.
9479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9480         Likewise.
9481         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9482         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9483         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9484         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9485         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9486         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9487         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9488         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9490         * dlfcn/dladdr.c: Use IS_IN.
9491         * dlfcn/dladdr1.c: Likewise.
9492         * dlfcn/dlclose.c: Likewise.
9493         * dlfcn/dlerror.c: Likewise.
9494         * dlfcn/dlinfo.c: Likewise.
9495         * dlfcn/dlmopen.c: Likewise.
9496         * dlfcn/dlopen.c: Likewise.
9497         * dlfcn/dlsym.c: Likewise.
9498         * dlfcn/dlvsym.c: Likewise.
9500         * include/ifaddrs.h: Use IS_IN.
9501         * inet/check_pf.c: Likewise.
9502         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9503         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9505         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9506         IS_IN_ldconfig.
9507         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9508         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9510         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9511         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9512         IS_IN (libc).
9514         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9516         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9517         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9518         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9519         * include/libc-symbols.h (IS_IN_LIB): New macro.
9520         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9521         * include/netdb.h: Likewise.
9522         * include/stap-probe.h: Remove all uses of IN_LIB.
9524         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9525         instead of IN_MODULE.
9526         * include/libc-symbols.h (IN_MODULE): Define using
9527         MODULE_NAME.
9528         (PASTE_NAME, PASTE_NAME1): New macros.
9529         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9530         of IN_LIB.
9531         (STAP_PROBE_ASM): Likewise.
9533 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9535         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9536         __mach_init in dlopened libc.
9538 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9540         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9541         * sysdeps/arm/preconfigure: Regenerate.
9543 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9545         * nptl/pthread_create.c (__pthread_create_2_1): Set
9546         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9547         when copying values from IATTR into PD.
9549 2014-11-21  Will Newton  <will.newton@linaro.org>
9550             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9552         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9553         Refactor inline-asm.  Also add comment.
9555         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9556         ElfW macro instead of hardcoded Elf64 types.
9557         (la_aarch64_gnu_pltenter): Likewise.
9558         * sysdeps/aarch64/dl-machine.h
9559         (elf_machine_runtime_setup): Use ElfW(Addr).
9561         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9562         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9563         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9564         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9565         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9566         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9567         (R_AARCH64_TLS_DTPMOD): This.
9568         (R_AARCH64_TLS_DTPREL64): Rename to ...
9569         (R_AARCH64_TLS_DTPREL): This.
9570         (R_AARCH64_TLS_TPREL64): Rename to ...
9571         (R_AARCH64_TLS_TPREL): This.
9572         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9573         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9574         R_AARCH64_TLS_TPREL64.
9575         (elf_machine_rela): Likewise.
9577 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9579         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9580         by setting it to 0.  64b atomics are not supported currently.
9582 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9584         [BZ #16469]
9585         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9586         search domain names.
9588 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9590         [BZ #16469]
9591         * NEWS: Update.
9592         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9593         trailing dot.
9594         * posix/tst-getaddrinfo5.c: New.
9595         * posix/Makefile (tests): Add it.
9597 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9599         [BZ #14498]
9600         * NEWS: Fixed.
9601         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9602         after parsing line but before break_if_match.
9603         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9604         if there is a protocol mismatch.
9606 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9608         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9609         because the potential race is on the user-supplied stream.
9611 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9613         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9614         string literal if not passed a buffer.
9615         * manual/job.texi (ctermid): Update reasoning, note deviation
9616         from posix, suggest mtasurace when not passed a buffer, for
9617         future non-preliminary safety notes.
9619 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9621         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9622         of not passing it a buffer.
9623         Reported by Peng Haitao.
9625 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9627         * manual/Makefile ($(objpfx)stamp-summary): Require
9628         check-safety.sh to pass.
9629         * manual/check-safety.sh: Wish for verification that every
9630         @deftypefn and @deftypefun is followed by a @safety remark.
9632 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9634         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9636         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9637         PTHREAD_CANCEL_ASYNCHRONOUS.
9638         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9639         send SIGCANCEL.
9641         * nptl/default-sched.h: New file.
9642         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9643         * nptl/pthread_create.c: Include it.
9644         (__pthread_create_2_1): Use collect_default_sched instead of making
9645         Linux syscalls here directly.
9647 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9649         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9650         __pthread_once): Use C11 atomics.
9652 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9654         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9656 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9658         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9659         atomic_thread_fence_acquire, atomic_thread_fence_release,
9660         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9661         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9662         atomic_compare_exchange_weak_relaxed,
9663         atomic_compare_exchange_weak_acquire,
9664         atomic_compare_exchange_weak_release,
9665         atomic_exchange_acquire, atomic_exchange_release,
9666         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9667         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9668         atomic_fetch_and_acquire,
9669         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9671 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9673         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9674         USE_ATOMIC_COMPILER_BUILTINS): Define.
9675         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9676         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9677         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9678         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9679         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9680         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9681         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9682         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9683         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9684         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9685         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9686         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9687         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9688         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9689         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9690         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9691         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9692         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9693         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9694         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9695         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9696         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9697         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9698         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9699         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9700         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9701         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9702         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9703         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9704         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9705         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9706         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9707         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9708         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9709         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9710         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9711         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9712         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9713         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9714         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9716 2014-11-19  Roland McGrath  <roland@hack.frob.com>
9718         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9719         the sched_priority value here.  It was already checked when the user
9720         called pthread_attr_setschedparam.
9722         * nptl/tst-bad-schedattr.c: New file.
9723         * nptl/Makefile (tests): Add it.
9725 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
9726             Florian Weimer  <fweimer@redhat.com>
9727             Joseph Myers  <joseph@codesourcery.com>
9728             Adam Conrad  <adconrad@0c3.net>
9729             Andreas Schwab  <schwab@suse.de>
9730             Brooks  <bmoses@google.com>
9732         [BZ #17625]
9733         * wordexp-test.c (__dso_handle): Add prototype.
9734         (__register_atfork): Likewise.
9735         (__app_register_atfork): New function.
9736         (registered_forks): New global.
9737         (register_fork): New function.
9738         (test_case): Add 3 new tests for WRDE_CMDSUB.
9739         (main): Call __app_register_atfork.
9740         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9741         fork count is non-zero fail the test.
9742         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9743         is set.
9744         (parse_dollars): Remove check for WRDE_NOCMD.
9745         (parse_dquote): Likewise.
9747 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9749         * Makeconfig (built-modules): List non-library modules to be
9750         built.
9751         (module-cppflags): Include libc-modules.h for
9752         everything except shlib-versions.v.i.
9753         (CPPFLAGS): Use it.
9754         (before-compile): Add libc-modules.h.
9755         ($(common-objpfx)libc-modules.h,
9756         $(common-objpfx)libc-modules.stmp): New targets.
9757         (common-generated): Add libc-modules.h and libc-modules.stmp.
9758         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9759         * include/libc-symbols.h: Don't include libc-modules.h.
9760         * include/libc-modules.h: Remove file.
9761         * scripts/gen-libc-modules.awk: New script to generate
9762         libc-modules.h.
9763         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9764         Depend on libc-modules.stmp.
9766         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9768         * Makeconfig (in-module): Get value of libof set for the
9769         translation unit.
9770         (CPPFLAGS): Use $(in-module).
9771         * Makerules: Don't suffix routine names for nonlib.
9772         * include/libc-modules.h: New file.
9773         * include/libc-symbols.h: Include libc-modules.h
9774         (IS_IN): New macro to replace IS_IN_* macros.
9775         * elf/Makefile: Set libof-* for each routine.
9776         * elf/rtld-Rules: Likewise.
9777         * extra-modules.mk: Likewise.
9778         * iconv/Makefile: Likewise.
9779         * iconvdata/Makefile: Likewise.
9780         * locale/Makefile: Likewise.
9781         * malloc/Makefile: Likewise.
9782         * nss/Makefile: Likewise.
9783         * sysdeps/gnu/Makefile: Likewise.
9784         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9785         * sysdeps/unix/sysv/linux/Makefile: Likewise.
9786         * sysdeps/s390/s390-64/Makefile: Likewise.
9787         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
9788         CPPFLAGS for nscd instead of nonlib.
9790 2014-11-18  Roland McGrath  <roland@hack.frob.com>
9792         * nptl/createthread.c: New file.
9794         * nptl/createthread.c: Moved ...
9795         * sysdeps/unix/sysv/linux/createthread.c: ... here.
9797         * nptl/createthread.c: Add proper top-line comment.
9798         (do_clone): Folded into ...
9799         (create_thread): ... here.  Take new arguments STOPPED_START and
9800         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
9801         increment __nptl_threads, do event-reporting logic, do
9802         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9803         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
9804         resource cleanup if sched_setaffinity or sched_setscheduler fails,
9805         just send SIGCANCEL.
9806         * nptl/pthread_create.c: Forward-declare create_thread before
9807         including createthread.c.
9808         (start_thread): Use new macro START_THREAD_DEFN to replace defining
9809         declaration, and new macro START_THREAD_SELF to replace argument.
9810         Remove return statement.
9811         (report_thread_creation): New function.
9812         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
9813         synchronization logic, and __nptl_nthreads increment here, around
9814         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
9815         PD->parent_cancelhandling here, before create_thread.  When
9816         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9817         __deallocate_stack, and ENOMEM translation here.
9819 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
9821         [BZ #17616]
9822         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9823         (mptwo): Rename to __mptwo.
9824         (__inv): Use __mptwo instead of mptwo.
9825         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9826         (mptwo): Rename to __mptwo.
9827         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9828         of mpone and __mptwo instead of mptwo.
9829         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9830         instead of mpone.
9831         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9832         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9833         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9834         of mpone and __mptwo instead of mptwo.
9835         (__mpranred): Use __mpone instead of mpone.
9836         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9837         variable.
9838         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9839         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9840         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9841         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9842         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9843         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9844         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9845         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9846         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9847         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9848         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9849         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9850         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9851         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9852         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9853         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9854         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9855         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9856         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9858 2014-11-18  Tom de Vries  <tom@codesoucery.com>
9860         * manual/signal.texi (Primitives Interrupted by Signals): In section,
9861         replace BSD Handler xref with BSD Signal Handling.
9863 2014-11-17  Richard Henderson  <rth@redhat.com>
9865         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9866         (_FP_PACK_RAW_2): Remove.
9867         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9868         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9869         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9870         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9871         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9872         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9873         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9874         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9875         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9876         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9877         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9878         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9879         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9880         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9881         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9882         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9884 2014-11-14  Roland McGrath  <roland@hack.frob.com>
9886         * signal/signal.h [__USE_MISC]
9887         (struct sigvec): Remove type.
9888         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9889         (sigvec): Remove declaration.
9890         * sysdeps/posix/sigvec.c: Moved ...
9891         * signal/sigvec.c: ... here, replacing old file.
9892         (struct sigvec): New type, copied from old signal.h definition.
9893         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9894         (__sigvec): Convert definition to prototype.
9895         (sigvec): Replace weak_alias with compat_symbol.
9896         * signal/Versions (libc: GLIBC_2.21): New version set.
9897         * include/signal.h: Remove __sigvec declaration.
9898         * sysdeps/unix/bsd/sigvec.c: Remove file.
9899         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9900         * manual/signal.texi (BSD Handler): Remove subsection.
9901         Move siginterrupt up to ...
9902         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
9903         (Blocking in BSD): Fold subsection into its parent.
9904         * NEWS: Mention sigvec removal.
9906 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9908         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9909         (DLA_FMS): Make definition conditional only on [__FMA4__].
9910         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9911         definition.
9913         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9914         Make definition conditional only on [PROF].
9915         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9916         definition.
9917         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9918         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9920         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9921         !__GNUC__].
9922         * include/signal.h (__sigpause): Move declaration above call to
9923         libc_hidden_proto.
9924         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9925         variable.
9926         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9927         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9929 2014-11-14  David S. Miller  <davem@davemloft.net>
9931         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9932         Define before including <string/memcpy.c> and <string/mempcpy.c>.
9934 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9936         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9937         * configure: Regenerated.
9938         * manual/install.texi (Tools for Compilation): Document a
9939         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9940         compiler verified to work.
9941         * INSTALL: Regenerated.
9943         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9944         redeclare with asm name.
9945         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9946         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9947         including <string.h>.
9948         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9949         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9950         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9951         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9952         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9953         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9954         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9956 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
9958         * stdlib/strtol.c (__strtol): Use prototype definition.
9960         [BZ #17594]
9961         * stdlib/strtol.c (SYM__): New macro.
9962         (SYM__1): Likewise.
9963         (__strtol): Likewise.
9964         (strtol): Rename to __strtol and define as weak alias of
9965         __strtol.  Use libc_hidden_weak.
9967 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9969         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9970         Use numbered labels in inline assembly.
9972 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9974         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9975         Add setjmp LIBC_PROBE.
9976         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9977         Likewise.
9978         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9979         Add longjmp, longjmp_target LIBC_PROBE.
9980         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9981         Likewise.
9983 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9985         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9986         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9987         to get rid of unused variable warning.
9989 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9991         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9992         Check for unwind_backtrace ==  NULL only in SHARED case.
9993         (__backchain_backtrace): Compile only in SHARED case.
9994         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9995         Likewise.
9996         (__backchain_backtrace): Declare as static.
9998 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10000         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10001         (__libc_multiple_threads_ptr): Variable moved ...
10002         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10004 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10006         * conform/GlibcConform.pm: New file.
10007         * conform/conformtest.pl: Use GlibcConform module.
10008         * conform/linknamespace.pl: New file.
10009         * conform/list-header-symbols.pl: Likewise.
10010         * conform/Makefile (linknamespace-symlists-base): New variable.
10011         (linknamespace-symlists-tests): Likewise.
10012         (linknamespace-header-base): Likewise.
10013         (linknamespace-header-tests): Likewise.
10014         (tests-special): Add new tests.
10015         ($(linknamespace-symlists-tests)): New rule.
10016         (linknamespace-libs): New variable.
10017         ($(objpfx)symlist-stdlibs): New rule.
10018         ($(linknamespace-header-tests)): Likewise.
10019         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10020         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10021         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10022         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10023         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10024         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10025         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10026         (test-xfail-ISO/math.h/linknamespace): Likewise.
10027         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10028         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10029         (test-xfail-ISO/time.h/linknamespace): Likewise.
10030         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10031         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10032         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10033         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10034         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10035         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10036         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10037         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10038         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10039         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10040         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10041         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10042         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10043         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10044         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10045         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10046         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10047         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10048         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10049         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10050         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10051         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10052         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10053         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10054         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10055         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10056         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10057         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10058         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10059         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10060         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10061         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10062         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10063         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10064         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10065         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10066         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10067         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10068         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10069         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10070         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10071         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10072         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10073         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10074         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10075         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10076         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10077         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10078         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10079         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10080         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10081         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10082         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10083         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10084         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10085         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10086         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10087         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10088         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10089         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10090         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10091         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10092         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10093         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10094         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10095         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10096         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10097         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10098         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10099         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10100         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10101         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10102         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10103         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10104         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10105         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10106         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10107         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10108         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10109         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10110         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10111         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10112         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10113         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10114         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10115         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10116         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10117         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10118         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10119         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10120         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10121         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10122         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10123         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10124         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10125         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10126         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10127         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10128         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10129         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10130         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10131         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10132         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10133         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10134         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10135         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10136         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10137         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10138         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10139         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10140         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10141         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10142         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10143         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10144         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10145         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10146         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10147         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10148         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10149         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10150         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10151         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10152         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10153         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10154         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10155         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10156         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10157         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10158         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10159         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10160         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10161         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10162         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10163         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10164         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10165         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10166         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10167         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10168         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10169         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10170         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10171         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10172         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10173         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10174         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10175         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10176         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10177         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10178         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10179         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10181         [BZ #17589]
10182         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10183         of fgets_unlocked.
10185         [BZ #17585]
10186         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10187         (memmem): Rename to __memmem and define as weak alias of
10188         __memmem.  Use libc_hidden_weak.
10189         (__memmem): Use libc_hidden_def.
10190         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10191         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10192         memmem.
10194         [BZ #17582]
10195         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10196         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10197         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10198         and define as weak alias of __fgets_unlocked.  Use
10199         libc_hidden_weak.
10200         (__fgets_unlocked): Use libc_hidden_def.
10201         * include/stdio.h (__fgets_unlocked): Declare.  Use
10202         libc_hidden_proto.
10203         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10204         __fgets_unlocked instead of fgets_unlocked.
10205         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10206         (GET_NPROCS_CONF_PARSER): Likewise.
10207         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10208         (GET_NPROCS_CONF_PARSER): Likewise.
10210         [BZ #17574]
10211         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10212         weak alias of __wmemset.  Use libc_hidden_weak.
10213         (__wmemset): Use libc_hidden_def.
10214         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10215         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10216         of wmemset.
10218         [BZ #17573]
10219         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10220         with asm name __mempcpy.
10221         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10223         [BZ #17572]
10224         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10225         and define as weak alias of __rawmemchr.
10226         (__rawmemchr): Do not define as strong alias of rawmemchr.
10228         [BZ #17571]
10229         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10230         alias of __qsort_r.
10231         (qsort): Call __qsort_r instead of qsort_r.
10232         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10233         (__qsort_r): Declare.  Call libc_hidden_proto.
10234         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10235         instead of qsort_r.
10236         * nscd/gai.c (__qsort_r): Define to qsort_r.
10237         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10238         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10239         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10241         [BZ #17570]
10242         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10243         define as weak alias of __malloc_info.
10245         [BZ #17584]
10246         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10247         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10248         (__rewinddir): Use libc_hidden_def.
10249         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10250         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10251         (__rewinddir): Use libc_hidden_def.
10252         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10253         weak alias of __rewinddir.  Don't use libc_hidden_def.
10254         (__rewinddir): Use libc_hidden_def.
10255         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10256         (__rewinddir): Use libc_hidden_proto.
10257         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10258         rewinddir.
10259         (__getcwd): Use __rewinddir instead of rewinddir.
10261         [BZ #17583]
10262         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10263         alias of __fileno.  Use libc_hidden_weak.
10264         (__fileno): Use libc_hidden_def.
10265         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10266         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10267         alias of __ftello.
10268         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10269         __ftello.
10270         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10271         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10272         libc_hidden_def.
10273         (fread_unlocked): Don't use libc_hidden_ver.
10274         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10275         and define as weak alias of __fread_unlocked.  Don't use
10276         libc_hidden_def.
10277         (__fread_unlocked): Use libc_hidden_def.
10278         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10279         (ftello): Don't use libc_hidden_proto.
10280         (__ftello): Declare.  Use libc_hidden_proto.
10281         (fread_unlocked): Don't use libc_hidden_proto.
10282         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10283         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10284         and __ftello instead of fileno, fread_unlocked and ftello.
10286 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10288         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10289         GOT12.
10290         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10291         Likewise.
10292         (_dl_start_user): Likewise.
10293         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10295 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10296             Siddhesh Poyarekar  <siddhesh@redhat.com>
10298         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10299         Move argv and envp down instead of moving argc up.
10300         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10302 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10304         [BZ #17506]
10305         * test-skeleton.c (main): Return successful if one of
10306         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10307         * string/tst-strcoll-overflow.c: Define expected status.
10309 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10311         [BZ #17475]
10312         * locale/iso-639.def: Define Bhili and Tulu language codes.
10314 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10316         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10318 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10320         [BZ #17555]
10321         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10323 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10325         * configure.ac: Updated check of minimal required version to
10326         2.22.
10327         * manual/install.texi (Tools for Compilation): Updated version
10328         number.
10329         * configure: Regenerated.
10330         * INSTALL: Likewise.
10332 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10334         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10335         __tls_get_addr.
10337 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10339         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10340         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10341         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10342         libc_hidden_weak.
10343         (waitpid): Define as alias of __waitpid.
10344         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10345         __waitpid.
10346         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10347         libc_hidden_weak.
10348         (waitpid): Define as alias of __waitpid.
10349         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10350         __libc_waitpid alias.
10351         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10352         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10353         Likewise.
10354         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10355         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10356         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10357         alias.
10358         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10359         __waitpid.
10360         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10361         libc_hidden_weak.
10362         (waitpid): Define as alias of __waitpid.
10364 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10366         * manual/llio.texi: Add comment that write safety has been
10367         fixed in Linux.
10369         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10370         (localplt-build-dso): Add elf/ld.so.
10371         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10372         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10373         and free for ld.so.
10374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10375         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10377         Likewise.
10378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10379         Likewise.
10380         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10381         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10382         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10383         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10384         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10385         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10386         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10387         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10388         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10389         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10390         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10392 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10394         [BZ #14132]
10395         * include/libc-symbols.h (INTUSE): Remove macro.
10396         (INTDEF): Likewise.
10397         (INTVARDEF): Likewise.
10398         (_INTVARDEF): Likewise.
10399         (INTDEF2): Likewise.
10400         (INTVARDEF2): Likewise.
10401         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10402         rtld_hidden_def instead of INTVARDEF.
10403         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10404         (_dl_starting_up_internal): Remove declaration.
10405         (_dl_starting_up): Use rtld_hidden_proto.
10406         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10407         declaration.
10408         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10409         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10410         _dl_starting_up.
10411         * elf/dl-writev.h (_dl_writev): Likewise.
10412         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10413         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10414         _dl_starting_up_internal.
10416 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10418         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10419         test-skeleton.c.
10421 2014-11-05  Will Newton  <will.newton@linaro.org>
10423         * benchtests/Makefile: (bench-malloc): Add malloc thread
10424         scalability benchmark.
10425         * benchtests/bench-malloc-threads.c: New file.
10427 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10429         * sysdeps/aarch64/strchrnul.S: New file.
10431 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10433         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10434         definition.
10435         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10436         Likwise.
10437         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10438         Likewise.
10439         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10440         Likewise.
10441         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10442         Likewise.
10443         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10444         Likewise.
10446 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10448         * catgets/test-gencat.c: Use test-skeleton.c.
10449         * catgets/tst-catgets.c: Likewise.
10450         * csu/tst-empty.c: Likewise.
10451         * elf/tst-audit2.c: Likewise.
10452         * elf/tst-global1.c: Likewise.
10453         * elf/tst-pathopt.c: Likewise.
10454         * elf/tst-piemod1.c: Likewise.
10455         * elf/tst-tls10.c: Likewise.
10456         * elf/tst-tls11.c: Likewise.
10457         * elf/tst-tls12.c: Likewise.
10458         * gnulib/tst-gcc.c: Likewise.
10459         * iconvdata/tst-e2big.c: Likewise.
10460         * iconvdata/tst-loading.c: Likewise.
10461         * iconv/tst-iconv1.c: Likewise.
10462         * iconv/tst-iconv2.c: Likewise.
10463         * inet/test-inet6_opt.c: Likewise.
10464         * inet/tst-gethnm.c: Likewise.
10465         * inet/tst-network.c: Likewise.
10466         * inet/tst-ntoa.c: Likewise.
10467         * intl/tst-codeset.c: Likewise.
10468         * intl/tst-gettext2.c: Likewise.
10469         * intl/tst-gettext3.c: Likewise.
10470         * intl/tst-ngettext.c: Likewise.
10471         * intl/tst-translit.c: Likewise.
10472         * io/test-stat.c: Likewise.
10473         * libio/test-fmemopen.c: Likewise.
10474         * libio/tst-freopen.c: Likewise.
10475         * libio/tst-sscanf.c: Likewise.
10476         * libio/tst-ungetwc1.c: Likewise.
10477         * libio/tst-ungetwc2.c: Likewise.
10478         * libio/tst-widetext.c: Likewise.
10479         * localedata/tst-ctype.c: Likewise.
10480         * localedata/tst-digits.c: Likewise.
10481         * localedata/tst-leaks.c: Likewise.
10482         * localedata/tst-mbswcs1.c: Likewise.
10483         * localedata/tst-mbswcs2.c: Likewise.
10484         * localedata/tst-mbswcs3.c: Likewise.
10485         * localedata/tst-mbswcs4.c: Likewise.
10486         * localedata/tst-mbswcs5.c: Likewise.
10487         * localedata/tst-setlocale.c: Likewise.
10488         * localedata/tst-trans.c: Likewise.
10489         * localedata/tst-wctype.c: Likewise.
10490         * localedata/tst-xlocale1.c: Likewise.
10491         * login/tst-grantpt.c: Likewise.
10492         * malloc/tst-calloc.c: Likewise.
10493         * malloc/tst-malloc.c: Likewise.
10494         * malloc/tst-mallocstate.c: Likewise.
10495         * malloc/tst-mcheck.c: Likewise.
10496         * malloc/tst-mtrace.c: Likewise.
10497         * malloc/tst-obstack.c: Likewise.
10498         * math/atest-exp2.c: Likewise.
10499         * math/atest-exp.c: Likewise.
10500         * math/atest-sincos.c: Likewise.
10501         * math/test-matherr.c: Likewise.
10502         * math/test-misc.c: Likewise.
10503         * math/test-powl.c: Likewise.
10504         * math/tst-definitions.c: Likewise.
10505         * misc/tst-dirname.c: Likewise.
10506         * misc/tst-efgcvt.c: Likewise.
10507         * misc/tst-fdset.c: Likewise.
10508         * misc/tst-hsearch.c: Likewise.
10509         * misc/tst-mntent2.c: Likewise.
10510         * nptl/tst-sem7.c: Likewise.
10511         * nptl/tst-sem8.c: Likewise.
10512         * nptl/tst-sem9.c: Likewise.
10513         * nss/test-netdb.c: Likewise.
10514         * posix/tst-fnmatch.c: Likewise.
10515         * posix/tst-getlogin.c: Likewise.
10516         * posix/tst-gnuglob.c: Likewise.
10517         * posix/tst-mmap.c: Likewise.
10518         * pwd/tst-getpw.c: Likewise.
10519         * resolv/tst-inet_ntop.c: Likewise.
10520         * rt/tst-timer.c: Likewise.
10521         * stdio-common/test-fseek.c: Likewise.
10522         * stdio-common/test-popen.c: Likewise.
10523         * stdio-common/test-vfprintf.c: Likewise.
10524         * stdio-common/tst-cookie.c: Likewise.
10525         * stdio-common/tst-fileno.c: Likewise.
10526         * stdio-common/tst-gets.c: Likewise.
10527         * stdio-common/tst-obprintf.c: Likewise.
10528         * stdio-common/tst-perror.c: Likewise.
10529         * stdio-common/tst-sprintf2.c: Likewise.
10530         * stdio-common/tst-sprintf3.c: Likewise.
10531         * stdio-common/tst-sprintf.c: Likewise.
10532         * stdio-common/tst-swprintf.c: Likewise.
10533         * stdio-common/tst-tmpnam.c: Likewise.
10534         * stdio-common/tst-unbputc.c: Likewise.
10535         * stdio-common/tst-wc-printf.c: Likewise.
10536         * stdlib/tst-environ.c: Likewise.
10537         * stdlib/tst-fmtmsg.c: Likewise.
10538         * stdlib/tst-limits.c: Likewise.
10539         * stdlib/tst-rand48-2.c: Likewise.
10540         * stdlib/tst-rand48.c: Likewise.
10541         * stdlib/tst-random2.c: Likewise.
10542         * stdlib/tst-random.c: Likewise.
10543         * stdlib/tst-strtol.c: Likewise.
10544         * stdlib/tst-strtoll.c: Likewise.
10545         * stdlib/tst-tls-atexit.c: Likewise.
10546         * stdlib/tst-xpg-basename.c: Likewise.
10547         * string/test-ffs.c: Likewise.
10548         * string/tst-bswap.c: Likewise.
10549         * string/tst-inlcall.c: Likewise.
10550         * string/tst-strtok.c: Likewise.
10551         * string/tst-strxfrm.c: Likewise.
10552         * sysdeps/x86_64/tst-audit10.c: Likewise.
10553         * sysdeps/x86_64/tst-audit3.c: Likewise.
10554         * sysdeps/x86_64/tst-audit4.c: Likewise.
10555         * sysdeps/x86_64/tst-audit5.c: Likewise.
10556         * time/tst-ftime_l.c: Likewise.
10557         * time/tst-getdate.c: Likewise.
10558         * time/tst-mktime3.c: Likewise.
10559         * time/tst-mktime.c: Likewise.
10560         * time/tst-posixtz.c: Likewise.
10561         * time/tst-strptime2.c: Likewise.
10562         * time/tst-strptime3.c: Likewise.
10563         * wcsmbs/tst-btowc.c: Likewise.
10564         * wcsmbs/tst-mbrtowc.c: Likewise.
10565         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10566         * wcsmbs/tst-wchar-h.c: Likewise.
10567         * wcsmbs/tst-wcpncpy.c: Likewise.
10568         * wcsmbs/tst-wcrtomb.c: Likewise.
10569         * wcsmbs/tst-wcsnlen.c: Likewise.
10570         * wcsmbs/tst-wcstof.c: Likewise.
10572 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10574         [BZ #14132]
10575         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10576         INTDEF.
10577         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10578         declaration.
10579         (_dl_mcount): Use rtld_hidden_proto.
10580         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10581         _dl_mcount.
10582         * elf/rtld.c (_rtld_global_ro): Likewise.
10584         [BZ #14132]
10585         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10586         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10587         of _dl_init_internal.
10588         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10589         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10590         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10591         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10592         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10593         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10594         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10595         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10596         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10597         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10598         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10599         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10600         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10601         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10602         * sysdeps/tile/dl-start.S (_start): Likewise.
10603         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10604         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10606         [BZ #14132]
10607         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10608         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10609         (rtld_progname): Make macro definition unconditional.
10610         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10611         INTDEF.
10612         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10613         (dl_main): Likewise.
10614         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10615         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10616         instead of _dl_argv_internal.
10617         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10618         __GI__dl_argv instead of INTUSE(_dl_argv).
10619         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10620         __GI__dl_argv instead of _dl_argv_internal.
10622         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10623         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10624         macro.
10625         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10626         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10627         New macro.
10628         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10629         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10630         macro.
10631         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10632         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10634 2014-11-04  Andreas Schwab  <schwab@suse.de>
10636         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10638 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10640         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10641         mtvsrd instruction in binary form.
10643 2014-11-03  Andreas Schwab  <schwab@suse.de>
10645         [BZ #17522]
10646         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10647         for less than MB_LEN_MAX use a local buffer of that size.
10648         * libio/tst-fputws.c: New file.
10649         * libio/Makefile (tests): Add tst-fputws.
10651 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10653         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10654         the size of the fpu_fr.fpu_dregs[] array.
10656 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10658         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10659         (__nanosleep): Do not define as alias.
10660         (nanosleep): Define as alias of __nanosleep.
10661         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10662         __libc_nanosleep name.
10664 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10666         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10667         install.texi in comment.
10669 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10671         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10672         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10673         ... add here and use lwsync or sync ...
10674         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10675         ... and add here using lwsync.
10677 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10679         * elf/dl-machine-reject-phdr.h: New file.
10680         * elf/dl-load.c: #include that.
10681         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10682         if that returned true.
10684 2014-10-31  Roland McGrath  <roland@hack.frob.com>
10686         [BZ #17496]
10687         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10688         gen-as-const-headers chunk.  Add a big scare comment after the last
10689         safe place to touch before-compile.
10691 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10693         * manual/install.texi (Tools for Compilation): Update autoconf
10694         version requirements.
10695         * INSTALL: Regenerated.
10697         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10698         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10699         (__libc_pselect): Likewise.
10701         [BZ #14138]
10702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10707 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10709         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10710         correct barrier instruction.
10711         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10712         Likewise.
10713         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10714         Likewise.
10716 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10718         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10719         after defining inlines.  Instead, just use parens to defeat macro
10720         expansion of __isctype in its declaration.
10722 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10724         * include/sys/uio.h (__libc_readv): Remove declaration.
10725         (__libc_writev): Likewise.
10726         * misc/readv.c (__libc_readv): Rename to __readv.
10727         (__readv): Do not define as alias.
10728         (readv): Define as alias of __readv.
10729         * misc/writev.c (__libc_writev): Rename to __writev.
10730         (__writev): Do not define as alias.
10731         (writev): Define as alias of __writev.
10732         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10733         (__readv): Do not define as alias.
10734         (readv): Define unconditionally as alias of __readv.
10735         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10736         (__writev): Do not define as alias.
10737         (writev): Define unconditionally as alias of __writev.
10738         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10739         name.
10740         (writev): Do not define __libc_writev name.
10742 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10744         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10745         (convert_charseq): New function, broken out of ...
10746         (use_from_charmap): ... here.  Call it.
10747         (use_to_charmap): Use convert_charseq and free instead of duplicating
10748         its code with a variable-length stack struct.
10750 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10752         * include/fcntl.h (__libc_creat): Remove declaration.
10753         * io/creat.c (__libc_creat): Rename to creat.
10754         (creat): Do not define as alias.
10755         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10756         of creat instead of __libc_creat.
10757         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10758         to creat.
10759         (creat): Do not define as alias.
10760         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10761         __libc_creat.
10762         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10763         __libc_creat name.
10764         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10765         Likewise.
10767 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
10769         * manual/llio.texi: Add comments discussing why write() may be
10770         considered MT-unsafe on Linux.
10772 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
10774         * dl-load.c (local_strdup): Remove.
10775         (expand_dynamic_string_token): Use __strdup.
10776         (decompose_rpath): Likewise.
10777         (_dl_map_object): Likewise.
10779 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
10781         [BZ #14132]
10782         * sysdeps/generic/unwind-dw2-fde.c
10783         (__register_frame_info_bases_internal): Do not declare.
10784         (__register_frame_info_table_bases_internal): Likewise.
10785         (__deregister_frame_info_bases_internal): Likewise.
10786         (__register_frame_info_bases): Declare and use hidden_proto before
10787         definition.  Use hidden_def instead of INTDEF.
10788         (__register_frame_info_table_bases): Likewise.
10789         (__deregister_frame_info_bases): Likewise.
10790         (__register_frame_info): Do not use INTUSE.
10791         (__register_frame): Likewise.
10792         (__register_frame_info_table): Likewise.
10793         (__register_frame_table): Likewise.
10794         (__deregister_frame_info): Likewise.
10795         (__deregister_frame): Likewise.
10797 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
10799         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10800         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10801         not undefine.
10802         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10803         Likewise.
10804         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10805         Likewise.
10807 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
10809         [BZ #14138]
10810         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10811         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10812         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10813         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10814         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10815         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10816         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10817         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10818         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10819         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10820         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10821         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10822         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10823         syscall.
10824         (setfsuid): Likewise.
10825         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10826         (setfsuid): Likewise.
10827         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10828         (setfsuid): Likewise.
10829         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10830         Likewise.
10831         (setfsuid): Likewise.
10832         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10833         (setfsuid): Likewise.
10834         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10835         Likewise.
10836         (setfsuid): Likewise.
10838 2014-10-27  Andreas Schwab  <schwab@suse.de>
10840         [BZ #17501]
10841         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10842         check for Slow_SSE4_2 feature bit.
10843         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10844         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10845         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10846         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
10848 2014-10-24  Roland McGrath  <roland@hack.frob.com>
10850         * configure.ac: Validate compiler version with a empirical test of
10851         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10852         $CC -v output.
10853         * configure: Regenerated.
10855         * inet/htons.c (htons): Prototypify.
10856         * inet/htonl.c (htonl): Likewise.
10858 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10860         * string/strncat.c (strncat): Improve performance by using strlen.
10862 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10864         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10866 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10868         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10869         Call libc_fetestexcept_aarch64.
10871 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10873         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10874         Call libc_feholdexcept_aarch64.
10876 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10878         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10879         Call get_rounding_mode.
10881 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10883         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10884         Simplify logic.
10886 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10888         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10889         Simplify logic.
10891 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
10893         [BZ #14138]
10894         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10895         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10896         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10897         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10898         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10899         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10900         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10901         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10902         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10903         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10904         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10905         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10906         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10907         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10908         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10909         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10910         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10911         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10912         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10913         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10914         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10915         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10916         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10917         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10918         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10919         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10920         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10921         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10922         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10923         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10924         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10925         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10926         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10927         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10928         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10929         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10930         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10931         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10932         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10933         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10934         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10935         syscall.
10936         (geteuid): Likewise.
10937         (getgid): Likewise.
10938         (getuid): Likewise.
10939         (getresgid): Likewise.
10940         (getresuid): Likewise.
10941         (getgroups): Likewise.
10942         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10943         (geteuid): Likewise.
10944         (getgid): Likewise.
10945         (getuid): Likewise.
10946         (getresgid): Likewise.
10947         (getresuid): Likewise.
10948         (getgroups): Likewise.
10949         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10950         (geteuid): Likewise.
10951         (getgid): Likewise.
10952         (getuid): Likewise.
10953         (getresgid): Likewise.
10954         (getresuid): Likewise.
10955         (getgroups): Likewise.
10956         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10957         Likewise.
10958         (geteuid): Likewise.
10959         (getgid): Likewise.
10960         (getuid): Likewise.
10961         (getresgid): Likewise.
10962         (getresuid): Likewise.
10963         (getgroups): Likewise.
10964         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10965         (geteuid): Likewise.
10966         (getgid): Likewise.
10967         (getuid): Likewise.
10968         (getresgid): Likewise.
10969         (getresuid): Likewise.
10970         (getgroups): Likewise.
10971         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10972         Likewise.
10973         (geteuid): Likewise.
10974         (getgid): Likewise.
10975         (getuid): Likewise.
10976         (getgroups): Likewise.
10978         [BZ #14138]
10979         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10980         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10981         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10982         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10983         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10984         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10985         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10986         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10987         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10988         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10989         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10990         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10991         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10992         __chown.
10993         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10994         (lchown): Likewise.
10995         (fchown): Likewise.
10996         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10997         Likewise.
10998         (lchown): Likewise.
10999         (fchown): Likewise.
11000         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11001         (lchown): Likewise.
11002         (fchown): Likewise.
11003         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11004         Likewise.
11005         (lchown): Likewise.
11006         (fchown): Likewise.
11008 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11010         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11011         Simplify logic.
11013 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11015         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11016         Cleanup logic.
11018 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11020         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11021         Remove unused include.
11023 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11025         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11026         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11027         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11028         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11030 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11031             Helge Deller <deller@gmx.de>
11033         [BZ #17508]
11034         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11035         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11036         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11038 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11040         [BZ #14132]
11041         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11042         Remove macro definition.
11043         (__ashrdi3_v_glibc20): Likewise.
11044         (__lshrdi3_v_glibc20): Likewise.
11045         (__cmpdi2_v_glibc20): Likewise.
11046         (__ucmpdi2_v_glibc20): Likewise.
11047         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11048         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11049         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11050         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11051         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11052         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11054 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11056         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11057         old GNU extension [0] syntax.
11058         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11059         alloca rather than an array member with variable length.
11060         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11061         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11062         (parse_opt): ... here.  Likewise use alloca there.
11063         Validate the -i argument before checking for rootness.
11064         (send_shutdown): New function, broken out of ...
11065         (parse_opt): ... here.
11067 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11069         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11070         macro to get at the _rt_local_ro field.
11071         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11072         ([PIC] case) or _dl_hwcap ([!PIC] case).
11073         * sysdeps/arm/setjmp.S: Likewise.
11075         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11076         * sysdeps/arm/configure.ac: New check to define it.
11077         * sysdeps/arm/configure: Regenerated.
11078         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11079         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11080         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11081         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11082         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11083         Use move/movt pair instead of a load.
11084         (LDST_GLOBAL): Macro removed.
11085         (LDR_GLOBAL): New macro replaces it.
11086         (LDR_HIDDEN): New macro.
11087         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11088         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11090         * setjmp/tst-setjmp-static.c: New file.
11091         * setjmp/Makefile (tests): Add it.
11092         (tests-static): New variable.
11094 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11096         [BZ #17485]
11097         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11099 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11101         [BZ #14132]
11102         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11104 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11106         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11108 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11110         * io/fts.c (dirent_not_directory): New function.
11111         (fts_build): Call it.
11113 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11115         * nptl/version.c (__nptl_main): Use normal __write rather than
11116         INTERNAL_SYSCALL.
11117         (banner): Update copyright years.
11119         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11120         gettimeofday.
11121         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11122         * nptl/pthread_cond_timedwait.c: Likewise.
11123         * nptl/pthread_mutex_timedlock.c: Likewise.
11124         * nptl/sem_timedwait.c: Likewise.
11126         * sysdeps/nptl/bits/libc-lock.h
11127         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11128         (__libc_lock_init_recursive): Return void, not 0.
11129         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11130         (__libc_rwlock_init): Likewise.
11131         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11133 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11135         [BZ #15215]
11136         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11137         (__pthread_once_slow): ... here.
11138         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11139         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11141 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11143         [BZ #15215]
11144         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11145         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11146         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11147         * nptl/pthread_once.c (__pthread_once): Likewise.
11148         Update comments.
11150 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11152         [BZ #14138]
11153         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11154         name.
11155         (writev): Use __libc_writev as strong name.
11156         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11157         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11159 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11161         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11163         * sysdeps/i386/nptl/tls.h
11164         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11165         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11166         New macros.
11167         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11168         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11169         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11170         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11171         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11172         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11174         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11175         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11176         on [__NR_futex].
11177         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11178         broken out of ...
11179         (__pthread_mutex_init): ... here.  Call it.
11180         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11181         Conditionalize PI cases on [__NR_futex].
11182         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11183         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11184         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11186         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11187         conditional on [SIGSETXID].
11188         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11189         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11190         is defined.  Likewise for SIGSETXID.
11191         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11192         Conditionalize definitions on [SIGSETXID].
11193         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11194         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11195         unblocking on [SIGCANCEL].
11197         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11198         [__NR_set_robust_list].
11200 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11202         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11203         (do_compare): Likewise.
11205 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11207         [BZ #15884]
11208         * string/strcoll_l.c: Don't include stdio.h.
11209         (coll_seq): Remove members idxarr and rulearr.
11210         (get_next_seq_cached): Remove function.
11211         (get_next_seq): Likewise.
11212         (get_next_seq_nocache): Rename to get_next_seq.
11213         (do_compare): Remove function.
11214         (do_compare_nocache): Rename to do_compare.
11215         (STRCOLL): Remove weight and rules cache.
11217 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11219         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11220         * sysdeps/arm/sfp-machine.h: ... to here.
11221         * sysdeps/arm/Implies: Remove arm/soft-fp.
11223 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11225         * conform/data/sys/utsname.h-data (*_t): Allow.
11226         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11227         [POSIX] (WEXITED): Do not expect constant.
11228         [POSIX] (WSTOPPED): Likewise.
11229         [POSIX] (WNOHANG): Likewise.
11230         [POSIX] (WNOWAIT): Likewise.
11231         [POSIX] (siginfo_t): Do not expect type or elements.
11232         [POSIX] (pid_t): Do not expect type.
11233         [POSIX] (signal.h): Do not allow header.
11234         [POSIX] (sys/resource.h): Likewise.
11235         [POSIX] (si_*): Do not allow pattern.
11236         [POSIX] (W*): Likewise.
11237         [POSIX] (P_*): Likewise.
11238         [POSIX] (BUS_*): Likewise.
11239         [POSIX] (CLD_*): Likewise.
11240         [POSIX] (FPE_*): Likewise.
11241         [POSIX] (ILL_*): Likewise.
11242         [POSIX] (POLL_*): Likewise.
11243         [POSIX] (SEGV_*): Likewise.
11244         [POSIX] (SI_*): Likewise.
11245         [POSIX] (TRAP_*): Likewise.
11246         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11247         variable.
11249 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11251         [BZ #12926]
11252         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11253         infinite loop when __recvmsg returns 0.
11255 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11257         * CANCEL-FCT-WAIVE: Remove file.
11258         * CANCEL-FILE-WAIVE: Likewise.
11260         [BZ #14132]
11261         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11262         instead of INTVARDEF.
11263         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11264         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11265         rtld_hidden_data_def instead of INTVARDEF.
11266         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11267         * elf/dl-deps.c (expand_dst): Likewise.
11268         * elf/dl-load.c (_dl_dst_count): Likewise.
11269         (_dl_dst_substitute): Likewise.
11270         (decompose_rpath): Likewise.
11271         (_dl_init_paths): Likewise.
11272         (open_path): Likewise.
11273         (_dl_map_object): Likewise.
11274         * elf/rtld.c (dl_main): Likewise.
11275         (process_dl_audit): Likewise.
11276         (process_envvars): Likewise.
11277         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11278         Remove declaration.
11279         (__libc_enable_secure): Use rtld_hidden_proto.
11281 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11283         * elf/dl-load.c
11284         (add_path): New function broken out of _dl_rtld_di_serinfo.
11285         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11287 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11289         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11290         parentheses around macro arguments.
11291         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11292         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11293         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11294         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11295         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11296         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11297         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11298         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11299         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11300         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11301         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11302         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11303         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11304         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11305         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11306         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11307         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11308         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11309         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11310         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11311         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11312         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11313         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11314         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11315         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11316         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11317         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11318         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11319         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11320         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11321         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11322         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11323         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11324         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11325         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11326         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11327         Likewise.
11328         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11329         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11330         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11331         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11332         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11333         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11335         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11336         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11337         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11338         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11339         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11340         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11341         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11342         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11343         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11344         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11345         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11346         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11347         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11348         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11349         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11350         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11351         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11352         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11353         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11354         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11355         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11356         (_FP_FRAC_SRS_1): Likewise.
11357         (_FP_FRAC_CLZ_1): Likewise.
11358         (_FP_MUL_MEAT_1_imm): Likewise.
11359         (_FP_MUL_MEAT_1_wide): Likewise.
11360         (_FP_MUL_MEAT_1_hard): Likewise.
11361         (_FP_SQRT_MEAT_1): Likewise.
11362         (_FP_FRAC_ASSEMBLE_1): Likewise.
11363         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11364         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11365         (__FP_CLZ_2): Likewise.
11366         (_FP_MUL_MEAT_2_wide): Likewise.
11367         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11368         (_FP_MUL_MEAT_2_gmp): Likewise.
11369         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11370         (_FP_SQRT_MEAT_2): Likewise.
11371         (_FP_FRAC_ASSEMBLE_2): Likewise.
11372         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11373         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11374         (_FP_FRAC_CLZ_4): Likewise.
11375         (_FP_MUL_MEAT_4_wide): Likewise.
11376         (_FP_MUL_MEAT_4_gmp): Likewise.
11377         (_FP_SQRT_MEAT_4): Likewise.
11378         (_FP_FRAC_ASSEMBLE_4): Likewise.
11379         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11380         * soft-fp/op-common.h (_FP_CMP): Likewise.
11381         (_FP_CMP_EQ): Likewise.
11382         (_FP_CMP_UNORD): Likewise.
11383         (_FP_TO_INT): Likewise.
11384         (_FP_FROM_INT): Likewise.
11385         [!__FP_CLZ] (__FP_CLZ): Likewise.
11386         (_FP_DIV_HELP_imm): Likewise.
11387         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11388         Likewise.
11389         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11390         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11391         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11392         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11393         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11394         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11395         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11396         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11397         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11398         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11399         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11400         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11401         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11402         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11403         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11404         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11405         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11406         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11407         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11408         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11409         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11410         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11411         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11412         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11413         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11414         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11415         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11416         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11417         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11418         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11419         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11420         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11421         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11422         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11423         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11424         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11425         (FP_UNPACK_RAW_SP): Likewise.
11426         (FP_PACK_RAW_S): Likewise.
11427         (FP_PACK_RAW_SP): Likewise.
11428         (FP_UNPACK_S): Likewise.
11429         (FP_UNPACK_SP): Likewise.
11430         (FP_UNPACK_SEMIRAW_S): Likewise.
11431         (FP_UNPACK_SEMIRAW_SP): Likewise.
11432         (FP_PACK_S): Likewise.
11433         (FP_PACK_SP): Likewise.
11434         (FP_PACK_SEMIRAW_S): Likewise.
11435         (FP_PACK_SEMIRAW_SP): Likewise.
11436         (_FP_SQRT_MEAT_S): Likewise.
11437         (FP_CMP_S): Likewise.
11438         (FP_CMP_EQ_S): Likewise.
11439         (FP_CMP_UNORD_S): Likewise.
11440         (FP_TO_INT_S): Likewise.
11441         (FP_FROM_INT_S): Likewise.
11443         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11445         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11446         (FP_EX_INVALID_IMZ): Likewise.
11447         (FP_EX_INVALID_IMZ_FMA): Likewise.
11448         (FP_EX_INVALID_ISI): Likewise.
11449         (FP_EX_INVALID_ZDZ): Likewise.
11450         (FP_EX_INVALID_IDI): Likewise.
11451         (FP_EX_INVALID_SQRT): Likewise.
11452         (FP_EX_INVALID_CVI): Likewise.
11453         (FP_EX_INVALID_VC): Likewise.
11454         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11455         "invalid" exceptions.
11456         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11457         (_FP_ADD_INTERNAL): Likewise.
11458         (_FP_MUL): Likewise.
11459         (_FP_FMA): Likewise.
11460         (_FP_DIV): Likewise.
11461         (_FP_CMP_CHECK_NAN): Likewise.
11462         (_FP_SQRT): Likewise.
11463         (_FP_TO_INT): Likewise.
11464         (FP_EXTEND): Likewise.
11466 2014-10-09  Allan McRae  <allan@archlinux.org>
11468         * po/fr.po: Update French translation from translation project.
11470 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11472         [BZ #14132]
11473         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11474         of INTDEF.
11475         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11476         (__cxa_atexit): Use libc_hidden_proto.
11477         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11479         [BZ #14132]
11480         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11481         declaration.
11482         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11483         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11484         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11485         [!_ISOMAC] (__iswctype_internal): Likewise.
11486         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11487         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11488         alias.
11489         (fcntl): Remove __fcntl_internal alias.
11490         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11491         __connect_internal alias.
11492         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11493         Likewise.
11495         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11496         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11497         FP_DENORM_ZERO.
11498         (_FP_CHECK_FLUSH_ZERO): New macro.
11499         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11500         (_FP_CMP): Likewise.
11501         (_FP_CMP_EQ): Likewise.
11502         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11503         FP_DENORM_ZERO.
11504         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11505         (FP_TRUNC): Likewise.
11507         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11508         treated as invalid conversion, not as normal exponent.
11510         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11511         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11512         (_FP_CMP_EQ): Likewise.
11513         (_FP_CMP_UNORD): Likewise.
11514         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11515         (FP_CMP_EQ_D): Likewise.
11516         (FP_CMP_UNORD_D): Likewise.
11517         * soft-fp/extended.h (FP_CMP_E): Likewise.
11518         (FP_CMP_EQ_E): Likewise.
11519         (FP_CMP_UNORD_E): Likewise.
11520         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11521         (FP_CMP_EQ_Q): Likewise.
11522         (FP_CMP_UNORD_Q): Likewise.
11523         * soft-fp/single.h (FP_CMP_S): Likewise.
11524         (FP_CMP_EQ_S): Likewise.
11525         (FP_CMP_UNORD_S): Likewise.
11526         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11527         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11528         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11529         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11530         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11531         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11532         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11533         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11534         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11535         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11536         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11537         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11538         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11539         to FP_CMP_Q.
11540         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11541         FP_CMP_Q.
11542         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11543         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11544         FP_CMP_EQ_Q.
11545         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11546         FP_CMP_Q.
11547         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11548         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11549         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11550         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11551         FP_CMP_EQ_Q.
11552         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11553         FP_CMP_Q.
11554         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11555         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11556         FP_CMP_EQ_Q.
11557         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11558         FP_CMP_Q.
11559         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11560         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11561         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11562         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11563         FP_CMP_EQ_Q.
11565         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11566         a subnormal result, set the underflow exception if trapping on
11567         underflow is enabled.
11568         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11569         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11570         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11571         redefine to 0.
11572         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11573         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11574         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11575         * soft-fp/extendxftf2.c (__extendxftf2): Use
11576         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11578         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11579         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11580         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11581         FP_HANDLE_EXCEPTIONS.
11582         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11583         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11584         FP_HANDLE_EXCEPTIONS.
11585         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11586         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11587         FP_HANDLE_EXCEPTIONS.
11588         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11589         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11590         FP_HANDLE_EXCEPTIONS.
11592 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11594         [BZ #14132]
11595         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11596         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11597         use INTUSE.
11598         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11599         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11600         Remove alias.
11601         (__adjtimex): Define using libc_hidden_ver.
11602         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11603         Remove declaration.
11604         (ntp_gettime): Call __adjtimex directly.
11605         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11606         Remove declaration.
11607         (ntp_gettimex): Call __adjtimex directly.
11608         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11609         __adjtimex_internal alias.
11611 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11613         [BZ #17460]
11614         * nscd/nscd.c (more_help): Rewrite list of tables collection
11615         using xstrdup and asprintf.
11617         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11619 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11620             Roland McGrath  <roland@hack.frob.com>
11622         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11623         (do_lookup_unique): ... local function 'enter' here; update callers.
11625 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11627         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11628         compat_symbol calls on [SHARED].
11629         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11630         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11631         Remove.
11632         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11633         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11634         (oldsetrlimit): Remove.
11635         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11637         (lchown): New syscall entry.
11638         (oldsetrlimit): Remove.
11639         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11640         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11641         (oldsetrlimit): Remove.
11642         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11644         [BZ #14138]
11645         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11646         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11647         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11648         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11649         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11650         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11651         (fchown): Likewise.
11652         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11653         (fchown): Likewise.
11654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11655         Likewise.
11657 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11659         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11660         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11661         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11662         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11663         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11664         Likewise.
11665         (__old_sem_post): Likewise.
11667 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11669         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11670         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11671         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11672         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11673         Use INLINE_VSYSCALL macro.
11674         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11675         __vdso_clock_gettime.
11676         * sysdeps/unix/sysv/linux/tile/init-first.c
11677         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11678         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11679         __vdso_clock_gettime.
11681         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11682         to set up frame more cleanly.
11684         * sysdeps/tile/memcmp.c: New file.
11686         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11688         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11689         * sysdeps/tile/tilegx/strcasestr.c: New file.
11690         * sysdeps/tile/tilegx/strnlen.c: New file.
11691         * sysdeps/tile/tilegx/strstr.c: New file.
11693         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11695 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
11697         * nptl/tst-setuid3.c: Write errors to stdout.
11699 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11701         * elf/dl-deps.c
11702         (preload): New functions broken out of _dl_map_object_deps.
11703         (_dl_map_object_deps):  Remove a nested function. Update call sites.
11705 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
11707         [BZ #14138]
11708         * sysdeps/unix/sysv/linux/execve.c: Remove file.
11709         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11711 2014-10-01  Steve Ellcey  <sellcey@mips.com>
11713         * sysdeps/mips/strcmp.S: New.
11715 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
11717         [BZ #14138]
11718         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11719         (linkat): Likewise.
11720         (mkdirat): Likewise.
11721         (readlinkat): Likewise.
11722         (renameat): Likewise.
11723         (symlinkat): Likewise.
11724         (unlinkat): Likewise.
11725         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11726         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11727         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11728         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11729         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11730         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11731         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11733 2014-09-30  Will Newton  <will.newton@linaro.org>
11735         * math/math.h: Define long double math functions if
11736         _LIBC_TEST is defined.
11737         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11739         * localedata/Makefile: Move assignment to tests-special
11740         into an ifdef testing run-built-tests.
11741         * timezone/Makefile: Likewise.
11743 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
11745         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11746         with $(BASH) not $(SHELL).
11748 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
11749             Matthew LeGendre  <legendre1@llnl.gov>
11751         [BZ #17411]
11752         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11753         l_reloc_result.
11755 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11757         * stdio-common/printf_fp.c
11758         (hack_digit): New function, broken out of ...
11759         (__printf_fp): ... local function here.  Update call sites.
11760         hack_digit now takes an additional parameter that is a pointer
11761         to a struct of the referenced locals.  Those locals moved inside
11762         the struct and references updated.
11764 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
11766         * aclocal.m4: Require autoconf 2.69.
11767         * configure: Regenerated.
11768         * sysdeps/aarch64/configure: Likewise.
11769         * sysdeps/alpha/configure: Likewise.
11770         * sysdeps/arm/armv7/configure: Likewise.
11771         * sysdeps/arm/configure: Likewise.
11772         * sysdeps/ia64/configure: Likewise.
11773         * sysdeps/mach/configure: Likewise.
11774         * sysdeps/mips/configure: Likewise.
11775         * sysdeps/s390/configure: Likewise.
11776         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11779         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11780         file.
11781         * sysdeps/ia64/configure.ac: Likewise.
11783 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
11785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11786         specify symbol version for ld.so.  Do not include entry for
11787         libpthread.
11788         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11789         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11790         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11792         [BZ #14171]
11793         * Makeconfig [$(build-shared) = yes]
11794         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11795         makefiles.
11796         [$(build-shared) = yes && $(soversions.mk-done) = t]
11797         ($(common-objpfx)gnu/lib-names.h): Remove rule.
11798         [$(build-shared) = yes && $(soversions.mk-done) = t]
11799         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
11800         to Makerules.
11801         [$(build-shared) = yes && $(soversions.mk-done) = t]
11802         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11803         here.
11804         [$(build-shared) = yes && $(soversions.mk-done) = t]
11805         (common-generated): Don't append gnu/lib-names.h and
11806         gnu/lib-names.stmp here.
11807         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11808         (lib-names-h-abi): New variable.
11809         [$(build-shared) = yes && $(soversions.mk-done) = t]
11810         (lib-names-stmp-abi): Likewise.
11811         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11812         abi-variants] (before-compile): Append
11813         $(common-objpfx)$(lib-names-h-abi).
11814         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11815         abi-variants] (common-generated): Append gnu/lib-names.h.
11816         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11817         abi-variants] (install-others-nosubdir): Depend on
11818         $(inst_includedir)/$(lib-names-h-abi).
11819         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11820         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11821         [$(build-shared) = yes && $(soversions.mk-done) = t]
11822         ($(common-objpfx)$(lib-names-h-abi)): New rule.
11823         [$(build-shared) = yes && $(soversions.mk-done) = t]
11824         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11825         [$(build-shared) = yes && $(soversions.mk-done) = t]
11826         (common-generated): Append $(lib-names-h-abi) and
11827         $(lib-names-stmp-abi).
11828         * scripts/lib-names.awk: Do not handle multi being set.
11829         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11830         Remove variable.
11831         (abi-lp64_be-ld-soname): Likewise.
11832         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11833         Likewise.
11834         (abi-hard-ld-soname): Likewise.
11835         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11836         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11837         Remove variable.
11838         (abi-o32_hard-ld-soname): Likewise.
11839         (abi-o32_soft_2008-ld-soname): Likewise.
11840         (abi-o32_hard_2008-ld-soname): Likewise.
11841         (abi-n32_soft-ld-soname): Likewise.
11842         (abi-n32_hard-ld-soname): Likewise.
11843         (abi-n32_soft_2008-ld-soname): Likewise.
11844         (abi-n32_hard_2008-ld-soname): Likewise.
11845         (abi-n64_soft-ld-soname): Likewise.
11846         (abi-n64_hard-ld-soname): Likewise.
11847         (abi-n64_soft_2008-ld-soname): Likewise.
11848         (abi-n64_hard_2008-ld-soname): Likewise.
11849         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11850         Likewise.
11851         (abi-64-v2-ld-soname): Likewise.
11852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11853         ld.so entries.
11854         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11855         variable.
11856         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11857         entry.
11858         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11859         variable.
11860         (abi-64-ld-soname): Likewise.
11861         (abi-x32-ld-soname): Likewise.
11862         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11863         entry.
11864         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11866 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
11868         [BZ #14138]
11869         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11870         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11871         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11872         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11873         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11874         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11875         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11876         syscall entry for GLIBC_2.2 symbol version.
11877         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11878         Likewise.
11879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11880         (setrlimit): Likewise.
11881         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11882         Likewise.
11884 2014-09-23  Will Newton  <will.newton@linaro.org>
11886         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11887         _LINUX_ARM_SYSDEP_H include guard too.
11888         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11889         define.
11891 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11893         * sysdeps/unix/sysv/linux/eventfd.c:
11894         Make first argument unsigned.
11895         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11896         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11898 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
11900         * socket/recvmmsg.c (recvmmsg): Drop const argument.
11901         * socket/sys/socket.h: Likewise
11902         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11904 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11906         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11908 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
11910         * time/tst-ftime.c: New test.
11911         * time/Makefile (tests): Add tst-ftime.
11913 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
11915         * soft-fp/extended.h: Fix comment formatting.
11916         * soft-fp/op-1.h: Likewise.
11917         * soft-fp/op-2.h: Likewise.
11918         * soft-fp/op-4.h: Likewise.
11919         * soft-fp/op-8.h: Likewise.
11920         * soft-fp/op-common.h: Likewise.
11921         * soft-fp/soft-fp.h: Likewise.
11923         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11925 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
11927         [BZ #6652]
11928         * Makeconfig (soversions-default-setname): Remove variable.
11929         ($(common-objpfx)soversions.i): Don't pass default_setname to
11930         soversions.awk.
11931         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11932         oldest_abi to abi-versions.awk.
11933         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11934         * config.make.in (oldest-abi): Remove variable.
11935         * configure.ac (--enable-oldest-abi): Remove configure option.
11936         * configure: Regenerated.
11937         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11938         text.
11939         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11940         * scripts/soversions.awk: Do not handle default_setname variable.
11941         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11942         variable.
11943         * sysdeps/mach/hurd/configure: Regenerated.
11944         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11945         variable.
11946         * sysdeps/unix/sysv/linux/configure: Regenerated.
11948 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11950         * elf/Makefile (CFLAGS-interp.c): Remove.
11951         ($(elf-objpfx)runtime-linker.h): Generate header with linker
11952         path string.
11953         * elf/interp.c: Include generated runtime-linker.h
11955         * Makerules (lib%.so): Don't include $(+interp) in
11956         prerequisites.
11957         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11958         * dlfcn/eval.c: Remove file.
11960         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11961         macros.
11963         [BZ #17266]
11964         * misc/sys/cdefs.h: Define __extern_always_inline for clang
11965         4.2 and newer.
11967         [BZ #17370]
11968         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11970 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11971             Jakub Jelinek  <jakub@redhat.com>
11973         [BZ #17266]
11974         * libio/stdio.h: Check definition of __fortify_function
11975         instead of __extern_always_inline to include bits/stdio2.h.
11976         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11977         check if __extern_always_inline is defined.
11978         [__USE_MISC || __USE_XOPEN]: Likewise.
11979         [__USE_ISOC99] Likewise.
11980         * misc/sys/cdefs.h (__fortify_function): Define only if
11981         __extern_always_inline is defined.
11982         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11983         __extern_always_inline and __extern_inline only for g++-4.3
11984         and newer or a compatible gcc.
11986 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
11988         [BZ #17371]
11989         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11990         last change to handle zero prefix length.
11992 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11994         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11995         _SC_REGEX_VERSION.
11997         * posix/getconf.c (vars): Add _POSIX_IPV6 and
11998         _POSIX_RAW_SOCKETS.
12000 2014-09-13  Allan McRae  <allan@archlinux.org>
12002         * po/ru.po: Update Russian translation from translation project.
12004 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12006         * locale/programs/locale.c (show_locale_vars): Inline local function
12007         into its sole call site.  Clean up some style nits.
12008         (print_item): New function, broken out of ...
12009         (show_info): ... local function here.  Clean up style nits.
12011         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12012         out of ...
12013         (set_class_defaults): ... local function set_default here.
12014         Define set_default as a macro locally to pass constant parameters.
12015         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12016         rather than a shared local.
12018         * stdlib/rpmatch.c (try): New function, broken out of ...
12019         (rpmatch): ... local function here.  Also, prototypify definition.
12021 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12023         * scripts/soversions.awk: Do not handle configuration names.
12024         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12025         vendor and os variables to soversions.awk.
12026         * configure.ac: Do not modify gnu-* host_os.
12027         * configure: Regenerated
12028         * shlib-versions: Remove first column with configuration names.
12029         * nptl/shlib-versions: Likewise.
12030         * nptl_db/shlib-versions: Likewise.
12031         * sysdeps/hppa/shlib-versions: Likewise.
12032         * sysdeps/m68k/shlib-versions: Likewise.
12033         * sysdeps/mach/hurd/shlib-versions: Likewise.
12034         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12035         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12036         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12037         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12038         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12039         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12040         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12041         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12043         Likewise.
12044         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12045         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12046         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12047         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12048         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12049         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12050         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12051         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12054         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12056         Regenerated.
12057         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12059         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12061         * shlib-versions: Remove OS-specific entries.  Moved to files in
12062         sysdeps.
12063         * sysdeps/mach/hurd/shlib-versions: New file.
12064         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12066         * nptl/shlib-versions: Remove architecture-specific entries.
12067         Moved to files in sysdeps.
12068         * shlib-versions: Likewise.
12069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12070         file.
12071         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12072         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12073         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12074         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12076         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12077         (UDP_NO_CHECK6_RX): Likewise.
12079 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12081         * sysdeps/posix/sysconf.c (__sysconf): Spell
12082         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12084 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12086         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12087         loading.
12088         * iconv/Versions (__gconv_transliterate): Export for use from
12089         gconv modules.
12090         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12091         (struct __gconv_trans_data, __gconv_trans_fct,
12092         __gconv_trans_context_fct, __gconv_trans_query_fct,
12093         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12094         definitions.
12095         (struct __gconv_step_data): Remove __trans member.
12096         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12097         longer hidden.  Remove unused trans_data argument.
12098         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12099         (__gconv_translit_find): Remove declaration.
12100         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12101         prototype.
12102         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12103         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12104         trans_data argument.  Add hidden definition.
12105         (__gconv_translit_find): Remove.
12106         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12107         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12108         * iconv/skeleton.c: Remove transliteration initialization.
12109         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12110         __gconv_step_data initialization.
12111         * libio/iofwide.c (__libio_translit_): Remove.
12112         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12113         * wcsmbs/btowc.c (__btowc): Likewise.
12114         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12115         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12116         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12117         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12118         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12119         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12120         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12121         * wcsmbs/wctob.c (wctob): Likewise.
12123 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12125         [BZ #16194]
12126         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12127         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12128         register usage.
12129         * sysdeps/x86/Makefile: Adjust.
12131 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12132             Roland McGrath  <roland@hack.frob.com>
12134         * locale/weight.h: Add include guard.
12135         (findidx): Make static rather than auto; take new parameters
12136         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12137         * locale/weightwc.h: Likewise.
12138         * posix/fnmatch_loop.c
12139         (FCT): Change type of EXTRA from int32_t to wint_t.
12140         Don't include either header inside the function.
12141         Call FINDIDX rather than findidx, and pass new arguments.
12142         #undef FINDIDX at the end of the file.
12143         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12144         FINDIDX before including fnmatch_loop.c for the non-wide version.
12145         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12146         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12147         for the wide version.
12148         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12149         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12150         Pass new arguments to findidx.
12151         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12152         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12153         Don't #include it inside the function.  Pass new arguments to findidx.
12154         * posix/regex_internal.h
12155         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12156         (re_string_elem_size_at): Don't #include it inside the function.
12157         Pass new arguments to findidx.
12158         * string/strcoll_l.c: #include WEIGHT_H at top level.
12159         (get_next_seq): Don't #include it inside the function.
12160         Pass new arguments to findidx.
12161         (get_next_seq_nocache): Likewise.
12162         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12163         (STRXFRM): Don't #include it inside the function.
12164         Pass new arguments to findidx.
12166 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12168         [BZ #17344]
12169         * malloc/malloc.c (unlink): Turn asserts into a call to
12170         malloc_printerr.
12172 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12174         [BZ #17370]
12175         * libio/wfileops (do_ftell_wide): Free OUT.
12177 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12179         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12181 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12183         [BZ #17363]
12184         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12185         group if the current group is empty.
12187 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12189         * benchtests/bench-memset.c (test_main): Add more test from size
12190         from 32 to 512 bytes.
12191         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12192         Add POWER8 memset object.
12193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12194         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12195         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12196         implementation.
12197         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12198         Likewise.
12199         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12200         multiarch POWER8 memset optimization.
12201         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12202         POWER8 memset optimization.
12204         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12205         Remove bzero multiarch objects.
12206         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12207         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12208         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12209         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12210         Remove define.
12211         [__bzero]: Redefine to specific name.
12212         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12213         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12214         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12215         define.
12216         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12217         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12219 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12221         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12222         warnings into errors.
12224         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12225         __cxa_thread_atexit_impl prototype.
12227 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12229         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12230         Fix capitalization of error message.
12232 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12234         * sysdeps/mips/preconfigure: Modify ABI tests.
12236 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12238         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12240 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12241             Carlos O'Donell  <carlos@systemhalted.org>
12243         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12244         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12245         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12246         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12247         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12248         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12249         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12250         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12251         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12252         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12253         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12254         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12255         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12256         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12257         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12258         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12259         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12260         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12261         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12262         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12263         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12264         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12265         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12266         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12267         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12268         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12269         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12270         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12271         Deconditionalize the code that was previously under [RESET_PID].
12272         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12273         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12274         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12275         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12276         include sysdep.h.
12278 2014-09-08  Allan McRae  <allan@archlinux.org>
12280         * version.h (RELEASE): Set to "development".
12281         (VERSION): Set to "2.20.90"
12283 2014-09-07  Allan McRae  <allan@archlinux.org
12285         * version.h (RELEASE): Set to "stable".
12286         (VERSION): Set to "2.20"
12287         * include/features.h (__GLIBC_MINOR__): Set to 20.
12289         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12290         Liebler.
12292         * po/ko.po: Update Korean translation from translation project.
12294 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12296         [BZ #17354]
12297         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12298         macro for handling signed relocations.
12300 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12302         [BZ #17325]
12303         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12304         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12305         assert.
12306         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12307         * iconvdata/ibm935.c (BODY): Likewise.
12308         * iconvdata/ibm937.c (BODY): Likewise.
12309         * iconvdata/ibm939.c (BODY): Likewise.
12310         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12311         assert.
12312         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12313         script.
12314         * iconvdata/run-iconv-test.sh: New test loop for checking for
12315         decoder crashers.
12317 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12319         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12320         libm_hidden_ver.
12322 2014-09-01  Allan McRae  <allan@archlinux.org>
12324         * po/eo.po: Update Esperanto translation from translation project.
12326         * po/ca.po: Update Catalan translation from translation project.
12328 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12330         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12331         __proc_dostop call.
12333 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12335         [BZ #17319]
12336         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12337         to call set_thread_area instead of hand written asm.
12338         (__NR_set_thread_area): Removed define.
12339         (TLS_FLAG_WRITABLE): Likewise.
12340         (__ASSUME_SET_THREAD_AREA): Remove check.
12341         (TLS_EBX_ARG): Remove define.
12342         (TLS_LOAD_EBX): Likewise.
12344 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12346         Simplify atomicity of socket creation in bind.
12348         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12349         looking up the name after linking the file.
12351 2014-08-27  Allan McRae  <allan@archlinux.org>
12353         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12355 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12357         [BZ #17187]
12358         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12359         trans_compare, open_translit, __gconv_translit_find):
12360         Remove module loading code.
12362 2014-08-26  Allan McRae  <allan@archlinux.org>
12364         * po/vi.po: Update Vietnamese translation from translation project.
12366         * po/uk.po: Update Ukrainian translation from translation project.
12368         * po/fr.po: Update French translation from translation project.
12370         * po/ru.po: Update Russian translation from translation project.
12372         * po/pl.po: Update Polish translation from translation project.
12374         * po/cs.po: Update Czech translation from translation project.
12376         * po/de.po: Update German translation from translation project.
12378         * po/bg.po: Update Bulgarian translation from translation project.
12380         * po/sv.po: Update Sweedish translation from translation project.
12382         * po/nl.po: Update Dutch translation from translation project.
12384         * po/es.po: Update Spanish translation from translation project.
12386 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12388         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12390         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12391         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12392         (CPPFLAGS-iconvconfig): Likewise.
12393         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12395         * include/libc-symbols.h: Remove unnecessary check for
12396         NOT_IN_libc.
12397         * nptl/pthreadP.h: Likewise.
12398         * sysdeps/aarch64/setjmp.S: Likewise.
12399         * sysdeps/alpha/setjmp.S: Likewise.
12400         * sysdeps/arm/sysdep.h: Likewise.
12401         * sysdeps/i386/setjmp.S: Likewise.
12402         * sysdeps/m68k/setjmp.c: Likewise.
12403         * sysdeps/posix/getcwd.c: Likewise.
12404         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12405         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12406         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12407         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12408         * sysdeps/sh/sh3/setjmp.S: Likewise.
12409         * sysdeps/sh/sh4/setjmp.S: Likewise.
12410         * sysdeps/unix/alpha/sysdep.h: Likewise.
12411         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12412         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12413         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12414         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12417         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12418         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12419         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12420         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12421         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12422         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12423         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12424         * sysdeps/x86_64/setjmp.S: Likewise.
12426 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12428         [BZ #17263]
12429         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12430         <stdint.h>.
12431         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12432         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12434 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12436         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12438         [BZ #17262]
12439         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12440         and __x86_64__ when disabling x87 inline functions.
12442 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12444         [BZ #17259]
12445         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12446         asm statement with __cpuid_count.
12448 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12450         * configure.ac: Change __ehdr_start code to dereference the struct.
12451         Run readelf on the output to look for relocations.
12452         * configure: Regenerated.
12454 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12456         [BZ #17261]
12457         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12458         value to 0.
12459         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12461 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12463         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12465 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12467         [BZ #16892]
12468         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12469         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12471 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12473         * malloc/malloc.c: Fix typo in comment.
12475 2014-08-09  Allan McRae  <allan@archlinux.org>
12477         * Regenerate libc.po.
12479 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12481         * intl/tst-gettext2.sh: Check every lang file for creation.
12483 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12485         * sysdeps/aarch64/fpu/math_private.h
12486         (libc_feholdsetround_noex_aarch64_ctx): New function.
12488 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12490         * sysdeps/arm/armv6/strcpy.S (strcpy):
12491         Fix performance issue in misaligned cases.
12493 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12495         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12496         Move definition from termios.h.
12497         (struct termio): Likewise.
12498         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12499         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12500         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12501         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12502         Likewise.
12503         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12504         Move definition to ioctl-types.h
12505         (struct termio): Likewise.
12506         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12507         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12508         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12509         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12510         Likewise.
12512 2014-08-05  Richard Henderson  <rth@redhat.com>
12514         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12515         exceptions.
12516         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12517         Add fraiseexcpt.
12518         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12519         Use __feraiseexcept.
12520         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12521         Protect libm symbols with IS_IN_libm.
12523         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12525 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
12527         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12529 2014-08-04  Will Newton  <will.newton@linaro.org>
12531         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12532         file.
12534 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12536         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12537         variants for each function.
12539 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12541         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12542         appended ...
12543         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12544         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12545         appended ...
12546         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12547         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12548         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12549         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12550         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12551         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12552         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12553         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12554         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12555         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12556         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12557         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12558         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12559         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12560         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12561         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12562         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12563         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12564         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12565         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12566         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12567         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12568         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12569         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12570         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12571         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12572         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12573         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12574         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12575         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12576         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12577         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12578         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12579         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12580         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12581         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12582         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12583         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12584         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12585         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12586         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12587         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12588         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12589         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12590         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12591         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12592         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12593         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12594         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12595         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12596         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12597         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12598         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12599         Update #include.
12600         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12601         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12603 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12605         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12606         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12607         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12608         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12609         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12610         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12612 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12614         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12615         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12616         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12617         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12619 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12621         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12622         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12623         (__libc_vfork): Define function under this name.
12624         (__vfork): Define as an alias.
12625         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12626         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12628 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12630         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12631         that was previously under [RESET_PID].
12632         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12634 2014-08-04  Andreas Schwab  <schwab@suse.de>
12636         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12638 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12640         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12641         (main): Likewise.
12643 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12645         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12647 2014-08-01  Richard Henderon  <rth@redhat.com>
12649         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12650         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12651         typo in exact zero test.
12652         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12653         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12654         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12656 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12658         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12659         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12660         * sysdeps/arm/sysdep.h: ... here.
12661         [!__ASSEMBLER__]: Include <stdint.h>.
12663 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12665         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12666         (HAVE_WCTYPE_H): Likewise.
12667         (HAVE_ISWCTYPE): Likewise.
12668         (ENABLE_NLS): Likewise.
12669         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12670         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12672         * posix/regex_internal.c: Check if DEBUG is defined and is
12673         set.
12675         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12676         (HAVE_MBSRTOWCS): Likewise.
12677         * posix/fnmatch.c: Include string.h unconditionally.
12679 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12681         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12682         reversal.
12684 2014-07-31  Roland McGrath  <roland@hack.frob.com>
12686         * sysdeps/generic/safe-fatal.h: New file.
12687         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12688         * nptl/forward.c: Include it.
12689         (__pthread_unwind): Use __safe_fatal as default action, rather
12690         than a bogus use of INTERNAL_SYSCALL that could never work.
12692         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12693         * configure.ac (libc_cv_builtin_trap): New test.
12694         * configure: Regenerated.
12695         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12696         (ABORT_INSTRUCTION): Define using __builtin_trap.
12698         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12699         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12700         * sysdeps/nptl/nptl-signals.h: New file.
12701         * nptl/pthreadP.h: Include <nptl-signals.h>.
12703 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12705         * sysdeps/s390/s390-64/utf16-utf32-z9.c
12706         (ONE_DIRECTION): Define.
12707         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12708         (ONE_DIRECTION): Define.
12709         * sysdeps/s390/s390-64/utf8-utf32-z9.c
12710         (ONE_DIRECTION): Define.
12712 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12714         * sysdeps/s390/Makefile: Delete file.
12715         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12716         * sysdeps/s390/__longjmp.c: Delete file.
12717         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12718         Remove fields __flags and __reserved.
12719         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12720         and add versioning.
12721         * sysdeps/s390/rtld-__longjmp.c: Delete file.
12722         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12723         * sysdeps/s390/rtld-setjmp.S: Likewise.
12724         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12725         * sysdeps/s390/s390-32/__longjmp.c: ... here.
12726         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12727         * sysdeps/s390/s390-32/setjmp.S: ... here.
12728         Add versioning.
12729         (__sigsetjmp): Remove setting __flags field.
12730         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12731         * sysdeps/s390/s390-64/__longjmp.c: ... here.
12732         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12733         * sysdeps/s390/s390-64/setjmp.S: ... here.
12734         Add versioning.
12735         (__sigsetjmp): Remove setting __flags field.
12736         * sysdeps/s390/setjmp.S: Delete file.
12737         * sysdeps/s390/sigjmp.c: Likewise.
12738         * sysdeps/s390/v1-longjmp.c: Likewise.
12739         * sysdeps/s390/v1-setjmp.h: Likewise.
12740         * sysdeps/s390/v1-sigjmp.c: Likewise.
12741         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12742         Remove v1-longjmp_chk.
12743         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12744         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12745         Include debug/longjmp_chk.c and add versioning.
12746         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12747         Include nptl/pt-longjmp.c and add versioning.
12748         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12749         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12750         Include __longjmp.c.
12751         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12752         Move to ...
12753         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12754         (__getcontext): Remove setting __flags field.
12755         Add versioning.
12756         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12757         Don't restore upper high grps.
12758         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12759         Likewise.
12760         (__swapcontext): Remove setting uc_flags field.
12761         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12762         Delete file.
12763         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12764         Include __longjmp.c.
12765         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12766         Move to ...
12767         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12768         (__getcontext): Remove setting __flags field.
12769         Add versioning.
12770         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12771         (__swapcontext): Remove setting uc_flags field.
12772         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12773         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12774         Remove fields uc_high_gprs and __reserved.
12775         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12776         New file with reverted content.
12777         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12778         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12779         Regenerated.
12780         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12781         Regenerated.
12783 2014-07-31  Andreas Schwab  <schwab@suse.de>
12785         * config.h.in (HAVE_IFUNC): Define to 0.
12786         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12787         definedness.
12789 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
12791         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12792         memmove-avx-unaligned, memcpy-avx-unaligned and
12793         mempcpy-avx-unaligned.
12794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12795         Add tests for AVX memcpy functions.
12796         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12797         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12798         memcpy_chk.
12799         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12800         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12801         memmove_chk.
12802         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12803         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12804         mempcpy_chk.
12805         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12806         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12807         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12809 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12811         [BZ #17213]
12812         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12813         powerpc64le.
12815 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
12817         [BZ #16839]
12818         * manual/llio.texi: Add section about open file description locks.
12819         * manual/examples/ofdlocks.c: Example of open file description
12820         lock usage.
12821         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12822         F_OFD_SETLK, and F_OFD_SETLKW.
12824 2014-07-23  Allan McRae  <allan@archlinux.org>
12826         * po/es.po: Update Spanish translation from translation project.
12828 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
12830         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12832 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
12834         [BZ #17078]
12835         * sysdeps/arm/dl-machine.h (elf_machine_rela)
12836         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12837         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12839 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
12841         [BZ #17088]
12842         * math/fesetenv.c (__fesetenv)
12843         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12844         * math/feupdateenv.c (__feupdateenv)
12845         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12847         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12848         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12849         (__ASSUME_SOCKETCALL): Do not define.
12851         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12852         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12853         (__ASSUME_SOCKETCALL): Do not define.
12854         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12855         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12856         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12857         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12858         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12859         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12860         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12861         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12863         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12864         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12865         (__ASSUME_SOCKETCALL): Do not define.
12866         (__ASSUME_IPC64): Define unconditionally.
12867         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12868         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12869         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12870         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12871         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12872         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12873         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12874         Likewise.
12876         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12877         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12878         (__ASSUME_SOCKETCALL): Do not define.
12879         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12880         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12881         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12882         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12883         (__ASSUME_REQUEUE_PI): Define unconditionally.
12884         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12885         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12886         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12887         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12888         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12889         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12891         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12892         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12893         (__ASSUME_SOCKETCALL): Do not define.
12894         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12895         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12896         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12897         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12898         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12899         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12901         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12902         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12903         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12904         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12905         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12906         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12907         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12908         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12909         (__ASSUME_GETCPU_SYSCALL): Likewise.
12911         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12912         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
12913         cases for individual architectures.
12914         * sysdeps/gnu/configure: Regenerated.
12915         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12916         LIBC_SLIBDIR_RTLDDIR.
12917         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12918         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12919         LIBC_SLIBDIR_RTLDDIR.
12920         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12922         LIBC_SLIBDIR_RTLDDIR.
12923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12924         Regenerated.
12925         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12926         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12927         file.
12928         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12929         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12930         file.
12931         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12932         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12933         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12934         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12936         * sysdeps/aarch64/shlib-versions: Move to ...
12937         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12938         * sysdeps/alpha/shlib-versions: Move to ...
12939         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12940         * sysdeps/arm/shlib-versions: Move to ...
12941         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12942         * sysdeps/hppa/shlib-versions: Move all contents except for
12943         libgcc_s entry to ...
12944         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
12945         entry from ...
12946         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
12947         * sysdeps/ia64/shlib-versions: Move to ...
12948         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
12949         entry from ...
12950         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
12951         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12952         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12953         * sysdeps/microblaze/shlib-versions: Move to ...
12954         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12955         * sysdeps/mips/shlib-versions: Move to ...
12956         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
12957         entry from ...
12958         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
12959         * sysdeps/tile/shlib-versions: Move to ...
12960         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12961         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12962         from ...
12963         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
12964         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12965         entry from ...
12966         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
12968 2014-07-17  Will Newton  <will.newton@linaro.org>
12970         * sysdeps/arm/bits/atomic.h
12971         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12972         (__arch_compare_and_exchange_bool_16_int): Likewise.
12973         (__arch_compare_and_exchange_bool_64_int): Likewise.
12975         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12976         into an #else block.
12978 2014-07-16  Roland McGrath  <roland@hack.frob.com>
12980         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12981         just Linux configurations.  Test empirically that the compiler sets
12982         __ARM_EABI__, rather than using the tuple to decide.
12983         * sysdeps/arm/preconfigure: Regenerated.
12984         * sysdeps/unix/sysv/linux/arm/configure: File removed.
12985         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12986         contents appended ...
12987         * sysdeps/arm/configure.ac: ... here.
12988         * sysdeps/arm/configure: Regenerated.
12990 2014-07-15  Roland McGrath  <roland@hack.frob.com>
12992         * nptl/pthread_kill.c: New file.
12993         * nptl/pthread_sigmask.c: New file.
12994         * nptl/pthread_sigqueue.c: New file.
12996         * sysdeps/nptl/lowlevellock.h: New file.
12997         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12998         * sysdeps/nptl/lowlevellock-futex.h: New file.
13000         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13001         Remove dead declarations.
13003 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13005         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13006         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13007         config-cflags-avx2.
13008         * sysdeps/x86_64/configure.ac: Likewise.
13009         * sysdeps/i386/configure: Regenerated.
13010         * sysdeps/x86_64/configure: Likewise.
13011         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13012         memset-avx2 only if config-cflags-avx2 is yes.
13013         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13014         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13015         defined.
13016         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13017         only if HAVE_AVX2_SUPPORT is defined.
13018         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13020 2014-07-14  Alan Modra  <amodra@gmail.com>
13022         [BZ #17153]
13023         * elf/elf.h (DT_PPC64_NUM): Correct value.
13024         * NEWS: Add to fixed bug list.
13026 2014-07-13  Jim Meyering  <meyering@fb.com>
13028         [BZ 17150]
13029         regex: don't deref NULL upon heap allocation failure
13030         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13031         failure in one more place.
13032         To trigger the segfault, configure grep -with-included-regex,
13033         build it, and run these commands:
13034         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13036 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13038         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13040 2014-07-11  Richard Henderson  <rth@redhat.com>
13042         * sysdeps/aarch64/libm-test-ulps: Update.
13044 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13046         [BZ #17135]
13047         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13048         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13049         (__nptl_setxid): Initialize error member.  Call
13050         __nptl_setxid_error.
13051         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13052         * nptl/descr.h (struct xid_command): Add error member.
13053         * nptl/tst-setuid3.c: New file.
13054         * nptl/Makefile (tests): Add it.
13056 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13058         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13059         New define.
13060         (__lll_trylock): Use __lll_base_trylock.
13061         (__lll_cond_trylock): Likewise.
13063 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13065         * nptl/pthread_create.c (start_thread): Use atomic_or and
13066         lll_futex_wake directly rather than lll_robust_dead.
13067         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13068         (lll_robust_dead): Macro removed.
13069         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13070         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13071         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13072         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13073         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13074         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13075         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13076         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13077         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13078         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13079         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13080         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13081         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13082         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13083         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13085         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13086         Use atomic_compare_and_exchange_val_acq directly rather than
13087         lll_robust_trylock.
13088         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13089         (__lll_robust_trylock, lll_robust_trylock): Removed.
13090         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13091         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13092         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13093         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13094         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13095         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13096         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13097         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13098         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13099         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13100         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13101         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13102         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13103         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13105 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13107         * manual/locale.texi (Locale Names): New section documenting
13108         locale name syntax.  Adjust menu and node chaining accordingly.
13109         (Choosing Locale): Reference Locale Names, Locale Categories.
13110         Mention setting LC_ALL=C.  Reflect that name syntax is now
13111         documented.
13112         (Locale Categories): New section title.  Reference Locale Names.
13113         LC_ALL is an environment variable, but not a category.
13114         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13115         description, now in Locale Name.  Reference that section.  Locale
13116         name syntax is now documented.
13118 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13120         [BZ #17137]
13121         * locale/findlocale.c (name_present, valid_locale_name): New
13122         functions.
13123         (_nl_find_locale): Use the loc_name variable to store name
13124         candidates.  Call name_present and valid_locale_name to check and
13125         validate locale names.  Return an error if the locale is invalid.
13127 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13129         * locale/setlocale.c (setlocale): Use strdup for allocating
13130         composite name copy.
13132 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13134         Sync up with gnulib.
13135         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13136         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13137         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13138         and _GL_ARG_NONNULL.
13139         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13140         [!_LIBC]: Include code for Windows and Cygwin.
13141         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13142         Include prototype for int strerror_r.
13143         [!_LIBC] (is_open): New function.
13144         (flush_stdout): New function.
13145         (print_errno_message): Use it.
13146         (error): Likewise.
13147         (error_at_line): Likewise.
13148         (error_tail) Add function attribute macros.  Use
13149         __builtin_expect.
13151         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13153         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13155         * io/ftw.c: Include sys/param.h unconditionally.
13157         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13159         [BZ #17125]
13160         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13161         libc_freeres_ptr.
13162         (freecache): New function to free CACHE on exit.
13164         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13165         initialization.
13167 2014-07-09  David S. Miller  <davem@davemloft.net>
13169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13171         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13172         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13173         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13174         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13175         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13176         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13177         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13178         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13179         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13180         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13181         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13182         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13183         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13185 2014-07-09  Andreas Schwab  <schwab@suse.de>
13187         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13188         output.
13189         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13190         (do_test): Likewise.
13192         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13194 2014-07-09  Will Newton  <will.newton@linaro.org>
13196         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13197         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13198         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13199         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13200         * sysdeps/hppa/start.S (_start): Likewise.
13202 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13204         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13206         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13207         defined.
13209 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13211         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13212         after checking that it is non-NULL.
13214         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13216 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13218         * sysdeps/powerpc/memmove.c: Remove file.
13219         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13220         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13221         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13222         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13223         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13224         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13225         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13226         string memmove instead of removed powerpc one.
13228         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13229         [weak_alias]: Fix compiler warning due trailing data.
13230         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13231         [weak_alias]: Likewise.
13232         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13233         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13235         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13236         (__libc_ifunc_impl_list): Add memmove functions.
13238 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13240         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13241         Remove code.
13242         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13243         Likewise
13244         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13245         Likewise
13246         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13247         Likewise
13248         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13249         Likewise
13250         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13251         Likewise
13252         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13253         Likewise
13254         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13255         Likewise
13256         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13257         Likewise
13258         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13259         Likewise
13260         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13261         Likewise
13262         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13263         Likewise
13264         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13265         Likewise
13266         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13267         Likewise
13268         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13269         Likewise
13270         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13271         Likewise
13272         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13273         Likewise
13275 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13277         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13278         to avoid alignment traps in non-cacheable memory.
13279         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13281         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13282         multiarch objects.
13283         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13284         file: multiarch power7 memmove.
13285         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13286         multiarch default memmove.
13287         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13288         multiarch memove for powerpc32/power4.
13290         * string/bcopy.c: Use full path to include memmove.c.
13291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13292         multiarch objects.
13293         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13294         bcopy for powerpc64.
13295         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13296         bcopy for powerpc64.
13297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13298         and memmove implementations.
13299         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13300         optimized multiarch memmove for POWER7/powerpc64.
13301         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13302         default multiarch memmove for powerpc64.
13303         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13304         multiarch for powerpc64.
13305         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13306         for POWER7/powerpc64.
13307         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13308         memmove for POWER7/powerpc64.
13310         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13311         glibc default one.
13313         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13314         __ELF_NATIVE_CLASS equal to 64.
13316 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13318         * sysdeps/nptl/lowlevellock.h: File removed.
13320         * NEWS: NPTL is no longer an add-on!
13321         * nptl/internaltypes.h: Moved ...
13322         * sysdeps/nptl/internaltypes.h: ... here.
13323         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13324         * sysdeps/nptl/fork.c: Likewise.
13325         * sysdeps/nptl/gai_misc.h: Likewise.
13326         * sysdeps/nptl/librt-cancellation.c: Likewise.
13327         * sysdeps/nptl/jmp-unwind.c: Likewise.
13328         * sysdeps/nptl/setxid.h: Likewise.
13329         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13330         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13331         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13332         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13333         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13334         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13335         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13336         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13337         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13338         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13339         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13340         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13341         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13342         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13343         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13344         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13345         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13346         * nptl/Makeconfig: Moved ...
13347         * sysdeps/nptl/Makeconfig: ... here.
13348         * nptl/configure: File removed.
13349         * nptl/ANNOUNCE: File removed.
13350         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13351         * sysdeps/unix/sysv/linux/configure: Regenerated.
13353         * nptl/Makefile (routines): Add libc_pthread_init,
13354         libc_multiple_threads, register-atfork and unregister-atfork.
13355         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13356         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13357         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13358         pthread-pi-defines.sym, structsem.sym.
13359         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13360         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13361         [$(subdir) = nptl] (tests): Add tst-setgetname.
13362         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13363         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13364         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13365         [!LIBC_SIGACTION]: Remove aliases.
13366         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13367         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13368         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13369         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13370         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13371         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13372         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13373         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13374         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13375         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13376         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13377         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13378         __libc_allocate_rtsig_private.
13379         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13380         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13381         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13382         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13383         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13384         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13385         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13386         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13387         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13388         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13389         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13390         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13391         * nptl/internaltypes.h: ... here.
13392         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13393         * sysdeps/nptl/jmp-unwind.c: ... here.
13394         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13395         * nptl/libc-lowlevellock.c: ... here.
13396         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13397         * nptl/libc_multiple_threads.c: ... here.
13398         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13399         * nptl/libc_pthread_init.c: ... here.
13400         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13401         * nptl/lowlevelbarrier.sym: ... here.
13402         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13403         * nptl/lowlevelcond.sym: ... here.
13404         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13405         * nptl/lowlevellock.c: ... here.
13406         * nptl/lowlevellock.h: Moved ...
13407         * sysdeps/nptl/lowlevellock.h: ... here.
13408         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13409         * nptl/lowlevelrobustlock.c: ... here.
13410         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13411         * nptl/lowlevelrobustlock.sym: ... here.
13412         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13413         * nptl/lowlevelrwlock.sym: ... here.
13414         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13415         * nptl/pt-fork.c: ... here.
13416         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13417         * nptl/pthread-pi-defines.sym: ... here.
13418         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13419         * nptl/pthread_attr_getaffinity.c: ... here.
13420         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13421         * nptl/pthread_attr_setaffinity.c: ... here.
13422         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13423         * nptl/pthread_mutex_cond_lock.c: ... here.
13424         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13425         Update #include.
13426         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13427         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13428         * nptl/pthread_once.c: ... here, replacing old file.
13429         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13430         * nptl/pthread_yield.c: ... here.
13431         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13432         * nptl/register-atfork.c: ... here.
13433         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13434         * nptl/sem_post.c: ... here.
13435         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13436         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13437         * nptl/sem_timedwait.c: ... here.
13438         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13439         * nptl/sem_trywait.c: ... here.
13440         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13441         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13442         * nptl/sem_wait.c: ... here.
13443         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13444         * nptl/structsem.sym: ... here.
13445         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13446         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13447         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13448         * nptl/unregister-atfork.c: ... here.
13449         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13450         * nptl/unwindbuf.sym: ... here.
13451         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13452         * sysdeps/nptl/fork.c: ... here.
13453         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13454         * sysdeps/nptl/fork.h: ... here.
13455         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13456         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13457         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13458         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13459         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13460         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13461         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13462         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13463         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13464         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13465         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13466         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13467         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13468         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13469         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13470         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13471         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13472         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13473         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13474         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13475         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13476         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13477         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13478         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13479         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13480         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13481         * sysdeps/unix/sysv/linux/raise.c: ... here.
13482         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13483         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13484         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13485         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13486         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13487         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13488         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13489         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13490         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13491         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13492         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13493         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13494         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13495         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13496         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13498 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13500         * sysdeps/generic/memcopy.h: Add comment for
13501         MEMCPY_OK_FOR_FWD_MEMMOVE.
13503 2014-07-04  Will Newton  <will.newton@linaro.org>
13505         * string/memchr.c: Merge from gnulib.
13506         [_LIBC]: Remove conditionals.
13507         (__ptr_t): Remove define.
13508         (LONG_MAX_32_BITS): Likewise.
13509         (LONG_MAX): Likewise.
13510         (MEMCHR): Use ANSI prototype and optimize algorithm.
13512         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13514 2014-07-03  Roland McGrath  <roland@hack.frob.com>
13516         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13517         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13519         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13520         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13521         in a bare environment with no <stdlib.h> installed.
13522         * sysdeps/nptl/configure: Regenerated.
13524         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13526         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13527         AC_EGREP_CPP for kernel header checks, so they only succeed if
13528         including <linux/version.h> actually works right.
13529         * sysdeps/unix/sysv/linux/configure: Regenerated.
13531         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13532         value so it's not diagnosed as unused.
13534         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13535         thing) with "ifeq ($(subdir),rt)".
13537 2014-07-03  Richard Henderson  <rth@redhat.com>
13539         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13540         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13541         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13543         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13544         (math_force_eval): New.
13546         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13547         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13549         * sysdeps/alpha/fpu/s_round.c: Remove file.
13550         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13552         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13553         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13554         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13555         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13556         (_dl_start, print_statistics): Likewise.
13557         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13558         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13560         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13561         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13562         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13563         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13564         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13565         (HP_SMALL_TIMING_AVAIL): Define.
13566         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13567         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13568         (HP_SMALL_TIMING_AVAIL): Define.
13569         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13570         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13572         * sysdeps/aarch64/hp-timing.h: New file.
13574         * sysdeps/generic/hp-timing.h: Remove dead comment.
13575         * sysdeps/generic/hp-timing-common.h: New file.
13576         * sysdeps/alpha/hp-timing.h: Include it.
13577         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13578         * sysdeps/i386/i686/hp-timing.h: Likewise.
13579         * sysdeps/ia64/hp-timing.h: Likewise.
13580         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13581         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13582         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13583         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13584         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13585         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13586         (hp_timing_t): New.
13588         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13589         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13590         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13591         * elf/rtld.c (_dl_start_final): Likewise.
13592         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13593         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13594         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13595         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13596         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13597         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13598         (HP_TIMING_DIFF_INIT): Remove.
13599         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13600         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13601         (HP_TIMING_DIFF_INIT): Remove.
13602         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13603         * sysdeps/i386/i686/hp-timing.c: Remove file.
13604         * sysdeps/x86_64/hp-timing.c: Remove file.
13605         * sysdeps/ia64/hp-timing.c: Remove file.
13606         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13607         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13608         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13609         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13611         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13612         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13613         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13614         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13615         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13616         (HP_TIMING_ACCUM): Remove.
13617         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13618         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13619         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13621         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13622         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13623         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13624         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13625         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13626         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13627         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13628         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13630         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13632 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13634         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13636 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13638         Sync up with gettext.
13639         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13640         [_MSC_VER]: Include malloc.h
13641         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13642         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13643         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13644         TEMP_FAILURE_RETRY.  Cast return of alloca.
13645         [!_LIBC] Call gl_rwlock_init.
13646         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13648 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13650         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13651         before checking its value.
13653 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13655         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13657         * debug/memcpy_chk.c: Don't include pagecopy.h.
13658         * debug/mempcpy_chk.c: Likewise.
13659         * string/memcpy.c: Likewise.
13660         * string/memmove.c: Likewise.
13661         * sysdeps/powerpc/memmove.c: Likewise.
13662         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13663         definition of PAGE_COPY_FWD_MAYBE here...
13664         * sysdeps/generic/pagecopy.h: ... from here.
13665         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13667 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13668             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13670         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13672         optimizations.
13673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13674         (__libc_ifunc_impl_list): Likewise.
13675         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13676         multiarch strcat for PPC64.
13677         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13678         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13680 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13682         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13684 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13686         * intl/loadmsgcat.c: Remove declaration of
13687         get_sysdep_segment_value.
13688         (get_sysdep_segment_value): Use ISO C style.
13689         (_nl_load_domain): Use ISO C style.  Get rid of redundant
13690         semicolon.  Fix typo and formatting in comment.
13691         (_nl_unload_domain): Use ISO C style.
13693         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13695 2014-07-02  Will Newton  <will.newton@linaro.org>
13697         * malloc/obstack.c: Merge from gnulib master.
13698         [HAVE_CONFIG_H]: Remove conditional code.
13699         [!_LIBC]: Include config.h.
13700         [!ELIDE_CODE]: Don't include inttypes.h, include
13701         stdint.h unconditionally.
13702         (print_and_abort): Mark as _Noreturn.
13703         (_obstack_allocated_p): Mark as __attribute_pure__.
13704         (obstack_free): Rename to __obstack_free.
13705         [!__attribute__]: Remove conditional code.
13706         * malloc/obstack.h: Merge from gnulib master.
13707         [__cplusplus]: Move conditional down.
13708         [!__attribute_pure__]: Define __attribute_pure__ here
13709         if it is not already defined.
13710         (_obstack_memory_used): Mark as __attribute_pure__.
13711         [!__obstack_free]: Define as obstack_free.
13712         [__GNUC__]: Remove check for ancient NeXT gcc.
13714 2014-07-02  Will Newton  <will.newton@linaro.org>
13715             Paul Eggert  <eggert@cs.ucla.edu>
13717         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13719 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13721         * resolv/gethnamaddr.c: Add comment warning that the file is
13722         not maintained.
13724 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
13726         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13727         entries.
13729         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13730         entry for aio_cancel and aio_cancel64.
13731         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13732         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13733         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13734         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13735         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13736         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13737         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13738         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13739         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13740         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13741         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13742         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13743         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13745 2014-07-01  Roland McGrath  <roland@hack.frob.com>
13747         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13748         * nptl/pthread_mutex_lock.c: Likewise.
13749         * nptl/pthread_mutex_timedlock.c: Likewise.
13750         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13752 2014-07-01  Richard henderson  <rth@redhat.com>
13754         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13755         (__isnan, __isnanl): Remove.
13756         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13758         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13760 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13762         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13764 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13766         * resolv/nss_dns/dns-host.c (getanswer_r)
13767         [MULTI_PTRS_ARE_ALIASES]: Remove code.
13769 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
13771         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13772         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13773         undefine.
13774         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13775         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13777 2014-07-01  Roland McGrath <roland@hack.frob.com>
13779         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13780         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13782         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13783         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13785         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13786         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13787         ... here.
13788         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13789         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13791         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13792         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13793         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13794         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13796         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13797         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13798         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13799         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13800         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13801         Moved ...
13802         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13803         ... here.
13804         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13805         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13806         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13807         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13808         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13809         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13810         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13811         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13812         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13813         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13814         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13815         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13816         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13817         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13818         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13819         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13820         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13821         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13822         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13823         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13824         ... here.
13825         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13826         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13827         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13828         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13829         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13830         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13831         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13832         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13834 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
13836         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13837         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13838         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13839         Add sysdep.
13841 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13845 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13847         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13848         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13850         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13852         * sysdeps/arm/libm-test-ulps: Regenerated.
13854 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13855             Roland McGrath <roland@hack.frob.com>
13857         * test-skeleton.c (signal_handler): Kill the whole process group
13858         before killing the child individually.
13859         (main): Report any failure on `setpgid'.
13861 2014-06-30  Roland McGrath  <roland@hack.frob.com>
13863         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13864         from _TLS_H to _ARM_NPTL_TLS_H.
13865         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13866         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13868 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13870         [BZ #16539]
13871         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13872         (__expm1l): Return argument unchanged when small but not
13873         subnormal.
13875         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13876         include macro name.
13877         (_FP_UNPACK_RAW_1_P): Likewise.
13878         (_FP_PACK_RAW_1): Likewise.
13879         (_FP_PACK_RAW_1_P): Likewise.
13880         (_FP_MUL_MEAT_1_wide): Likewise.
13881         (_FP_MUL_MEAT_DW_1_hard): Likewise.
13882         (_FP_MUL_MEAT_1_hard): Likewise.
13883         (_FP_DIV_MEAT_1_imm): Likewise.
13884         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13885         (_FP_DIV_MEAT_1_udiv): Likewise.
13886         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13887         (_FP_UNPACK_RAW_2): Likewise.
13888         (_FP_UNPACK_RAW_2_P): Likewise.
13889         (_FP_PACK_RAW_2): Likewise.
13890         (_FP_PACK_RAW_2_P): Likewise.
13891         (_FP_MUL_MEAT_DW_2_wide): Likewise.
13892         (_FP_MUL_MEAT_2_wide): Likewise.
13893         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13894         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13895         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13896         (_FP_MUL_MEAT_2_gmp): Likewise.
13897         (_FP_DIV_MEAT_2_udiv): Likewise.
13898         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13899         (_FP_FRAC_SRL_4): Likewise.
13900         (_FP_FRAC_SRST_4): Likewise.
13901         (_FP_FRAC_SRS_4): Likewise.
13902         (_FP_UNPACK_RAW_4): Likewise.
13903         (_FP_UNPACK_RAW_4_P): Likewise.
13904         (_FP_PACK_RAW_4): Likewise.
13905         (_FP_PACK_RAW_4_P): Likewise.
13906         (_FP_MUL_MEAT_DW_4_wide): Likewise.
13907         (_FP_MUL_MEAT_4_wide): Likewise.
13908         (_FP_MUL_MEAT_4_gmp): Likewise.
13909         (umul_ppppmnnn): Likewise.
13910         (_FP_DIV_MEAT_4_udiv): Likewise.
13911         (__FP_FRAC_ADD_4): Likewise.
13912         (__FP_FRAC_SUB_3): Likewise.
13913         (__FP_FRAC_SUB_4): Likewise.
13914         (__FP_FRAC_DEC_3): Likewise.
13915         (__FP_FRAC_DEC_4): Likewise.
13916         (__FP_FRAC_ADDI_4): Likewise.
13917         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13918         (_FP_FRAC_SRL_8): Likewise.
13919         (_FP_FRAC_SRS_8): Likewise.
13921         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13922         include macro name.
13923         (FP_UNPACK_RAW_EP): Likewise.
13924         (FP_PACK_RAW_E): Likewise.
13925         (FP_PACK_RAW_EP): Likewise.
13926         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13927         (_FP_ISSIGNAN): Likewise.
13928         (_FP_ADD_INTERNAL): Likewise.
13929         (_FP_FMA): Likewise.
13930         (_FP_CMP): Likewise.
13931         (_FP_SQRT): Likewise.
13932         (_FP_TO_INT): Likewise.
13933         (_FP_FROM_INT): Likewise.
13934         (FP_EXTEND): Likewise.
13935         (_FP_DIV_MEAT_N_loop): Likewise.
13937 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13939         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13940         throughout.
13942 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
13944         [BZ #17097]
13945         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13946         result with correct sign in case of exponents that produce
13947         overflow except for X very close to 1.
13949 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
13951         mktime: merge #if/#ifdef usage from glibc
13952         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13953         as that works with both Glibc's and Gnulib's style.
13954         See thread starting at Siddhesh Poyarekar's bug report at:
13955         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13957 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13959         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13960         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13961         * sysdeps/tile/tilegx/memmove.c: Remove file.
13963 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13965         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13966         abi-name definition.
13967         * scripts/soversions.awk: Do not handle or generate ABI lines.
13968         * shlib-versions: Remove ABI entries.
13969         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13970         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13972 2014-06-27  Roland McGrath  <roland@hack.frob.com>
13974         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13975         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13976         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13977         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13978         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13979         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13980         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13981         Moved ...
13982         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13983         ... here.
13984         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13985         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13987         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13988         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13989         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13991         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13992         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13993         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13994         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13995         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13997         Moved ...
13998         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13999         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14000         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14001         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14002         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14004         Moved ...
14005         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14007         Moved ...
14008         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14009         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14010         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14011         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14012         Moved ...
14013         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14015         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14017         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14019         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14021         Moved ...
14022         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14024         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14025         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14026         Moved ...
14027         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14028         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14029         Moved ...
14030         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14031         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14032         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14033         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14034         Moved ...
14035         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14036         ... here.
14037         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14038         Identical file removed.
14039         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14040         Moved ...
14041         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14042         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14043         Identical file removed.
14044         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14045         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14046         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14047         Moved ...
14048         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14049         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14050         Identical file removed.
14051         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14052         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14053         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14054         Identical file removed.
14055         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14056         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14057         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14058         Identical file removed.
14059         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14060         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14061         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14062         Identical file removed.
14063         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14064         Moved ...
14065         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14066         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14067         Identical file removed.
14068         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14069         Moved ...
14070         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14071         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14072         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14073         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14074         Identical file removed.
14075         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14076         Moved ...
14077         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14078         ... here.
14079         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14080         Identical file removed.
14081         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14082         Moved ...
14083         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14084         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14085         Identical file removed.
14086         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14087         Moved ...
14088         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14089         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14090         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14091         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14092         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14093         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14094         Moved ...
14095         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14096         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14097         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14099         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14100         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14101         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14102         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14103         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14105 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14107         [BZ #17092]
14108         * nscd/nscd.c (monitor_child): Return exit status of child
14109         instead of return value from wait syscall.
14111 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14113         * configure.ac (libc_commonpagesize): Remove variable.
14114         (libc_relro_required): Likewise.
14115         (libc_cv_z_relro): Remove configure test.
14116         * configure: Regenerated.
14117         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14118         variable.
14119         (libc_relro_required): Likewise.
14120         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14121         (libc_relro_required): Likewise.
14122         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14123         (libc_relro_required): Likewise.
14124         * sysdeps/arm/preconfigure: Regenerated.
14125         * sysdeps/ia64/preconfigure: Remove file.
14126         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14127         variable.
14128         (libc_relro_required): Likewise.
14130         [BZ #16561]
14131         [BZ #16562]
14132         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14133         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14134         recompute overflowing results in original rounding mode.
14135         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14136         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14137         recompute overflowing results in original rounding mode.
14138         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14139         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14140         recompute overflowing results in original rounding mode.
14141         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14142         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14143         recompute overflowing results in original rounding mode.
14144         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14145         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14146         recompute overflowing results in original rounding mode.
14147         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14148         (libc_feholdsetround_ctx): New macro.
14149         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14150         * sysdeps/i386/fpu/libm-test-ulps: Update.
14151         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14153 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14155         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14156         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14157         corresponding .cpsetup call.
14159 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14161         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14162         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14163         * sysdeps/arm/Makefile [$(subdir) = csu]
14164         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14165         (static-only-routines): Add aeabi_read_tp here.
14166         (shared-only-routines): Add libc-aeabi_read_tp here.
14167         (CFLAGS-libc-start.c): Add -fexceptions here.
14168         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14169         (sysdep_routines, static-only-routines, shared-only-routines):
14170         Don't add to these here.
14171         (CFLAGS-libc-start.c): Likewise.
14173         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14174         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14175         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14176         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14177         * sysdeps/arm/Makefile [$(subdir) = rt]
14178         (librt-sysdep_routines, librt-shared-only-routines):
14179         Append rt-aeabi_unwind_cpp_pr1 here.
14180         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14181         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14182         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14183         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14184         Append nptl-aeabi_unwind_cpp_pr1 here.
14185         (tests): Filter out tst-cleanupx4 here.
14186         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14187         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14188         Don't do those here.
14190 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14192         * scripts/list-sources.sh: Do not handle ports specially.
14194 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14196         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14197         * sysdeps/arm/feupdateenv.c: Likewise.
14199         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14201 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14203         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14204         trailing whitespace removed.
14205         * scripts/config.guess: Update to version 2014-03-23.
14206         * scripts/config.sub: Update to version 2014-05-01
14207         * scripts/install-sh: Update to version 2013-12-25.23.
14208         * scripts/move-if-change: Update from gnulib.
14210 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14212         * debug/memmove_chk.c: Remove pagecopy.h include.
14214 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14216         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14217         identical to gnulib mktime.
14219 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14221         * configure.ac: Do not test for machine being rs6000.  Do not test
14222         for powerpc*-*soft.
14223         * configure: Regenerated.
14225         [BZ #11505]
14226         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14227         test.
14228         * configure: Regenerated.
14229         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14230         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14231         Remove configure test.
14232         * sysdeps/arm/configure: Regenerated.
14233         * sysdeps/nptl/configure.ac: Do not check
14234         libc_cv_asm_cfi_directives.
14235         * sysdeps/nptl/configure: Regenerated.
14236         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14237         * sysdeps/x86_64/nptl/configure: Remove generated file.
14238         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14239         unconditional.
14240         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14242 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14244         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14245         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14246         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14247         it is defined.
14249         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14250         instead of whether it is defined.
14251         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14252         * sysdeps/hppa/dl-machine.h: Likewise.
14253         * sysdeps/ia64/dl-machine.h: Likewise.
14254         * sysdeps/m68k/dl-machine.h: Likewise.
14255         * sysdeps/microblaze/dl-machine.h: Likewise.
14256         * sysdeps/mips/dl-machine.: Likewise.
14257         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14258         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14259         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14260         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14261         * sysdeps/sh/dl-machine.h: Likewise.
14262         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14263         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14264         * sysdeps/tile/dl-machine.h: Likewise.
14265         * sysdeps/x86_64/dl-machine.h: Likewise.
14267         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14268         code.
14269         (verify_persistent_db): Likewise.
14271 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14274         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14276         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14278         Moved ...
14279         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14280         ... here.
14281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14282         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14284         Identical file removed.
14285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14286         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14288         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14290         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14292         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14294         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14296         Moved ...
14297         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14299         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14301         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14303         Moved ...
14304         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14306         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14308         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14310         Identical file removed.
14311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14312         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14314         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14316         Moved ...
14317         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14318         ... here.
14319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14320         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14322         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14324         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14326         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14328         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14330         Moved ...
14331         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14333         Moved ...
14334         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14336         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14338         Moved ...
14339         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14341         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14343         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14344         folded into ...
14345         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14346         * sysdeps/unix/sysv/linux/s390/Versions
14347         (libpthread: GLIBC_2.19): New version set.
14348         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14349         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14350         (librt: GLIBC_2.3.3): New version set.
14351         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14352         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14353         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14354         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14355         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14356         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14357         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14358         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14359         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14360         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14361         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14362         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14363         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14364         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14365         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14366         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14367         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14368         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14369         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14370         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14371         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14372         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14373         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14374         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14375         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14376         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14377         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14378         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14379         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14380         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14381         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14382         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14383         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14384         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14385         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14386         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14387         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14388         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14389         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14390         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14391         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14392         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14393         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14394         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14395         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14397         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14398         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14399         (__libc_vfork): Define the function under this name.
14400         [!NOT_IN_libc] (__vfork): Make this an alias.
14401         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14402         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14403         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14404         (__libc_vfork): Define the function under this name.
14405         [!NOT_IN_libc] (__vfork): Make this an alias.
14406         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14407         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14408         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14409         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14410         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14411         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14413         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14414         code that was previously under [RESET_PID].
14415         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14416         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14417         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14419         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14420         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14421         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14422         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14423         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14424         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14425         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14426         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14427         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14428         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14429         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14430         Moved ...
14431         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14432         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14433         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14434         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14435         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14436         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14437         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14438         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14439         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14440         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14441         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14442         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14443         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14444         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14445         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14446         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14447         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14448         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14449         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14450         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14451         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14452         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14453         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14454         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14455         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14456         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14457         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14458         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14459         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14461 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14463         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14464         that was previously under [RESET_PID].
14465         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14467 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14469         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14470         not undefine and redefine.
14471         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14472         [O_CLOEXEC]: Make code unconditional.
14473         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14474         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14475         <kernel-features.h>.
14476         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14477         conditional variable definition.
14478         (shm_open) [O_CLOEXEC]: Make code unconditional.
14479         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14480         code.
14482         * configure.ac (USE_REGPARMS): Don't define here.
14483         * configure: Regenerated.
14484         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14485         * sysdeps/i386/configure: Regenerated.
14487         * nptl/createthread.c: Don't include kernel-features.h.
14488         * nptl/pthread_cancel.c: Likewise.
14489         * nptl/pthread_condattr_setclock.c: Likewise.
14490         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14491         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14492         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14493         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14494         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14495         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14496         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14497         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14498         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14499         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14500         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14501         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14502         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14503         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14504         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14505         * nscd/gai.c: Likewise.
14506         * nss/nss_db/db-open.c: Likewise.
14507         * sysdeps/generic/ldsodefs.h: Likewise.
14508         * sysdeps/sh/nptl/tls.h: Likewise.
14509         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14510         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14511         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14512         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14513         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14514         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14515         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14516         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14517         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14518         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14519         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14520         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14521         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14522         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14523         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14524         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14525         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14526         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14527         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14528         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14529         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14530         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14531         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14532         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14533         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14534         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14535         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14536         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14537         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14538         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14539         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14540         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14541         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14542         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14543         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14544         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14545         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14546         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14547         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14548         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14549         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14550         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14551         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14552         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14553         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14554         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14555         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14556         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14557         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14558         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14559         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14560         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14561         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14562         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14563         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14564         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14565         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14566         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14589         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14590         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14591         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14592         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14593         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14594         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14595         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14596         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14597         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14598         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14599         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14600         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14601         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14602         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14603         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14604         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14605         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14606         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14607         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14608         * sysdeps/unix/sysv/linux/system.c: Likewise.
14609         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14610         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14611         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14612         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14613         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14614         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14615         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14617         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14618         * configure: Regenerated.
14619         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14621         * configure.ac (base_machine): Do not set specially for particular
14622         machines here.
14623         * configure: Regenerated.
14624         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14625         settings from configure.ac.
14626         * sysdeps/i386/preconfigure: New file.
14627         * sysdeps/s390/preconfigure: Likewise.
14628         * sysdeps/sh/preconfigure: Likewise.
14629         * sysdeps/sparc/preconfigure: Likewise.
14631 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14633         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14634         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14635         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14636         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14637         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14638         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14639         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14640         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14641         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14642         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14643         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14644         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14645         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14646         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14647         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14648         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14649         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14650         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14651         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14653         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14654         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14655         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14656         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14657         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14658         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14659         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14660         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14661         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14662         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14663         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14664         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14665         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14666         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14667         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14668         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14669         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14670         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14671         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14672         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14673         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14674         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14675         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14676         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14677         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14678         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14679         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14680         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14681         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14682         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14683         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14684         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14685         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14686         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14687         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14688         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14689         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14690         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14693         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14694         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14695         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14697         Moved ...
14698         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14699         ... here.
14700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14701         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14703         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14705         Moved ...
14706         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14708         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14710         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14712         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14714         Moved ...
14715         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14717         Moved ...
14718         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14720         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14722         Moved ...
14723         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14725         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14727         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14729         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14731         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14733         Moved ...
14734         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14735         ... here.
14736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14737         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14738         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14739         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14741         Moved ...
14742         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14744         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14746         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14748         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14750         Moved ...
14751         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14752         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14753         Moved ...
14754         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14756         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14758         Moved ...
14759         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14761         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14763         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14765 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14767         * timezone/checktab.awk: Update from tzcode 2014e.
14768         * timezone/private.h: Likewise.
14769         * timezone/tzfile.h: Likewise.
14770         * timezone/zdump.c: Likewise.
14771         * timezone/zic.c: Likewise.
14773         * sysdeps/unix/sysv/linux/kernel-features.h
14774         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14775         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14776         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14777         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14778         Remove conditional code.
14780 2014-06-25  Will Newton  <will.newton@linaro.org>
14782         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14783         (_dl_arm_cap_flags): Add HWCAP2 values.
14784         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14785         (_DL_HWCAP_COUNT): Increase to 37.
14786         (_DL_HWCAP_LAST): New define.
14787         (_DL_HWCAP2_LAST): New define.
14788         (_dl_procinfo): Add support for printing
14789         AT_HWCAP2 entries.
14790         (_dl_string_hwcap): Use _dl_hwcap_string.
14792 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14796 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14798         * README: Do not mention ports directory.
14800         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14801         Remove macro.
14802         * sysdeps/unix/sysv/linux/futimes.c: Do not include
14803         <kernel-features.h>.
14804         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14805         conditional variable definition.
14806         (__futimes): Update comment.
14807         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14808         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14810         [BZ #16560]
14811         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14812         arguments close to 0.
14813         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14814         Likewise.
14815         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14816         Likewise.
14817         * math/auto-libm-test-in: Add more tests of exp10.
14818         * math/auto-libm-test-out: Regenerated.
14819         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14821         * sysdeps/unix/sysv/linux/kernel-features.h
14822         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14823         * sysdeps/unix/sysv/linux/readv.c: Do not include
14824         <kernel-features.h>.
14825         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14826         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14827         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14828         unconditional.
14829         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14830         conditional code.
14831         * sysdeps/unix/sysv/linux/writev.c: Do not include
14832         <kernel-features.h>.
14833         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14834         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14835         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14836         unconditional.
14837         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14838         conditional code.
14840 2014-06-25  Will Newton  <will.newton@linaro.org>
14842         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14843         comment changes throughout the file.  Remove checks
14844         for HAVE_*_H definitions that are not required.
14845         (__gen_tempname): Call abort if an unknown kind value is
14846         passed.
14848 2014-06-25  Andreas Schwab  <schwab@suse.de>
14850         [BZ #17086]
14851         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14852         scalbln, scalblnf, scalblnl in libc.
14854 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14856         [BZ #17086]
14857         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14858         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14859         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14861 2014-06-24  Roland McGrath  <roland@hack.frob.com>
14863         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14864         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14865         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14866         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14867         Update #include.
14868         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14869         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14870         Update #include.
14871         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14872         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14873         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14874         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14875         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14876         * sysdeps/x86/bits/pthreadtypes.h: ... here.
14877         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14878         * sysdeps/x86/bits/semaphore.h: ... here.
14879         * sysdeps/x86/nptl/elide.h: Moved ...
14880         * sysdeps/x86/elide.h: ... here.
14881         * sysdeps/x86_64/nptl/Implies: File removed.
14882         * sysdeps/i386/nptl/Implies: File removed.
14884 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
14886         [BZ #16539]
14887         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14888         return the argument for normal arguments with exponent below -64.
14889         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14890         Likewise.
14891         * math/auto-libm-test-in: Add another test of expm1.
14892         * math/auto-libm-test-out: Regenerated.
14894         [BZ #16287]
14895         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14896         calling __erfcl for arguments at least 16.
14897         * math/auto-libm-test-in: Add more tests of erf.
14898         * math/auto-libm-test-out: Regenerated.
14900         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14901         individual architectures.
14902         * sysdeps/unix/sysv/linux/configure: Regenerated.
14903         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14904         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14905         * sysdeps/unix/sysv/linux/powerpc/configure.ac
14906         (ldd_rewrite_script): Define variable.
14907         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14909         file.
14910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14911         generated file.
14912         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14913         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14914         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14915         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14916         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14917         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14918         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14919         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14921 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14923         [BZ #17084]
14924         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14925         Rename member __data.d to __data.__elision_data.
14927 2014-06-24  Wilco  <wdijkstr@arm.com>
14929         * NEWS: Add 16918 to fixed bug list.
14931 2014-06-24  Wilco  <wdijkstr@arm.com>
14933         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14935 2014-06-24  Wilco  <wdijkstr@arm.com>
14937         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14938         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14939         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14940         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14941         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14942         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14943         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14944         Use _FPU_MASK_RM.
14946 2014-06-24  Wilco  <wdijkstr@arm.com>
14948         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14950 2014-06-24  Wilco  <wdijkstr@arm.com>
14952         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14953         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14954         * sysdeps/arm/fesetround.c (fesetround): Remove space.
14955         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14957 2014-06-24  Wilco  <wdijkstr@arm.com>
14959         [BZ #16918]
14960         * sysdeps/arm/feupdateenv.c (feupdateenv):
14961         Rewrite to reduce FPSCR accesses and fix return value.
14963 2014-06-24  Wilco  <wdijkstr@arm.com>
14965         * sysdeps/arm/fclrexcpt.c (feclearexcept):
14966         Optimize to avoid unnecessary FPSCR writes.
14967         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14968         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14969         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14970         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14972 2014-06-24  Wilco  <wdijkstr@arm.com>
14974         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14975         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14976         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14977         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14978         Call libc_fetestexcept_vfp.
14979         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14980         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14981         __SOFTFP__ ifdef so that they can be built for softfp.
14983 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14985         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14986         argument type signed char.
14988         * Makerules (check-abi): Dump diff of symlist if the test
14989         fails.
14991 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14993         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14994         using abort.
14996         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14997         Remove unused variable ST.
14999 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15001         [BZ #16354]
15002         [BZ #17061]
15003         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15004         small arguments before calling __expm1.
15005         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15006         small arguments before calling __expm1f.
15007         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15008         small arguments before calling __expm1l.
15009         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15010         Likewise.
15011         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15012         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15013         spurious underflow for some cosh tests.
15014         * math/auto-libm-test-out: Regenerated.
15015         * sysdeps/i386/fpu/libm-test-ulps: Update.
15017         [BZ #17050]
15018         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15019         (__ieee754_y1): Set errno if return value overflows.
15020         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15021         (__ieee754_y1f): Set errno if return value overflows.
15022         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15023         (__ieee754_y1l): Set errno if return value overflows.
15024         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15025         (__ieee754_y1l): Set errno if return value overflows.
15026         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15027         * math/auto-libm-test-out: Regenerated.
15029         * math/gen-auto-libm-tests.c: Document use of
15030         ignore-zero-inf-sign.
15031         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15032         (input_flags): Add ignore-zero-inf-sign.
15033         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15034         * math/gen-libm-test.pl (generate_testfile): Handle
15035         ignore-zero-inf-sign.
15036         * math/auto-libm-test-in: Mark some cpow tests with
15037         ignore-zero-inf-sign and some with xfail-rounding.
15038         * math/auto-libm-test-out: Regenerated.
15039         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15040         * sysdeps/i386/fpu/libm-test-ulps: Update.
15041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15043         [BZ #16315]
15044         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15045         overflowing or underflowing operations take place with sign of
15046         result.
15047         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15048         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15049         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15050         (__ieee754_pow): Recompute overflowing and underflowing results in
15051         original rounding mode.
15052         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15053         (__powl_helper): Allow negative argument X and scale negated value
15054         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15055         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15056         overflowing or underflowing operations take place with sign of
15057         result.
15058         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15059         Include <math.h>.
15060         * math/auto-libm-test-in: Add more tests of pow.
15061         * math/auto-libm-test-out: Regenerated.
15062         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15063         (pow_tonearest_test_data): Remove.
15064         (pow_test_tonearest): Likewise.
15065         (pow_towardzero_test_data): Likewise.
15066         (pow_test_towardzero): Likewise.
15067         (pow_downward_test_data): Likewise.
15068         (pow_test_downward): Likewise.
15069         (pow_upward_test_data): Likewise.
15070         (pow_test_upward): Likewise.
15071         (main): Don't call removed functions.
15072         * sysdeps/i386/fpu/libm-test-ulps: Update.
15073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15075 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15078         Moved ...
15079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15081         Moved ...
15082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15084         Moved ...
15085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15087         Moved ...
15088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15090         File removed.
15091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15092         File removed.
15093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15094         File removed.
15095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15096         File removed.
15097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15098         File removed.
15099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15100         File removed.
15101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15102         File removed.
15103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15104         File removed.
15105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15106         File removed.
15107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15108         File removed.
15109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15110         File removed.
15111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15112         File removed.
15113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15114         Moved ...
15115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15117         Moved ...
15118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15119         ... here.
15120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15121         Moved ...
15122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15124         Moved ...
15125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15127         Moved ...
15128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15130         Moved ...
15131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15133         Moved ...
15134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15136         Moved ...
15137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15139         Moved ...
15140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15143         ... here.
15144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15145         Moved ...
15146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15148         Moved ...
15149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15150         ... here.
15151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15152         Moved ...
15153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15154         ... here.
15155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15156         Moved ...
15157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15158         ... here.
15159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15160         Moved ...
15161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15163         Moved ...
15164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15168         Moved ...
15169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15170         ... here.
15171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15172         Moved ...
15173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15174         ... here.
15175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15176         Moved ...
15177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15179         Moved ...
15180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15182         Moved ...
15183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15185         Moved ...
15186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15188         Moved ...
15189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15190         ... here.
15191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15192         Moved ...
15193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15195         Moved ...
15196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15198         Moved ...
15199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15201         Moved ...
15202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15206         Moved ...
15207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15209         Moved ...
15210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15212         Moved ...
15213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15214         ... here.
15215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15216         Moved ...
15217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15218         ... here.
15219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15220         Moved ...
15221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15222         ... here.
15223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15224         Moved ...
15225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15227         Moved ...
15228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15230         Moved ...
15231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15233         Moved ...
15234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15235         ... here.
15236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15237         Moved ...
15238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15239         ... here.
15240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15241         Moved ...
15242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15243         ... here.
15244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15245         Moved ...
15246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15248         Moved ...
15249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15251 2014-06-23  Will Newton  <will.newton@linaro.org>
15252             Wilco  <wdijkstr@arm.com>
15254         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15255         implementation.  Include get-rounding-mode.h.
15256         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15257         [!libc_feholdsetround_noex_ctx]: Define
15258         libc_feholdsetround_noex_ctx.
15259         [!libc_feholdsetround_noexf_ctx]: Define
15260         libc_feholdsetround_noexf_ctx.
15261         [!libc_feholdsetround_noexl_ctx]: Define
15262         libc_feholdsetround_noexl_ctx.
15263         (libc_feholdsetround_ctx): New function.
15264         (libc_feresetround_ctx): New function.
15265         (libc_feholdsetround_noex_ctx): New function.
15266         (libc_feresetround_noex_ctx): New function.
15268 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15270         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15271         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15272         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15273         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15274         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15275         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15277         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15278         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15279         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15280         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15281         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15282         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15283         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15284         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15285         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15286         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15287         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15288         Moved ...
15289         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15290         ... here.
15291         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15292         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15293         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15294         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15295         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15296         Moved ...
15297         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15298         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15299         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15300         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15301         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15302         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15303         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15304         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15305         Moved ...
15306         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15307         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15308         Moved ...
15309         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15310         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15311         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15312         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15313         Moved ...
15314         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15315         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15316         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15317         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15318         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15319         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15320         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15321         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15322         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15323         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15324         Moved ...
15325         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15326         ... here.
15327         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15328         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15329         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15330         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15331         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15332         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15333         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15334         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15335         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15336         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15337         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15338         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15339         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15340         Moved ...
15341         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15342         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15343         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15344         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15345         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15346         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15347         Moved ...
15348         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15349         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15350         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15351         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15352         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15354         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15355         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15356         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15357         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15358         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15359         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15360         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15361         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15362         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15363         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15364         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15365         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15366         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15367         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15368         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15369         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15370         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15371         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15372         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15373         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15374         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15375         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15376         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15377         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15378         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15379         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15380         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15381         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15383 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15385         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15386         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15387         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15388         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15389         (IPV6_PMTUDISC_INTERFACE): Likewise.
15390         (IPV6_PMTUDISC_OMIT): Likewise.
15392 2014-06-23  Andreas Schwab  <schwab@suse.de>
15394         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15395         Remove unused errout label.
15397 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15399         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15400         macro: hardware supports Vector Crypto instructions.
15402 2014-06-23  Will Newton  <will.newton@linaro.org>
15404         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15405         rather than __builtin_expect.
15407         * elf/dl-lookup.c (undefined_msg): Remove variable.
15408         (_dl_lookup_symbol_x): Replace undefined_msg with string
15409         literal.
15411         * elf/dl-lookup.c (do_lookup_unique): New function.
15412         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15413         to a separate function.
15415 2014-06-23  Andreas Schwab  <schwab@suse.de>
15417         [BZ #17079]
15418         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15419         before reading the next line.
15421 2014-06-23  Will Newton  <will.newton@linaro.org>
15423         * test-skeleton.c (signal_handler): Use printf and %m
15424         rather than perror.  Use printf rather than fprintf to
15425         stderr.  Use puts rather than fputs to stderr.
15426         (main): Likewise.
15428 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15430         * nscd/nscd.c (thread_info_t): Remove typedef.
15431         (thread_info): Remove variable.
15433 2014-06-21  Allan McRae  <allan@archlinux.org>
15435         * NEWS: Mention CVE-2014-4043.
15437 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15439         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15440         * nptl/smp.h: ... here.
15442         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15444         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15445         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15446         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15447         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15449         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15450         * nptl/stack-aliasing.h: New file.
15451         * sysdeps/i386/i686/stack-aliasing.h: New file.
15452         * sysdeps/i386/i686/nptl/Makefile: File removed.
15453         * sysdeps/x86_64/stack-aliasing.h: New file.
15454         * sysdeps/x86_64/nptl/Makefile
15455         (CFLAGS-pthread_create.c): Variable removed.
15457         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15458         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15459         old file.
15460         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15461         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15462         old file.
15464 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15466         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15467         (__ASSUME_SIGFRAME_V2): Remove macro.
15468         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15469         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15470         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15471         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15472         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15473         Declare as function.  Remove conditional macro definitions.
15474         (__default_rt_sa_restorer): Likewise.
15475         (__default_sa_restorer_v1): Remove declaration.
15476         (__default_sa_restorer_v2): Likewise.
15477         (__default_rt_sa_restorer_v1): Likewise.
15478         (__default_rt_sa_restorer_v2): Likewise.
15479         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15480         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15481         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15483 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15485         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15486         (libpthread-routines): Add sysdep.
15487         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15488         * sysdeps/unix/sysv/linux/sparc/Versions
15489         (libpthread: GLIBC_2.3.3): New version set.
15490         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15491         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15492         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15493         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15494         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15495         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15496         Moved ...
15497         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15498         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15499         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15500         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15501         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15502         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15503         * sysdeps/sparc/nptl/sem_init.c: ... here.
15504         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15505         * sysdeps/sparc/nptl/sem_post.c: ... here.
15506         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15507         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15508         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15509         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15510         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15511         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15512         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15513         (libpthread-routines): Add cpu_relax.
15514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15515         File removed.
15516         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15517         (librt: GLIBC_2.3.3): New version set.
15518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15519         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15520         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15521         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15524         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15526         Moved ...
15527         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15529         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15531         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15533         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15535         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15537         Moved ...
15538         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15539         Update #include.
15540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15541         Moved ...
15542         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15543         Update #include.
15544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15545         Moved ...
15546         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15547         Update #include.
15548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15549         Moved ...
15550         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15551         Update #include.
15552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15553         Moved ...
15554         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15555         Update #include.
15556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15557         Moved ...
15558         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15559         Update #include.
15560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15561         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15563         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15565         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15567         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15569         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15571         Moved ...
15572         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15574         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15576         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15578 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15580         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15581         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15582         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15583         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15584         * nscd/nscd.c: Likewise.
15585         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15586         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15587         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15588         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15590         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15591         <kernel-features.h>.
15592         (init_mq_netlink): Remove conditional have_sock_cloexec
15593         definitions.  Remove code conditional on have_sock_cloexec < 0.
15594         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15595         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15596         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15597         <kernel-features.h>.
15598         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15599         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15601 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15603         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15604         Add tests for memset_chk and memset.
15606         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15607         with AVX2_Usable.
15609 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15611         [BZ #16046]
15612         * elf/tst-dl-iter-static.c: New file.
15613         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15615         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15616         error.
15618 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15620         * sysdeps/unix/sysv/linux/kernel-features.h
15621         (__ASSUME_F_GETOWN_EX): Remove macro.
15622         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15623         <kernel-features.h>.
15624         (miss_F_GETOWN_EX): Remove variable or macro.
15625         (do_fcntl): Do not check miss_F_GETOWN_EX.
15626         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15628         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15629         Remove macro.
15630         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15631         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15632         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15634         * sysdeps/unix/sysv/linux/kernel-features.h
15635         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15636         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15637         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15638         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15640 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15642         [BZ #17075]
15643         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15644         Fix calculation of the symbol's value.
15645         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15646         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15647         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15648         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15649         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15650         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15651         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15652         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15653         (modules-names): Add `tst-armtlsdescmod',
15654         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15655         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15656         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15657         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15658         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15659         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15660         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15661         ($(objpfx)tst-armtlsdescloc): New dependency.
15662         ($(objpfx)tst-armtlsdescextnow): Likewise.
15663         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15664         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15665         TLS scheme support.
15666         * sysdeps/arm/configure: Regenerate.
15668 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15670         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15671         (__atfct_seterrno_2): Likewise.
15672         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15673         <kernel-features.h>.
15674         (__ASSUME_ATFCTS): Do not undefine and redefine.
15675         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15676         (__have_atfcts): Remove conditional definition.
15677         (__fxstatat([__NR_fstatat64]: Make code unconditional.
15678         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15679         unreachable if [__ASSUME_ATFCTS].
15680         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15681         not undefine and redefine.
15682         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15683         <kernel-features.h>.
15684         (faccessat) [__NR_faccessat]: Make code unconditional.
15685         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15686         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15687         <kernel-features.h>.
15688         (fchmodat) [__NR_fchmodat]: Make code unconditional.
15689         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15690         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15691         <kernel-features.h>.
15692         (fchownat) [__NR_fchownat]: Make code unconditional.
15693         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15694         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15695         <kernel-features.h>.
15696         (futimesat) [__NR_futimesat]: Make code unconditional.
15697         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15698         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15699         <kernel-features.h>.
15700         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15701         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15702         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15703         <kernel-features.h>.
15704         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15705         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15706         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15707         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15708         <kernel-features.h>.
15709         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15710         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15711         * sysdeps/unix/sysv/linux/linkat.c: Do not include
15712         <kernel-features.h>.
15713         (linkat) [__NR_linkat]: Make code unconditional.
15714         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15715         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15716         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15717         <kernel-features.h>.
15718         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15719         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15720         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15721         <kernel-features.h>.
15722         (mkdirat) [__NR_mkdirat]: Make code unconditional.
15723         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15724         * sysdeps/unix/sysv/linux/openat.c: Do not include
15725         <kernel-features.h>.
15726         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15727         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15728         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15729         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15730         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15731         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15732         <kernel-features.h>.
15733         (readlinkat) [__NR_readlinkat]: Make code unconditional.
15734         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
15735         result of INLINE_SYSCALL directly, not via int variable.
15736         * sysdeps/unix/sysv/linux/renameat.c: Do not include
15737         <kernel-features.h>.
15738         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15739         (renameat) [__NR_renameat]: Make code unconditional.
15740         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15741         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15742         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15743         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15744         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15745         (__ASSUME_ATFCTS): Do not undefine and redefine.
15746         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15747         <kernel-features.h>.
15748         (symlinkat) [__NR_symlinkat]: Make code unconditional.
15749         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15750         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15751         <kernel-features.h>.
15752         (unlinkat) [__NR_unlinkat]: Make code unconditional.
15753         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15754         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15755         (__ASSUME_ATFCTS): Do not undefine and redefine.
15756         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15757         <kernel-features.h>.
15758         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15759         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15760         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15761         <kernel-features.h>.
15762         (__xmknodat) [__NR_mknodat]: Make code unconditional.
15763         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15765 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15767         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15769 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
15771         [BZ #17069]
15772         * posix/regcomp.c (parse_reg_exp): Deallocate partially
15773         constructed tree before returning error.
15774         * posix/bug-regexp36.c: Expand test case.
15776 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15778         [BZ #6803]
15779         * math/libm-test.inc (scalbln_test_date):
15780         Add errno expectations.
15781         * math/w_scalblnf.c: New File.
15782         Add wrapper which checks for setting errno to ERANGE.
15783         Add weak_alias for corresponding scalbln function.
15784         * math/w_scalbln.c: Likewise.
15785         * math/w_scalblnl.c: Likewise.
15786         * math/Makefile (libm-calls): Add w_scalbln.
15787         * sysdeps/ieee754/flt-32/s_scalblnf.c:
15788         Remove weak_alias for corresponding scalbln function.
15789         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15790         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15791         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15792         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15793         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15794         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15795         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15796         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15797         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15798         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15799         Remove long_double_symbol for scalblnl function in libm, libc.
15800         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15801         Add wrapper which checks for setting errno to ERANGE.
15802         Add long_double_symbol for scalblnl function in libm, libc.
15803         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15804         Remove long_double_symbol for scalblnl in libm.
15805         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15806         Add wrapper which checks for setting errno to ERANGE.
15807         Add long_double_symbol for scalblnl function in libm.
15808         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15809         Do not use wrapper because of own implementation.
15811 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
15813         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15814         3 bytes for __pad1 for x32.
15815         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15817 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
15818             H.J. Lu  <hongjiu.lu@intel.com>
15820         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15821         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15822         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15823         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15824         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15826 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
15828         [BZ #17069]
15829         * posix/regcomp.c (parse_expression): Deallocate partially
15830         constructed tree before returning error.
15831         * posix/Makefile.c (tests): Add bug-regex36.
15832         (generated): Add bug-regex36.mtrace.
15833         (tests-special): Add $(objpfx)bug-regex36-mem.out
15834         (bug-regex36-ENV): New variable.
15835         ($(objpfx)bug-regex36-mem.out): New rule.
15836         * posix/bug-regex36.c: New file.
15838 2014-06-19  Will Newton  <will.newton@linaro.org>
15840         * malloc/malloc.c (systrim): If extra is zero then return
15841         early.
15843 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15845         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15847 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
15849         * sysdeps/aarch64/strchr.S: New file.
15851 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15853         [BZ #17022]
15854         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15855         from arguments -2 or below.
15856         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15857         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15859 2014-06-18  Andreas Schwab  <schwab@suse.de>
15861         [BZ #17062]
15862         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15863         of a bracket expr not to run off the end of the string.
15864         * posix/Makefile (tests): Add tst-fnmatch3.
15865         * posix/tst-fnmatch3.c: New file.
15867 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15869         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15870         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15871         [$(cross-compiling) = no]: Likewise.
15872         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15873         [$(cross-compiling) = no]: Likewise.
15875 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15877         [BZ #17031]
15878         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15879         double, adjusted for any remainder from the high double.
15880         * math/libm-test.inc (nearbyint): Add tests.
15881         (rint): Likewise.
15883 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15885         * nptl/sysdeps/powerpc/Makefile: Moved ...
15886         * sysdeps/powerpc/nptl/Makefile: ... here.
15887         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15888         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15889         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15890         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15891         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15892         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15893         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15894         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15895         * nptl/sysdeps/powerpc/tls.h: Moved ...
15896         * sysdeps/powerpc/nptl/tls.h: ... here.
15898 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
15900         [BZ #16681]
15901         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15902         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15903         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15904         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15905         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15906         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15907         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15908         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15909         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15911 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
15913         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15915 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
15917         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15918         defined operator.
15920         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15921         $TIMEOUTFACTOR.
15923 2014-06-16  Florian Weimer  <fweimer@redhat.com>
15925         [BZ #17058]
15926         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15927         non-executed part of the test.
15929 2014-06-16  Andreas Schwab  <schwab@suse.de>
15931         * string/bits/string2.h (strdup, strndup): Update feature guard.
15933 2014-06-14  David S. Miller  <davem@davemloft.net>
15935         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15937 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
15939         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15940         that was previously under [RESET_PID].
15941         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15943         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15944         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15945         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15946         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15947         (__libc_vfork): New strong alias.
15948         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15950 2014-06-14 Andi Kleen  <ak@linux.intel.com>
15952         * sysdeps/generic/elide.h: New file.
15954 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15956         * Makefile (installed-headers): Adjust path of pthread.h header.
15958 2014-06-13  Roland McGrath  <roland@hack.frob.com>
15960         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15961         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15962         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15963         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15965         * nptl/sysdeps/s390/Makefile: Moved ...
15966         * sysdeps/s390/nptl/Makefile: ... here.
15967         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15968         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15969         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15970         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15971         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15972         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15973         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15974         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15975         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15976         * sysdeps/s390/nptl/pthreaddef.h: ... here.
15977         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15978         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15979         * nptl/sysdeps/s390/tls.h: Moved ...
15980         * sysdeps/s390/nptl/tls.h: ... here.
15982         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15983         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15985 2014-06-13  David S. Miller  <davem@davemloft.net>
15987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15990         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15992         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15994         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15995         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15996         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15997         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15998         Remove RESET_PID cpp guards.
15999         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16000         Remove RESET_PID cpp guards.
16001         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16003 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16005         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16006         __sp to uintptr_t.
16008 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16010         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16011         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16012         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16013         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16014         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16015         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16016         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16017         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16018         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16019         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16020         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16021         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16022         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16023         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16024         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16025         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16026         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16027         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16028         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16029         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16031         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16032         (pthread_rwlock_rdlock): Add elision.
16033         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16034         (pthread_rwlock_wrlock): Add elision.
16035         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16036         (pthread_rwlock_trywrlock): Add elision.
16037         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16038         (pthread_rwlock_tryrdlock): Add elision.
16039         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16040         (pthread_rwlock_tryrdlock): Add elision unlock.
16041         * nptl/sysdeps/pthread/pthread.h:
16042         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16043         (PTHREAD_RWLOCK_INITIALIZER,
16044         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16045         Handle new elision field.
16046         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16047         * sysdeps/arm/nptl/bits/pthreadtypes.h
16048         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16049         * sysdeps/sh/nptl/bits/pthreadtypes.h
16050         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16051         * sysdeps/tile/nptl/bits/pthreadtypes.h
16052         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16053         * sysdeps/a/nptl/bits/pthreadtypes.h
16054         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16055         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16056         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16057         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16058         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16059         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16060         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16061         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16062         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16063         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16064         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16065         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16066         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16067         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16068         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16069         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16070         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16071         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16072         (elision_init): Set try_xbegin to zero when no RTM.
16073         * sysdeps/x86/nptl/bits/pthreadtypes.h
16074         (pthread_rwlock_t): Change __pad1 to __rwelision.
16075         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16077 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16079         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16080         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16081         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16082         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16084 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16086         [BZ #16996]
16087         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16088         that the cached result has been set before returning it.
16090 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16092         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16093         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16094         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16095         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16096         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16097         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16099         * nptl/sysdeps/sparc/Makefile: Moved ...
16100         * sysdeps/sparc/nptl/Makefile: ... here.
16101         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16102         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16103         * nptl/sysdeps/sparc/tls.h: Moved ...
16104         * sysdeps/sparc/nptl/tls.h: ... here.
16105         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16106         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16107         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16108         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16109         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16110         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16111         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16112         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16113         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16114         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16115         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16116         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16117         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16118         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16119         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16120         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16121         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16122         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16123         Update #include.
16124         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16125         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16126         Update #include.
16127         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16128         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16129         Update #include.
16130         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16131         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16132         Update #include.
16134         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16136         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16137         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16139         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16140         (struct list_links): Type removed.
16141         (struct thread_node, struct timer_node): Replace struct list_links
16142         with struct list_head.
16143         (list_unlink_ip): Likewise.
16144         * sysdeps/pthread/timer_routines.c
16145         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16146         (list_append, list_insbefore): Likewise.
16147         (list_init): Function removed.
16148         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16149         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16150         * sysdeps/pthread/Makefile: ... here, new file.
16152         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16153         * sysdeps/nptl/Implies: ... here.
16154         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16155         * nptl/sysdeps/pthread/list.h: Moved ...
16156         * include/list.h: ... here.
16157         * nptl/sysdeps/pthread/createthread.c: Moved ...
16158         * nptl/createthread.c: ... here.
16159         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16160         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16161         * nptl/pt-longjmp.c: ... here.
16162         * nptl/sysdeps/pthread/Makefile: Moved ...
16163         * sysdeps/nptl/Makefile: ... here.
16164         * nptl/sysdeps/pthread/Subdirs: Moved ...
16165         * sysdeps/nptl/Subdirs: ... here.
16166         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16167         * sysdeps/nptl/aio_misc.h: ... here.
16168         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16169         * sysdeps/nptl/bits/libc-lock.h: ... here.
16170         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16171         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16172         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16173         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16174         * nptl/sysdeps/pthread/configure: Moved ...
16175         * sysdeps/nptl/configure: ... here.
16176         * nptl/sysdeps/pthread/configure.ac: Moved ...
16177         * sysdeps/nptl/configure.ac: ... here.
16178         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16179         * sysdeps/nptl/gai_misc.h: ... here.
16180         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16181         * sysdeps/nptl/librt-cancellation.c: ... here.
16182         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16183         * sysdeps/nptl/malloc-machine.h: ... here.
16184         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16185         * sysdeps/nptl/pthread-functions.h: ... here.
16186         * nptl/sysdeps/pthread/pthread.h: Moved ...
16187         * sysdeps/nptl/pthread.h: ... here.
16188         * nptl/sysdeps/pthread/setxid.h: Moved ...
16189         * sysdeps/nptl/setxid.h: ... here.
16190         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16191         * sysdeps/nptl/sigfillset.c: ... here.
16192         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16193         * sysdeps/nptl/tcb-offsets.h: ... here.
16194         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16195         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16196         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16197         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16198         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16199         * sysdeps/pthread/allocalim.h: ... here.
16200         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16201         * sysdeps/pthread/bits/sigthread.h: ... here.
16202         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16203         * sysdeps/pthread/flockfile.c: ... here.
16204         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16205         * sysdeps/pthread/ftrylockfile.c: ... here.
16206         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16207         * sysdeps/pthread/funlockfile.c: ... here.
16208         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16209         * sysdeps/pthread/posix-timer.h: ... here.
16210         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16211         * sysdeps/pthread/timer_create.c: ... here.
16212         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16213         * sysdeps/pthread/timer_delete.c: ... here.
16214         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16215         * sysdeps/pthread/timer_getoverr.c: ... here.
16216         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16217         * sysdeps/pthread/timer_gettime.c: ... here.
16218         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16219         * sysdeps/pthread/timer_routines.c: ... here.
16220         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16221         * sysdeps/pthread/timer_settime.c: ... here.
16222         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16223         * sysdeps/pthread/tst-timer.c: ... here.
16224         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16225         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16227         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16228         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16230         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16231         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16232         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16233         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16234         Update #include target.
16235         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16236         * sysdeps/i386/i686/nptl/Makefile: ... here.
16237         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16238         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16239         Update #include target.
16240         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16241         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16242         * nptl/sysdeps/i386/Makefile: Moved ...
16243         * sysdeps/i386/nptl/Makefile: ... here.
16244         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16245         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16246         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16247         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16248         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16249         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16250         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16251         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16252         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16253         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16254         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16255         * nptl/sysdeps/i386/tls.h: Moved ...
16256         * sysdeps/i386/nptl/tls.h: ... here.
16258         * sysdeps/sh/Makefile [$(subdir) = csu]
16259         (gen-as-const-headers): Add tcb-offsets.sym.
16260         * nptl/sysdeps/sh/Makefile: File removed.
16261         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16262         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16263         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16264         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16265         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16266         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16267         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16268         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16269         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16270         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16271         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16272         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16273         * nptl/sysdeps/sh/tls.h: Moved ...
16274         * sysdeps/sh/nptl/tls.h: ... here.
16275         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16276         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16277         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16278         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16279         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16280         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16281         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16282         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16283         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16284         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16285         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16286         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16287         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16288         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16289         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16290         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16291         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16292         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16293         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16294         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16295         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16296         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16297         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16298         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16299         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16300         Moved ...
16301         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16302         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16303         Moved ...
16304         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16305         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16306         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16307         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16308         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16309         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16310         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16311         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16312         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16313         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16314         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16315         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16316         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16317         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16318         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16319         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16320         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16321         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16322         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16324 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16326         * posix/spawn_faction_addopen.c: Include string.h.
16328 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16330         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16331         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16332         * nptl/sysdeps/x86_64/Makefile: Moved ...
16333         * sysdeps/x86_64/nptl/Makefile: ... here.
16334         * nptl/sysdeps/x86_64/configure: Moved ...
16335         * sysdeps/x86_64/nptl/configure: ... here.
16336         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16337         * sysdeps/x86_64/nptl/configure.ac: ... here.
16338         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16339         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16340         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16341         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16342         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16343         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16344         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16345         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16346         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16347         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16348         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16349         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16350         * nptl/sysdeps/x86_64/tls.h: Moved ...
16351         * sysdeps/x86_64/nptl/tls.h: ... here.
16352         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16353         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16354         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16355         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16357         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16359 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16363 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16365         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16366         type.
16367         [POSIX] (off_t): Likewise.
16368         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16369         [POSIX] (S_ISBLK): Require macro.
16370         [POSIX] (S_ISCHR): Likewise.
16371         [POSIX] (S_ISDIR): Likewise.
16372         [POSIX] (S_ISFIFO): Likewise.
16373         [POSIX] (S_ISREG): Likewise.
16374         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16375         optional-macro.
16376         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16377         type.
16378         [POSIX] (time_t): Likewise.
16379         [POSIX] (timer_t): Likewise.
16381 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16383         [BZ #17048]
16384         * posix/spawn_int.h (struct __spawn_action): Make the path string
16385         non-const to support deallocation.
16386         * posix/spawn_faction_addopen.c
16387         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16388         * posix/spawn_faction_destroy.c
16389         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16390         path in all spawn_do_open actions.
16391         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16392         posix_spawn_file_actions_addopen.
16394 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16396         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16397         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16398         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16399         conditional code always true.
16400         (__libc_vfork): New alias.
16402 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16404         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16405         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16407         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16409         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16410         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16412         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16413         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16415         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16416         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16418 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16420         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16421         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16422         multiarch strcmp for PPC64.
16423         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16424         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16425         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16426         multiarch optimizations.
16427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16428         (__libc_ifunc_impl_list): Likewise.
16430 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16432         * benchtests/scripts/validate_benchout.py: New script.
16433         * benchtests/Makefile (bench-func): Call it.
16434         * benchtests/scripts/benchout.schema.json: New file.
16436 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16438         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16439         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16440         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16441         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16442         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16443         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16444         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16445         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16446         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16447         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16448         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16449         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16450         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16451         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16452         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16453         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16455         Moved ...
16456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16457         ... here.
16458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16459         Moved ...
16460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16462         Moved ...
16463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16464         ... here.
16465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16466         Moved ...
16467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16468         ... here.
16469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16470         Moved ...
16471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16473         Moved ...
16474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16475         ... here.
16476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16477         Moved ...
16478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16479         ... here.
16480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16481         Moved ...
16482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16484         Moved ...
16485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16486         ... here.
16487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16488         Moved ...
16489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16490         ... here.
16491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16492         Moved ...
16493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16494         ... here.
16495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16496         Moved ...
16497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16499         Moved ...
16500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16501         ... here.
16502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16503         Moved ...
16504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16505         ... here.
16506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16507         Moved ...
16508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16509         ... here.
16510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16511         Moved ...
16512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16514         Moved ...
16515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16516         ... here.
16517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16518         Moved ...
16519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16520         ... here.
16521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16522         Moved ...
16523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16525         Moved ...
16526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16527         ... here.
16528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16529         Moved ...
16530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16532         Moved ...
16533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16535         Moved ...
16536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16537         ... here.
16538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16539         Moved ...
16540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16541         ... here.
16542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16543         Moved ...
16544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16545         ... here.
16546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16547         Moved ...
16548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16550         Moved ...
16551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16552         ... here.
16553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16554         Moved ...
16555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16556         ... here.
16557         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16558         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16559         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16560         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16561         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16562         Moved ...
16563         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16564         ... here.
16565         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16566         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16567         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16568         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16569         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16570         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16571         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16572         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16573         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16574         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16575         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16576         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16577         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16578         Moved ...
16579         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16580         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16581         Moved ...
16582         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16583         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16584         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16585         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16586         Moved ...
16587         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16588         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16589         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16590         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16591         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16592         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16593         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16595 2014-06-10  Wilco  <wdijkstr@arm.com>
16597         * math/test-fenv-return.c: New file.
16598         * math/Makefile: Add new test test-fenv-return.
16600 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16602         [BZ #17042]
16603         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16604         when x - 1 is zero.
16605         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16606         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16607         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16608         0.0L for an argument of 1.0L.
16609         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16610         Likewise.
16611         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16612         value when x - 1 is zero.
16613         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16614         * sysdeps/i386/fpu/libm-test-ulps: Update.
16615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16617 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16619         [BZ #15119]
16620         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16622 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16624         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16625         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16627 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16629         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16630         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16632         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16633         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16635         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16636         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16638         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16639         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16641         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16642         if not already defined.
16643         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16644         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16645         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16646         (TLS_INIT_TP): Use it.
16647         (TLS_DEFINE_INIT_TP): New macro.
16648         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16650 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16652         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16653         constant.
16654         [POSIX] (IXANY): Likewise.
16655         [POSIX] (OLCUC): Likewise.
16656         [POSIX || POSIX2008] (CBAUD): Do not allow.
16657         [POSIX || POSIX2008] (DEFECHO): Likewise.
16658         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16659         [POSIX || POSIX2008] (ECHOKE): Likewise.
16660         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16661         [POSIX || POSIX2008] (EXTA): Likewise.
16662         [POSIX || POSIX2008] (EXTB): Likewise.
16663         [POSIX || POSIX2008] (FLUSHO): Likewise.
16664         [POSIX || POSIX2008] (LOBLK): Likewise.
16665         [POSIX || POSIX2008] (PENDIN): Likewise.
16666         [POSIX || POSIX2008] (SWTCH): Likewise.
16667         [POSIX || POSIX2008] (VDISCARD): Likewise.
16668         [POSIX || POSIX2008] (VDSUSP): Likewise.
16669         [POSIX || POSIX2008] (VLNEXT): Likewise.
16670         [POSIX || POSIX2008] (VREPRINT): Likewise.
16671         [POSIX || POSIX2008] (VSTATUS): Likewise.
16672         [POSIX || POSIX2008] (VWERASE): Likewise.
16673         (B*): Change to B[0123456789]*.
16674         * conform/data/time.h-data [POSIX || UNIX98]
16675         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16676         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16677         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16678         [POSIX] (tm_*): Do not allow.
16680 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
16682         * Makefile (install): Don't set LANGUAGE.
16683         * Makefile.in (install): Likewise.
16684         * assert/Makefile (test-assert-ENV): Remove variable.
16685         (test-assert-perr-ENV): Likewise.
16686         * elf/Makefile (neededtest4-ENV): Likewise.
16687         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16688         [$(cross-compiling) = no]: Don't set LANGUAGE.
16689         * io/ftwtest-sh (LANG): Remove variable.
16690         * libio/Makefile (tst-widetext-ENV): Likewise.
16691         * manual/install.texi (Running make install): Don't refer to
16692         environment settings for make install.
16693         * INSTALL: Regenerated.
16694         * nptl/tst-tls6.sh: Don't set LANG.
16695         * posix/globtest.sh (LANG): Remove variable.
16696         * string/Makefile (tester-ENV): Likewise.
16697         (inl-tester-ENV): Likewise.
16698         (noinl-tester-ENV): Likewise.
16699         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16700         [$(cross-compiling) = no]: Don't set LANGUAGE.
16701         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16702         without explicit environment settings.
16704 2014-06-06  Roland McGrath  <roland@hack.frob.com>
16706         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16707         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16708         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16709         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16711 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
16713         * crypt/crypt-private.h [DOS]: Add some includes taken from the
16714         other files in the crypt directory.
16715         * crypt/crypt.c: Remove duplicate includes.
16716         * crypt/crypt-entry.c: Likewise.
16717         * crypt/crypt_util.c: Likewise.
16719 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
16721         * Makeconfig (run-program-env): New variable.
16722         (run-program-prefix-before-env): Likewise.
16723         (run-program-prefix-after-env): Likewise.
16724         (run-program-prefix): Define in terms of new variables.
16725         (built-program-cmd-before-env): New variable.
16726         (built-program-cmd-after-env): Likewise.
16727         (built-program-cmd): Define in terms of new variables.
16728         (test-program-prefix-before-env): New variable.
16729         (test-program-prefix-after-env): Likewise.
16730         (test-program-prefix): Define in terms of new variables.
16731         (test-program-cmd-before-env): New variable.
16732         (test-program-cmd-after-env): Likewise.
16733         (test-program-cmd): Define in terms of new variables.
16734         * Rules (make-test-out): Use $(run-program-env).
16735         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16736         (help): Do not mention environment variables.  Mention
16737         --timeoutfactor option.
16738         (timeoutfactor): New variable.
16739         (blacklist_exports): Remove function.
16740         (exports): Remove variable.
16741         (command): Do not include ${exports}.
16742         * manual/install.texi (Configuring and compiling): Do not mention
16743         test wrappers preserving environment variables.  Mention that last
16744         assignment to a variable must take precedence.
16745         * INSTALL: Regenerated.
16746         * benchtests/Makefile (run-bench): Use $(run-program-env).
16747         * catgets/Makefile ($(objpfx)test1.cat): Use
16748         $(built-program-cmd-before-env), $(run-program-env) and
16749         $(built-program-cmd-after-env).
16750         ($(objpfx)test2.cat): Do not specify environment variables
16751         explicitly.
16752         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16753         $(run-program-env) and $(built-program-cmd-after-env).
16754         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16755         $(run-program-env) and $(test-program-cmd-after-env).
16756         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16757         explicitly.
16758         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16759         run_program_env and test_program_cmd_after_env arguments.
16760         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16761         * elf/tst-pathopt.sh: Use run_program_env argument.
16762         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16763         $(test-wrapper-env) and $(run-program-env).
16764         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16765         run_program_env arguments.
16766         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16767         * intl/Makefile ($(objpfx)tst-gettext.out): Use
16768         $(test-program-prefix-before-env), $(run-program-env) and
16769         $(test-program-prefix-after-env).
16770         ($(objpfx)tst-gettext2.out): Likewise.
16771         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16772         run_program_env and test_program_prefix_after_env arguments.
16773         * intl/tst-gettext2.sh: Likewise.
16774         * intl/tst-gettext4.sh: Do not set environment variables
16775         explicitly.
16776         * intl/tst-gettext6.sh: Likewise.
16777         * intl/tst-translit.sh: Likewise.
16778         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16779         $(test-program-prefix-before-env), $(run-program-env) and
16780         $(test-program-prefix-after-env).
16781         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16782         run_program_env and test_program_prefix_after_env arguments.
16783         * math/Makefile (run-regen-ulps): Use $(run-program-env).
16784         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16785         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
16786         explicitly with each use of ${test_wrapper_env}.
16787         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16788         $(test-program-prefix-before-env), $(run-program-env) and
16789         $(test-program-prefix-after-env).
16790         * posix/tst-getconf.sh: Do not set environment variables
16791         explicitly.
16792         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16793         run_program_env and test_program_prefix_after_env arguments.
16794         * stdio-common/tst-printf.sh: Do not set environment variables
16795         explicitly.
16796         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16797         $(test-program-prefix-before-env), $(run-program-env) and
16798         $(test-program-prefix-after-env).
16799         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16800         run_program_env and test_program_prefix_after_env arguments.
16801         Split $test calls into $test_pre and $test.
16802         * timezone/Makefile (build-testdata): Use
16803         $(built-program-cmd-before-env), $(run-program-env) and
16804         $(built-program-cmd-after-env).
16806 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16808         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16809         strlen for non SHARED builds.
16811 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16813         * nptl/allocatestack.c (check_list): Inlined function...
16814         (__reclaim_stacks): ... here.
16816 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16818         [BZ #15698]
16819         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16820         memory overrun.
16822 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
16824         * Rules (make-test-out): Include
16825         LOCPATH=$(common-objpfx)localedata in default environment.
16826         * debug/Makefile (tst-chk1-ENV): Remove variable.
16827         (tst-chk2-ENV): Likewise.
16828         (tst-chk3-ENV): Likewise.
16829         (tst-chk4-ENV): Likewise.
16830         (tst-chk5-ENV): Likewise.
16831         (tst-chk6-ENV): Likewise.
16832         (tst-lfschk1-ENV): Likewise.
16833         (tst-lfschk2-ENV): Likewise.
16834         (tst-lfschk3-ENV): Likewise.
16835         (tst-lfschk4-ENV): Likewise.
16836         (tst-lfschk5-ENV): Likewise.
16837         (tst-lfschk6-ENV): Likewise.
16838         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16839         (tst-iconv7-ENV): Likewise.
16840         * intl/Makefile (LOCPATH-ENV): Likewise.
16841         (tst-codeset-ENV): Likewise.
16842         (tst-gettext3-ENV): Likewise.
16843         (tst-gettext5-ENV): Likewise.
16844         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16845         (tst-fopenloc-ENV): Likewise.
16846         (tst-fgetws-ENV): Remove variable.
16847         (tst-ungetwc1-ENV): Likewise.
16848         (tst-ungetwc2-ENV): Likewise.
16849         (bug-ungetwc2-ENV): Likewise.
16850         (tst-swscanf-ENV): Likewise.
16851         (bug-ftell-ENV): Likewise.
16852         (tst-fgetwc-ENV): Likewise.
16853         (tst-fseek-ENV): Likewise.
16854         (tst-ftell-partial-wide-ENV): Likewise.
16855         (tst-ftell-active-handler-ENV): Likewise.
16856         (tst-ftell-append-ENV): Likewise.
16857         * posix/Makefile (tst-fnmatch-ENV): Likewise.
16858         (tst-regexloc-ENV): Likewise.
16859         (bug-regex1-ENV): Likewise.
16860         (tst-regex-ENV): Likewise.
16861         (tst-regex2-ENV): Likewise.
16862         (bug-regex5-ENV): Likewise.
16863         (bug-regex6-ENV): Likewise.
16864         (bug-regex17-ENV): Likewise.
16865         (bug-regex18-ENV): Likewise.
16866         (bug-regex19-ENV): Likewise.
16867         (bug-regex20-ENV): Likewise.
16868         (bug-regex22-ENV): Likewise.
16869         (bug-regex23-ENV): Likewise.
16870         (bug-regex25-ENV): Likewise.
16871         (bug-regex26-ENV): Likewise.
16872         (bug-regex30-ENV): Likewise.
16873         (bug-regex32-ENV): Likewise.
16874         (bug-regex33-ENV): Likewise.
16875         (bug-regex34-ENV): Likewise.
16876         (bug-regex35-ENV): Likewise.
16877         (tst-rxspencer-ENV): Likewise.
16878         (tst-rxspencer-no-utf8-ENV): Likewise.
16879         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16880         (tst-sscanf-ENV): Likewise.
16881         (tst-swprintf-ENV): Likewise.
16882         (tst-swscanf-ENV): Likewise.
16883         (test-vfprintf-ENV): Likewise.
16884         (scanf13-ENV): Likewise.
16885         (bug14-ENV): Likewise.
16886         (tst-grouping-ENV): Likewise.
16887         * stdlib/Makefile (tst-strtod-ENV): Likewise.
16888         (tst-strtod3-ENV): Likewise.
16889         (tst-strtod4-ENV): Likewise.
16890         (tst-strtod5-ENV): Likewise.
16891         (testmb2-ENV): Likewise./
16892         * string/Makefile (tst-strxfrm-ENV): Likewise.
16893         (tst-strxfrm2-ENV): Likewise.
16894         (bug-strcoll1-ENV): Likewise.
16895         (test-strcasecmp-ENV): Likewise.
16896         (test-strncasecmp-ENV): Likewise.
16897         * time/Makefile (tst-strptime-ENV): Likewise.
16898         (tst-ftime_l-ENV): Likewise.
16899         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16900         (tst-mbrtowc-ENV): Likewise.
16901         (tst-wcrtomb-ENV): Likewise.
16902         (tst-mbrtowc2-ENV): Likewise.
16903         (tst-c16c32-1-ENV): Likewise.
16904         (tst-mbsnrtowcs-ENV): Likewise.
16906 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16908         * manual/resource.texi (How to get information about the memory
16909         subsystem?): Fix typo.
16910         Reported by Peon de la Parra Ivan <peon@keba.com>
16912 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
16914         [BZ #16882]
16915         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16916         (pthread_spin_lock): Branch out of spin loop to proper location.
16917         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16918         (pthread_spin_lock): Likewise.
16920         * nptl/tst-spin4.c: New test.
16921         * nptl/Makefile (tests): Add tst-spin4.
16923 2014-06-03  Andreas Schwab  <schwab@suse.de>
16925         [BZ #15946]
16926         * resolv/res_send.c (send_dg): Reload file descriptor after
16927         calling reopen.
16929 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
16931         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16933 2014-06-03  Richard Henderson  <rth@redhat.com>
16935         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16936         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16937         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16938         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
16939         in the SAVE_PID block.
16940         (__libc_vfork): New alias.
16941         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16943         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16944         child in registers, not on the stack.  Remove RESET_PID conditionals.
16945         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16947 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16949         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16951 2014-06-03  Wilco  <wdijkstr@arm.com>
16953         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16954         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16955         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16956         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16957         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16958         Likewise.
16960 2014-06-03  Wilco  <wdijkstr@arm.com>
16962         * sysdeps/aarch64/fpu/math_private.h
16963         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16964         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16965         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16966         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16967         Fix declarations.
16969 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16971         * crypt/crypt-private.h: Include ufc-crypt.h.
16972         (__b64_from_24bit): Declare extern.
16973         * crypt/crypt_util.c(__b64_from_24bit): New function.
16974         (b64t): New static const variable.
16975         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16976         (b64t): Remove variable.
16977         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16978         * crypt/sha256-crypt.c: Include crypt-private.h.
16979         (b64t): Remove variable.
16980         (__sha256_crypt_r): Remove b64_from_24bit and replace
16981         with __b64_from_24bit.
16982         * crypt/sha512-crypt.c: Likewise.
16984 2014-06-02  Roland McGrath  <roland@hack.frob.com>
16986         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16987         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16988         Label the code __libc_vfork rather than __vfork.
16989         [!NOT_IN_libc] (vfork): Define as weak alias.
16990         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16991         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16992         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16994 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16996         * malloc/malloc.c (malloc_info): Fix format specifier for
16997         n_mmaps.
16999 2014-06-02  Wilco  <wdijkstr@arm.com>
17001         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17002         FPCR write.
17004 2014-06-02  Wilco  <wdijkstr@arm.com>
17006         [BZ #17009]
17007         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17008         Rewrite to reduce FPCR/FPSR accesses.
17010 2014-06-01  David S. Miller  <davem@davemloft.net>
17012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17014 2014-05-31  David S. Miller  <davem@davemloft.net>
17016         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17017         to occur in round to nearest mode when |x| >= 2.0
17019 2014-05-30  Richard Henderson  <rth@twiddle.net>
17021         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17022         (PSEUDO_RET_NOERRNO): Remove.
17023         (ret): Don't redefine.
17024         (ret_NOERRNO): Define in terms of ret.
17025         (ret_ERRVAL): Likewise.
17027         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17028         use of PSEUDO_RET; perform the error check directly.
17030 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17032         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17033         with __int128_t.
17035 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17037         * malloc/malloc (malloc_info): Fix formatting.
17039 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17040             Roland McGrath  <roland@hack.frob.com>
17042         * malloc/malloc (malloc_info): Also print mmapped statistics.
17044 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17046         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17047         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17049 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17051         * malloc/malloc.c (malloc_info): Inline mi_arena.
17053 2014-05-29  Richard Henderson  <rth@twiddle.net>
17055         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17056         Remove comma before expanding ASM_ARGS_##nr.
17057         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17058         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17059         of ASM_ARGS_##nr.
17060         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17061         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17062         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17063         (ASM_ARGS_1): Add leading comma.
17065         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17066         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17067         to __errno_location.
17068         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17069         Remove the expected plt for __errno_location.
17071         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17072         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17073         call to __read_tp.
17075         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17076         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17077         it and break it down.
17078         (DOCARGS_0, DOCARGS_1): Do nothing.
17079         (DOCARGS_2): Update to store into the new stack frame.
17080         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17081         (UNDOCARGS_1): Update to restore from the new stack frame.
17082         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17083         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17085         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17086         (SINGLE_THREAD_P): New parameter for result regno.
17087         (PSEUDO): Update to match; use cbz instead of beq.
17089         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17090         Use ENTRY to define the _nocancel entry point.  Share the syscall
17091         and syscall error check paths with the cancel path.
17092         (PSEUDO_END): New.
17094         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17095         whitespace; tabs before and after asm mnemonics.
17097 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17099         [BZ #15132]
17100         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17101         Call fstat64 or stat64 internally, depending on arguments passed.
17102         Replace stat buffer argument with file descriptor argument.
17103         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17104         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17105         Pass fd to __internal_statvfs instead of calling fstat64.
17106         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17107         Pass fd to __internal_statvfs64 instead of calling fstat64.
17108         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17109         Pass -1 to __internal_statvfs instead of calling stat64.
17110         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17111         Pass -1 to __internal_statvfs64 instead of calling stat64.
17113 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17115         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17116         that was previously under [RESET_PID].
17117         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17119         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17120         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17122 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17124         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17126         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17127         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17129 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17131         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17133 2014-05-27  Andreas Schwab  <schwab@suse.de>
17135         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17136         TLS_INIT_TP macro.
17137         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17138         * elf/rtld.c (init_tls, dl_main): Likewise.
17139         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17140         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17141         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17142         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17143         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17144         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17145         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17146         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17147         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17148         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17149         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17150         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17151         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17152         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17153         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17154         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17155         * sysdeps/generic/tls.h: Update description.
17157 2014-05-27  Will Newton  <will.newton@linaro.org>
17159         [BZ #16990]
17160         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17161         and restore r2 rather than just restoring.
17163 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17165         [BZ #16724]
17166         * libio/tst-ftell-append.c: New test case.
17167         * libio/Makefile (tests): Add test case.
17168         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17169         append mode.
17170         * libio/wfileops.c (do_ftell_wide): Likewise.
17172 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17176         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17177         ...
17178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17180         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17181         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17182         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17183         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17184         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17185         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17186         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17187         Moved ...
17188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17189         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17190         Moved ...
17191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17192         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17193         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17194         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17195         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17196         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17197         ...
17198         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17199         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17200         Moved ...
17201         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17202         here.
17203         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17204         ...
17205         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17206         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17207         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17209         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17210         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17211         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17212         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17215         merge into ...
17216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17218         ...
17219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17220         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17221         ...
17222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17223         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17224         Moved ...
17225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17226         here.
17227         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17228         Moved ...
17229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17230         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17231         Moved ...
17232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17235         conditional [RESET_PID].
17236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17237         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17238         removed.
17239         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17240         removed.
17242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17243         <tcb-offsets.h>.
17244         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17245         (__libc_vfork): New strong alias.
17246         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17247         removed.
17248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17249         Removed.
17251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17252         <tcb-offsets.h>.
17253         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17254         (__libc_vfork): New strong alias.
17255         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17256         removed.
17257         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17258         removed.
17260 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17262         * malloc/malloc.c (mi_arena): New function.
17263         (malloc_info): Remove nested function mi_arena. Call non-nosted
17264         function mi_arena.
17266 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17268         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17269         by insrwi.
17270         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17271         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17272         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17273         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17274         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17275         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17276         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17278 2014-05-26  Andreas Schwab  <schwab@suse.de>
17280         [BZ #16984]
17281         * locale/programs/repertoire.c (repertoire_read): Add slash
17282         between I18NPATH element and file name.
17283         * locale/programs/locfile.c (locfile_read): Likewise.
17285 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17287         * nptl/pthread_mutexattr_settype.c
17288         (__pthread_mutexattr_settype):
17289         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17291 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17293         * nptl/tst-mutex5 (do_test):
17294         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17296 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17298         * benchtests/README: Document 'init' directive.
17299         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17300         BENCH_INIT.
17301         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17302         (parse_file): Recognize 'init' directive.
17304 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17306         [BZ #16796]
17307         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17308         alignment of struct pthread.
17310 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17312         [BZ #16878]
17313         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17314         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17315         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17316         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17318 2014-05-25  Richard Henderson  <rth@twiddle.net>
17320         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17321         (SINGLE_THREAD_P_PIC): Remove.
17322         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17323         (SINGLE_THREAD_P_PIC): Remove.
17325         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17326         branch to syscall error ...
17327         (PSEUDO): ... here.
17328         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17329         from __local_syscall_error to .Lsyscall_error.
17330         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17331         (SYSCALL_ERROR): Update label name.
17333         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17334         Do not use DOARGS/UNDOARGS.
17335         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17336         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17337         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17338         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17339         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17341         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17342         block comment.
17344         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17345         define if !NOT_IN_libc.
17346         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17347         define with non-default symbol versions.
17349 2014-05-23  Richard Henderson  <rth@twiddle.net>
17351         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17352         (vfork, __vfork): Define via compat_symbol.
17354         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17355         [!HAVE_IFUNC] (vfork_compat): Remove.
17356         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17358 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17360         [BZ #16978]
17361         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17362         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17363         variable.
17365 2014-05-23  Richard Henderson  <rth@twiddle.net>
17367         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17368         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17369         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17370         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17372         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17373         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17374         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17375         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17376         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17377         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17378         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17379         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17380         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17381         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17382         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17383         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17384         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17385         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17386         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17387         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17388         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17389         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17390         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17391         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17392         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17393         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17394         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17395         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17396         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17397         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17398         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17399         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17400         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17401         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17402         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17403         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17404         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17405         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17406         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17407         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17408         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17409         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17410         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17411         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17412         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17413         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17414         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17415         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17416         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17417         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17418         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17419         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17420         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17421         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17422         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17423         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17424         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17425         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17426         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17427         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17429         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17430         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17431         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17432         before exiting on error.
17433         (__libc_vfork): New strong alias.
17434         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17435         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17437         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17438         that was previously under [RESET_PID].
17439         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17441         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17443 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17445         [BZ #16977]
17446         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17447         value when x - 1 is zero.
17448         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17449         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17450         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17451         0.0L for an argument of 1.0L.
17452         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17453         Likewise.
17454         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17455         value when x - 1 is zero.
17456         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17457         * sysdeps/i386/fpu/libm-test-ulps: Update.
17458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17460 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17462         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17463         alphasort and versionsort.
17465 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17467         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17468         macro.
17469         [copysignf]: Likewise.
17471 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17473         * crypt/md5-crypt.c: Fix formatting.
17475 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17477         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17478         (b64_from_24bit): New function.
17480 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17482         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17483         libc_hidden_builtin_def to ifunc.
17484         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17485         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17487 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17489         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17490         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17492 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17494         * nscd/Depend (linuxthreads): Remove.
17495         (nptl): Add.
17496         * resolv/Depend (linuxthreads): Remove.
17497         * rt/Depend (linuxthreads): Remove.
17499         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17500         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17501         $(common-objpfx)elf/.
17502         (link-libc-before-gnulib): Likewise.
17503         (elfobjdir): Remove variable.
17504         * Makefile (install): Use $(elf-objpfx) instead of
17505         $(common-objpfx)elf/.
17506         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17507         $(elfobjdir)/.
17508         (link-libc-deps): Likewise.
17509         ($(common-objpfx)libc.so): Likewise.
17510         ($(common-objpfx)linkobj/libc.so): Likewise.
17511         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17512         instead of $(common-objpfx)elf/.
17513         (symbolic-link-list): Likewise.
17514         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17515         [$(cross-compiling) = no]: Likewise.
17516         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17517         $(elfobjdir)/.
17518         (static-gnulib-arch): Likewise.
17519         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17520         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17521         $(common-objpfx)elf/.
17523 2014-05-21  Richard Henderson  <rth@redhat.com>
17525         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17526         (SINGLE_THREAD_P): Use the correct width load.  Fold
17527         into the ldr offset.
17529         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17530         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17532 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17534         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17535         (libgcc_s_resume): Use __attribute_used__.
17536         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17537         Likewise.
17539 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17541         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17542         optimization when used with float constants.
17544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17546 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17548         [BZ #16915]
17549         * locale/nl_langinfo_l.c: Make direct reference to every
17550         _nl_current_CATEGORY symbol.
17551         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17552         (tests-static): Add tst-langinfo-static.
17553         (tests-special): Add tst-langinfo-static.out.
17554         ($(objpfx)tst-langinfo.out): Redirect output.
17555         ($(objpfx)tst-langinfo-static.out): New.
17556         * localedata/tst-langinfo.sh: Send output to stdout.
17557         * localedata/tst-langinfo-static.c: New file.
17559         [BZ #16965]
17560         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17561         when the shift amount is modulo the limb size.
17563 2014-05-20  Richard Henderson  <rth@redhat.com>
17565         [BZ #16967]
17566         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17567         Change type of sa_flags from unsigned int to int.
17569         [BZ #16966]
17570         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17572         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17574 2014-05-20  Will Newton  <will.newton@linaro.org>
17576         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17577         Test the return value of the system call in the nocancel case.
17579 2014-05-20  Will Newton  <will.newton@linaro.org>
17580             Yvan Roux  <yvan.roux@linaro.org>
17582         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17583         #include of asm/ptrace.h.
17584         (PTRACE_GET_THREAD_AREA): Remove #undef.
17585         (PTRACE_GETHBPREGS): Likewise.
17586         (PTRACE_SETHBPREGS): Likewise.
17587         (struct user_regs_struct): New structure.
17588         (struct user_fpsimd_struct): New structure.
17589         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17590         #include of asm/ptrace.h and second #include of sys/user.h.
17591         (PTRACE_GET_THREAD_AREA): Remove #undef.
17592         (PTRACE_GETHBPREGS): Likewise.
17593         (PTRACE_SETHBPREGS): Likewise.
17594         (ELF_NGREG): Use new struct user_regs_struct.
17595         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17597 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17599         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17600         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17602 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17604         [BZ #16958]
17605         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17606         membar to avoid block loads/stores to overlap previous stores.
17608 2014-05-17  Richard Henderson  <rth@redhat.com>
17610         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17611         Create the __##syscall_name##_nocancel entry point.
17612         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17613         Remove; let the sysdep-cancel.h code create it.
17615 2014-05-17  David S. Miller  <davem@davemloft.net>
17617         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17618         Protect with __USE_GNU.
17619         (TIOCSET_TEMPT): Likewise.
17620         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17621         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17622         these are already provided in bits/ioctl-types.h
17624 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17626         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17627         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17629         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17630         Use wait4 regardless of [__NR_waitpid].
17632 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17634         PR libgcc/60166
17635         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17636         (_FP_NANSIGN_Q): Set the quiet bit.
17638 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17640         * benchtests/Makefile
17641         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17642         not $(common-objpfx)math/libm.so.
17643         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17644         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17645         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17646         $(common-objpfx)dlfcn/libdl.so.
17647         ($(objpfx)tst-audit8): Depend on $(libm), not
17648         $(common-objpfx)math/libm.so.
17649         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17650         not $(common-objpfx)dlfcn/libdl.so.
17651         * math/Makefile
17652         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17653         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17654         [$(build-shared) = yes].
17655         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17656         $(common-objpfx)nptl/libpthread.so.
17657         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17658         $(common-objpfx)math/libm.so$(libm.so-version) or
17659         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17660         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17661         $(common-objpfx)dlfcn/libdl.so.
17662         * setjmp/Makefile (link-libm): Remove variable.
17663         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17664         * stdio-common/Makefile (link-libm): Remove variable.
17665         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17666         * stdlib/Makefile (link-libm): Remove variable.
17667         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17668         ($(objpfx)tst-strtod-round): Likewise.
17669         ($(objpfx)tst-tininess): Likewise.
17670         ($(objpfx)tst-strtod-underflow): Likewise.
17671         ($(objpfx)tst-strtod6): Likewise.
17672         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17673         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17674         $(common-objpfx)dlfcn/libdl.so.
17676 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17678         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17679         BSD terminal modes definitions.
17681 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17683         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17684         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17686         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17687         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17688         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17689         Don't do #include_next.
17690         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17691         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17692         Don't do #include_next.
17693         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17694         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17695         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17696         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17698 2014-05-16  Allan McRae  <allan@archlinux.org>
17700         * po/sv.po: Update Swedish translation from translation project.
17702         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17703         in sed expression.
17705 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
17707         [BZ #16917]
17708         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17709         errno if the TIOCGPTN ioctl fails with an error different than
17710         EINVAL.
17711         * login/tst-ptsname.c: New file.
17712         * login/Makefile (tests): Add tst-ptsname.
17714         [BZ #16943]
17715         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17716         and prlimit64.
17718 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17720         [BZ #16849]
17721         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17722         herrno to return EAI_AGAIN.
17724 2014-05-14  Roland McGrath  <roland@hack.frob.com>
17726         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17727         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17728         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17729         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17730         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17731         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17732         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17733         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17734         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17735         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17736         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17737         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17738         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17739         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17740         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17741         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17742         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17743         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17744         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17745         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17746         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17747         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17748         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17749         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17750         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17751         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17752         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17753         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17754         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17755         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17756         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17757         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17758         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17759         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17761         Moved ...
17762         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17764         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17765         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17766         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17768         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17770         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17772         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17774         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17776         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17778         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17780         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17782         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17784         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17786         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17788         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17790         Moved ...
17791         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17793         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17795         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17797         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17799         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17801         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17803         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17805         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17807         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17809         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17811         Moved ...
17812         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17814         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17816         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17817         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17818         (libpthread-sysdep_routines): Add elision-related stuff here instead.
17819         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17820         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17821         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17822         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17823         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17824         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17825         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17826         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17827         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17828         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17829         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17830         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17831         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17832         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17833         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17834         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17835         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17836         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17837         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17838         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17839         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17840         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17841         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17842         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17843         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17844         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17845         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17846         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17848         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17849         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17851         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17852         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17853         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17854         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17855         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17856         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17857         Moved ...
17858         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17859         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17860         Moved ...
17861         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17862         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17863         Moved ...
17864         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17865         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17866         Moved ...
17867         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17868         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17869         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17870         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17871         Moved ...
17872         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17873         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17874         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17875         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17876         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17877         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17878         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17879         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17880         Moved ...
17881         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17882         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17883         Moved ...
17884         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17885         ... here.
17886         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17887         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17888         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17889         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17890         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17891         Moved ...
17892         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17893         ... here.
17894         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17895         Moved ...
17896         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17897         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17898         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17899         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17900         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17901         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17902         Moved ...
17903         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17904         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17905         Moved ...
17906         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17907         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17908         Moved ...
17909         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17910         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17911         Moved ...
17912         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17913         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17914         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17915         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17916         Moved ...
17917         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17918         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17919         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17920         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17921         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17922         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17923         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17924         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17925         Moved ...
17926         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17927         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17928         Moved ...
17929         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17930         ... here.
17931         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17932         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17933         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17934         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17935         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17936         Moved ...
17937         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17938         ... here.
17939         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17940         Moved ...
17941         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17942         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17943         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17944         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17945         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17946         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17947         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17948         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17949         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17950         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17951         Moved ...
17952         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17953         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17954         Moved ...
17955         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17956         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17957         Moved ...
17958         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17959         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17960         Moved ...
17961         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17962         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17963         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17964         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17965         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17966         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17967         Moved ...
17968         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17969         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17970         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17971         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17972         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17973         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17974         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17975         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17976         Moved ...
17977         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17978         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17979         Moved ...
17980         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17981         ... here.
17982         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17983         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17984         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17985         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17986         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17987         Moved ...
17988         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17989         ... here.
17990         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17991         Moved ...
17992         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17993         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17994         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17995         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17996         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17997         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17998         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17999         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18000         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18001         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18002         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18004         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18005         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18007         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18008         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18010         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18011         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18012         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18013         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18014         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18015         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18016         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18017         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18018         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18019         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18020         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18021         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18022         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18023         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18024         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18025         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18026         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18027         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18028         Moved ...
18029         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18030         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18031         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18032         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18033         Moved ...
18034         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18035         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18036         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18037         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18038         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18039         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18040         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18041         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18042         Moved ...
18043         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18044         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18045         Moved ...
18046         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18047         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18048         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18049         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18050         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18051         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18052         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18053         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18054         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18055         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18056         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18057         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18058         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18059         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18060         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18061         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18062         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18064         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18065         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18066         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18067         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18068         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18070         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18071         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18072         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18073         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18074         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18075         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18076         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18077         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18078         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18079         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18082         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18084         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18085         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18086         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18087         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18088         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18089         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18090         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18091         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18092         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18093         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18094         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18095         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18096         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18097         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18098         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18099         Update #include.
18100         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18101         Likewise.
18102         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18103         Likewise.
18104         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18105         Likewise.
18106         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18107         Likewise.
18108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18109         Likewise.
18110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18111         Likewise.
18112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18113         Likewise.
18114         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18115         Likewise.
18116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18117         Likewise.
18118         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18119         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18120         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18121         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18122         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18123         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18124         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18125         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18126         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18127         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18128         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18129         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18130         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18131         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18132         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18134         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18135         that was previously under [RESET_PID].
18136         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18137         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18138         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18140         * sysdeps/i386/nptl/Implies: New file.
18141         * sysdeps/x86_64/nptl/Implies: New file.
18142         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18143         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18144         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18145         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18147         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18148         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18149         (__libc_vfork): New strong alias.
18150         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18151         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18153         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18154         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18155         (__libc_vfork): New strong alias.
18156         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18157         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18159         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18160         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18161         (__libc_vfork): New strong alias.
18162         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18163         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18164         * nptl/pt-vfork.c: New file.
18165         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18166         (libpthread: GLIBC_2.20): New version set (empty).
18168 2014-05-14  Will Newton  <will.newton@linaro.org>
18170         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18171         rather than #if.
18173 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18175         [BZ #16564]
18176         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18177         arguments with exponent 65 or above.
18178         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18179         arguments 0x1p113L or above.
18180         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18181         to arguments 0x1p107L or above.
18182         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18183         positive arguments with exponent 65 or above.
18184         * math/auto-libm-test-in: Add more tests of log1p.
18185         * math/auto-libm-test-out: Regenerated.
18187         [BZ #16928]
18188         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18189         non-finite arguments is +0.
18190         * math/s_cacosf.c (__cacosf): Likewise.
18191         * math/s_cacosl.c (__cacosl): Likewise.
18192         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18193         * sysdeps/i386/fpu/libm-test-ulps: Update.
18194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18196         [BZ #16927]
18197         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18198         value.
18199         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18200         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18201         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18202         for explicit high bit of mantissa when testing for argument equal
18203         to 1.
18204         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18205         * sysdeps/i386/fpu/libm-test-ulps: Update.
18206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18208         [BZ #16516]
18209         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18210         (__erf): Scale by 16 instead of 8 in potentially underflowing
18211         case.  Ensure exception if result actually underflows.
18212         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18213         (__erff): Scale by 16 instead of 8 in potentially underflowing
18214         case.  Ensure exception if result actually underflows.
18215         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18216         (efx8): Remove variable.
18217         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18218         case.  Ensure exception if result actually underflows.
18219         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18220         (efx8): Remove variable.
18221         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18222         case.  Ensure exception if result actually underflows.
18223         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18224         (efx8): Remove variable.
18225         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18226         case.  Ensure exception if result actually underflows.
18227         * math/auto-libm-test-in: Add more tests of erf.
18228         * math/auto-libm-test-out: Regenerated.
18230 2014-05-14  Andreas Schwab  <schwab@suse.de>
18232         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18233         Remove code conditionalized on USE___THREAD.
18235         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18236         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18237         not definedness.
18239 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18241         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18242         Define unconditionally.
18243         (__ASSUME_O_CLOEXEC): Likewise.
18244         (__ASSUME_SOCK_CLOEXEC): Likewise.
18245         (__ASSUME_IN_NONBLOCK): Likewise.
18246         (__ASSUME_PIPE2): Likewise.
18247         (__ASSUME_EVENTFD2): Likewise.
18248         (__ASSUME_SIGNALFD4): Likewise.
18249         (__ASSUME_DUP3): Likewise.
18250         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18251         (__ASSUME_DUP3): Do not define.
18252         (__ASSUME_EVENTFD2): Likewise.
18253         (__ASSUME_IN_NONBLOCK): Likewise.
18254         (__ASSUME_O_CLOEXEC): Likewise.
18255         (__ASSUME_PIPE2): Likewise.
18256         (__ASSUME_SIGNALFD4): Likewise.
18257         (__ASSUME_SOCK_CLOEXEC): Likewise.
18258         (__ASSUME_UTIMES): Undefine.
18259         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18260         (__ASSUME_UTIMES): Do not define.
18261         (__ASSUME_O_CLOEXEC): Likewise.
18262         (__ASSUME_SOCK_CLOEXEC): Likewise.
18263         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18264         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18265         0x020621].
18266         (__ASSUME_PIPE2): Likewise.
18267         (__ASSUME_EVENTFD2): Likewise.
18268         (__ASSUME_SIGNALFD4): Likewise.
18269         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18270         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18271         Do not define.
18272         (__ASSUME_EVENTFD2): Likewise.
18273         (__ASSUME_SIGNALFD4): Likewise.
18274         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18275         (__ASSUME_32BITUIDS): Likewise.
18276         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18277         (__ASSUME_IPC64): Likewise.
18278         (__ASSUME_ST_INO_64_BIT): Likewise.
18279         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18280         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18281         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18282         (__ASSUME_UTIMES): Do not define.
18283         (__ASSUME_PSELECT): Likewise.
18284         (__ASSUME_PPOLL): Likewise.
18285         (__ASSUME_O_CLOEXEC): Likewise.
18286         (__ASSUME_SOCK_CLOEXEC): Likewise.
18287         (__ASSUME_IN_NONBLOCK): Likewise.
18288         (__ASSUME_PIPE2): Likewise.
18289         (__ASSUME_EVENTFD2): Likewise.
18290         (__ASSUME_SIGNALFD4): Likewise.
18291         (__ASSUME_DUP3): Likewise.
18292         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18293         (__ASSUME_UTIMES): Likewise.
18294         (__ASSUME_O_CLOEXEC): Likewise.
18295         (__ASSUME_SOCK_CLOEXEC): Likewise.
18296         (__ASSUME_IN_NONBLOCK): Likewise.
18297         (__ASSUME_PIPE2): Likewise.
18298         (__ASSUME_EVENTFD2): Likewise.
18299         (__ASSUME_SIGNALFD4): Likewise.
18300         (__ASSUME_DUP3): Likewise.
18301         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18302         (__ASSUME_UTIMES): Likewise.
18303         (__ASSUME_O_CLOEXEC): Likewise.
18304         (__ASSUME_SOCK_CLOEXEC): Likewise.
18305         (__ASSUME_IN_NONBLOCK): Likewise.
18306         (__ASSUME_PIPE2): Likewise.
18307         (__ASSUME_EVENTFD2): Likewise.
18308         (__ASSUME_SIGNALFD4): Likewise.
18309         (__ASSUME_DUP3): Likewise.
18310         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18311         Likewise.
18312         (__ASSUME_UTIMES): Likewise.
18313         (__ASSUME_EVENTFD2): Likewise.
18314         (__ASSUME_SIGNALFD4): Likewise.
18315         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18316         (__ASSUME_O_CLOEXEC): Likewise.
18317         (__ASSUME_SOCK_CLOEXEC): Likewise.
18318         (__ASSUME_IN_NONBLOCK): Likewise.
18319         (__ASSUME_PIPE2): Likewise.
18320         (__ASSUME_EVENTFD2): Likewise.
18321         (__ASSUME_SIGNALFD4): Likewise.
18322         (__ASSUME_DUP3): Likewise.
18323         (__ASSUME_UTIMES): Undefine.
18325         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18326         feclearexcept.  Remove symbol versioning code.
18327         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18328         symbol versioning code.
18329         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18330         symbol versioning code.
18331         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18332         feupdateenv.  Remove symbol versioning code.
18333         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18334         fegetexceptflag.  Remove symbol versioning code.
18335         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18336         fesetexceptflag.  Remove symbol versioning code.
18337         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18338         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18339         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18340         (__posix_fadvise64_l32): Remove prototype.
18341         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18342         code.
18344 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18346         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18347         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18348         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18349         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18351 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18353         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18354         current working directory
18356 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18358         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18359         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18360         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18361         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18362         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18363         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18364         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18365         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18366         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18367         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18368         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18369         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18370         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18371         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18372         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18373         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18374         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18375         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18376         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18377         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18378         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18379         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18380         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18381         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18382         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18383         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18384         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18385         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18386         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18387         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18388         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18389         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18390         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18391         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18392         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18393         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18394         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18395         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18396         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18397         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18398         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18399         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18401         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18402         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18404         * sysdeps/unix/sysv/linux/arm/Makefile
18405         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18406         Add rt-aeabi_unwind_cpp_pr1.
18407         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18408         Add nptl-aeabi_unwind_cpp_pr1.
18409         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18410         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18411         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18412         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18413         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18414         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18416         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18417         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18418         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18419         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18421         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18422         Deconditionalize the code that was previously under [RESET_PID].
18423         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18425         * sysdeps/generic/exit-thread.h: New file.
18426         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18427         * include/unistd.h (__exit_thread): Remove declaration.
18428         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18429         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18430         * csu/libc-start.c: Include <exit-thread.h>.
18431         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18432         * nptl/pthread_create.c: Include <exit-thread.h>.
18433         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18434         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18435         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18436         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18437         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18438         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18439         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18440         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18441         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18442         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18443         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18444         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18445         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18446         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18447         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18448         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18449         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18451 2014-05-13  Andreas Schwab  <schwab@suse.de>
18453         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18455 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18457         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18458         (__ASSUME_UTIMES): Do not condition on kernel version.
18459         (__ASSUME_PSELECT): Define unconditionally.
18460         (__ASSUME_PPOLL): Likewise.
18461         (__ASSUME_ATFCTS): Likewise.
18462         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18463         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18464         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18465         (__ASSUME_UTIMENSAT): Define unconditionally.
18466         (__ASSUME_PRIVATE_FUTEX): Likewise.
18467         (__ASSUME_FALLOCATE): Likewise.
18468         (__ASSUME_O_CLOEXEC): Likewise.
18469         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18470         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18471         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18472         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18473         (__ASSUME_IN_NONBLOCK): Likewise.
18474         (__ASSUME_PIPE2): Likewise.
18475         (__ASSUME_EVENTFD2): Likewise.
18476         (__ASSUME_SIGNALFD4): Likewise.
18477         (__ASSUME_DUP3): Likewise.
18478         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18479         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18480         (__ASSUME_AT_RANDOM): Likewise.
18481         (__ASSUME_PREADV): Likewise.
18482         (__ASSUME_PWRITEV): Likewise.
18483         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18484         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18485         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18486         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18487         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18488         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18489         (__ASSUME_O_CLOEXEC): Define unconditionally.
18490         (__ASSUME_PSELECT): Do not undefine conditionally.
18491         (__ASSUME_PPOLL): Likewise.
18492         (__ASSUME_ATFCTS): Likewise.
18493         (__ASSUME_SET_ROBUST_LIST): Likewise.
18494         (__ASSUME_UTIMENSAT): Likewise.
18495         (__ASSUME_FDATASYNC): Define unconditionally.
18496         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18497         (__ASSUME_SIGFRAME_V2): Likewise.
18498         )__ASSUME_EVENTFD2): Likewise.
18499         (__ASSUME_SIGNALFD4): Likewise.
18500         (__ASSUME_PSELECT): Do not undefine conditionally.
18501         (__ASSUME_PPOLL): Likewise.
18502         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18503         (__ASSUME_PSELECT): Define unconditionally.
18504         (__ASSUME_PPOLL): Likewise.
18505         (__ASSUME_O_CLOEXEC): Likewise.
18506         (__ASSUME_SOCK_CLOEXEC): Likewise.
18507         (__ASSUME_IN_NONBLOCK): Likewise.
18508         (__ASSUME_PIPE2): Likewise.
18509         (__ASSUME_EVENTFD2): Likewise.
18510         (__ASSUME_SIGNALFD4): Likewise.
18511         (__ASSUME_DUP3): Likewise.
18512         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18513         (__ASSUME_O_CLOEXEC): Likewise.
18514         (__ASSUME_SOCK_CLOEXEC): Likewise.
18515         (__ASSUME_IN_NONBLOCK): Likewise.
18516         (__ASSUME_PIPE2): Likewise.
18517         (__ASSUME_EVENTFD2): Likewise.
18518         (__ASSUME_SIGNALFD4): Likewise.
18519         (__ASSUME_DUP3): Likewise.
18520         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18521         (__ASSUME_EVENTFD2): Likewise.
18522         (__ASSUME_SIGNALFD4): Likewise.
18523         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18525 2014-05-12  Andreas Schwab  <schwab@suse.de>
18527         [BZ #16932]
18528         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18529         (_nss_nis_gethostbyname4_r): Return error if item length is larger
18530         than maximum RPC packet size.
18531         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18532         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18533         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18534         (_nss_nis_getservbyport_r): Likewise.
18536 2014-05-12  Will Newton  <will.newton@linaro.org>
18538         * malloc/Makefile (tests): Add tst-mallopt.
18539         * malloc/tst-mallopt.c: New file.
18541 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18543         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18544         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18546 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18548         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18549         (tst-tlsmod6.so): Likewise.
18551 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18553         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18555 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18557         [BZ #16064]
18558         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18559         and <dl-procinfo.h>.
18560         (__fegetenv): Save SSE state in envp->__eip if supported.
18561         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18562         envp->__eip if supported.
18563         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18564         and <dl-procinfo.h>.
18565         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18566         __data_offset and __data_selector in environment to 0.  Set SSE
18567         state if supported.
18568         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18569         test-fenv-sse.
18570         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18571         -mfpmath=sse.
18572         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18574 2014-05-09  Will Newton  <will.newton@linaro.org>
18576         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18577         and libc_relro_required for ARM.
18578         * sysdeps/arm/preconfigure: Regenerate.
18580 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18581             Stefan Liebler  <stli@linux.vnet.ibm.com>
18583         * config.make.in (enable-lock-elision): New Makefile variable.
18584         * configure.ac: Likewise.
18585         * configure: Regenerate.
18586         * sysdeps/s390/configure.ac:
18587         Add check for gcc transactions support.
18588         * sysdeps/s390/configure: Regenerate.
18589         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18590         Build elision files if enabled.
18591         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18592         Add lock elision support for s390.
18593         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18594         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18595         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18596         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18597         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18598         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18599         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18600         Likewise.
18601         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18602         Likewise.
18603         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18604         Likewise.
18605         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18606         Likewise.
18607         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18608         (__lll_timedlock_elision, __lll_lock_elision)
18609         (__lll_unlock_elision, __lll_trylock_elision)
18610         (lll_timedlock_elision, lll_lock_elision)
18611         (lll_unlock_elision, lll_trylock_elision): Add.
18612         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18613         (pthread_mutex_t): Add lock elision support for s390.
18615 2014-05-14  Wilco  <wdijkstr@arm.com>
18617         * sysdeps/arm/fclrexcpt.c: Cleanup.
18618         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18619         * sysdeps/arm/feenablxcpt.c: Cleanup.
18620         * sysdeps/arm/fegetenv.c: Cleanup.
18621         * sysdeps/arm/fegetexcept.c: Cleanup.
18622         * sysdeps/arm/fegetround.c: Cleanup.
18623         * sysdeps/arm/feholdexcpt.c: Cleanup.
18624         * sysdeps/arm/fesetenv.c: Cleanup.
18625         * sysdeps/arm/fesetround.c: Cleanup.
18626         * sysdeps/arm/feupdateenv.c: Cleanup.
18627         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18628         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18629         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18630         * sysdeps/arm/ftestexcept.c: Cleanup.
18631         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18632         * sysdeps/arm/setfpucw.c: Cleanup.
18634 2014-05-09  Will Newton  <will.newton@linaro.org>
18636         * sysdeps/arm/armv7/strcmp.S: New file.
18637         * NEWS: Mention addition of ARMv7 optimized strcmp.
18639 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18641         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18642         look for %.ac rather than %.in.
18644         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18645         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18646         * sysdeps/mach/hurd/configure: Regenerated.
18647         * sysdeps/unix/sysv/linux/configure: Regenerated.
18649         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18651 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18653         [BZ# 16922]
18654         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18655         (LONG_SUB): Ditto.
18656         (PTR_SUB): Ditto.
18658 2014-05-07  Andreas Schwab  <schwab@suse.de>
18660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18661         when skipping over non-matching result from nscd.
18663 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18665         [BZ #16876]
18666         * nptl/sockperf.c (client): Check socket return value.
18668         [BZ #16877]
18669         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18670         nscd security class.
18672 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18674         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18675         * sysdeps/arm/unwind.h: ... here.
18677 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
18679         [BZ# 16916]
18680         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18681         Define.
18683 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18685         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18686         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18687         multiarch strncpy for PPC64.
18688         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18689         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18691         multiarch optimizations.
18692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18693         (__libc_ifunc_impl_list): Likewise.
18694         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18695         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18696         multiarch stpncpy for PPC64.
18697         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18698         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18700 2014-05-06  Andreas Schwab  <schwab@suse.de>
18702         [BZ #16912]
18703         * gmon/mcount.c (_MCOUNT_DECL): Use
18704         atomic_compare_and_exchange_bool_acq instead of
18705         catomic_compare_and_exchange_bool_acq.
18707 2014-05-05  Roland McGrath  <roland@hack.frob.com>
18709         * elf/Makefile (others, install-bin): Remove pldd.
18710         (pldd-modules): Variable removed.
18711         ($(objpfx)pldd): Target removed.
18712         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18713         (others, install-bin): Append pldd here.
18714         ($(objpfx)pldd): New target.
18716         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18717         to 0, so the first #if test emitted later doesn't see it undefined.
18718         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18719         * sysdeps/gnu/errlist.c: Regenerated.
18721 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18723         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18724         [libc_hidden_builtin_def]: Define to empty value.
18725         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18726         [libc_hidden_builtin_def]: Likewise.
18727         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18728         [libc_hidden_builtin_def]: Likewise.
18729         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18730         [libc_hidden_builtin_def]: Likewise.
18731         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18732         __redirect_memcpy and define ifunc as default hidden symbol.
18733         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18734         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18736 2014-05-04  Adam Conrad  <adconrad@0c3.net>
18738         * locale/iso-4217.def: Reintroduce XDR currency.
18740 2014-05-04  Allan McRae  <allan@archlinux.org>
18742         * po/eo.po: Update Esperanto translation from translation project.
18744 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
18746         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18747         and FEATURE_INDEX_MAX to 1.
18748         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18750 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18752         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18753         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18754         * iconvdata/big5.c (ONE_DIRECTION): Define.
18755         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18756         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18757         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18758         * iconvdata/cp932.c (ONE_DIRECTION): Define.
18759         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18760         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18761         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18762         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18763         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18764         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18765         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18766         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18767         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18768         * iconvdata/gbk.c (ONE_DIRECTION): Define.
18769         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18770         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18771         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18772         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18773         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18774         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18775         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18776         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18777         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18778         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18779         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18780         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18781         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18782         * iconvdata/iso646.c (ONE_DIRECTION): Define.
18783         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18784         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18785         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18786         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18787         * iconvdata/johab.c (ONE_DIRECTION): Define.
18788         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18789         * iconvdata/sjis.c (ONE_DIRECTION): Define.
18790         * iconvdata/t.61.c (ONE_DIRECTION): Define.
18791         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18792         * iconvdata/tscii.c (ONE_DIRECTION): Define.
18793         * iconvdata/uhc.c (ONE_DIRECTION): Define.
18794         * iconvdata/unicode.c (ONE_DIRECTION): Define.
18795         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18796         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18797         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18799 2014-05-01  Roland McGrath  <roland@hack.frob.com>
18801         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18802         (_IO_JUMPS_OFFSET): Define to 0.
18804         * nptl/sysdeps/pthread/bits/libc-lock.h
18805         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18806         (__libc_lock_define_initialized_recursive): Always define using
18807         initializer.  Modern compilers treat uninitialized (implicit zero) and
18808         explicit zero initializers the same (i.e. put the datum in bss).
18810 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18812         * nscd/nscd-client.h: Include <string.h>.
18814 2014-05-01  David S. Miller  <davem@davemloft.net>
18816         [BZ #16885]
18817         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18818         multiple zero bytes exist at the end of a string.
18819         Reported by Aurelien Jarno <aurelien@aurel32.net>
18821         * string/test-strcmp.c (check): Add explicit test for situations where
18822         there are multiple zero bytes after the first.
18824 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18826         [BZ #16890]
18827         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18828         when compiling wprintf.
18829         * stdio-common/tstdiomisc.c (t3): New function.
18830         (main): Call it.
18832 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18834         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18835         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18836         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18837         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18839 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18841         * stdlib/longlong.h: Updated from GCC.
18843 2014-05-01  Will Newton  <will.newton@linaro.org>
18844             Bernard Ogden  <bernie.ogden@linaro.org>
18846         * NEWS: Update fixed bug list.
18848         [BZ #15119]
18849         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18851 2014-04-30  David S. Miller  <davem@davemloft.net>
18853         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18854         (libc_feholdexcept_setround_sparc_ctx): New function.
18855         (libc_fesetenv_sparc_ctx): Likewise.
18856         (libc_feupdateenv_sparc_ctx): Likewise.
18857         (libc_feholdsetround_sparc_ctx): Likewise.
18858         (libc_feholdexcept_setround_ctx): Define.
18859         (libc_feholdexcept_setroundf_ctx): Likewise.
18860         (libc_feholdexcept_setroundl_ctx): Likewise.
18861         (libc_fesetenv_ctx): Likewise.
18862         (libc_fesetenvf_ctx): Likewise.
18863         (libc_fesetenvl_ctx): Likewise.
18864         (libc_feupdateenv_ctx): Likewise.
18865         (libc_feupdateenvf_ctx): Likewise.
18866         (libc_feupdateenvl_ctx): Likewise.
18867         (libc_feresetround_ctx): Likewise.
18868         (libc_feresetroundf_ctx): Likewise.
18869         (libc_feresetroundl_ctx): Likewise.
18870         (libc_feholdsetround_ctx): Likewise.
18871         (libc_feholdsetroundf_ctx): Likewise.
18872         (libc_feholdsetroundl_ctx): Likewise.
18874         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18875         with __USE_GNU instead of XOPEN cpp guards.
18877         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18878         0.
18880         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18881         with XOPEN cpp guards.
18883 2014-04-30  Julian Brown  <julian@codesourcery.com>
18885         [BZ #16888]
18886         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18887         handling.
18889 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
18891         [BZ #9894]
18892         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18893         Change to 2.6.32.
18894         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18895         * sysdeps/unix/sysv/linux/configure: Regenerated.
18896         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18897         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18898         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18899         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18900         * README: Update reference to required Linux kernel version.
18901         * manual/install.texi (Linux): Update reference to required Linux
18902         kernel headers version.
18903         * INSTALL: Regenerated.
18905         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18906         header inclusion.
18907         [POSIX] (limits.h): Likewise.
18908         [POSIX] (math.h): Likewise.
18909         [POSIX] (sys/wait.h): Likewise.
18910         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18911         function.
18912         [POSIX] (stddef.h): Do not allow header inclusion.
18914 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18916         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18918 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
18920         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18921         Return immediately after lll_futex_wake.
18923 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18925         [BZ #16791]
18926         * nscd/nscd-client.h (datahead_init_common): Initialize entire
18927         structure.
18928         (datahead_init_pos): Call datahead_init_common early.
18929         (datahead_init_neg): Likewise.
18931         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18932         datahead_init_neg): New functions.
18933         * nscd/aicache.c (addhstaiX): Use them.
18934         * nscd/grpcache.c (cache_addgr): Likewise.
18935         * nscd/hstcache.c (cache_addhst): Likewise.
18936         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18937         * nscd/netgroupcache.c (do_notfound): Likewise.
18938         (addgetnetgrentX): Likewise.
18939         (addinnetgrX): Likewise.
18940         * nscd/pwdcache.c (cache_addpw): Likewise.
18941         * nscd/servicescache.c (cache_addserv): Likewise.
18943 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18944             Atsushi Onoe  <atsushi@onoe.org>
18946         [BZ #14308]
18947         [BZ #12994]
18948         [BZ #13651]
18949         * resolv/res_query.c (__libc_res_nsearch): Return if at least
18950         one response is valid.
18951         * resolv/res_send.c (send_dg): Check for validity of other
18952         response if the current response is a referral.
18954 2014-04-29  Steve Ellcey  <sellcey@mips.com>
18956         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18958 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
18960         [BZ #16823]
18961         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18962         Always divide by positive zero when computing -Inf result.
18963         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18964         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18966 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18968         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18969         FPSCR if value do not change.
18970         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18971         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18972         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18973         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18974         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18975         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18976         function.
18978 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
18980         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18981         * sysdeps/unix/sysv/linux/hppa: Move directory from
18982         ports/systeps/unix/sysv/linux/hppa.
18983         * README: Update listing for hppa-*-linux-gnu.
18985 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
18987         [BZ #16754]
18988         * manual/stdio.texi (Hook functions): Fix types of stream hook
18989         functions.
18990         [BZ #16854]
18991         * socket/sys/socket.h: Fix typo in comment.
18993 2014-04-28  Wilco  <wdijkstr@arm.com>
18995         * sysdeps/arm/fenv_private.h: New file.
18996         * sysdeps/arm/math_private.h: New file.
18997         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18999 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19001         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19002         with __int128_t.
19003         (La_x86_64_retval): Likewise.
19005 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19007         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19008         fpsr if value didn't change.
19009         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19010         to fpcr if value didn't change.
19011         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19012         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19013         fpsr or fpcr if value didn't change.
19014         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19015         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19016         fpcr if value didn't change.
19017         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19018         to fpsr if value didn't change.
19020 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19022         * nptl/tst-sem3.c: Use test-skeleton.c
19023         (main): Rename to do_test.  Use return instead of
19024         exit.
19025         * nptl/tst-sem4.c: Use test-skeleton.c
19026         (main): Rename to do_test.
19028 2014-04-22  David S. Miller  <davem@davemloft.net>
19030         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19031         (struct sigaction): New struct member __glibc_reserved0, change
19032         type of sa_flags to int.
19034 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19036         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19037         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19039 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19041         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19042         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19044 2014-04-22  Will Newton  <will.newton@linaro.org>
19045             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19047         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19048         (__longjmp): Add longjmp and longjmp_target SystemTap
19049         probes.
19050         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19051         (__sigsetjmp): Add setjmp SystemTap probe.
19053 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19055         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19056         match manual order.
19058 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19060         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19062         * sysdeps/powerpc/fpu/fenv_private.h
19063         (libc_feholdexcept_setroundl_ctx): Define to
19064         libc_feholdexcept_setround_ppc_ctx.
19065         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19066         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19067         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19068         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19070 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19072         * sysdeps/aarch64/math-tests.h: New file.
19074 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19076         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19077         New.
19078         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19079         Check and set bit_AVX2_Usable.
19080         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19081         macro.
19082         (bit_AVX2): Likewise.
19083         (index_AVX2_Usable): Likewise.
19084         (CPUID_AVX2): Likewise.
19085         (HAS_AVX2): Likewise.
19087 2014-04-17  Will Newton  <will.newton@linaro.org>
19089         * manual/setjmp.texi (System V contexts): Add note that
19090         calling setcontext on a context created by a call to a
19091         signal handler is undefined.  Update text to note that
19092         setcontext from a signal handler is possible but not
19093         recommended.
19095         [BZ #16629]
19096         * stdlib/tst-setcontext.c: Include signal.h.
19097         (main): Check that the signal stack before and
19098         after swapcontext is the same.
19100         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19101         Re-implement to restore registers in user code and avoid
19102         rt_sigreturn system call.
19104 2014-04-17  Wilco  <wdijkstr@arm.com>
19106         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19107         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19108         * math/test-fenv.c: Skip exception trap tests on targets which only
19109         support non-stop mode.
19111 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19112             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19114         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19115         (libc_feholdsetround_aarch64_ctx)
19116         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19117         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19118         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19119         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19120         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19121         (libc_feresetround_noexl_ctx): Define.
19123 2014-04-16  Richard Henderson  <rth@redhat.com>
19125         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19127         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19128         unwind tables.
19130         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19131         const from the non-libc, non-ldso copy.
19133         * sysdeps/alpha/libm-test-ulps: Regenerate.
19135 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19136             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19138         * sysdeps/aarch64/fpu/math_private.h: New file.
19140 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19142         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19144 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19146         [BZ #16275]
19147         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19148         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19149         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19150         Intel MPX bound registers before _dl_profile_fixup.
19151         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19152         registers after _dl_profile_fixup.  Save and restore bound
19153         registers bnd0/bnd1 when calling _dl_call_pltexit.
19154         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19155         (LR_BND_OFFSET): Likewise.
19156         (LRV_BND0_OFFSET): Likewise.
19157         (LRV_BND1_OFFSET): Likewise.
19159 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19161         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19162         to...
19163         * sysdeps/mach/hurd/i386/tls.h: ... here.
19164         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19165         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19166         fields.
19168 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19170         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19172 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19174         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19176 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19178         [BZ #14770]
19179         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19180         * sysdeps/s390/configure: Regenerate.
19182         [BZ #16824]
19183         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19184         Set round-to-nearest internally to reduce error accumulation.
19186 2014-04-16  Alan Modra  <amodra@gmail.com>
19188         [BZ #16740]
19189         [BZ #16619]
19190         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19191         * math/libm-test.inc (frexp_test_data): Add tests.
19192         * NEWS: Update fixed bug list.
19194 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19196         * benchtests/Makefile: Depend on libraries in build directory.
19197         (bench-math): Separate out math tests.
19198         (bench-pthread): Separate out pthread tests.
19199         (bench): Include math and pthread tests.
19201 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19203         [BZ #16831]
19204         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19205         _dl_debug_initialize.
19207         * configure.ac: Remove SELinux header check.
19208         * configure: Regenerate.
19209         * nscd/selinux.c (perms): Array of const char* to permission names.
19210         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19211         default policy. Call string_to_security_class and string_to_av_perm to
19212         translate strings. Enforce default policy and call avs_has_perm with
19213         results of translated strings.
19215 2014-04-13  David S. Miller  <davem@davemloft.net>
19217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19219 2014-04-12  Allan McRae  <allan@archlinux.org>
19221         [BZ #16838]
19222         * manual/string.texi (Collation Functions): Fix qsort argument
19223         order in example.
19224         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19226 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19228         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19229         Make the test a no-op if there are no exceptions defined.
19231 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19233         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19234         enable-hardcoded-path-in-tests
19236 2014-04-11  Will Newton  <will.newton@linaro.org>
19238         * benchtests/Makefile (extra-objs): Add json-lib.o.
19239         (bench-func): Tidy up JSON output.
19240         * benchtests/bench-skeleton.c: Include json-lib.h.
19241         (main): Use JSON library functions to do output of
19242         benchmark results.
19243         * benchtests/bench-timing-type.c (main): Output the
19244         timing type simply, leaving formatting to the user.
19245         * benchtests/json-lib.c: New file.
19246         * benchtests/json-lib.h: Likewise.
19248 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19250         [BZ #15215]
19251         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19252         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19253         memory barriers.  Add comments.
19254         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19255         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19256         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19257         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19258         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19259         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19261 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19263         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19264         * sysdeps/s390/s390-64/configure.ac: ... this ...
19265         * sysdeps/s390/configure.ac: ... to here.
19266         * sysdeps/s390/s390-32/configure: Delete file.
19267         * sysdeps/s390/s390-64/configure: Delete file.
19268         * sysdeps/s390/configure: Regenerate.
19270 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19272         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19274 2014-04-11  Will Newton  <will.newton@linaro.org>
19276         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19277         to zero if it is not defined elsewhere.  (mtrim): Test
19278         the value of MALLOC_DEBUG with #if rather than #ifdef.
19280 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19282         * benchtests/pthread_once-inputs: New file.
19283         * benchtests/pthread_once-source.c: New file.
19284         * benchtests/README: Update documentation.
19286 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19287             H.J. Lu  <hongjiu.lu@intel.com>
19289         [BZ #16275]
19290         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19291         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19292         * sysdeps/x86_64/configure: Regenerated.
19293         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19294         macro.
19295         (REGISTER_SAVE_RAX): Likewise.
19296         (REGISTER_SAVE_RCX): Likewise.
19297         (REGISTER_SAVE_RDX): Likewise.
19298         (REGISTER_SAVE_RSI): Likewise.
19299         (REGISTER_SAVE_RDI): Likewise.
19300         (REGISTER_SAVE_R8): Likewise.
19301         (REGISTER_SAVE_R9): Likewise.
19302         (REGISTER_SAVE_BND0): Likewise.
19303         (REGISTER_SAVE_BND1): Likewise.
19304         (REGISTER_SAVE_BND2): Likewise.
19305         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19306         bound registers when calling _dl_fixup.
19308 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19310         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19311         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19312         of its definition.
19313         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19314         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19315         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19316         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19317         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19318         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19319         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19321 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19323         [BZ #15514]
19324         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19325         pathconf(_PC_NAME_MAX).
19327 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19329         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19330         Remove macro usage.
19331         (__PTHREAD_SPINS): Move definition to ...
19332         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19333         (__PTHREAD_SPINS): ... here.
19334         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19335         (__PTHREAD_SPIN): Likewise.
19336         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19337         (__PTHREAD_SPIN): Likewise.
19338         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19339         (__PTHREAD_SPIN): Likewise.
19340         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19341         (__PTHREAD_SPIN): Likewise.
19342         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19343         (__PTHREAD_SPIN): Likewise.
19344         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19345         (__PTHREAD_SPIN): Likewise.
19346         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19347         (__PTHREAD_SPIN): Likewise.
19348         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19349         (__PTHREAD_SPIN): Likewise.
19350         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19351         (__PTHREAD_SPIN): Likewise.
19352         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19353         (__PTHREAD_SPIN): Likewise.
19354         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19355         (__PTHREAD_SPIN): Likewise.
19356         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19357         (__PTHREAD_SPIN): Likewise.
19359         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19360         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19361         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19362         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19363         imply folder.
19364         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19365         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19366         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19367         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19368         correct imply path.
19369         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19370         strlen symbol for non multi-arch builds.
19371         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19372         missing hidden_def and weak_alias.
19374 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19376         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19378 2014-04-07  Will Newton  <will.newton@linaro.org>
19380         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19381         and contents.  [!_LIBC] Remove #ifndef and contents.
19382         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19383         * string/memccpy.c (__memccpy): Use ANSI prototype.
19384         * string/memfrob.c (memfrob): Likewise.
19385         * string/strcoll.c (STRCOLL): Likewise.
19386         * string/strlen.c (strlen): Likewise.
19387         * string/strtok.c (STRTOK): Likewise.
19388         * string/strcat.c: Remove unused #include of memcopy.h.
19389         (strcat): Use ANSI prototype.
19390         * string/strchr.c: Remove unused #include of memcopy.h.
19391         (strchr): Use ANSI prototype.
19392         * string/strcmp.c: Remove unused #include of memcopy.h.
19393         (strcmp): Use ANSI prototype.
19394         * string/strcpy.c: Remove unused #include of memcopy.h.
19395         (strcpy): Use ANSI prototype.
19397 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19399         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19400         * config.make.in (config-extra-cppflags): Set it from
19401         libc_extra_cppflags.
19402         * configure.ac (libc_extra_cflags): Make it accumulate over
19403         configure fragments.
19404         (libc_extra_cppflags): New flag.
19405         * configure. Regenerate.
19406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19407         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19408         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19411         [BZ #16815]
19412         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19413         result for FE_DOWNWARD rounding mode.
19414         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19415         Likewise.
19416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19418 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19420         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19421         in function argument name.
19423 2014-04-03  David Svoboda  <svoboda@cert.org>
19425         [BZ #5666]
19426         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19427         explicitly.
19429 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19431         * elf/dl-unmap-segments.h: New file.
19432         * sysdeps/generic/ldsodefs.h
19433         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19434         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19435         * elf/dl-fptr.c: Likewise.
19436         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19437         * sysdeps/aarch64/tlsdesc.c: Likewise.
19438         * sysdeps/arm/tlsdesc.c: Likewise.
19439         * sysdeps/i386/tlsdesc.c: Likewise.
19440         * sysdeps/tile/dl-runtime.c: Likewise.
19441         * sysdeps/x86_64/tlsdesc.c: Likewise.
19442         * elf/dl-load.h: New file.
19443         * elf/dl-load.c: Include it.
19444         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19445         Macros moved to dl-load.h.
19446         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19447         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19448         Use _dl_unmap_segments in place of __munmap.
19449         Break out segment-mapping loop into ...
19450         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19452 2014-04-03  Will Newton  <will.newton@linaro.org>
19454         * elf/dl-lookup.c (do_lookup_x): Remove comment
19455         referring to nested function and move variable
19456         declarations down to before first use.
19458 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19460         [BZ #16799]
19461         [BZ #16800]
19462         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19463         with 0 numerator.
19464         * math/s_catanf.c (__catanf): Likewise.
19465         * math/s_catanh.c (__catanh): Likewise.
19466         * math/s_catanhf.c (__catanhf): Likewise.
19467         * math/s_catanhl.c (__catanhl): Likewise.
19468         * math/s_catanl.c (__catanl): Likewise.
19469         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19470         by positive zero when computing -Inf result.
19471         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19472         (catanh_test): Likewise.
19473         * sysdeps/i386/fpu/libm-test-ulps: Update.
19474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19476         [BZ #16789]
19477         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19478         instead of using underflowing value in computing result.
19479         * math/s_clog10.c (__clog10): Likewise.
19480         * math/s_clog10f.c (__clog10f): Likewise.
19481         * math/s_clog10l.c (__clog10l): Likewise.
19482         * math/s_clogf.c (__clogf): Likewise.
19483         * math/s_clogl.c (__clogl): Likewise.
19484         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19485         (clog10_test): Likewise.
19486         * sysdeps/i386/fpu/libm-test-ulps: Update.
19487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19489 2014-04-02  Alan Modra  <amodra@gmail.com>
19491         [BZ #16739]
19492         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19493         output when value is near a power of two.  Use int64_t for lx and
19494         remove casts.  Use decimal rather than hex exponent constants.
19495         Don't use long double multiplication when double will suffice.
19496         * math/libm-test.inc (nextafter_test_data): Add tests.
19497         * NEWS: Add 16739 and 16786 to bug list.
19499         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19501         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19503 2014-04-01  Will Newton  <will.newton@linaro.org>
19505         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19506         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19508 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19510         [BZ #13347]
19511         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19512         * nptl/tst-setuid2.c: New file.
19513         * nptl/Makefile (xtests): Add tst-setuid2.
19515 2014-04-01  Alan Modra  <amodra@gmail.com>
19517         [BZ #16786]
19518         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19520 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19522         [BZ #6803]
19523         [BZ #6804]
19524         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19525         set errno as appropriate.
19526         * math/w_scalbf.c (__scalbf): Likewise.
19527         * math/w_scalbl.c (__scalbl): Likewise.
19528         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19529         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19530         * math/libm-test.inc (scalb_test_data): Add errno expectations.
19531         Add more NaN tests.
19533         [BZ #16349]
19534         * math/w_atan2.c: Include <errno.h>.
19535         (__atan2): Set errno for result underflowing to zero.
19536         * math/w_atan2f.c: Include <errno.h>.
19537         (__atan2f): Set errno for result underflowing to zero.
19538         * math/w_atan2l.c: Include <errno.h>.
19539         (__atan2l): Set errno for result underflowing to zero.
19540         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19541         tests.
19542         * math/auto-libm-test-out: Regenerated.
19544 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19546         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19547         Encode instruction correctly in little endian.
19548         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19549         Likewise.
19550         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19551         Likewise.
19552         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19553         Likewise.
19554         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19555         Likewise.
19557 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19559         [BZ #9894]
19560         * sysdeps/unix/sysv/linux/kernel-features.h
19561         [__sparc__ && !__arch64__ && !__sparc_v9__]
19562         (__ASSUME_SET_ROBUST_LIST): Do not define.
19563         [__sparc__ && !__arch64__ && !__sparc_v9__]
19564         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19565         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19566         Likewise.
19567         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19568         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19569         (__ASSUME_REQUEUE_PI): Likewise.
19570         (__ASSUME_SET_ROBUST_LIST): Likewise.
19571         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19572         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19573         Undefine.
19574         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19575         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19576         Likewise.
19577         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19578         Likewise.
19579         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19580         Likewise.
19581         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19582         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19583         Undefine.
19584         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19585         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19586         Likewise.
19588         [BZ #16648]
19589         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19590         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19591         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19593 2014-03-31  Will Newton  <will.newton@linaro.org>
19595         * benchtests/Makefile (bench): Add ffs and ffsll to list
19596         of tests.
19597         * benchtests/ffs-inputs: New file.
19598         * benchtests/ffsll-inputs: Likewise.
19600 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19602         [BZ #16770]
19603         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19604         too large before casting to int.
19605         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19606         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19607         * math/libm-test.inc (scalb_test_data): Add more tests.
19609 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19611         * benchtests/Makefile (DETAILED_OPT): New make option.
19612         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19613         set.
19614         * benchtests/bench-skeleton.c: Include stdbool.h.
19615         (main): Store and print timings per input.
19616         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19617         member to each argument value.
19618         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19619         (_print_arg_data): Initialize per-input timing to 0.
19621         * benchtests/Makefile (timing-type): New binary.
19622         (bench-clean): Also remove bench-timing-type.
19623         (bench): New target for timing-type.
19624         (bench-func): Print output in JSON format.
19625         * benchtests/bench-skeleton.c (main): Print output in JSON
19626         format.
19627         * benchtests/bench-timing-type.c: New file.
19628         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19629         (TIMING_PRINT_STATS): Remove.
19630         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19631         name separately.
19633         * benchtests/bench-modf.c: Remove.
19634         * benchtests/modf-inputs: New inputs file.
19636 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19638         [BZ #16362]
19639         * math/s_clog10.c (M_PI_LOG10E): New macro.
19640         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19641         imaginary parts are 0.
19642         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19643         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19644         imaginary parts are 0.
19645         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19646         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19647         imaginary parts are 0.
19648         * math/libm-test.inc (clog10_test_data): Update expected results
19649         for when real and imaginary parts are 0.
19651 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19653         * elf/dl-load.c: Finish conversion of __builtin_expect into
19654         __glibc_{un}likely.
19656 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19658         [BZ #16348]
19659         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19660         1+x for argument with exponent below -67.
19661         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19662         Likewise.
19663         * math/auto-libm-test-in: Add more tests of exp.
19664         * math/auto-libm-test-out: Regenerated.
19666 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19668         [BZ #16759]
19669         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19670         (nscd_getnetgrent): Use it.
19672         [BZ #16760]
19673         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19674         of stpcpy.
19676 2014-03-27  Andi Kleen  <ak@linux.intel.com>
19678         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19679         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19680         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19681         (lll_robust_unlock): Remove out of line section. Use cfi
19682         intrinsics.
19683         (LLL_STUB_UNWIND_INFO*): Remove.
19684         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19685         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19686         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19687         (lll_robust_unlock): Remove out of line section. Use cfi
19688         intrinsics.
19689         (LLL_STUB_UNWIND_INFO*): Remove.
19691 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19693         [BZ #16758]
19694         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19695         blank values.
19697 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19699         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19701 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
19703         [BZ #16198]
19704         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19705         fnstenv.
19706         * math/test-fenv-preserve.c: New file.
19707         * math/Makefile (tests): Add test-fenv-preserve.
19709 2014-03-26  Will Newton <will.newton@linaro.org>
19711         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19713 2014-03-25  Roland McGrath  <roland@hack.frob.com>
19715         * scripts/versionlist.awk: Partition the version sets and emit all
19716         GLIBC_* (sorted) before all others (sorted).
19718 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19720         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19721         GLIBC_2.2.5 version.
19723 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19725         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19726         calls.
19728         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19729         previous change.
19731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19733 2014-03-25  Andreas Schwab  <schwab@suse.de>
19735         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19736         label to be used after in6ailist is initialized.
19738 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19740         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19741         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19743 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19745         [BZ #16357]
19746         [BZ #16599]
19747         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19748         min_plus_half.
19749         (fp_formats): Update initializers.
19750         (init_fp_formats): Initialize new field.
19751         (output_for_one_input_case): Allow underflow for results up to
19752         min_plus_half.
19753         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19754         * math/auto-libm-test-in: Don't mark some underflows from asin and
19755         atanh as spurious.
19756         * math/auto-libm-test-out: Regenerated.
19757         * sysdeps/i386/fpu/libm-test-ulps: Update.
19758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19760 2014-03-25  Andreas Schwab  <schwab@suse.de>
19762         * libio/Makefile (tst-ftell-partial-wide-ENV)
19763         (tst-ftell-active-handler-ENV): Define.
19765 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
19767         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19769 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19771         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19773 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19775         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19776         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19777         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19779 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19781         [BZ #16634]
19782         * elf/dl-load.c (open_verify): Add mode parameter.
19783         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19784         (open_path): Change from boolean 'secure' to complete flag 'mode'
19785         (_dl_map_object): Adjust.
19786         * elf/Makefile (tests): Add tst-dlopen-aout.
19787         * elf/tst-dlopen-aout.c: New test.
19789 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
19791         [BZ #16714]
19792         * sysdeps/unix/sysv/linux/s390/bits/stat.h
19793         (struct stat): Rename member pad0 to __glibc_reserved0.
19795         [BZ #16712]
19796         * sysdeps/s390/s390-32/bits/wordsize.h
19797         (__WORDSIZE32_SIZE_ULONG): New define.
19798         * sysdeps/s390/s390-64/bits/wordsize.h
19799         (__WORDSIZE32_SIZE_ULONG): Likewise.
19800         * sysdeps/generic/stdint.h (SIZE_MAX):
19801         Define as UL if __WORDSIZE32_SIZE_ULONG.
19803         [BZ #16713]
19804         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19805         (__glibc_reserved0): New variable.
19806         (sa_flags): Change type to int.
19808         * posix/Makefile (before-compile): Use += before-compile instead
19809         of a :=.
19811         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19812         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19814 2014-03-20  Andreas Schwab  <schwab@suse.de>
19816         [BZ #16743]
19817         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19818         non-matching result from nscd.
19820 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19822         * scripts/bench.py: Moved to ...
19823         * benchtests/scripts/bench.py: ... here.
19824         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19826 2014-03-24  Andreas Schwab  <schwab@suse.de>
19828         [BZ #16002]
19829         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19830         alloca_account and account alloca use for struct in6ailist.
19832 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19834         [BZ #16284]
19835         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19836         rounding mode to recompute results that overflow to infinity or
19837         underflow to zero.
19838         * math/auto-libm-test-in: Don't mark tests as expected to fail for
19839         bug 16284.
19840         * math/auto-libm-test-out: Regenerated.
19841         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19842         (ccosh_test): Likewise.
19843         (csin_test_data): Use plus_oflow.
19844         (csin_test): Use ALL_RM_TEST.
19845         (csinh_test_data): Use plus_oflow.
19846         (csinh_test): Use ALL_RM_TEST.
19847         * sysdeps/i386/fpu/libm-test-ulps: Update.
19848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19850 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
19852         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19853         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19854         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19856         [BZ #16731]
19857         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19858         when x - 1 is zero.
19859         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19860         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19861         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19862         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19863         argument is 1.
19864         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19865         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19866         zero.
19867         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19868         * sysdeps/i386/fpu/libm-test-ulps: Update.
19869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19871 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19873         * scripts/bench.pl: Remove file.
19874         * scripts/bench.py: New benchmark script.
19875         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19876         * benchtests/README: Mention python dependency.
19877         * scripts/pylintrc: New file.
19878         * scripts/pylint: New file.
19880         * bits/mathdef.h: Use #ifdef instead of #if.
19881         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19882         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19883         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19884         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19885         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19886         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19888 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19889             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19891         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19893         and strpbrk-ppc64 objects.
19894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19895         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19896         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19897         multiarch strpbrk for POWER7.
19898         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19899         multiarch strpbrk for PPC64.
19900         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19901         ifunc selector.
19902         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19903         strpbrk for POWER7.
19905 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19907         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19908         (atan_test): Likewise.
19909         (atanh_test_data): Use NO_TEST_INLINE for two tests.
19910         (atanh_test): Use ALL_RM_TEST.
19911         (atan2_test_data): Likewise.
19912         (cabs_test): Likewise.
19913         (cacosh_test): Likewise.
19914         (carg_test): Likewise.
19915         (casin_test): Likewise.
19916         (casinh_test): Likewise.
19917         (cbrt_test): Likewise.
19918         (csqrt_test): Likewise.
19919         (erf_test): Likewise.
19920         (erfc_test): Likewise.
19921         (pow10_test): Likewise.
19922         (exp2_test): Likewise.
19923         (hypot_test): Likewise.
19924         (j0_test): Likewise.
19925         (j1_test): Likewise.
19926         (lgamma_test): Likewise.
19927         (gamma_test): Likewise.
19928         (sincos_test): Likewise.
19929         (tanh_test): Likewise.
19930         (y0_test): Likewise.
19931         (y1_test): Likewise.
19932         * sysdeps/i386/fpu/libm-test-ulps: Update.
19933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19935 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19937         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19939         and strcspn-ppc64 objects.
19940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19941         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19942         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19943         multiarch strcspn for POWER7.
19944         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19945         multiarch strcspn for PPC64.
19946         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19947         ifunc selector.
19948         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19949         strcspn for POWER7.
19951 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19953         * math/gen-libm-test.pl (generate_testfile): Expect only function
19954         name as argument to AUTO_TESTS_* and pass results for all rounding
19955         modes to parse_args.
19956         (parse_auto_input): Separate inputs of automatic tests from
19957         outputs before storing in %auto_tests.
19958         * math/libm-test.inc (acos_test_data): Update call to
19959         AUTO_TESTS_f_f.
19960         (acos_test): Use ALL_RM_TEST.
19961         (acos_tonearest_test_data): Remove.
19962         (acos_test_tonearest): Likewise.
19963         (acos_towardzero_test_data): Likewise.
19964         (acos_test_towardzero): Likewise.
19965         (acos_downward_test_data): Likewise.
19966         (acos_test_downward): Likewise.
19967         (acos_upward_test_data): Likewise.
19968         (acos_test_upward): Likewise.
19969         (acosh_test_data): Update call to AUTO_TESTS_f_f.
19970         (asin_test_data): Likewise.
19971         (asin_test): Use ALL_RM_TEST.
19972         (asin_tonearest_test_data): Remove.
19973         (asin_test_tonearest): Likewise.
19974         (asin_towardzero_test_data): Likewise.
19975         (asin_test_towardzero): Likewise.
19976         (asin_downward_test_data): Likewise.
19977         (asin_test_downward): Likewise.
19978         (asin_upward_test_data): Likewise.
19979         (asin_test_upward): Likewise.
19980         (asinh_test_data): Update call to AUTO_TESTS_f_f.
19981         (atan_test_data): Likewise.
19982         (atanh_test_data): Likewise.
19983         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19984         (cabs_test_data): Update call to AUTO_TESTS_c_f.
19985         (carg_test_data): Likewise.
19986         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19987         (ccos_test_data): Update call to AUTO_TESTS_c_c.
19988         (ccosh_test_data): Likewise.
19989         (cexp_test_data): Likewise.
19990         (clog_test_data): Likewise.
19991         (clog10_test_data): Likewise.
19992         (cos_test_data): Update call to AUTO_TESTS_f_f.
19993         (cos_test): Use ALL_RM_TEST.
19994         (cos_tonearest_test_data): Remove.
19995         (cos_test_tonearest): Likewise.
19996         (cos_towardzero_test_data): Likewise.
19997         (cos_test_towardzero): Likewise.
19998         (cos_downward_test_data): Likewise.
19999         (cos_test_downward): Likewise.
20000         (cos_upward_test_data): Likewise.
20001         (cos_test_upward): Likewise.
20002         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20003         (cosh_test): Use ALL_RM_TEST.
20004         (cosh_tonearest_test_data): Remove.
20005         (cosh_test_tonearest): Likewise.
20006         (cosh_towardzero_test_data): Likewise.
20007         (cosh_test_towardzero): Likewise.
20008         (cosh_downward_test_data): Likewise.
20009         (cosh_test_downward): Likewise.
20010         (cosh_upward_test_data): Likewise.
20011         (cosh_test_upward): Likewise.
20012         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20013         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20014         (ctan_test_data): Likewise.
20015         (ctan_test): Use ALL_RM_TEST.
20016         (ctan_tonearest_test_data): Remove.
20017         (ctan_test_tonearest): Likewise.
20018         (ctan_towardzero_test_data): Likewise.
20019         (ctan_test_towardzero): Likewise.
20020         (ctan_downward_test_data): Likewise.
20021         (ctan_test_downward): Likewise.
20022         (ctan_upward_test_data): Likewise.
20023         (ctan_test_upward): Likewise.
20024         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20025         (ctanh_test): Use ALL_RM_TEST.
20026         (ctanh_tonearest_test_data): Remove.
20027         (ctanh_test_tonearest): Likewise.
20028         (ctanh_towardzero_test_data): Likewise.
20029         (ctanh_test_towardzero): Likewise.
20030         (ctanh_downward_test_data): Likewise.
20031         (ctanh_test_downward): Likewise.
20032         (ctanh_upward_test_data): Likewise.
20033         (ctanh_test_upward): Likewise.
20034         (erf_test_data): Update call to AUTO_TESTS_f_f.
20035         (erfc_test_data): Likewise.
20036         (exp_test_data): Likewise.
20037         (exp_test): Use ALL_RM_TEST.
20038         (exp_tonearest_test_data): Remove.
20039         (exp_test_tonearest): Likewise.
20040         (exp_towardzero_test_data): Likewise.
20041         (exp_test_towardzero): Likewise.
20042         (exp_downward_test_data): Likewise.
20043         (exp_test_downward): Likewise.
20044         (exp_upward_test_data): Likewise.
20045         (exp_test_upward): Likewise.
20046         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20047         (exp10_test): Use ALL_RM_TEST.
20048         (exp10_tonearest_test_data): Remove.
20049         (exp10_test_tonearest): Likewise.
20050         (exp10_towardzero_test_data): Likewise.
20051         (exp10_test_towardzero): Likewise.
20052         (exp10_downward_test_data): Likewise.
20053         (exp10_test_downward): Likewise.
20054         (exp10_upward_test_data): Likewise.
20055         (exp10_test_upward): Likewise.
20056         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20057         (expm1_test_data): Likewise.
20058         (expm1_test): Use ALL_RM_TEST.
20059         (expm1_tonearest_test_data): Remove.
20060         (expm1_test_tonearest): Likewise.
20061         (expm1_towardzero_test_data): Likewise.
20062         (expm1_test_towardzero): Likewise.
20063         (expm1_downward_test_data): Likewise.
20064         (expm1_test_downward): Likewise.
20065         (expm1_upward_test_data): Likewise.
20066         (expm1_test_upward): Likewise.
20067         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20068         (fma_test): Use ALL_RM_TEST.
20069         (fma_towardzero_test_data): Remove.
20070         (fma_test_towardzero): Likewise.
20071         (fma_downward_test_data): Likewise.
20072         (fma_test_downward): Likewise.
20073         (fma_upward_test_data): Likewise.
20074         (fma_test_upward): Likewise.
20075         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20076         (j0_test_data): Update call to AUTO_TESTS_f_f.
20077         (j1_test_data): Likewise.
20078         (jn_test_data): Update call to AUTO_TESTS_if_f.
20079         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20080         (log_test_data): Update call to AUTO_TESTS_f_f.
20081         (log10_test_data): Likewise.
20082         (log1p_test_data): Likewise.
20083         (log2_test_data): Likewise.
20084         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20085         (pow_tonearest_test_data): Likewise.
20086         (sin_test_data): Update call to AUTO_TESTS_f_f.
20087         (sin_test): Use ALL_RM_TEST.
20088         (sin_tonearest_test_data): Remove.
20089         (sin_test_tonearest): Likewise.
20090         (sin_towardzero_test_data): Likewise.
20091         (sin_test_towardzero): Likewise.
20092         (sin_downward_test_data): Likewise.
20093         (sin_test_downward): Likewise.
20094         (sin_upward_test_data): Likewise.
20095         (sin_test_upward): Likewise.
20096         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20097         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20098         (sinh_test): Use ALL_RM_TEST.
20099         (sinh_tonearest_test_data): Remove.
20100         (sinh_test_tonearest): Likewise.
20101         (sinh_towardzero_test_data): Likewise.
20102         (sinh_test_towardzero): Likewise.
20103         (sinh_downward_test_data): Likewise.
20104         (sinh_test_downward): Likewise.
20105         (sinh_upward_test_data): Likewise.
20106         (sinh_test_upward): Likewise.
20107         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20108         (sqrt_test): Use ALL_RM_TEST.
20109         (sqrt_tonearest_test_data): Remove.
20110         (sqrt_test_tonearest): Likewise.
20111         (sqrt_towardzero_test_data): Likewise.
20112         (sqrt_test_towardzero): Likewise.
20113         (sqrt_downward_test_data): Likewise.
20114         (sqrt_test_downward): Likewise.
20115         (sqrt_upward_test_data): Likewise.
20116         (sqrt_test_upward): Likewise.
20117         (tan_test_data): Update call to AUTO_TESTS_f_f.
20118         (tan_test): Use ALL_RM_TEST.
20119         (tan_tonearest_test_data): Remove.
20120         (tan_test_tonearest): Likewise.
20121         (tan_towardzero_test_data): Likewise.
20122         (tan_test_towardzero): Likewise.
20123         (tan_downward_test_data): Likewise.
20124         (tan_test_downward): Likewise.
20125         (tan_upward_test_data): Likewise.
20126         (tan_test_upward): Likewise.
20127         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20128         (tgamma_test_data): Likewise.
20129         (y0_test_data): Likewise.
20130         (y1_test_data): Likewise.
20131         (yn_test_data): Update call to AUTO_TESTS_if_f.
20132         (main): Do not call removed functions.
20134 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20136         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20137         (ldexp_test_data): Remove.
20138         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20139         scalbn_test_data.
20140         (scalb_test): Use ALL_RM_TEST.
20142 2014-03-19  Andreas Schwab  <schwab@suse.de>
20144         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20146 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20148         [BZ #16649]
20149         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20150         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20151         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20152         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20153         (__ASSUME_PREADV): Undefine.
20154         (__ASSUME_PWRITEV): Likewise.
20156 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20158         * bits/mman-linux.h: Add comment about non-Linux use.
20159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20160         bits/mman-linux.h resting place.
20162         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20163         * bits/mman-linux.h: ... here.
20165 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20167         * conform/conformtest.pl: Add standard definition when calling C
20168         preprocessor on data files.
20169         (checknamespace): Remove unused variable.
20171 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20173         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20174         minus_oflow, plus_uflow and minus_uflow in expected results.
20175         * math/libm-test.inc (scalbn_test_data): Add more tests of
20176         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20177         minus_uflow.
20178         (scalbn_test): Use ALL_RM_TEST.
20179         (scalbln_test_data): Add more tests of negative arguments.  Use
20180         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20181         (scalbln_test): Use ALL_RM_TEST.
20183 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20185         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20187 2014-03-18  Will Newton  <will.newton@linaro.org>
20189         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20190         inaccurate comment.
20192 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20194         * Makerules [!subdir] (check-abi): Exit with error status if a
20195         test failed.
20197 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20199         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20200         for rint.  Include results for all rounding modes.
20201         (nearbyint_test): Use ALL_RM_TEST.
20202         (rint_test_data): Include all tests used for nearbyint.
20204 2014-03-17  Will Newton  <will.newton@linaro.org>
20206         * nptl/sysdeps/pthread/pthread.h: Revert previous
20207         change.
20209         * sysdeps/generic/ldsodefs.h: Revert previous
20210         change.
20212         * libio/genops.c: Revert previous change.
20213         * libio/libioP.h: Likewise.
20214         * stdio-common/vfprintf.c: Likewise.
20216         * sysdeps/generic/math_private.h: Revert previous
20217         change.
20219         * sysdeps/generic/math_private.h: Check whether
20220         HAVE_RM_CTX is defined with #ifdef rather
20221         than #if.
20223         * argp/argp-fmtstream.h: Check whether
20224         __STRICT_ANSI__ is defined with #ifdef rather
20225         than #if.
20226         * argp/argp.h: Likewise.
20228         * libio/genops.c: Check whether
20229         _IO_JUMPS_OFFSET is defined with #ifdef rather
20230         than #if.
20231         * libio/libioP.h: Likewise.
20232         * stdio-common/vfprintf.c: Likewise.
20234         * sysdeps/generic/ldsodefs.h: Check whether
20235         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20236         than #if.
20238         * nptl/sysdeps/pthread/pthread.h: Check
20239         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20240         its value.
20242 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20244         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20245         setting O_APPEND.
20246         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20247         test case.
20249         [BZ #16680]
20250         * libio/fileops.c (_IO_file_open): Seek to end of file but
20251         don't cache the offset.
20252         (get_file_offset): Remove function.
20253         (do_ftell): Use cached offset when available.
20254         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20255         don't cache the offset.
20256         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20257         case.
20258         (do_one_test): Call it.
20259         (do_ftell_test): Fix up expected old offset for a+ mode.
20260         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20261         available.
20263         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20264         up test status with function return status.
20265         (do_write_test): Likewise.
20266         (do_append_test): Likewise.
20268         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20269         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20270         Remove.
20272 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20274         * math/gen-libm-test.pl (parse_args): Handle results specified for
20275         each rounding mode separately.
20276         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20277         tests and results from lrint_tonearest_test_data,
20278         lrint_towardzero_test_data, lrint_downward_test_data and
20279         lrint_upward_test_data.
20280         (lrint_test): Use ALL_RM_TEST.
20281         (lrint_tonearest_test_data): Remove.
20282         (lrint_test_tonearest): Likewise.
20283         (lrint_towardzero_test_data): Likewise.
20284         (lrint_test_towardzero): Likewise.
20285         (lrint_downward_test_data): Likewise.
20286         (lrint_test_downward): Likewise.
20287         (lrint_upward_test_data): Likewise.
20288         (lrint_test_upward): Likewise.
20289         (llrint_test_data): Merge in per-rounding-mode tests and results
20290         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20291         llrint_downward_test_data and llrint_upward_test_data.
20292         (llrint_test): Use ALL_RM_TEST.
20293         (llrint_tonearest_test_data): Remove.
20294         (llrint_test_tonearest): Likewise.
20295         (llrint_towardzero_test_data): Likewise.
20296         (llrint_test_towardzero): Likewise.
20297         (llrint_downward_test_data): Likewise.
20298         (llrint_test_downward): Likewise.
20299         (llrint_upward_test_data): Likewise.
20300         (llrint_test_upward): Likewise.
20301         (rint_test_data): Merge in per-rounding-mode tests and results
20302         from rint_tonearest_test_data, rint_towardzero_test_data,
20303         rint_downward_test_data and rint_upward_test_data.  Add
20304         per-rounding-mode results for tests not in those arrays.
20305         (rint_test): Use ALL_RM_TEST.
20306         (rint_tonearest_test_data): Remove.
20307         (rint_test_tonearest): Likewise.
20308         (rint_towardzero_test_data): Likewise.
20309         (rint_test_towardzero): Likewise.
20310         (rint_downward_test_data): Likewise.
20311         (rint_test_downward): Likewise.
20312         (rint_upward_test_data): Likewise.
20313         (rint_test_upward): Likewise.
20314         (main): Don't call removed functions.
20316 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20318         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20319         "Compiled on ..." crapola.  It is anti-useful.
20321 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20323         * scripts/evaluate-test.sh: Handle fourth argument to determine
20324         whether test run should stop on failure.
20325         * Makeconfig (stop-on-test-failure): New variable.
20326         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20327         $(stop-on-test-failure).
20328         * Makefile (tests): Give a summary of results from testing and
20329         exit with failure status if they include an ERROR or FAIL.
20330         (xtests): Likewise.
20331         * manual/install.texi (Configuring and compiling): Mention
20332         stop-on-test-failure=y.
20333         * INSTALL: Regenerated.
20335 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20337         * scripts/versionlist.awk: New file.
20338         * Makerules [$(build-shared) = yes]
20339         (postclean-generated): Add Versions.def, not Versions.def.v and
20340         Versions.def.v.i.
20341         ($(common-objpfx)Versions.def.v.i): Target removed.
20342         ($(common-objpfx)Versions.def): New target.
20343         ($(common-objpfx)Versions.all): Depend on that rather that
20344         $(common-objpfx)Versions.def.v.
20345         * Versions.def: File removed.
20347         * Makeconfig (+gccwarn): Add -Wundef.
20348         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20349         a dl-sysdep.h breaking its contract.
20350         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20351         * include/stackinfo.h: New file.
20352         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20353         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20354         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20355         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20356         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20357         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20358         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20359         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20360         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20361         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20362         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20363         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20364         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20365         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20366         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20368 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20370         [BZ #16707]
20371         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20372         implementation.
20373         * math/libm-test.inc (round_test_data): Add more tests.
20375         [BZ #16706]
20376         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20377         implementation.
20378         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20380         [BZ #16701]
20381         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20382         implementation.
20383         * math/libm-test.inc (ceil_test_data): Add more tests.
20385         * math/libm-test.inc (trunc_test_data): Add more tests related to
20386         BZ#16414.
20388 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20390         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20391         with #if rather than #ifdef.
20392         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20394 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20396         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20397         first.  Disable AVX-512 GCC support if assembler doesn't support
20398         it.
20399         * sysdeps/x86_64/configure: Regenerated.
20401 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20403         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20404         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20405         (__old_pthread_attr_setstack): Likewise.
20406         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20407         [!_STACK_GROWS_DOWN]: Likewise.
20409 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20411         * config.make.in (have-bash2): Delete.
20412         * configure.ac (libc_cv_have_bash2): Delete.
20413         * configure: Regenerate.
20414         * elf/Makefile (common-ldd-rewrite): Rename to ...
20415         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20416         (sh-ldd-rewrite): Delete.
20417         (bash-ldd-rewrite): Delete.
20418         (have-bash2): Delete checks.
20419         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20420         ldd-rewrite.
20422         * config.make.in (have-ksh): Delete.
20423         (KSH): Delete.
20424         * configure.ac (libc_cv_have_ksh): Delete.
20425         * configure: Regenerate.
20427         * elf/Makefile: Delete $(have-ksh) check.
20428         ($(objpfx)sotruss): Change KSH to BASH.
20429         * elf/sotruss.ksh: Rename to ...
20430         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20431         function style to match POSIX.  Drop ksh vim mode setting.
20433         * manual/time.texi (Specifying the Time Zone with TZ): Change
20434         Tuesday to Thursday.
20436         * debug/tst-longjmp_chk2.c: Update header comment.
20437         (stackoverflow_handler): Add comment.  Call assert on pass value.
20439 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20441         [BZ #16194]
20442         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20443         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20444         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20445         (La_x86_64_vector): Add zmm.
20446         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20447         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20448         ($(objpfx)tst-audit10): New target.
20449         ($(objpfx)tst-audit10.out): Likewise.
20450         (tst-audit10-ENV): New.
20451         (AVX512-CFLAGS): Likewise.
20452         (CFLAGS-tst-audit10.c): Likewise.
20453         (CFLAGS-tst-auditmod10a.c): Likewise.
20454         (CFLAGS-tst-auditmod10b.c): Likewise.
20455         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20456         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20457         * sysdeps/x86_64/configure: Regenerated.
20458         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20459         AVX-512 zmm register support.
20460         (_dl_x86_64_save_sse): Likewise.
20461         (_dl_x86_64_restore_sse): Likewise.
20462         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20463         size vector registers.
20464         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20465         (ZMM_SIZE): Likewise.
20466         * sysdeps/x86_64/tst-audit10.c: New file.
20467         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20468         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20470 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20472         * configure.ac (HAVE_EHDR_START): New check.
20473         * configure: Regenerated.
20474         * config.h.in (HAVE_EHDR_START): New #undef.
20475         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20476         assuming the lowest-addressed segment maps the start of the file.
20478 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20480         * INSTALL: Regenerated.
20482 2014-03-13  Will Newton  <will.newton@linaro.org>
20484         * manual/setjmp.texi (System V contexts): Improve
20485         clarity and grammar of documentation.
20487 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20489         [BZ #16381]
20490         * elf/Makefile (tests): Add tst-pie2.
20491         (tests-pie): Add tst-pie2.
20492         * elf/tst-pie2.c: New file.
20493         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20494         for ET_EXEC.
20495         * elf/rtld.c (map_doit): Load executable as lt_executable.
20496         (dl_main): Likewise.
20498 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20500         [BZ #16642]
20501         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20502         (__ASSUME_PSELECT): Undefine.
20504 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20506         [BZ #16689]
20507         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20508         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20509         static build.
20510         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20511         selector for static builds.
20513 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20515         [BZ #16695]
20516         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20517         key in the buffer.
20519 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20521         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20522         IFUNC selector for static builds.
20524 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
20526         * sysdeps/mips/math_private.h [__mips_hard_float]
20527         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20528         libc_feresetround_mips_ctx.
20529         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20530         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20531         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20533         [BZ #16677]
20534         * math/s_nextafter.c (__nextafter): Do not return value from
20535         overflowing computation.
20536         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20537         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20538         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20539         Likewise.
20540         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20541         Likewise.
20542         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20543         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20545 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20547         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20548         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20549         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20550         the new mov targetting sp.
20552 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20554         [BZ #16683]
20555         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20556         Define it for static builds as well.
20557         (NO_BZERO_IMPL): Likewise.
20559 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20561         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20562         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20563         multiarch strspn for PPC64.
20564         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20565         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20567         (__libc_ifunc_impl_list): Likewise.
20568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20569         multiarch optimizations
20570         * string/strspn.c (strspn): Using macro to redefine symbol name.
20572 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20573             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20575         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20576         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20577         multiarch strncat for PPC64.
20578         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20579         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20581         (__libc_ifunc_impl_list): Likewise.
20582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20583         multiarch optimizations
20585 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20587         [BZ #16639]
20588         * nscd/nscd.service: Make service type forking.
20590 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20592         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20593         sign in non default rounding modes.
20594         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20596 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20598         * math/libm-test.inc (ALL_RM_TEST): New macro.
20599         (ceil_test): Use ALL_RM_TEST.
20600         (cimag_test): Likewise.
20601         (conj_test): Likewise.
20602         (copysign_test): Likewise.
20603         (cproj_test): Likewise.
20604         (creal_test): Likewise.
20605         (fabs_test): Likewise.
20606         (floor_test): Likewise.
20607         (fmax_test): Likewise.
20608         (fmin_test): Likewise.
20609         (fmod_test): Likewise.
20610         (fpclassify_test): Likewise.
20611         (frexp_test): Likewise.
20612         (ilogb_test): Likewise.
20613         (isfinite_test): Likewise.
20614         (finite_test): Likewise.
20615         (isgreater_test): Likewise.
20616         (isgreaterequal_test): Likewise.
20617         (isinf_test): Likewise.
20618         (isless_test): Likewise.
20619         (islessequal_test): Likewise.
20620         (islessgreater_test): Likewise.
20621         (isnan_test): Likewise.
20622         (isnormal_test): Likewise.
20623         (issignaling_test): Likewise.
20624         (isunordered_test): Likewise.
20625         (logb_test): Likewise.
20626         (logb_downward_test_data): Remove.
20627         (logb_test_downward): Likewise.
20628         (lround_test): Use ALL_RM_TEST.
20629         (llround_test): Likewise.
20630         (modf_test): Likewise.
20631         (nexttoward_test): Likewise.
20632         (remainder_test): Likewise.
20633         (drem_test): Likewise.
20634         (remainder_tonearest_test_data): Likewise.
20635         (remainder_test_tonearest): Likewise.
20636         (drem_test_tonearest): Likewise.
20637         (remainder_towardzero_test_data): Likewise.
20638         (remainder_test_towardzero): Likewise.
20639         (drem_test_towardzero): Likewise.
20640         (remainder_downward_test_data): Likewise.
20641         (remainder_test_downward): Likewise.
20642         (drem_test_downward): Likewise.
20643         (remainder_upward_test_data): Likewise.
20644         (remainder_test_upward): Likewise.
20645         (drem_test_upward): Likewise.
20646         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20647         (round_test): Use ALL_RM_TEST.
20648         (signbit_test): Likewise.
20649         (trunc_test): Likewise.
20650         (significand_test): Likewise.
20651         (main): Don't call removed functions.
20653 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20655         [BZ #16674]
20656         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20657         || __USE_XOPEN2K8].
20658         (ILL_ILLOPN): Likewise.
20659         (ILL_ILLADR): Likewise.
20660         (ILL_ILLTRP): Likewise.
20661         (ILL_PRVOPC): Likewise.
20662         (ILL_PRVREG): Likewise.
20663         (ILL_COPROC): Likewise.
20664         (ILL_BADSTK): Likewise.
20665         (FPE_INTDIV): Likewise.
20666         (FPE_INTOVF): Likewise.
20667         (FPE_FLTDIV): Likewise.
20668         (FPE_FLTOVF): Likewise.
20669         (FPE_FLTUND): Likewise.
20670         (FPE_FLTRES): Likewise.
20671         (FPE_FLTINV): Likewise.
20672         (FPE_FLTSUB): Likewise.
20673         (SEGV_MAPERR): Likewise.
20674         (SEGV_ACCERR): Likewise.
20675         (BUS_ADRALN): Likewise.
20676         (BUS_ADRERR): Likewise.
20677         (BUS_OBJERR): Likewise.
20678         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20679         (TRAP_TRACE): Likewise.
20680         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20681         __USE_XOPEN2K8].
20682         (CLD_KILLED): Likewise.
20683         (CLD_DUMPED): Likewise.
20684         (CLD_TRAPPED): Likewise.
20685         (CLD_STOPPED): Likewise.
20686         (CLD_CONTINUED): Likewise.
20687         (POLL_IN): Likewise.
20688         (POLL_OUT): Likewise.
20689         (POLL_MSG): Likewise.
20690         (POLL_ERR): Likewise.
20691         (POLL_PRI): Likewise.
20692         (POLL_HUP): Likewise.
20693         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20694         Likewise.
20695         (ILL_ILLOPN): Likewise.
20696         (ILL_ILLADR): Likewise.
20697         (ILL_ILLTRP): Likewise.
20698         (ILL_PRVOPC): Likewise.
20699         (ILL_PRVREG): Likewise.
20700         (ILL_COPROC): Likewise.
20701         (ILL_BADSTK): Likewise.
20702         (FPE_INTDIV): Likewise.
20703         (FPE_INTOVF): Likewise.
20704         (FPE_FLTDIV): Likewise.
20705         (FPE_FLTOVF): Likewise.
20706         (FPE_FLTUND): Likewise.
20707         (FPE_FLTRES): Likewise.
20708         (FPE_FLTINV): Likewise.
20709         (FPE_FLTSUB): Likewise.
20710         (SEGV_MAPERR): Likewise.
20711         (SEGV_ACCERR): Likewise.
20712         (BUS_ADRALN): Likewise.
20713         (BUS_ADRERR): Likewise.
20714         (BUS_OBJERR): Likewise.
20715         (BUS_MCEERR_AR): Likewise.
20716         (BUS_MCEERR_AO): Likewise.
20717         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20718         (TRAP_TRACE): Likewise.
20719         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20720         __USE_XOPEN2K8].
20721         (CLD_KILLED): Likewise.
20722         (CLD_DUMPED): Likewise.
20723         (CLD_TRAPPED): Likewise.
20724         (CLD_STOPPED): Likewise.
20725         (CLD_CONTINUED): Likewise.
20726         (POLL_IN): Likewise.
20727         (POLL_OUT): Likewise.
20728         (POLL_MSG): Likewise.
20729         (POLL_ERR): Likewise.
20730         (POLL_PRI): Likewise.
20731         (POLL_HUP): Likewise.
20732         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20733         (ILL_ILLOPN): Likewise.
20734         (ILL_ILLADR): Likewise.
20735         (ILL_ILLTRP): Likewise.
20736         (ILL_PRVOPC): Likewise.
20737         (ILL_PRVREG): Likewise.
20738         (ILL_COPROC): Likewise.
20739         (ILL_BADSTK): Likewise.
20740         (FPE_INTDIV): Likewise.
20741         (FPE_INTOVF): Likewise.
20742         (FPE_FLTDIV): Likewise.
20743         (FPE_FLTOVF): Likewise.
20744         (FPE_FLTUND): Likewise.
20745         (FPE_FLTRES): Likewise.
20746         (FPE_FLTINV): Likewise.
20747         (FPE_FLTSUB): Likewise.
20748         (SEGV_MAPERR): Likewise.
20749         (SEGV_ACCERR): Likewise.
20750         (BUS_ADRALN): Likewise.
20751         (BUS_ADRERR): Likewise.
20752         (BUS_OBJERR): Likewise.
20753         (BUS_MCEERR_AR): Likewise.
20754         (BUS_MCEERR_AO): Likewise.
20755         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20756         (TRAP_TRACE): Likewise.
20757         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20758         __USE_XOPEN2K8].
20759         (CLD_KILLED): Likewise.
20760         (CLD_DUMPED): Likewise.
20761         (CLD_TRAPPED): Likewise.
20762         (CLD_STOPPED): Likewise.
20763         (CLD_CONTINUED): Likewise.
20764         (POLL_IN): Likewise.
20765         (POLL_OUT): Likewise.
20766         (POLL_MSG): Likewise.
20767         (POLL_ERR): Likewise.
20768         (POLL_PRI): Likewise.
20769         (POLL_HUP): Likewise.
20770         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20771         Likewise.
20772         (ILL_ILLOPN): Likewise.
20773         (ILL_ILLADR): Likewise.
20774         (ILL_ILLTRP): Likewise.
20775         (ILL_PRVOPC): Likewise.
20776         (ILL_PRVREG): Likewise.
20777         (ILL_COPROC): Likewise.
20778         (ILL_BADSTK): Likewise.
20779         (ILL_BADIADDR): Likewise.
20780         (ILL_BREAK): Likewise.
20781         (FPE_INTDIV): Likewise.
20782         (FPE_INTOVF): Likewise.
20783         (FPE_FLTDIV): Likewise.
20784         (FPE_FLTOVF): Likewise.
20785         (FPE_FLTUND): Likewise.
20786         (FPE_FLTRES): Likewise.
20787         (FPE_FLTINV): Likewise.
20788         (FPE_FLTSUB): Likewise.
20789         (FPE_DECOVF): Likewise.
20790         (FPE_DECDIV): Likewise.
20791         (FPE_DECERR): Likewise.
20792         (FPE_INVASC): Likewise.
20793         (FPE_INVDEC): Likewise.
20794         (SEGV_MAPERR): Likewise.
20795         (SEGV_ACCERR): Likewise.
20796         (SEGV_PSTKOVF): Likewise.
20797         (BUS_ADRALN): Likewise.
20798         (BUS_ADRERR): Likewise.
20799         (BUS_OBJERR): Likewise.
20800         (BUS_MCEERR_AR): Likewise.
20801         (BUS_MCEERR_AO): Likewise.
20802         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20803         (TRAP_TRACE): Likewise.
20804         (TRAP_BRANCH): Likewise.
20805         (TRAP_HWBKPT): Likewise.
20806         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20807         __USE_XOPEN2K8].
20808         (CLD_KILLED): Likewise.
20809         (CLD_DUMPED): Likewise.
20810         (CLD_TRAPPED): Likewise.
20811         (CLD_STOPPED): Likewise.
20812         (CLD_CONTINUED): Likewise.
20813         (POLL_IN): Likewise.
20814         (POLL_OUT): Likewise.
20815         (POLL_MSG): Likewise.
20816         (POLL_ERR): Likewise.
20817         (POLL_PRI): Likewise.
20818         (POLL_HUP): Likewise.
20819         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20820         (ILL_ILLOPN): Likewise.
20821         (ILL_ILLADR): Likewise.
20822         (ILL_ILLTRP): Likewise.
20823         (ILL_PRVOPC): Likewise.
20824         (ILL_PRVREG): Likewise.
20825         (ILL_COPROC): Likewise.
20826         (ILL_BADSTK): Likewise.
20827         (FPE_INTDIV): Likewise.
20828         (FPE_INTOVF): Likewise.
20829         (FPE_FLTDIV): Likewise.
20830         (FPE_FLTOVF): Likewise.
20831         (FPE_FLTUND): Likewise.
20832         (FPE_FLTRES): Likewise.
20833         (FPE_FLTINV): Likewise.
20834         (FPE_FLTSUB): Likewise.
20835         (SEGV_MAPERR): Likewise.
20836         (SEGV_ACCERR): Likewise.
20837         (BUS_ADRALN): Likewise.
20838         (BUS_ADRERR): Likewise.
20839         (BUS_OBJERR): Likewise.
20840         (BUS_MCEERR_AR): Likewise.
20841         (BUS_MCEERR_AO): Likewise.
20842         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20843         (TRAP_TRACE): Likewise.
20844         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20845         __USE_XOPEN2K8].
20846         (CLD_KILLED): Likewise.
20847         (CLD_DUMPED): Likewise.
20848         (CLD_TRAPPED): Likewise.
20849         (CLD_STOPPED): Likewise.
20850         (CLD_CONTINUED): Likewise.
20851         (POLL_IN): Likewise.
20852         (POLL_OUT): Likewise.
20853         (POLL_MSG): Likewise.
20854         (POLL_ERR): Likewise.
20855         (POLL_PRI): Likewise.
20856         (POLL_HUP): Likewise.
20857         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20858         (ILL_ILLOPN): Likewise.
20859         (ILL_ILLADR): Likewise.
20860         (ILL_ILLTRP): Likewise.
20861         (ILL_PRVOPC): Likewise.
20862         (ILL_PRVREG): Likewise.
20863         (ILL_COPROC): Likewise.
20864         (ILL_BADSTK): Likewise.
20865         (FPE_INTDIV): Likewise.
20866         (FPE_INTOVF): Likewise.
20867         (FPE_FLTDIV): Likewise.
20868         (FPE_FLTOVF): Likewise.
20869         (FPE_FLTUND): Likewise.
20870         (FPE_FLTRES): Likewise.
20871         (FPE_FLTINV): Likewise.
20872         (FPE_FLTSUB): Likewise.
20873         (SEGV_MAPERR): Likewise.
20874         (SEGV_ACCERR): Likewise.
20875         (BUS_ADRALN): Likewise.
20876         (BUS_ADRERR): Likewise.
20877         (BUS_OBJERR): Likewise.
20878         (BUS_MCEERR_AR): Likewise.
20879         (BUS_MCEERR_AO): Likewise.
20880         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20881         (TRAP_TRACE): Likewise.
20882         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20883         __USE_XOPEN2K8].
20884         (CLD_KILLED): Likewise.
20885         (CLD_DUMPED): Likewise.
20886         (CLD_TRAPPED): Likewise.
20887         (CLD_STOPPED): Likewise.
20888         (CLD_CONTINUED): Likewise.
20889         (POLL_IN): Likewise.
20890         (POLL_OUT): Likewise.
20891         (POLL_MSG): Likewise.
20892         (POLL_ERR): Likewise.
20893         (POLL_PRI): Likewise.
20894         (POLL_HUP): Likewise.
20895         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20896         (ILL_ILLOPN): Likewise.
20897         (ILL_ILLADR): Likewise.
20898         (ILL_ILLTRP): Likewise.
20899         (ILL_PRVOPC): Likewise.
20900         (ILL_PRVREG): Likewise.
20901         (ILL_COPROC): Likewise.
20902         (ILL_BADSTK): Likewise.
20903         (FPE_INTDIV): Likewise.
20904         (FPE_INTOVF): Likewise.
20905         (FPE_FLTDIV): Likewise.
20906         (FPE_FLTOVF): Likewise.
20907         (FPE_FLTUND): Likewise.
20908         (FPE_FLTRES): Likewise.
20909         (FPE_FLTINV): Likewise.
20910         (FPE_FLTSUB): Likewise.
20911         (SEGV_MAPERR): Likewise.
20912         (SEGV_ACCERR): Likewise.
20913         (BUS_ADRALN): Likewise.
20914         (BUS_ADRERR): Likewise.
20915         (BUS_OBJERR): Likewise.
20916         (BUS_MCEERR_AR): Likewise.
20917         (BUS_MCEERR_AO): Likewise.
20918         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20919         (TRAP_TRACE): Likewise.
20920         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20921         __USE_XOPEN2K8].
20922         (CLD_KILLED): Likewise.
20923         (CLD_DUMPED): Likewise.
20924         (CLD_TRAPPED): Likewise.
20925         (CLD_STOPPED): Likewise.
20926         (CLD_CONTINUED): Likewise.
20927         (POLL_IN): Likewise.
20928         (POLL_OUT): Likewise.
20929         (POLL_MSG): Likewise.
20930         (POLL_ERR): Likewise.
20931         (POLL_PRI): Likewise.
20932         (POLL_HUP): Likewise.
20933         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20934         (ILL_ILLOPN): Likewise.
20935         (ILL_ILLADR): Likewise.
20936         (ILL_ILLTRP): Likewise.
20937         (ILL_PRVOPC): Likewise.
20938         (ILL_PRVREG): Likewise.
20939         (ILL_COPROC): Likewise.
20940         (ILL_BADSTK): Likewise.
20941         (ILL_DBLFLT): Likewise.
20942         (ILL_HARDWALL): Likewise.
20943         (FPE_INTDIV): Likewise.
20944         (FPE_INTOVF): Likewise.
20945         (FPE_FLTDIV): Likewise.
20946         (FPE_FLTOVF): Likewise.
20947         (FPE_FLTUND): Likewise.
20948         (FPE_FLTRES): Likewise.
20949         (FPE_FLTINV): Likewise.
20950         (FPE_FLTSUB): Likewise.
20951         (SEGV_MAPERR): Likewise.
20952         (SEGV_ACCERR): Likewise.
20953         (BUS_ADRALN): Likewise.
20954         (BUS_ADRERR): Likewise.
20955         (BUS_OBJERR): Likewise.
20956         (BUS_MCEERR_AR): Likewise.
20957         (BUS_MCEERR_AO): Likewise.
20958         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20959         (TRAP_TRACE): Likewise.
20960         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20961         __USE_XOPEN2K8].
20962         (CLD_KILLED): Likewise.
20963         (CLD_DUMPED): Likewise.
20964         (CLD_TRAPPED): Likewise.
20965         (CLD_STOPPED): Likewise.
20966         (CLD_CONTINUED): Likewise.
20967         (POLL_IN): Likewise.
20968         (POLL_OUT): Likewise.
20969         (POLL_MSG): Likewise.
20970         (POLL_ERR): Likewise.
20971         (POLL_PRI): Likewise.
20972         (POLL_HUP): Likewise.
20973         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20974         (ILL_ILLOPN): Likewise.
20975         (ILL_ILLADR): Likewise.
20976         (ILL_ILLTRP): Likewise.
20977         (ILL_PRVOPC): Likewise.
20978         (ILL_PRVREG): Likewise.
20979         (ILL_COPROC): Likewise.
20980         (ILL_BADSTK): Likewise.
20981         (FPE_INTDIV): Likewise.
20982         (FPE_INTOVF): Likewise.
20983         (FPE_FLTDIV): Likewise.
20984         (FPE_FLTOVF): Likewise.
20985         (FPE_FLTUND): Likewise.
20986         (FPE_FLTRES): Likewise.
20987         (FPE_FLTINV): Likewise.
20988         (FPE_FLTSUB): Likewise.
20989         (SEGV_MAPERR): Likewise.
20990         (SEGV_ACCERR): Likewise.
20991         (BUS_ADRALN): Likewise.
20992         (BUS_ADRERR): Likewise.
20993         (BUS_OBJERR): Likewise.
20994         (BUS_MCEERR_AR): Likewise.
20995         (BUS_MCEERR_AO): Likewise.
20996         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20997         (TRAP_TRACE): Likewise.
20998         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20999         __USE_XOPEN2K8].
21000         (CLD_KILLED): Likewise.
21001         (CLD_DUMPED): Likewise.
21002         (CLD_TRAPPED): Likewise.
21003         (CLD_STOPPED): Likewise.
21004         (CLD_CONTINUED): Likewise.
21005         (POLL_IN): Likewise.
21006         (POLL_OUT): Likewise.
21007         (POLL_MSG): Likewise.
21008         (POLL_ERR): Likewise.
21009         (POLL_PRI): Likewise.
21010         (POLL_HUP): Likewise.
21011         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21012         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21014         [BZ #16670]
21015         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21016         before #include of <time.h>.
21017         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21018         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21019         (test-xfail-UNIX98/sched.h/conform): Likewise.
21021 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21023         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21024         error absence of trapping exception support.
21025         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21027 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21029         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21030         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21031         * timezone/Makefile (testdata): Move definition above include of
21032         Rules.
21033         (test-zones): New variable.
21034         (tests-special): Add zone files.
21035         (build-testdata): Use $(evaluate-test).
21037         * elf/Makefile (tests-special): Rename tests to end with .out.
21038         ($(objpfx)noload-mem): Likewise.
21039         ($(objpfx)tst-leaks1-mem): Likewise.
21040         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21041         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21042         $(objpfx)test-iconvconfig.out.
21043         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21044         set -e inside subshell and redirect output to file.
21045         * iconvdata/Makefile (generated): Rename tests to end with .out.
21046         Correct type.
21047         (tests-special): Rename tests to end with .out.
21048         ($(objpfx)mtrace-tst-loading): Likewise.
21049         * intl/Makefile (generated): Likewise.
21050         (tests-special): Likewise.
21051         ($(objpfx)mtrace-tst-gettext): Likewise.
21052         * misc/Makefile (generated): Likewise.
21053         (tests-special): Likewise.
21054         ($(objpfx)tst-error1-mem): Likewise.
21055         * nptl/Makefile (tests-special): Likewise.
21056         ($(objpfx)tst-stack3-mem): Likewise.
21057         (generated): Likewise.
21058         * posix/Makefile (generated): Likewise.
21059         (tests-special): Likewise.
21060         (xtests-special): Likewise.
21061         ($(objpfx)tst-fnmatch-mem): Likewise.
21062         ($(objpfx)bug-regex2-mem): Likewise.
21063         ($(objpfx)bug-regex14-mem): Likewise.
21064         ($(objpfx)bug-regex21-mem): Likewise.
21065         ($(objpfx)bug-regex31-mem): Likewise.
21066         ($(objpfx)tst-vfork3-mem): Likewise.
21067         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21068         ($(objpfx)tst-pcre-mem): Likewise.
21069         ($(objpfx)tst-boost-mem): Likewise.
21070         ($(objpfx)bug-ga2-mem): Likewise.
21071         ($(objpfx)bug-glob2-mem): Likewise.
21072         * resolv/Makefile (generate): Likewise.
21073         (tests-special): Likewise.
21074         (xtests-special): Likewise.
21075         (generated): Likewise.
21076         ($(objpfx)mtrace-tst-leaks): Likewise.
21077         ($(objpfx)mtrace-tst-leaks2): Likewise.
21079         * scripts/merge-test-results.sh: New file.
21080         * Makefile (tests-special-notdir): New variable.
21081         (tests): Run merge-test-results.sh.
21082         (xtests): Likewise.
21083         * Rules (tests-special-notdir): New variable.
21084         (xtests-special-notdir): Likewise.
21085         (tests): Run merge-test-results.sh
21086         (xtests): Likewise.
21088         * Makeconfig (test-xfail-name): New variable.
21089         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21090         compute variable name for expected failures.
21091         * conform/Makefile (conformtest-headers-data): New variable.
21092         (conformtest-standards): Likewise.
21093         (conformtest-headers-ISO): Likewise.
21094         (conformtest-headers-ISO99): Likewise.
21095         (conformtest-headers-ISO11): Likewise.
21096         (conformtest-headers-POSIX): Likewise.
21097         (conformtest-headers-XPG3): Likewise.
21098         (conformtest-headers-XPG4): Likewise.
21099         (conformtest-headers-UNIX98): Likewise.
21100         (conformtest-headers-XOPEN2K): Likewise.
21101         (conformtest-headers-POSIX2008): Likewise.
21102         (conformtest-headers-XOPEN2K8): Likewise.
21103         (conformtest-header-list-base): Likewise.
21104         (conformtest-header-list-tests): Likewise.
21105         (conformtest-header-base): Likewise.
21106         (conformtest-header-tests): Likewise.
21107         (tests-special): Add $(conformtest-header-list-tests).  If
21108         [$(fast-check) && !$(cross-compiling)], add
21109         $(conformtest-header-tests) instead of
21110         $(objpfx)run-conformtest.out.
21111         (generated): Add $(conformtest-header-list-base).  If
21112         [$(fast-check) && !$(cross-compiling)], add
21113         $(conformtest-header-base).  Remove previous setting.
21114         ($(conformtest-header-list-tests)): New target.
21115         (test-xfail-run-conformtest): Remove variable.
21116         ($(objpfx)run-conformtest.out): Remove target.
21117         (test-xfail-ISO11/complex.h/conform): New variable.
21118         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21119         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21120         (test-xfail-XPG3/varargs.h/conform): Likewise.
21121         (test-xfail-XPG4/varargs.h/conform): Likewise.
21122         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21123         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21124         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21125         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21126         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21127         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21128         (test-xfail-XPG3/ftw.h/conform): Likewise.
21129         (test-xfail-XPG3/grp.h/conform): Likewise.
21130         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21131         (test-xfail-XPG3/limits.h/conform): Likewise.
21132         (test-xfail-XPG3/pwd.h/conform): Likewise.
21133         (test-xfail-XPG3/search.h/conform): Likewise.
21134         (test-xfail-XPG3/signal.h/conform): Likewise.
21135         (test-xfail-XPG3/stdio.h/conform): Likewise.
21136         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21137         (test-xfail-XPG3/string.h/conform): Likewise.
21138         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21139         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21140         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21141         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21142         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21143         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21144         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21145         (test-xfail-XPG3/termios.h/conform): Likewise.
21146         (test-xfail-XPG3/time.h/conform): Likewise.
21147         (test-xfail-XPG3/unistd.h/conform): Likewise.
21148         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21149         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21150         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21151         (test-xfail-XPG4/netdb.h/conform): Likewise.
21152         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21153         (test-xfail-XPG4/signal.h/conform): Likewise.
21154         (test-xfail-XPG4/stdio.h/conform): Likewise.
21155         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21156         (test-xfail-XPG4/stropts.h/conform): Likewise.
21157         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21158         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21159         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21160         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21161         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21162         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21163         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21164         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21165         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21166         (test-xfail-XPG4/termios.h/conform): Likewise.
21167         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21168         (test-xfail-XPG4/unistd.h/conform): Likewise.
21169         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21170         (test-xfail-POSIX/sched.h/conform): Likewise.
21171         (test-xfail-POSIX/signal.h/conform): Likewise.
21172         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21173         (test-xfail-POSIX/tar.h/conform): Likewise.
21174         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21175         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21176         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21177         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21178         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21179         (test-xfail-UNIX98/sched.h/conform): Likewise.
21180         (test-xfail-UNIX98/signal.h/conform): Likewise.
21181         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21182         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21183         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21184         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21185         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21186         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21187         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21188         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21189         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21190         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21191         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21192         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21193         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21194         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21195         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21196         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21197         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21198         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21199         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21200         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21201         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21202         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21203         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21204         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21205         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21206         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21207         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21208         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21209         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21210         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21211         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21212         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21213         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21214         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21215         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21216         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21217         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21218         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21219         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21220         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21221         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21222         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21223         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21224         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21225         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21226         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21227         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21228         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21229         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21230         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21231         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21232         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21233         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21234         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21235         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21236         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21237         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21238         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21239         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21240         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21241         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21242         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21243         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21244         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21245         (conformtest-cc-flags): Likewise.
21246         ($(conformtest-header-tests): New target.
21247         * conform/check-header-lists.sh: New file.
21248         * conform/run-conformtest.sh: Remove.
21250         * conform/conformtest.pl: Allow ' and \ in values given for
21251         constants.
21252         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21253         inclusion.
21254         [POSIX] (sys/types.h): Likewise.
21255         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21256         inclusion.
21257         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21258         inclusion.
21259         * conform/data/signal.h-data (SIGIO): Remove expectation.
21260         [XPG3] (SIGBUS): Do not expect.
21261         [POSIX || XPG3] (SIGPOLL): Likewise.
21262         [POSIX || XPG3] (SIGPROF): Likewise.
21263         [POSIX || XPG3] (SIGSYS): Likewise.
21264         [XPG3] (SIGTRAP): Likewise.
21265         [POSIX || XPG3] (SIGURG): Likewise.
21266         [POSIX || XPG3] (SIGVTALRM): Likewise.
21267         [POSIX || XPG3] (SIGXCPU): Likewise.
21268         [POSIX || XPG3] (SIGXFSZ): Likewise.
21269         [POSIX] (SA_SIGINFO): Expect.
21270         [XPG3] (siginfo_t): Do not expect type or contents.
21271         [POSIX] (si_pid): Do not expect element.
21272         [POSIX] (si_uid): Likewise.
21273         [POSIX] (si_addr): Likewise.
21274         [POSIX] (si_status): Likewise.
21275         [POSIX] (si_band): Likewise.
21276         [XPG4] (si_value): Likewise.
21277         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21278         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21279         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21280         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21281         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21282         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21283         [POSIX || XPG3] (ILL_COPROC): Likewise.
21284         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21285         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21286         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21287         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21288         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21289         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21290         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21291         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21292         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21293         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21294         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21295         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21296         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21297         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21298         [POSIX || XPG3] (CLD_EXITED): Likewise.
21299         [POSIX || XPG3] (CLD_KILLED): Likewise.
21300         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21301         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21302         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21303         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21304         [POSIX || XPG3] (POLL_IN): Likewise.
21305         [POSIX || XPG3] (POLL_OUT): Likewise.
21306         [POSIX || XPG3] (POLL_MSG): Likewise.
21307         [POSIX || XPG3] (POLL_ERR): Likewise.
21308         [POSIX || XPG3] (POLL_PRI): Likewise.
21309         [POSIX || XPG3] (POLL_HUP): Likewise.
21310         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21311         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21312         (SIG*): Do not allow.
21313         [XPG3] (si_*): Likewise.
21314         [XPG3] (SI_*): Likewise.
21315         [XPG3 || XPG4] (sigev_*): Likewise.
21316         [XPG3 || XPG4] (SIGEV_*): Likewise.
21317         [XPG3 || XPG4] (sival_*): Likewise.
21318         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21319         [POSIX || XPG3] (BUS_*): Likewise.
21320         [POSIX || XPG3] (CLD_*): Likewise.
21321         [POSIX || XPG3] (FPE_*): Likewise.
21322         [POSIX || XPG3] (ILL_*): Likewise.
21323         [POSIX || XPG3] (POLL_*): Likewise.
21324         [POSIX || XPG3] (SEGV_*): Likewise.
21325         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21326         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21327         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21328         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21329         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21330         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21331         Specify type and value.
21332         (TVERSLEN): Likewise.
21333         (REGTYPE): Likewise.
21334         (AREGTYPE): Likewise.
21335         (LNKTYPE): Likewise.
21336         (SYMTYPE): Likewise.
21337         (CHRTYPE): Likewise.
21338         (BLKTYPE): Likewise.
21339         (DIRTYPE): Likewise.
21340         (FIFOTYPE): Likewise.
21341         (CONTTYPE): Likewise.
21342         (TSUID): Likewise.
21343         (TSGID): Likewise.
21344         (TSVTX): Likewise.
21345         (TUREAD): Likewise.
21346         (TUWRITE): Likewise.
21347         (TUEXEC): Likewise.
21348         (TGREAD): Likewise.
21349         (TGWRITE): Likewise.
21350         (TGEXEC): Likewise.
21351         (TOREAD): Likewise.
21352         (TOWRITE): Likewise.
21353         (TOEXEC): Likewise.
21354         [POSIX] (TSVTX): Expect constant.
21356 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21358         * Makefile (tests): Change dependencies to ....
21359         (tests-special): ... additions to this variable.
21360         (tests): Depend on $(tests-special).
21361         * Makerules (check-abi-list): New variable.
21362         (check-abi): Depend on $(check-abi-list).
21363         [$(subdir) = elf] (tests-special): Add
21364         $(objpfx)check-abi-libc.out.
21365         [$(build-shared) = yes && subdir] (tests-special): Add
21366         $(check-abi-list).
21367         [$(build-shared) = yes && subdir] (tests): Do not depend on
21368         check-abi.
21369         * Rules (tests): Depend on $(tests-special).
21370         (xtests): Depend on $(xtests-special).
21371         * catgets/Makefile (tests): Change dependencies to ....
21372         (tests-special): ... additions to this variable.
21373         * conform/Makefile (tests): Change dependencies to ....
21374         (tests-special): ... additions to this variable.
21375         * elf/Makefile (tests): Change dependencies to ....
21376         (tests-special): ... additions to this variable.
21377         * grp/Makefile (tests): Change dependencies to ....
21378         (tests-special): ... additions to this variable.
21379         * iconv/Makefile (xtests): Change dependencies to ....
21380         (xtests-special): ... additions to this variable.
21381         * iconvdata/Makefile (tests): Change dependencies to ....
21382         (tests-special): ... additions to this variable.
21383         * intl/Makefile (tests): Change dependencies to ....
21384         (tests-special): ... additions to this variable.  Also add
21385         $(objpfx)tst-gettext.out.
21386         * io/Makefile (tests): Change dependencies to ....
21387         (tests-special): ... additions to this variable.
21388         * libio/Makefile (tests): Change dependencies to ....
21389         (tests-special): ... additions to this variable.
21390         * malloc/Makefile (tests): Change dependencies to ....
21391         (tests-special): ... additions to this variable.
21392         * misc/Makefile (tests): Change dependencies to ....
21393         (tests-special): ... additions to this variable.
21394         * nptl/Makefile (tests): Change dependencies to ....
21395         (tests-special): ... additions to this variable.
21396         * nptl_db/Makefile (tests): Change dependencies to ....
21397         (tests-special): ... additions to this variable.
21398         * posix/Makefile (tests): Change dependencies to ....
21399         (tests-special): ... additions to this variable.
21400         (xtests): Change dependencies to ....
21401         (xtests-special): ... additions to this variable.
21402         * resolv/Makefile (tests): Change dependencies to ....
21403         (tests-special): ... additions to this variable.
21404         (xtests): Change dependencies to ....
21405         (xtests-special): ... additions to this variable.
21406         * stdio-common/Makefile (tests): Change dependencies to ....
21407         (tests-special): ... additions to this variable.
21408         (do-tst-unbputc): Remove target.
21409         (do-tst-printf): Likewise.
21410         * stdlib/Makefile (tests): Change dependencies to ....
21411         (tests-special): ... additions to this variable.
21412         * string/Makefile (tests): Change dependencies to ....
21413         (tests-special): ... additions to this variable.
21414         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21415         (tests-special): ... additions to this variable.
21417         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21418         whole file.
21419         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21420         whole file.
21421         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21422         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21424         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21425         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21426         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21427         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21428         * conform/data/libgen.h-data [XPG3]: Likewise.
21429         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21430         * conform/data/ndbm.h-data [XPG3]: Likewise.
21431         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21432         * conform/data/netdb.h-data [XPG3]: Likewise.
21433         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21434         * conform/data/poll.h-data [XPG3]: Likewise.
21435         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21436         * conform/data/strings.h-data [XPG3]: Likewise.
21437         * conform/data/stropts.h-data [XPG3]: Likewise.
21438         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21439         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21440         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21441         Likewise.
21442         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21443         * conform/data/sys/time.h-data [XPG3]: Likewise.
21444         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21445         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21446         * conform/data/sys/un.h-data [XPG3]: Likewise.
21447         * conform/data/syslog.h-data [XPG3]: Likewise.
21448         * conform/data/ucontext.h-data [XPG3]: Likewise.
21449         * conform/data/utmpx.h-data [XPG3]: Likewise.
21450         * conform/data/varargs.h-data [UNIX98]: Enable file.
21452         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21454         * math/libm-test.inc (struct test_f_f_data): Move expected results
21455         into structure for each rounding mode.
21456         (struct test_ff_f_data): Likewise.
21457         (struct test_ff_f_data_nexttoward): Likewise.
21458         (struct test_fi_f_data): Likewise.
21459         (struct test_fl_f_data): Likewise.
21460         (struct test_if_f_data): Likewise.
21461         (struct test_fff_f_data): Likewise.
21462         (struct test_c_f_data): Likewise.
21463         (struct test_f_f1_data): Likewise.
21464         (struct test_fF_f1_data): Likewise.
21465         (struct test_ffI_f1_data): Likewise.
21466         (struct test_c_c_data): Likewise.
21467         (struct test_cc_c_data): Likewise.
21468         (struct test_f_i_data): Likewise.
21469         (struct test_ff_i_data): Likewise.
21470         (struct test_f_l_data): Likewise.
21471         (struct test_f_L_data): Likewise.
21472         (struct test_fFF_11_data): Likewise.
21473         (RM_): New macro.
21474         (RM_FE_DOWNWARD): Likewise.
21475         (RM_FE_TONEAREST): Likewise.
21476         (RM_FE_TOWARDZERO): Likewise.
21477         (RM_FE_UPWARD): Likewise.
21478         (RUN_TEST_LOOP_f_f): Update references to expected results.
21479         (RUN_TEST_LOOP_2_f): Likewise.
21480         (RUN_TEST_LOOP_fff_f): Likewise.
21481         (RUN_TEST_LOOP_c_f): Likewise.
21482         (RUN_TEST_LOOP_f_f1): Likewise.
21483         (RUN_TEST_LOOP_fF_f1): Likewise.
21484         (RUN_TEST_LOOP_fI_f1): Likewise.
21485         (RUN_TEST_LOOP_ffI_f1): Likewise.
21486         (RUN_TEST_LOOP_c_c): Likewise.
21487         (RUN_TEST_LOOP_cc_c): Likewise.
21488         (RUN_TEST_LOOP_f_i): Likewise.
21489         (RUN_TEST_LOOP_f_i_tg): Likewise.
21490         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21491         (RUN_TEST_LOOP_f_b): Likewise.
21492         (RUN_TEST_LOOP_f_b_tg): Likewise.
21493         (RUN_TEST_LOOP_f_l): Likewise.
21494         (RUN_TEST_LOOP_f_L): Likewise.
21495         (RUN_TEST_LOOP_fFF_11): Likewise.
21496         * math/gen-libm-test.pl (parse_args): Output four copies of
21497         expected results for each test.
21499         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21500         (__ASSUME_UTIMES): Remove.
21501         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21502         (__ASSUME_UTIMES): Likewise.
21504         * math/gen-auto-libm-tests.c: Update comment on output format.
21505         (output_for_one_input_case): Generate before-rounding and
21506         after-rounding information as conditions on output flags not
21507         floating-point format.
21508         * math/auto-libm-test-out: Regenerated.
21509         * math/gen-libm-test.pl (cond_value): New function.
21510         (or_cond_value): Use cond_value.
21511         (generate_testfile): Handle conditional exceptions.
21513 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21515         * math/libm-test.inc (max_valid_error): New variable.
21516         (init_max_error): Take new argument specifying whether function
21517         results are exactly determined.  Set max_valid_error and bound
21518         other variables for errors based on this argument.
21519         (set_max_error): Do not record results above max_valid_error.
21520         (check_float_internal): Only accept errors of up to 0.5ulps if
21521         also at most max_valid_error.
21522         (START): Take new argument EXACT and pass it to init_max_error.
21523         (acos_test): Update call to START.
21524         (acos_test_tonearest): Likewise.
21525         (acos_test_towardzero): Likewise.
21526         (acos_test_downward): Likewise.
21527         (acos_test_upward): Likewise.
21528         (acosh_test): Likewise.
21529         (asin_test): Likewise.
21530         (asin_test_tonearest): Likewise.
21531         (asin_test_towardzero): Likewise.
21532         (asin_test_downward): Likewise.
21533         (asin_test_upward): Likewise.
21534         (asinh_test): Likewise.
21535         (atan_test): Likewise.
21536         (atanh_test): Likewise.
21537         (atan2_test): Likewise.
21538         (cabs_test): Likewise.
21539         (cacos_test): Likewise.
21540         (cacosh_test): Likewise.
21541         (carg_test): Likewise.
21542         (casin_test): Likewise.
21543         (casinh_test): Likewise.
21544         (catan_test): Likewise.
21545         (catanh_test): Likewise.
21546         (cbrt_test): Likewise.
21547         (ccos_test): Likewise.
21548         (ccosh_test): Likewise.
21549         (ceil_test): Likewise.
21550         (cexp_test): Likewise.
21551         (cimag_test): Likewise.
21552         (clog_test): Likewise.
21553         (clog10_test): Likewise.
21554         (conj_test): Likewise.
21555         (copysign_test): Likewise.
21556         (cos_test): Likewise.
21557         (cos_test_tonearest): Likewise.
21558         (cos_test_towardzero): Likewise.
21559         (cos_test_downward): Likewise.
21560         (cos_test_upward): Likewise.
21561         (cosh_test): Likewise.
21562         (cosh_test_tonearest): Likewise.
21563         (cosh_test_towardzero): Likewise.
21564         (cosh_test_downward): Likewise.
21565         (cosh_test_upward): Likewise.
21566         (cpow_test): Likewise.
21567         (cproj_test): Likewise.
21568         (creal_test): Likewise.
21569         (csin_test): Likewise.
21570         (csinh_test): Likewise.
21571         (csqrt_test): Likewise.
21572         (ctan_test): Likewise.
21573         (ctan_test_tonearest): Likewise.
21574         (ctan_test_towardzero): Likewise.
21575         (ctan_test_downward): Likewise.
21576         (ctan_test_upward): Likewise.
21577         (ctanh_test): Likewise.
21578         (ctanh_test_tonearest): Likewise.
21579         (ctanh_test_towardzero): Likewise.
21580         (ctanh_test_downward): Likewise.
21581         (ctanh_test_upward): Likewise.
21582         (erf_test): Likewise.
21583         (erfc_test): Likewise.
21584         (exp_test): Likewise.
21585         (exp_test_tonearest): Likewise.
21586         (exp_test_towardzero): Likewise.
21587         (exp_test_downward): Likewise.
21588         (exp_test_upward): Likewise.
21589         (exp10_test): Likewise.
21590         (exp10_test_tonearest): Likewise.
21591         (exp10_test_towardzero): Likewise.
21592         (exp10_test_downward): Likewise.
21593         (exp10_test_upward): Likewise.
21594         (pow10_test): Likewise.
21595         (exp2_test): Likewise.
21596         (expm1_test): Likewise.
21597         (expm1_test_tonearest): Likewise.
21598         (expm1_test_towardzero): Likewise.
21599         (expm1_test_downward): Likewise.
21600         (expm1_test_upward): Likewise.
21601         (fabs_test): Likewise.
21602         (fdim_test): Likewise.
21603         (floor_test): Likewise.
21604         (fma_test): Likewise.
21605         (fma_test_towardzero): Likewise.
21606         (fma_test_downward): Likewise.
21607         (fma_test_upward): Likewise.
21608         (fmax_test): Likewise.
21609         (fmin_test): Likewise.
21610         (fmod_test): Likewise.
21611         (fpclassify_test): Likewise.
21612         (frexp_test): Likewise.
21613         (hypot_test): Likewise.
21614         (ilogb_test): Likewise.
21615         (isfinite_test): Likewise.
21616         (finite_test): Likewise.
21617         (isgreater_test): Likewise.
21618         (isgreaterequal_test): Likewise.
21619         (isinf_test): Likewise.
21620         (isless_test): Likewise.
21621         (islessequal_test): Likewise.
21622         (islessgreater_test): Likewise.
21623         (isnan_test): Likewise.
21624         (isnormal_test): Likewise.
21625         (issignaling_test): Likewise.
21626         (isunordered_test): Likewise.
21627         (j0_test): Likewise.
21628         (j1_test): Likewise.
21629         (jn_test): Likewise.
21630         (ldexp_test): Likewise.
21631         (lgamma_test): Likewise.
21632         (gamma_test): Likewise.
21633         (lrint_test): Likewise.
21634         (lrint_test_tonearest): Likewise.
21635         (lrint_test_towardzero): Likewise.
21636         (lrint_test_downward): Likewise.
21637         (lrint_test_upward): Likewise.
21638         (llrint_test): Likewise.
21639         (llrint_test_tonearest): Likewise.
21640         (llrint_test_towardzero): Likewise.
21641         (llrint_test_downward): Likewise.
21642         (llrint_test_upward): Likewise.
21643         (log_test): Likewise.
21644         (log10_test): Likewise.
21645         (log1p_test): Likewise.
21646         (log2_test): Likewise.
21647         (logb_test): Likewise.
21648         (logb_test_downward): Likewise.
21649         (lround_test): Likewise.
21650         (llround_test): Likewise.
21651         (modf_test): Likewise.
21652         (nearbyint_test): Likewise.
21653         (nextafter_test): Likewise.
21654         (nexttoward_test): Likewise.
21655         (pow_test): Likewise.
21656         (pow_test_tonearest): Likewise.
21657         (pow_test_towardzero): Likewise.
21658         (pow_test_downward): Likewise.
21659         (pow_test_upward): Likewise.
21660         (remainder_test): Likewise.
21661         (drem_test): Likewise.
21662         (remainder_test_tonearest): Likewise.
21663         (drem_test_tonearest): Likewise.
21664         (remainder_test_towardzero): Likewise.
21665         (drem_test_towardzero): Likewise.
21666         (remainder_test_downward): Likewise.
21667         (drem_test_downward): Likewise.
21668         (remainder_test_upward): Likewise.
21669         (drem_test_upward): Likewise.
21670         (remquo_test): Likewise.
21671         (rint_test): Likewise.
21672         (rint_test_tonearest): Likewise.
21673         (rint_test_towardzero): Likewise.
21674         (rint_test_downward): Likewise.
21675         (rint_test_upward): Likewise.
21676         (round_test): Likewise.
21677         (scalb_test): Likewise.
21678         (scalbn_test): Likewise.
21679         (scalbln_test): Likewise.
21680         (signbit_test): Likewise.
21681         (sin_test): Likewise.
21682         (sin_test_tonearest): Likewise.
21683         (sin_test_towardzero): Likewise.
21684         (sin_test_downward): Likewise.
21685         (sin_test_upward): Likewise.
21686         (sincos_test): Likewise.
21687         (sinh_test): Likewise.
21688         (sinh_test_tonearest): Likewise.
21689         (sinh_test_towardzero): Likewise.
21690         (sinh_test_downward): Likewise.
21691         (sinh_test_upward): Likewise.
21692         (sqrt_test): Likewise.
21693         (sqrt_test_tonearest): Likewise.
21694         (sqrt_test_towardzero): Likewise.
21695         (sqrt_test_downward): Likewise.
21696         (sqrt_test_upward): Likewise.
21697         (tan_test): Likewise.
21698         (tan_test_tonearest): Likewise.
21699         (tan_test_towardzero): Likewise.
21700         (tan_test_downward): Likewise.
21701         (tan_test_upward): Likewise.
21702         (tanh_test): Likewise.
21703         (tgamma_test): Likewise.
21704         (trunc_test): Likewise.
21705         (y0_test): Likewise.
21706         (y1_test): Likewise.
21707         (yn_test): Likewise.
21708         (significand_test): Likewise.
21710         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21711         individual tests in comment.
21712         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21713         (prev_max_error): New variable.
21714         (prev_real_max_error): Likewise.
21715         (prev_imag_max_error): Likewise.
21716         (compare_ulp_data): Don't refer to test names in comment.
21717         (find_test_ulps): Remove function.
21718         (find_function_ulps): Likewise.
21719         (find_complex_function_ulps): Likewise.
21720         (init_max_error): Take function name as argument.  Look up ulps
21721         for that function.
21722         (print_ulps): Remove function.
21723         (print_max_error): Use prev_max_error instead of calling
21724         find_function_ulps.
21725         (print_complex_max_error): Use prev_real_max_error and
21726         prev_imag_max_error instead of calling find_complex_function_ulps.
21727         (check_float_internal): Take max_ulp parameter instead of calling
21728         find_test_ulps.  Don't call print_ulps.
21729         (check_float): Update call to check_float_internal.
21730         (check_complex): Update calls to check_float_internal.
21731         (START): Pass argument to init_max_error.
21732         * math/gen-libm-test.pl (%results): Don't include "kind"
21733         information.
21734         (parse_ulps): Don't handle ulps of individual tests.
21735         (print_ulps_file): Likewise.
21736         (output_ulps): Likewise.
21737         * math/README.libm-test: Update.
21738         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21739         individual tests.
21740         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21741         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21742         * sysdeps/arm/libm-test-ulps: Likewise.
21743         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21744         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21745         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21746         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21747         * sysdeps/microblaze/libm-test-ulps: Likewise.
21748         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21749         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21750         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21751         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21752         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21753         * sysdeps/sh/libm-test-ulps: Likewise.
21754         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21755         * sysdeps/tile/libm-test-ulps: Likewise.
21756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21758 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
21760         * math/libm-test.inc (print_complex_max_error): Check separately
21761         whether real and imaginary errors are within allowed range and
21762         pass 0 to print_complex_function_ulps instead of value within
21763         allowed range.
21765 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21767         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21768         formatting.
21769         (get_handles_fopen): Likewise.
21770         (do_write_test): Likewise.
21772         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21774         * libio/fileops.c (do_ftell): Use cached offset when
21775         available.
21776         * libio/iofwide.c (do_ftell_wide): Likewise.
21777         * libio/iofdopen.c (_IO_new_fdopen): Don't use
21778         _IO_file_attach.
21779         * libio/wfileops.c (_IO_fwide): Don't cache offset.
21781         [BZ #16532]
21782         * libio/libioP.h (get_file_offset): New function.
21783         * libio/fileops.c (get_file_offset): Likewise.
21784         (do_ftell): Likewise.
21785         (_IO_new_file_seekoff): Split out ftell logic.
21786         * libio/wfileops.c (do_ftell_wide): Likewise.
21787         (_IO_wfile_seekoff): Split out ftell logic.
21788         * libio/tst-ftell-active-handler.c: New test case.
21789         * libio/Makefile (tests): Add it.
21791 2014-03-03  Roland McGrath  <roland@hack.frob.com>
21793         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21794         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21796 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21798         [BZ #16639]
21799         * nscd/connections.c (nscd_init): Call do_exit.
21800         (start_threads): Call do_exit and notify_parent.
21801         (begin_drop_privileges): Call do_exit.
21802         (finish_drop_privileges): Likewise.
21803         * nscd/selinux.c (preserve_capabilities): Likewise.
21804         (install_real_capabilities): Likewise.
21805         (nscd_selinux_enabled): Likewise.
21806         (avc_create_thread): Likewise.
21807         (avc_alloc_lock): Likewise.
21808         (nscd_avc_init): Likewise.
21809         * nscd/nscd.c (parent_fd): New static variable.
21810         (main): Create a pipe between parent and child processes.
21811         Skip closing parent_fd.
21812         (monitor_child): New function.
21813         (do_exit): Likewise.
21814         (notify_parent): Likewise.
21815         * nscd/nscd.h (notify_parent): Likewise.
21816         (do_exit): Likewise.
21818 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
21820         * malloc/malloc.c (__libc_calloc): Revert last change.
21822 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21826 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21828         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21830         implementation.
21831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21832         (__libc_ifunc_impl_list): Likewise.
21833         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21834         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21835         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21836         * string/strrchr.c: Define STRRCHR.
21838 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
21840         * benchtest/bench-strtok.c (simple_strtok): Delete.
21841         (strtok_string): Use as benchmark.
21842         * string/strtok (STRTOK): New macro.
21844 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
21846         * manual/threads.texi: Add header and standard comments to all
21847         functions.
21849         * elf/dl-lookup.c (check_match): New function.
21850         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21851         (do_lookup_x): Remove nested function check_match. Use non-nested
21852         function check_match.
21854 2014-02-28  Roland McGrath  <roland@hack.frob.com>
21856         * csu/Makefile (generated, before-compile): Use += rather than =.
21857         * catgets/Makefile (generated, generated-dirs): Likewise.
21858         * debug/Makefile (generated): Likewise.
21859         * dlfcn/Makefile (generated): Likewise.
21860         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21861         * iconvdata/Makefile (before-compile, generated): Likewise.
21862         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21863         * libio/Makefile (generated): Likewise.
21864         * malloc/Makefile (generated): Likewise.
21865         * manual/Makefile (generated, generated-dirs): Likewise.
21866         * misc/Makefile (generated): Likewise.
21867         * posix/Makefile (generated): Likewise.
21868         * resolv/Makefile (generated): Likewise.
21869         * sunrpc/Makefile (generated, generated-dirs): Likewise.
21870         * timezone/Makefile (generated, generated-dirs): Likewise.
21872         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21874 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21876         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21877         power8 implementation.
21878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21879         file: POWER8 llround ifunc implementation.
21880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21881         (__lllround): Add POWER8 implementation.
21882         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21883         POWER8 llround implementation.
21885         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21886         power8 implementation.
21887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21888         file: POWER8 llrint ifunc implementation.
21889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21890         Add POWER8 implementation.
21891         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21892         POWER8 llrint implementation.
21894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21895         power8 implementation.
21896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21897         file: POWER8 finite ifunc implementation.
21898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21899         Add POWER8 implementation.
21900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21901         Likewise.
21902         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21903         POWER8 finite implementation.
21904         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21906         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21907         power8 implementation.
21908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21909         file: POWER8 isinf ifunc implementation.
21910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21911         POWER8 implementation.
21912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21913         Likewise.
21914         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21915         isinf implementation.
21916         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21918         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21919         (INIT_ARCH): Add hwcap2 initialization.
21920         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21921         power8 implementation.
21922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21923         file: POWER8 isnan ifunc implementation.
21924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21925         POWER8 implementation.
21926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21927         Likewise.
21928         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21929         isnan implementation.
21930         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21932 2014-02-27  Joey Ye  <joey.ye@arm.com>
21934         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21935         (_FP_NANFRAC_Q): Set to zero.
21937 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21939         [BZ #16623]
21940         * math/auto-libm-test-in: New test inputs.
21941         * math/auto-libm-test-out: Regenerate.
21942         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21943         and DA.
21944         (__cos): Likewise.
21945         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21947 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
21949         * scripts/evaluate-test.sh: Take new argument indicating whether
21950         failure is expected.
21951         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21952         indicating whether failure is expected.
21953         * conform/Makefile (test-xfail-run-conformtest): New variable.
21954         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21955         level.
21956         * posix/Makefile (test-xfail-annexc): New variable.
21957         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21959 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
21961         * argp/Makefile: Include Makeconfig immediately after defining
21962         subdir.
21963         * assert/Makefile: Likewise.
21964         * benchtests/Makefile: Likewise.
21965         * catgets/Makefile: Likewise.
21966         * conform/Makefile: Likewise.
21967         * crypt/Makefile: Likewise.
21968         * csu/Makefile: Likewise.
21969         (all): Remove target.
21970         * ctype/Makefile: Include Makeconfig immediately after defining
21971         subdir.
21972         * debug/Makefile: Likewise.
21973         * dirent/Makefile: Likewise.
21974         * dlfcn/Makefile: Likewise.
21975         * gmon/Makefile: Likewise.
21976         * gnulib/Makefile: Likewise.
21977         * grp/Makefile: Likewise.
21978         * gshadow/Makefile: Likewise.
21979         * hesiod/Makefile: Likewise.
21980         * hurd/Makefile: Likewise.
21981         (all): Remove target.
21982         * iconvdata/Makefile: Include Makeconfig immediately after
21983         defining subdir.
21984         * inet/Makefile: Likewise.
21985         * intl/Makefile: Likewise.
21986         * io/Makefile: Likewise.
21987         * libio/Makefile: Likewise.
21988         (all): Remove target.
21989         * locale/Makefile: Include Makeconfig immediately after defining
21990         subdir.
21991         * login/Makefile: Likewise.
21992         * mach/Makefile: Likewise.
21993         (all): Remove target.
21994         * malloc/Makefile: Include Makeconfig immediately after defining
21995         subdir.
21996         (all): Remove target.
21997         * manual/Makefile: Include Makeconfig immediately after defining
21998         subdir.
21999         * math/Makefile: Likewise.
22000         * misc/Makefile: Likewise.
22001         * nis/Makefile: Likewise.
22002         * nss/Makefile: Likewise.
22003         * po/Makefile: Likewise.
22004         (all): Remove target.
22005         * posix/Makefile: Include Makeconfig immediately after defining
22006         subdir.
22007         * pwd/Makefile: Likewise.
22008         * resolv/Makefile: Likewise.
22009         * resource/Makefile: Likewise.
22010         * rt/Makefile: Likewise.
22011         * setjmp/Makefile: Likewise.
22012         * shadow/Makefile: Likewise.
22013         * signal/Makefile: Likewise.
22014         * socket/Makefile: Likewise.
22015         * soft-fp/Makefile: Likewise.
22016         * stdio-common/Makefile: Likewise.
22017         * stdlib/Makefile: Likewise.
22018         * streams/Makefile: Likewise.
22019         * string/Makefile: Likewise.
22020         * sunrpc/Makefile: Likewise.
22021         (all): Remove target.
22022         * sysvipc/Makefile: Include Makeconfig immediately after defining
22023         subdir.
22024         * termios/Makefile: Likewise.
22025         * time/Makefile: Likewise.
22026         * timezone/Makefile: Likewise.
22027         (all): Remove target.
22028         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22029         subdir.
22030         * wctype/Makefile: Likewise.
22032 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22034         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22035         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22036         (libc_feholdexcept_setround_mips): Ditto.
22037         (libc_feholdsetround): New.
22038         (libc_feholdsetroundf): New.
22039         (libc_feholdsetroundl): New.
22040         (libc_feupdateenv_test_mips): New.
22041         (libc_feupdateenv_test): New.
22042         (libc_feupdateenv_testf): New.
22043         (libc_feupdateenv_testl): New.
22044         (libc_feresetround): New.
22045         (libc_feresetroundf): New.
22046         (libc_feresetroundl): New.
22047         (libc_fetestexcept_mips): New.
22048         (libc_fetestexcept): New.
22049         (libc_fetestexceptf): New.
22050         (libc_fetestexceptl): New.
22051         (HAVE_RM_CTX): New.
22052         (libc_feholdexcept_setround_mips_ctx): New.
22053         (libc_feholdexcept_setround_ctx): New.
22054         (libc_feholdexcept_setroundf_ctx): New.
22055         (libc_feholdexcept_setroundl_ctx): New.
22056         (libc_fesetenv_mips_ctx): New.
22057         (libc_fesetenv_ctx): New.
22058         (libc_fesetenv_ctxf): New.
22059         (libc_fesetenv_ctxl): New.
22060         (libc_feupdateenv_mips_ctx): New.
22061         (libc_feupdateenv_ctx): New.
22062         (libc_feupdateenvf_ctx): New.
22063         (libc_feupdateenvl_ctx): New.
22064         (libc_feholdsetround_mips_ctx): New.
22065         (libc_feholdsetround_ctx): New.
22066         (libc_feholdsetroundf_ctx): New.
22067         (libc_feholdsetroundl_ctx): New.
22068         (libc_feresetround_mips_ctx): New.
22069         (libc_feresetround_ctx): New.
22070         (libc_feresetroundf_ctx): New.
22071         (libc_feresetroundl_ctx): New.
22073 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22075         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22077         * manual/ipc.texi: New file.
22078         * manual/Makefile (chapters): Add ipc.
22079         * manual/job.texi: Add "Inter-Process Communication" to next.
22080         * manual/process.texi: Add "Inter-Process Communication" to prev.
22082 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22086 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22088         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22090         * manual/arith.texi: Fix spaces after sentences.
22091         * manual/charset.texi: Likewise.
22092         * manual/errno.texi: Likewise.
22093         * manual/install.texi: Likewise.
22094         * manual/llio.texi: Likewise.
22095         * manual/locale.texi: Likewise.
22096         * manual/maint.texi: Likewise.
22097         * manual/math.texi: Likewise.
22098         * manual/memory.texi: Likewise.
22099         * manual/message.texi: Likewise.
22100         * manual/probes.texi: Likewise.
22101         * manual/resource.texi: Likewise.
22102         * manual/signal.texi: Likewise.
22103         * manual/socket.texi: Likewise.
22104         * manual/stdio.texi: Likewise.
22105         * manual/string.texi: Likewise.
22106         * manual/time.texi: Likewise.
22107         * manual/users.texi: Likewise.
22109 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22111         [BZ #16632]
22112         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22113         _DEFAULT_SOURCE is defined.
22115 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22116             Carlos O'Donell  <carlos@redhat.com>
22118         [BZ #16613]
22119         * elf/dl-tls.c (_dl_count_modids): New function.
22120         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22121         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22122         audit library and increment generation counter.
22123         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22124         * elf/tst-audit9.c: New file.
22125         * elf/tst-auditmod9a.c: New file.
22126         * elf/tst-auditmod9b.c: New file.
22127         * elf/Makefile: Add rules to build and run tst-audit9.
22129 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22131         [BZ #15347]
22132         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22134 2014-02-25  Will Newton  <will.newton@linaro.org>
22136         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22137         (__longjmp): Restore sp and lr before restoring callee
22138         saved registers.  Add longjmp and longjmp_target
22139         SystemTap probe point.
22140         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22141         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22142         Define to zero to match jmpbuf layout.
22143         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22144         (__sigsetjmp): Save sp and lr before saving callee
22145         saved registers.  Add setjmp SystemTap probe point.
22147 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22149         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22151 2014-02-24  Andreas Schwab  <schwab@suse.de>
22153         [BZ #15804]
22154         * elf/pldd.c (wait_for_ptrace_stop): New function.
22155         (main): Call it after attaching.
22157 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22159         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22160         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22161         Versions files is now verboten.
22162         * hurd/Versions (libc: GLIBC_2.0):
22163         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22164         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22165         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22166         * mach/Versions: Likewise.
22168         * csu/Versions: Remove unused %include.
22169         * resolv/Versions: Likewise.
22171 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22173         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22174         ($(objpfx)check-local-headers.out): Likewise.
22175         ($(objpfx)begin-end-check.out): Likewise.
22176         * Makerules (check-abi-%.out): Likewise.
22177         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22178         ($(objpfx)test2.cat): Likewise.
22179         ($(objpfx)de/libc.cat): Likewise.
22180         ($(objpfx)test-gencat.out): Likewise.
22181         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22182         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22183         ($(objpfx)noload-mem): Likewise.
22184         ($(objpfx)tst-pathopt.out): Likewise.
22185         ($(objpfx)tst-rtld-load-self.out): Likewise.
22186         ($(objpfx)tst-array1-cmp.out): Likewise.
22187         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22188         ($(objpfx)tst-array2-cmp.out): Likewise.
22189         ($(objpfx)tst-array3-cmp.out): Likewise.
22190         ($(objpfx)tst-array4-cmp.out): Likewise.
22191         ($(objpfx)tst-array5-cmp.out): Likewise.
22192         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22193         ($(objpfx)check-textrel.out): Likewise.
22194         ($(objpfx)check-execstack.out): Likewise.
22195         ($(objpfx)check-localplt.out): Likewise.
22196         ($(objpfx)order2-cmp.out): Likewise.
22197         ($(objpfx)tst-leaks1-mem): Likewise.
22198         ($(objpfx)tst-leaks1-static-mem): Likewise.
22199         ($(objpfx)tst-initorder-cmp.out): Likewise.
22200         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22201         ($(objpfx)tst-unused-dep.out): Likewise.
22202         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22203         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22204         * iconv/Makefile (test-iconvconfig): Likewise.
22205         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22206         ($(objpfx)iconv-test.out): Likewise.
22207         ($(objpfx)tst-tables.out): Likewise.
22208         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22209         ($(objpfx)tst-gettext.out): Likewise.
22210         ($(objpfx)tst-translit.out): Likewise.
22211         ($(objpfx)tst-gettext2.out): Likewise.
22212         ($(objpfx)tst-gettext4.out): Likewise.
22213         ($(objpfx)tst-gettext6.out): Likewise.
22214         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22215         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22216         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22217         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22218         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22219         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22220         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22221         ($(objpfx)wordexp-tst.out): Likewise.
22222         ($(objpfx)annexc.out): Likewise.
22223         ($(objpfx)tst-fnmatch-mem): Likewise.
22224         ($(objpfx)bug-regex2-mem): Likewise.
22225         ($(objpfx)bug-regex14-mem): Likewise.
22226         ($(objpfx)bug-regex21-mem): Likewise.
22227         ($(objpfx)bug-regex31-mem): Likewise.
22228         ($(objpfx)tst-vfork3-mem): Likewise.
22229         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22230         ($(objpfx)tst-pcre-mem): Likewise.
22231         ($(objpfx)tst-boost-mem): Likewise.
22232         ($(objpfx)tst-getconf.out): Likewise.
22233         ($(objpfx)bug-ga2-mem): Likewise.
22234         ($(objpfx)bug-glob2-mem): Likewise.
22235         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22236         ($(objpfx)mtrace-tst-leaks2): Likewise.
22237         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22238         ($(objpfx)tst-printf.out): Likewise.
22239         ($(objpfx)tst-setvbuf1.out): Likewise.
22240         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22241         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22242         ($(objpfx)tst-fmtmsg.out): Likewise.
22243         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22244         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22246         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22247         * bits/sigaction.h [__USE_MISC]: Likewise.
22248         * bits/waitstatus.h: Update #endif comments.
22249         * ctype/ctype.h: Likewise.
22250         * dirent/dirent.h: Likewise.
22251         [__USE_MISC]: Remove redundant conditionals.
22252         * grp/grp.h: Update #endif comments.
22253         [__USE_GNU]: Remove redundant conditionals.
22254         [__USE_MISC]: Likewise.
22255         * inet/netinet/in.h [__USE_GNU]: Likewise.
22256         * io/sys/stat.h [__USE_MISC]: Likewise.
22257         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22258         * libio/bits/stdio.h: Update #endif comments.
22259         [__USE_MISC]: Remove redundant conditionals.
22260         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22261         * libio/stdio.h: Update #endif comments.
22262         [__USE_MISC]: Remove redundant conditionals.
22263         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22264         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22265         * math/math.h: Update #else and #endif comments.
22266         [__USE_MISC]: Remove redundant conditionals.
22267         * misc/sys/uio.h: Update #endif comments.
22268         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22269         * posix/glob.h [__USE_MISC]: Likewise.
22270         * posix/sys/types.h: Update #endif comments.
22271         [__USE_MISC]: Remove redundant conditionals.
22272         * posix/sys/wait.h: Update #endif comments.
22273         [__USE_MISC]: Remove redundant conditionals.
22274         * posix/unistd.h: Update #endif comments.
22275         [__USE_MISC]: Remove redundant conditionals.
22276         * pwd/pwd.h [__USE_GNU]: Likewise.
22277         [__USE_MISC]: Likewise.
22278         * resolv/netdb.h [__USE_GNU]: Likewise.
22279         * signal/signal.h: Update #endif comments.
22280         [__USE_MISC]: Remove redundant conditionals.
22281         * stdlib/stdlib.h: Update #else and #endif comments.
22282         [__USE_MISC]: Remove redundant conditionals.
22283         [__USE_GNU]: Likewise.
22284         * string/bits/string2.h [__USE_MISC]: Likewise.
22285         * string/string.h: Update #endif comments.
22286         [__USE_MISC]: Remove redundant conditionals.
22287         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22288         Likewise.
22289         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22290         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22291         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22292         Likewise.
22293         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22294         Likewise.
22295         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22296         comments.
22297         [__USE_MISC]: Remove redundant conditionals.
22298         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22299         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22300         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22301         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22302         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22303         Likewise.
22304         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22305         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22306         Likewise.
22307         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22308         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22309         Likewise.
22310         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22311         Likewise.
22312         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22313         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22314         Likewise.
22315         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22316         Likewise.
22317         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22318         * sysdeps/x86/bits/string.h: Update #endif comments.
22319         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22320         conditionals.
22321         * time/sys/time.h: Update #endif comments.
22322         * time/time.h: Likewise.
22323         [__USE_MISC]: Remove redundant conditionals.
22325 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22327         [BZ #16600]
22328         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22330 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22332         * Versions.def (librt): Add GLIBC_2.17.
22334 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22336         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22337         synonym for _SYS_AUXV_H to allow direct inclusion.
22338         * sysdeps/sparc/bits/hwcap.h: Likewise.
22339         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22340         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22341         * sysdeps/sparc/sysdep.h: Likewise.
22343 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22345         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22347 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22349         * benchtests/bench-strrchr.c: Print length instead of position.
22351 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22353         [BZ #16611]
22354         * sysdeps/unix/sysv/linux/kernel-features.h
22355         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22356         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22357         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22358         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22359         Likewise.
22360         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22361         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22362         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22363         (__ASSUME_SENDMMSG): Define instead of using previous
22364         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22365         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22366         (__ASSUME_SENDMMSG_SYSCALL): Define.
22367         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22368         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22369         Likewise.
22370         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22371         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22372         Likewise.
22373         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22374         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22375         Likewise.
22376         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22377         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22378         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22379         [__ASSUME_SENDMMSG]: Change conditionals to
22380         [__ASSUME_SENDMMSG_SOCKETCALL].
22381         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22382         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22383         Define.
22384         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22385         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22386         Likewise.
22387         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22388         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22389         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22390         [!__ASSUME_SENDMMSG]: Change conditional to
22391         [!__ASSUME_SENDMMSG_SOCKETCALL].
22392         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22393         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22394         Define.
22396         [BZ #16610]
22397         * sysdeps/unix/sysv/linux/kernel-features.h
22398         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22399         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22400         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22401         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22402         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22403         [__i386__ || __sparc__]
22404         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22405         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22406         (__ASSUME_RECVMMSG): Define instead of using previous
22407         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22408         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22409         (__ASSUME_RECVMMSG_SYSCALL): Define.
22410         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22411         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22412         Likewise.
22413         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22414         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22415         Likewise.
22416         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22417         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22418         Likewise.
22419         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22420         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22421         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22422         [__ASSUME_RECVMMSG]: Change condition to
22423         [__ASSUME_RECVMMSG_SOCKETCALL].
22424         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22425         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22426         Define.
22427         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22428         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22429         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22430         Likewise.
22431         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22432         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22433         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22434         [!__ASSUME_RECVMMSG]: Change condition to
22435         [!__ASSUME_RECVMMSG_SOCKETCALL].
22436         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22437         (__ASSUME_RECVMMSG_SYSCALL): Define.
22439         [BZ #16609]
22440         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22441         __powerpc__ || __s390__ || __sh__ || __sparc__]
22442         (__ASSUME_SOCKETCALL): Define.
22443         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22444         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22445         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22446         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22447         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22448         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22449         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22450         (__ASSUME_ACCEPT4): Define instead of using previous
22451         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22452         __powerpc__ || __sparc__ || __s390__)] condition.
22453         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22454         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22455         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22456         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22457         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22458         [!__ASSUME_ACCEPT4]: Change condition to
22459         [!__ASSUME_ACCEPT4_SOCKETCALL].
22460         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22461         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22462         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22463         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22464         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22465         __ASSUME_ACCEPT4_SYSCALL.
22466         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22467         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22468         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22469         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22470         __ASSUME_ACCEPT4_SYSCALL.
22471         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22472         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22473         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22474         [__ASSUME_ACCEPT4]: Change condition to
22475         [__ASSUME_ACCEPT4_SOCKETCALL].
22476         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22477         (__ASSUME_SOCKETCALL): Define.
22478         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22479         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22480         (__ASSUME_SOCKETCALL): Define.
22481         (__ASSUME_ACCEPT4): Remove.
22482         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22483         Define.
22484         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22485         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22486         Likewise.
22487         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22488         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22490         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22491         macro.
22492         (HWCAP_ARM_LPAE): Likewise.
22493         (HWCAP_ARM_EVTSTRM): Likewise.
22494         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22495         Add vpfd32, lpae and evtstrm.
22496         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22497         Increase to 22.
22499 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22501         * math/auto-libm-test-in: Add tests of clog10.
22502         * math/auto-libm-test-out: Regenerated.
22503         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22504         * sysdeps/i386/fpu/libm-test-ulps: Update.
22505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22507 2014-02-18  Andreas Schwab  <schwab@suse.de>
22509         [BZ #16574]
22510         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22511         Store non-zero if the second buffer was newly allocated.
22512         (send_dg): Likewise.
22513         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22514         to send_vc and send_dg.
22515         (res_nsend): Pass NULL for ansp2_malloced.
22516         * resolv/res_query.c (__libc_res_nquery): Add parameter
22517         answerp2_malloced and pass it down to __libc_res_nsend.
22518         (res_nquery): Pass additional NULL to __libc_res_nquery.
22519         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22520         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22521         second answer buffer if answerp2_malloced was set.
22522         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22523         (__libc_res_nquerydomain): Add parameter
22524         answerp2_malloced and pass it down to __libc_res_nquery.
22525         (res_nquerydomain): Pass additional NULL to
22526         __libc_res_nquerydomain.
22527         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22528         additional NULL to __libc_res_nsend and __libc_res_nquery.
22529         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22530         additional NULL to __libc_res_nsearch.
22531         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
22532         parameter of __libc_res_nsearch to check for separately allocated
22533         second buffer.
22534         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22535         __libc_res_nquery.
22536         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22537         additional NULL to __libc_res_nquery.
22538         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22539         __libc_res_nsearch.
22540         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22541         * include/resolv.h: Update prototypes of __libc_res_nquery,
22542         __libc_res_nsearch, __libc_res_nsend.
22544 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22546         * math/auto-libm-test-in: Add tests of fma.
22547         * math/auto-libm-test-out: Regenerated.
22548         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22549         (fma_towardzero_test_data): Likewise.
22550         (fma_downward_test_data): Likewise.
22551         (fma_upward_test_data): Likewise.
22552         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22553         mpc_mode.
22554         (rounding_modes): Add values for new field.
22555         (func_calc_method): Add value mpfr_fff_f.
22556         (func_calc_desc): Add mpfr_fff_f union field.
22557         (test_function): Add field exact_args.
22558         (FUNC): Add macro argument EXACT_ARGS.
22559         (FUNC_mpfr_f_f): Update call to FUNC.
22560         (FUNC_mpfr_f_f): Likewise.
22561         (FUNC_mpfr_ff_f): Likewise.
22562         (FUNC_mpfr_if_f): Likewise.
22563         (FUNC_mpc_c_f): Likewise.
22564         (FUNC_mpc_c_c): Likewise.
22565         (test_functions): Add fma.  Update calls to FUNC.
22566         (handle_input_arg): Add argument exact_args.
22567         (add_test): Update call to handle_input_arg.
22568         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22569         (output_for_one_input_case): Update call to calc_generic_results.
22570         Recalculate exact zero results in each rounding mode.
22572         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22573         non-negative before setting low bit.
22574         * math/auto-libm-test-in: Mark one asin test possibly having
22575         spurious underflow.
22576         * math/auto-libm-test-out: Regenerated.
22577         * sysdeps/i386/fpu/libm-test-ulps: Update.
22578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22580 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22582         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22583         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22584         ports/sysdeps/unix/sysv/linux/microblaze.
22585         * README: Add missing listing for microblaze*-*-linux-gnu.
22587 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22589         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22590         duplicate code
22592 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22594         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22595         * sysdeps/unix/sysv/linux/ia64: Move directory from
22596         ports/sysdeps/unix/sysv/linux/ia64.
22597         * README: Update listing for ia64-*-linux-gnu.
22599 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22600             Joseph Myers  <joseph@codesourcery.com>
22602         * Makeconfig (test-name): New variable.
22603         (evaluate-test): Likewise.
22604         * Makerules (do-test-clean): Remove .test-result files.
22605         (common-mostlyclean): Likewise.
22606         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22607         * scripts/evaluate-test.sh: New file.
22609 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22611         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22612         separate $(objpfx)tst-fopenloc-cmp.out and
22613         $(objpfx)tst-fopenloc-mem.out targets.
22614         (tests): Update dependencies.
22615         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22616         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22617         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22618         (tst-rxspencer-no-utf8-ARGS): New variable.
22619         (tst-rxspencer-no-utf8-ENV): Likewise.
22620         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22621         instead of $(objpfx)tst-rxspencer-mem.
22622         ($(objpfx)tst-rxspencer-mem): Change target to
22623         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22624         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22625         * posix/tst-rxspencer-no-utf8.c: New file.
22627         * elf/Makefile ($(objpfx)order.out): Remove rule.
22628         [$(run-built-tests) = yes] (tests): Depend on
22629         $(objpfx)order-cmp.out.
22630         ($(objpfx)order-cmp.out): New rule.
22631         [$(run-built-tests) = yes] (tests): Depend on
22632         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22633         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22634         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22635         $(objpfx)tst-array5-static-cmp.out.
22636         ($(objpfx)tst-array1.out): Remove rule.
22637         ($(objpfx)tst-array1-cmp.out): New rule.
22638         ($(objpfx)tst-array1-static.out): Remove rule.
22639         ($(objpfx)tst-array1-static-cmp.out): New rule.
22640         ($(objpfx)tst-array2.out): Remove rule.
22641         ($(objpfx)tst-array2-cmp.out): New rule.
22642         ($(objpfx)tst-array3.out): Remove rule.
22643         ($(objpfx)tst-array3-cmp.out): New rule.
22644         ($(objpfx)tst-array4.out): Remove rule.
22645         ($(objpfx)tst-array4-cmp.out): New rule.
22646         ($(objpfx)tst-array5.out): Remove rule.
22647         ($(objpfx)tst-array5-cmp.out): New rule.
22648         ($(objpfx)tst-array5-static.out): Remove rule.
22649         ($(objpfx)tst-array5-static-cmp.out): New rule.
22650         [$(run-built-tests) = yes] (tests): Depend on
22651         $(objpfx)order2-cmp.out.
22652         ($(objpfx)order2.out): Remove rule.
22653         ($(objpfx)order2-cmp.out): New rule.
22654         ($(objpfx)tst-initorder.out): Remove rule.
22655         [$(run-built-tests) = yes] (tests): Depend on
22656         $(objpfx)tst-initorder-cmp.out.
22657         ($(objpfx)tst-initorder-cmp.out): New rule.
22658         ($(objpfx)tst-initorder2.out): Remove rule.
22659         [$(run-built-tests) = yes] (tests): Depend on
22660         $(objpfx)tst-initorder2-cmp.out.
22661         ($(objpfx)tst-initorder2-cmp.out): New rule.
22662         [$(run-built-tests) = yes] (tests): Depend on
22663         $(objpfx)tst-unused-dep-cmp.out.
22664         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22665         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22666         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22667         on $(objpfx)tst-setvbuf1-cmp.out.
22668         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22669         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22670         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22671         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22672         ($(objpfx)tst-svc.out): Remove rule.
22673         ($(objpfx)tst-svc-cmp.out): New rule.
22675 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
22677         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22678         * ctype/ctype.h [__USE_MISC]: Likewise.
22679         * dirent/dirent.h [__USE_MISC]: Likewise.
22680         * grp/grp.h [__USE_MISC]: Likewise.
22681         * io/fcntl.h [__USE_MISC]: Likewise.
22682         * io/sys/stat.h [__USE_MISC]: Likewise.
22683         * libio/stdio.h [__USE_MISC]: Likewise.
22684         * posix/unistd.h [__USE_MISC]: Likewise.
22685         * pwd/pwd.h [__USE_MISC]: Likewise.
22686         * stdlib.h [__USE_MISC]: Likewise.
22687         * string/bits/string2.h [__USE_MISC]: Likewise.
22688         * string/string.h [__USE_MISC]: Likewise.
22689         * time/time.h [__USE_MISC]: Likewise.
22691 2014-02-13  Andreas Schwab  <schwab@suse.de>
22693         [BZ #16574]
22694         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22695         second answer buffer if it was separately allocated.
22697 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
22699         * sysdeps/mips/math-tests.h: Include <features.h>.
22700         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22701         (ROUNDING_TESTS_long_double): Do not define.
22702         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22703         (EXCEPTION_TESTS_long_double): Likewise.
22704         * sysdeps/mips/mips64/libm-test-ulps: Update.
22706         * include/features.h (__USE_BSD): Remove macro definitions.
22707         (__USE_SVID): Likewise.
22708         (_BSD_SOURCE): Likewise.
22709         (_SVID_SOURCE): Likewise.
22710         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22711         from definition of _DEFAULT_SOURCE.
22712         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22713         [_DEFAULT_SOURCE].
22714         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22715         * bits/mman.h [__USE_BSD]: Likewise.
22716         * bits/termios.h [__USE_BSD]: Likewise.
22717         * bits/waitstatus.h [__USE_BSD]: Likewise.
22718         * ctype/ctype.h [__USE_SVID]: Likewise.
22719         * dirent/dirent.h [__USE_BSD]: Likewise.
22720         * grp/grp.h [__USE_SVID]: Likewise.
22721         [__USE_BSD]: Likewise.
22722         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22723         * io/fcntl.h [__USE_BSD]: Likewise.
22724         * io/ftw.h [__USE_BSD]: Likewise.
22725         * io/sys/stat.h [__USE_BSD]: Likewise.
22726         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22727         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22728         * libio/stdio.h [__USE_SVID]: Likewise.
22729         [__USE_BSD]: Likewise.
22730         * math/math.h [__USE_SVID]: Likewise.
22731         [__USE_BSD]: Likewise.
22732         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22733         * misc/bits/syslog.h [__USE_BSD]: Likewise.
22734         * misc/search.h [__USE_SVID]: Likewise.
22735         * misc/sys/mman.h [__USE_BSD]: Likewise.
22736         * misc/sys/syslog.h [__USE_BSD]: Likewise.
22737         * misc/sys/uio.h [__USE_BSD]: Likewise.
22738         * posix/bits/unistd.h [__USE_BSD]: Likewise.
22739         * posix/glob.h [__USE_BSD]: Likewise.
22740         * posix/regex.h [__USE_BSD]: Likewise.
22741         * posix/sys/types.h [__USE_BSD]: Likewise.
22742         [__USE_SVID]: Likewise.
22743         * posix/sys/utsname.h [__USE_SVID]: Likewise.
22744         * posix/sys/wait.h [__USE_BSD]: Likewise.
22745         [__USE_SVID]: Likewise.
22746         * posix/unistd.h [__USE_BSD]: Likewise.
22747         [__USE_SVID]: Likewise.
22748         * pwd/pwd.h [__USE_SVID]: Likewise.
22749         * resolv/netdb.h [__USE_BSD]: Likewise.
22750         * setjmp/setjmp.h [__USE_BSD]: Likewise.
22751         * signal/signal.h [__USE_BSD]: Likewise.
22752         [__USE_SVID]: Likewise.
22753         * socket/sys/socket.h [__USE_BSD]: Likewise.
22754         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22755         * stdlib/stdlib.h [__USE_BSD]: Likewise.
22756         [__USE_SVID]: Likewise.
22757         * string/bits/string2.h [__USE_BSD]: Likewise.
22758         [__USE_SVID]: Likewise.
22759         * string/bits/string3.h [__USE_BSD]: Likewise.
22760         * string/endian.h [__USE_BSD]: Likewise.
22761         * string/string.h [__USE_SVID]: Likewise.
22762         [__USE_BSD]: Likewise.
22763         * string/strings.h [__USE_BSD]: Likewise.
22764         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22765         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22766         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22767         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22768         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22769         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22770         Likewise.
22771         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22772         Likewise.
22773         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22774         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22775         Likewise.
22776         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22777         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22778         Likewise.
22779         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22780         Likewise.
22781         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22782         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22783         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22784         Likewise.
22785         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22786         Likewise.
22787         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22788         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22789         * termios/termios.h [__USE_BSD]: Likewise.
22790         * time/sys/time.h [__USE_BSD]: Likewise.
22791         * time/time.h [__USE_BSD]: Likewise.
22792         [__USE_SVID]: Likewise.
22794         * Makefile (subdir_targets): Remove subdir_lint.out.
22796         * stdio-common/Makefile (do-tst-unbputc): Remove target.
22797         (do-tst-printf): Likewise.
22798         (tests): Depend directly on $(objpfx)tst-unbputc.out and
22799         $(objpfx)tst-printf.out.
22801         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22803         * Makerules (check-abi-%): Change target to
22804         $(objpfx)check-abi-%.out.
22805         (check-abi target): Update dependencies.
22806         (check-abi-pattern variable): Redirect output of diff to $@.
22807         (check-abi variable): Likewise.
22808         * elf/Makefile (check-abi): Update dependencies.
22810         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22811         unused.
22812         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22813         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22814         subnormal range.
22815         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22816         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22817         value has largest subnormal exponent.
22818         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22819         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22820         * sysdeps/aarch64/soft-fp/sfp-machine.h
22821         (_FP_TININESS_AFTER_ROUNDING): New macro.
22822         * sysdeps/alpha/soft-fp/sfp-machine.h
22823         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22824         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22825         Likewise.
22826         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22827         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22828         * sysdeps/mips/soft-fp/sfp-machine.h
22829         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22830         * sysdeps/powerpc/soft-fp/sfp-machine.h
22831         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22832         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22833         Likewise.
22834         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22835         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22836         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22837         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22838         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22839         Likewise.
22841 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
22843         [BZ #16545]
22844         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22845         model 1.
22847 2014-02-12  Richard Henderson  <rth@redhat.com>
22849         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22850         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22851         * sysdeps/unix/sysv/linux/alpha: Move directory from
22852         ports/sysdeps/unix/sysv/linux/alpha.
22853         * README: Update listing for alpha-*-linux-gnu.
22855 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
22857         * include/features.h: Update comment documenting feature test
22858         macros.
22859         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
22860         _DEFAULT_SOURCE.
22861         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22862         (_SVID_SOURCE): Likewise.
22863         (_DEFAULT_SOURCE): Update description of default features.
22864         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22865         with _GNU_SOURCE.
22866         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22867         (S_ISVTX): Likewise.
22868         * manual/math.texi (Mathematical Constants): Likewise.
22869         * manual/signal.texi (Interrupted Primitives): Likewise.
22870         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22871         * math/test-matherr.c (_SVID_SOURCE): Do not define.
22872         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22873         Don't refer to _SVID_SOURCE in warning text.
22875         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22877         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22878         already defined.
22879         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22880         * sysdeps/mips/dl-lookup.c: Remove.
22881         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22883 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22885         [BZ #16447]
22886         * math/auto-libm-test-in: Add testcase for expl.
22887         * math/auto-libm-test-out: Regenerate.
22888         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22889         calculation of unsafe.
22890         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22892 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22894         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22895         * sysdeps/unix/sysv/linux/aarch64: Move directory from
22896         ports/sysdeps/unix/sysv/linux/aarch64.
22897         * README: Update listing for aarch64*-*-linux-gnu.
22899 2014-02-11  Will Newton  <will.newton@linaro.org>
22901         * manual/probes.texi (Mathematical Function Probes): Use
22902         "triggered" instead of "hit".
22904         * manual/probes.texi (Internal Probes): Add documentation
22905         of setjmp, longjmp and longjmp_target probes.
22907         * include/stap-probe.h: Add comment about probe argument
22908         format.
22910         * malloc/mtrace.c (attribute_hidden): Remove unused macro
22911         definition.  (tr_where, tr_freehook, tr_mallochook,
22912         tr_reallochook, tr_memalignhook): Use ANSI protoype.
22914 2014-02-11  David S. Miller  <davem@davemloft.net>
22916         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22917         processing int_tests.
22919 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
22921         * sysdeps/mips: Move directory from ports/sysdeps/mips.
22922         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22923         * sysdeps/unix/sysv/linux/mips: Move directory from
22924         ports/sysdeps/unix/sysv/linux/mips.
22925         * README: Update listing for mips-*-linux-gnu and
22926         mips64-*-linux-gnu.
22928 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
22930         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22931         * sysdeps/unix/sysv/linux/m68k: Move directory from
22932         ports/sysdeps/unix/sysv/linux/m68k.
22933         * README: Update listing for m68k-*-linux-gnu.
22935 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
22937         * sysdeps/tile: Move directory from ports/sysdeps/tile.
22938         * sysdeps/unix/sysv/linux/generic: Move directory from
22939         ports/sysdeps/unix/sysv/linux/generic.
22940         * sysdeps/unix/sysv/linux/tile: Move directory from
22941         ports/sysdeps/unix/sysv/linux/tile.
22942         * README: Update listing for tile*-*-linux-gnu.
22944 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
22946         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22947         __builtin_expect.
22948         * benchtests/bench-memmem.c (simple_memmem): Likewise.
22949         * catgets/open_catalog.c (__open_catalog): Likewise.
22950         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22951         * debug/confstr_chk.c: Likewise.
22952         * debug/fread_chk.c (__fread_chk): Likewise.
22953         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22954         * debug/getgroups_chk.c: Likewise.
22955         * debug/mbsnrtowcs_chk.c: Likewise.
22956         * debug/mbsrtowcs_chk.c: Likewise.
22957         * debug/mbstowcs_chk.c: Likewise.
22958         * debug/memcpy_chk.c: Likewise.
22959         * debug/memmove_chk.c: Likewise.
22960         * debug/mempcpy_chk.c: Likewise.
22961         * debug/memset_chk.c: Likewise.
22962         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22963         * debug/strcat_chk.c (__strcat_chk): Likewise.
22964         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22965         * debug/strncat_chk.c (__strncat_chk): Likewise.
22966         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22967         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22968         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22969         * debug/wcpncpy_chk.c: Likewise.
22970         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22971         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22972         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22973         * debug/wcsncpy_chk.c: Likewise.
22974         * debug/wcsnrtombs_chk.c: Likewise.
22975         * debug/wcsrtombs_chk.c: Likewise.
22976         * debug/wcstombs_chk.c: Likewise.
22977         * debug/wmemcpy_chk.c: Likewise.
22978         * debug/wmemmove_chk.c: Likewise.
22979         * debug/wmempcpy_chk.c: Likewise.
22980         * debug/wmemset_chk.c: Likewise.
22981         * dirent/scandirat.c (SCANDIRAT): Likewise.
22982         * dlfcn/dladdr1.c (dladdr1): Likewise.
22983         * dlfcn/dladdr.c (dladdr): Likewise.
22984         * dlfcn/dlclose.c (dlclose_doit): Likewise.
22985         * dlfcn/dlerror.c (__dlerror): Likewise.
22986         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22987         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22988         * dlfcn/dlopen.c (dlopen_doit): Likewise.
22989         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22990         * dlfcn/dlsym.c (dlsym_doit): Likewise.
22991         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22992         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22993         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22994         Likewise.
22995         * elf/dl-conflict.c: Likewise.
22996         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22997         * elf/dl-dst.h: Likewise.
22998         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22999         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23000         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23001         * elf/dl-init.c (call_init, _dl_init): Likewise.
23002         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23003         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23004         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23005         Likewise.
23006         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23007         Likewise.
23008         * elf/dl-minimal.c (__libc_memalign): Likewise.
23009         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23010         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23011         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23012         * elf/dl-sym.c (do_sym): Likewise.
23013         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23014         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23015         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23016         * elf/dl-writev.h (_dl_writev): Likewise.
23017         * elf/ldconfig.c (search_dir): Likewise.
23018         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23019         (dl_main): Likewise.
23020         * elf/setup-vdso.h (setup_vdso): Likewise.
23021         * grp/compat-initgroups.c (compat_call): Likewise.
23022         * grp/fgetgrent.c (fgetgrent): Likewise.
23023         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23024         * grp/putgrent.c (putgrent): Likewise.
23025         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23026         Likewise.
23027         * hurd/hurdinit.c: Likewise.
23028         * iconvdata/8bit-gap.c (struct): Likewise.
23029         * iconvdata/ansi_x3.110.c : Likewise.
23030         * iconvdata/big5.c : Likewise.
23031         * iconvdata/big5hkscs.c : Likewise.
23032         * iconvdata/cp1255.c: Likewise.
23033         * iconvdata/cp1258.c : Likewise.
23034         * iconvdata/cp932.c : Likewise.
23035         * iconvdata/euc-cn.c: Likewise.
23036         * iconvdata/euc-jisx0213.c : Likewise.
23037         * iconvdata/euc-jp.c: Likewise.
23038         * iconvdata/euc-jp-ms.c : Likewise.
23039         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23040         * iconvdata/gb18030.c : Likewise.
23041         * iconvdata/gbbig5.c (const): Likewise.
23042         * iconvdata/gbgbk.c: Likewise.
23043         * iconvdata/gbk.c : Likewise.
23044         * iconvdata/ibm1364.c : Likewise.
23045         * iconvdata/ibm930.c : Likewise.
23046         * iconvdata/ibm932.c: Likewise.
23047         * iconvdata/ibm933.c : Likewise.
23048         * iconvdata/ibm935.c : Likewise.
23049         * iconvdata/ibm937.c : Likewise.
23050         * iconvdata/ibm939.c : Likewise.
23051         * iconvdata/ibm943.c: Likewise.
23052         * iconvdata/iso_11548-1.c: Likewise.
23053         * iconvdata/iso-2022-cn.c : Likewise.
23054         * iconvdata/iso-2022-cn-ext.c : Likewise.
23055         * iconvdata/iso-2022-jp-3.c: Likewise.
23056         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23057         * iconvdata/iso-2022-kr.c : Likewise.
23058         * iconvdata/iso646.c (gconv_end): Likewise.
23059         * iconvdata/iso_6937-2.c : Likewise.
23060         * iconvdata/iso_6937.c : Likewise.
23061         * iconvdata/iso8859-1.c: Likewise.
23062         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23063         * iconvdata/shift_jisx0213.c : Likewise.
23064         * iconvdata/sjis.c : Likewise.
23065         * iconvdata/t.61.c : Likewise.
23066         * iconvdata/tcvn5712-1.c : Likewise.
23067         * iconvdata/tscii.c: Likewise.
23068         * iconvdata/uhc.c : Likewise.
23069         * iconvdata/unicode.c (gconv_end): Likewise.
23070         * iconvdata/utf-16.c (gconv_end): Likewise.
23071         * iconvdata/utf-32.c (gconv_end): Likewise.
23072         * iconvdata/utf-7.c (base64): Likewise.
23073         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23074         * iconv/gconv_close.c (__gconv_close): Likewise.
23075         * iconv/gconv_open.c (__gconv_open): Likewise.
23076         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23077         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23078         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23079         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23080         (ucs4le_internal_loop_single): Likewise.
23081         * iconv/iconv.c (iconv): Likewise.
23082         * iconv/iconv_close.c: Likewise.
23083         * iconv/loop.c (SINGLE): Likewise.
23084         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23085         * include/atomic.h: Likewise.
23086         * inet/inet6_option.c (option_alloc): Likewise.
23087         * intl/bindtextdom.c (set_binding_values): Likewise.
23088         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23089         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23090         * intl/localealias.c (read_alias_file): Likewise.
23091         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23092         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23093         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23094         * libio/fmemopen.c (fmemopen): Likewise.
23095         * libio/iofgets.c (_IO_fgets): Likewise.
23096         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23097         * libio/iofgetws.c (fgetws): Likewise.
23098         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23099         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23100         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23101         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23102         * locale/findlocale.c (_nl_find_locale): Likewise.
23103         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23104         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23105         Likewise.
23106         * locale/setlocale.c (setlocale): Likewise.
23107         * login/programs/pt_chown.c (main): Likewise.
23108         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23109         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23110         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23111         (mmap, mmap64, mremap, munmap): Likewise.
23112         * math/e_exp2l.c: Likewise.
23113         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23114         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23115         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23116         * math/s_catan.c (__catan): Likewise.
23117         * math/s_catanf.c (__catanf): Likewise.
23118         * math/s_catanh.c (__catanh): Likewise.
23119         * math/s_catanhf.c (__catanhf): Likewise.
23120         * math/s_catanhl.c (__catanhl): Likewise.
23121         * math/s_catanl.c (__catanl): Likewise.
23122         * math/s_ccosh.c (__ccosh): Likewise.
23123         * math/s_ccoshf.c (__ccoshf): Likewise.
23124         * math/s_ccoshl.c (__ccoshl): Likewise.
23125         * math/s_cexp.c (__cexp): Likewise.
23126         * math/s_cexpf.c (__cexpf): Likewise.
23127         * math/s_cexpl.c (__cexpl): Likewise.
23128         * math/s_clog10.c (__clog10): Likewise.
23129         * math/s_clog10f.c (__clog10f): Likewise.
23130         * math/s_clog10l.c (__clog10l): Likewise.
23131         * math/s_clog.c (__clog): Likewise.
23132         * math/s_clogf.c (__clogf): Likewise.
23133         * math/s_clogl.c (__clogl): Likewise.
23134         * math/s_csin.c (__csin): Likewise.
23135         * math/s_csinf.c (__csinf): Likewise.
23136         * math/s_csinh.c (__csinh): Likewise.
23137         * math/s_csinhf.c (__csinhf): Likewise.
23138         * math/s_csinhl.c (__csinhl): Likewise.
23139         * math/s_csinl.c (__csinl): Likewise.
23140         * math/s_csqrt.c (__csqrt): Likewise.
23141         * math/s_csqrtf.c (__csqrtf): Likewise.
23142         * math/s_csqrtl.c (__csqrtl): Likewise.
23143         * math/s_ctan.c (__ctan): Likewise.
23144         * math/s_ctanf.c (__ctanf): Likewise.
23145         * math/s_ctanh.c (__ctanh): Likewise.
23146         * math/s_ctanhf.c (__ctanhf): Likewise.
23147         * math/s_ctanhl.c (__ctanhl): Likewise.
23148         * math/s_ctanl.c (__ctanl): Likewise.
23149         * math/w_pow.c: Likewise.
23150         * math/w_powf.c: Likewise.
23151         * math/w_powl.c: Likewise.
23152         * math/w_scalb.c (sysv_scalb): Likewise.
23153         * math/w_scalbf.c (sysv_scalbf): Likewise.
23154         * math/w_scalbl.c (sysv_scalbl): Likewise.
23155         * misc/error.c (error_tail): Likewise.
23156         * misc/pselect.c (__pselect): Likewise.
23157         * nis/nis_callback.c (__nis_create_callback): Likewise.
23158         * nis/nis_call.c (__nisfind_server): Likewise.
23159         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23160         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23161         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23162         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23163         * nis/nis_lookup.c (nis_lookup): Likewise.
23164         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23165         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23166         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23167         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23168         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23169         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23170         * nis/nss_compat/compat-initgroups.c (add_group)
23171         (internal_getgrent_r): Likewise.
23172         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23173         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23174         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23175         (internal_getspnam_r): Likewise.
23176         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23177         (_nss_nis_getaliasbyname_r): Likewise.
23178         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23179         (_nss_nis_getntohost_r): Likewise.
23180         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23181         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23182         (_nss_nis_getgrgid_r): Likewise.
23183         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23184         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23185         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23186         (_nss_nis_gethostbyname4_r): Likewise.
23187         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23188         (initgroups_netid): Likewise.
23189         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23190         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23191         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23192         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23193         (_nss_nis_getprotobynumber_r): Likewise.
23194         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23195         (_nss_nis_getsecretkey): Likewise.
23196         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23197         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23198         (_nss_nis_getpwuid_r): Likewise.
23199         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23200         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23201         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23202         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23203         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23204         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23205         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23206         Likewise.
23207         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23208         (_nss_nisplus_getntohost_r): Likewise.
23209         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23210         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23211         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23212         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23213         Likewise.
23214         * nis/nss_nisplus/nisplus-initgroups.c
23215         (_nss_nisplus_initgroups_dyn): Likewise.
23216         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23217         (_nss_nisplus_getnetbyaddr_r): Likewise.
23218         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23219         (_nss_nisplus_getprotobynumber_r): Likewise.
23220         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23221         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23222         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23223         Likewise.
23224         * nis/nss_nisplus/nisplus-service.c
23225         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23226         (_nss_nisplus_getservbyport_r): Likewise.
23227         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23228         (_nss_nisplus_getspnam_r): Likewise.
23229         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23230         Likewise.
23231         * nscd/aicache.c (addhstaiX): Likewise.
23232         * nscd/cache.c (cache_search, prune_cache): Likewise.
23233         * nscd/connections.c (register_traced_file, send_ro_fd)
23234         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23235         (main_loop_epoll): Likewise.
23236         * nscd/grpcache.c (addgrbyX): Likewise.
23237         * nscd/hstcache.c (addhstbyX): Likewise.
23238         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23239         * nscd/mem.c (gc, mempool_alloc): Likewise.
23240         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23241         (addinnetgrX): Likewise.
23242         * nscd/nscd-client.h (__nscd_acquire_maplock)
23243         (__nscd_drop_map_ref): Likewise.
23244         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23245         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23246         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23247         Likewise.
23248         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23249         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23250         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23251         (__nscd_get_map_ref): Likewise.
23252         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23253         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23254         Likewise.
23255         * nscd/pwdcache.c (addpwbyX): Likewise.
23256         * nscd/selinux.c (preserve_capabilities): Likewise.
23257         * nscd/servicescache.c (addservbyX): Likewise.
23258         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23259         * posix/fnmatch.c (fnmatch): Likewise.
23260         * posix/getopt.c (_getopt_internal_r): Likewise.
23261         * posix/glob.c (glob, glob_in_dir): Likewise.
23262         * posix/wordexp.c (exec_comm_child): Likewise.
23263         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23264         (getanswer_r, gaih_getanswer_slice): Likewise.
23265         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23266         * resolv/res_init.c: Likewise.
23267         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23268         * resolv/res_query.c (__libc_res_nquery): Likewise.
23269         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23270         Likewise.
23271         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23272         * stdio-common/perror.c (perror): Likewise.
23273         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23274         * stdio-common/tmpnam.c (tmpnam): Likewise.
23275         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23276         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23277         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23278         Likewise.
23279         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23280         * stdlib/putenv.c (putenv): Likewise.
23281         * stdlib/setenv.c (__add_to_environ): Likewise.
23282         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23283         * stdlib/strtol_l.c (INTERNAL): Likewise.
23284         * string/memmem.c (memmem): Likewise.
23285         * string/strerror.c (strerror): Likewise.
23286         * string/strnlen.c (__strnlen): Likewise.
23287         * string/test-memmem.c (simple_memmem): Likewise.
23288         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23289         * sunrpc/pm_getport.c (__get_socket): Likewise.
23290         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23291         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23292         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23293         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23294         Likewise.
23295         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23296         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23297         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23298         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23299         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23300         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23301         Likewise.
23302         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23303         Likewise.
23304         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23305         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23306         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23307         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23308         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23309         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23310         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23311         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23312         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23313         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23314         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23315         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23316         Likewise.
23317         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23318         Likewise.
23319         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23320         Likewise.
23321         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23322         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23323         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23324         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23325         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23326         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23327         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23328         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23329         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23330         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23331         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23332         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23333         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23334         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23335         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23336         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23337         Likewise.
23338         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23339         Likewise.
23340         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23341         Likewise.
23342         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23343         Likewise.
23344         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23345         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23346         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23347         Likewise.
23348         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23349         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23350         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23351         * sysdeps/posix/sleep.c: Likewise.
23352         * sysdeps/posix/tempname.c: Likewise.
23353         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23354         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23355         Likewise.
23356         * sysdeps/powerpc/powerpc32/dl-machine.h
23357         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23358         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23359         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23360         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23361         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23362         Likewise.
23363         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23364         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23365         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23366         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23367         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23368         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23369         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23370         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23371         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23372         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23373         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23374         (elf_machine_lazy_rel): Likewise.
23375         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23376         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23377         (elf_machine_lazy_rel): Likewise.
23378         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23379         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23380         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23381         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23382         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23383         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23384         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23385         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23386         Likewise.
23387         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23388         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23389         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23390         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23391         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23392         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23393         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23394         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23395         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23396         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23397         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23398         Likewise.
23399         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23400         (__posix_fallocate64_l64): Likewise.
23401         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23402         (posix_fallocate): Likewise.
23403         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23404         Likewise.
23405         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23406         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23407         (getifaddrs_internal): Likewise.
23408         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23409         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23410         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23411         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23412         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23413         (__posix_fallocate64_l64): Likewise.
23414         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23415         Likewise.
23416         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23417         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23418         (__get_clockfreq): Likewise.
23419         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23420         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23421         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23422         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23423         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23424         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23425         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23426         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23427         Likewise.
23428         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23429         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23430         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23431         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23432         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23433         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23434         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23435         Likewise.
23436         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23437         (posix_fallocate): Likewise.
23438         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23439         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23440         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23441         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23442         (elf_machine_rela, elf_machine_rela_relative)
23443         (elf_machine_lazy_rel): Likewise.
23444         * time/asctime.c (asctime_internal): Likewise.
23445         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23446         * time/tzset.c (__tzset_parse_tz): Likewise.
23447         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23448         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23449         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23450         * wcsmbs/wcsmbsload.h: Likewise.
23452         [BZ #15894]
23453         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23455         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23456         (arena_get2): Remove THREAD_STATS conditionals.
23457         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23458         (__malloc_stats, int): Likewise.
23460 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23462         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23463         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23465         * manual/setjmp.texi: Fix typos/grammar errors.
23467         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23468         Only return early when n is <= 0.  Delete unused return statement.
23470         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23471         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23472         * debug/tst-longjmp_chk3.c: New file.
23474         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23475         (test_main): Replace code with set_fortify_handler call.
23476         * debug/test-strcpy_chk.c: Likewise.
23477         * debug/tst-chk1.c: Likewise.
23478         * debug/tst-longjmp_chk.c: Likewise.
23479         * test-skeleton.c: Include fcntl.h & paths.h
23480         (set_fortify_handler): Define.
23482         * debug/tst-longjmp_chk.c: Add header comment and include
23483         ../test-skeleton.c.
23484         (do_test): Mark static.
23485         (TEST_FUNCTION): Define.
23487         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23488         (IP_PMTUDISC_INTERFACE): Likewise.
23489         (IP_MULTICAST_IF): Likewise.
23490         (IP_MULTICAST_TTL): Likewise.
23491         (IP_MULTICAST_LOOP): Likewise.
23492         (IP_ADD_MEMBERSHIP): Likewise.
23493         (IP_DROP_MEMBERSHIP): Likewise.
23494         (IP_UNBLOCK_SOURCE): Likewise.
23495         (IP_BLOCK_SOURCE): Likewise.
23496         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23497         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23498         (IP_MSFILTER): Likewise.
23499         (MCAST_JOIN_GROUP): Likewise.
23500         (MCAST_BLOCK_SOURCE): Likewise.
23501         (MCAST_UNBLOCK_SOURCE): Likewise.
23502         (MCAST_LEAVE_GROUP): Likewise.
23503         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23504         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23505         (MCAST_MSFILTER): Likewise.
23506         (IP_MULTICAST_ALL): Likewise.
23507         (IP_UNICAST_IF): Likewise.
23509         * timezone/Makefile: Delete $(have-ksh) check.
23510         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23511         * timezone/tzselect.ksh: Add +x mode bits.
23513         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23514         (ANON_INODE_FS_MAGIC): Likewise.
23515         (BDEVFS_MAGIC): Likewise.
23516         (BINFMTFS_MAGIC): Likewise.
23517         (BTRFS_TEST_MAGIC): Likewise.
23518         (CRAMFS_MAGIC_WEND): Likewise.
23519         (DEBUGFS_MAGIC): Likewise.
23520         (ECRYPTFS_SUPER_MAGIC): Likewise.
23521         (EXT3_SUPER_MAGIC): Likewise.
23522         (EXT4_SUPER_MAGIC): Likewise.
23523         (FUTEXFS_SUPER_MAGIC): Likewise.
23524         (HOSTFS_SUPER_MAGIC): Likewise.
23525         (HUGETLBFS_MAGIC): Likewise.
23526         (MINIX3_SUPER_MAGIC): Likewise.
23527         (MTD_INODE_FS_MAGIC): Likewise.
23528         (NILFS_SUPER_MAGIC): Likewise.
23529         (OPENPROM_SUPER_MAGIC): Likewise.
23530         (PIPEFS_MAGIC): Likewise.
23531         (PSTOREFS_MAGIC): Likewise.
23532         (QNX6_SUPER_MAGIC): Likewise.
23533         (RAMFS_MAGIC): Likewise.
23534         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23535         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23536         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23537         (SECURITYFS_MAGIC): Likewise.
23538         (SELINUX_MAGIC): Likewise.
23539         (SMACK_MAGIC): Likewise.
23540         (SOCKFS_MAGIC): Likewise.
23541         (SQUASHFS_MAGIC): Likewise.
23542         (STACK_END_MAGIC): Likewise.
23543         (TMPFS_MAGIC): Likewise.
23544         (USBDEVICE_SUPER_MAGIC): Likewise.
23545         (V9FS_MAGIC): Likewise.
23546         (XENFS_SUPER_MAGIC): Likewise.
23547         (CRAMFS_MAGIC): Fix typo in comment.
23548         (EXT2_SUPER_MAGIC): Update comment.
23549         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23551 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23553         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23554         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23555         * sysdeps/unix/sysv/linux/arm: Move directory from
23556         ports/sysdeps/unix/sysv/linux/arm.
23557         * README: Update listing for arm-*-linux-gnueabi.
23559         * README: Remove mention of am33.
23561 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23563         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23564         than the comma operator, to avoid "rhs of comma has no effect"
23565         compiler warnings.
23566         (__sigfillset, __sigandset, __sigorset): Likewise.
23567         * include/signal.h (__sigemptyset): Likewise.
23568         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23570 2014-02-07  Allan McRae  <allan@archlinux.org>
23572         * version.h (RELEASE): Set to "development".
23573         (VERSION): Set to "2.19.90"
23574         * NEWS: Add 2.20 section.
23576 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23578         [BZ #16529]
23579         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23581 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23583         * manual/contrib.texi: Update entry for Carlos O'Donell,
23584         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23586 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23588         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23590         * sysdeps/unix/sysv/linux/kernel-features.h
23591         [__LINUX_KERNEL_VERSION >= 0x020621]
23592         (__ASSUME_PROC_PID_TASK_COMM): Define.
23594 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23596         [BZ #16398]
23597         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23598         conversion when destination buffer does not have enough space.
23599         * libio/tst-ftell-partial-wide.c: New test case.
23600         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23602         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23603         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23604         Leonard and Allan McRae.
23606 2014-02-04  David S. Miller  <davem@davemloft.net>
23608         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23609         32-bit.
23611 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23614         New file
23615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23616         New file
23617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23618         New file.
23619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23620         New file.
23621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23622         New file.
23623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23624         New file.
23625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23626         New file.
23627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23628         New file.
23629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23630         New file.
23631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23632         New file.
23633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23634         New file.
23635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23636         New file.
23637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23638         New file.
23640 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23642         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23643         * shlib-versions: Likewise.
23645 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23646             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23648         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23649         (abilist-pattern): New variable, set to %-le.abilist.
23651         * Makerules (abilist-pattern): New variable.
23652         (vpath): Use $(abilist-pattern) in place of %.abilist.
23653         (check-abi-% pattern rule): Likewise.
23654         (check-abi, update-abi): Likewise.
23656 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23658         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23660 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23662         * manual/startup.texi: Add next, previous, and top entries for
23663         the `Program Arguments' and `Environment Variables' nodes.
23665 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23667         * manual/macros.texi: Add comments before MTASC-safety macros.
23669         * manual/users.texi: Document MTASC-safety properties.
23671         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23672         (pthread_getspecific, pthread_setspecific): Format with
23673         @deftypefun, and add @safety note.
23674         * manual/signal.texi: Move comments that analyze the above
23675         functions to their home place.
23677 2014-02-03  Allan McRae  <allan@archlinux.org>
23679         * po/sl.po: Update Slovenian translation from translation project.
23681 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
23683         * manual/time.texi (timegm): Add missing blank after @c.
23684         Reported by Joseph Myers <joseph@codesourcery.com>.
23686 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
23688         * manual/check-safety.sh: New.
23689         * manual/Makefile ($(objpfx)stamp-summary): Run it.
23691         * manual/terminal.texi: Document MTASC-safety properties.
23693         * manual/filesys.texi: Document MTASC-safety properties.
23695         * manual/errno.texi: Document MTASC-safety properties.
23697         * manual/intro.texi: Document safety identifiers and
23698         conditionals.
23700         * manual/string.texi (wcstok): Fix prototype.
23701         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23703         * manual/time.texi: Document MTASC-safety properties.
23705         * manual/string.texi: Document MTASC-safety properties.
23707         * manual/threads.texi: Document MTASC-safety properties.
23709         * manual/stdio.texi: Document MTASC-safety properties.
23711         * manual/syslog.texi: Document MTASC-safety properties.
23713         * manual/sysinfo.texi: Document MTASC-safety properties.
23715         * manual/startup.texi: Document MTASC-safety properties.
23717         * manual/socket.texi: Document MTASC-safety properties.
23719         * manual/signal.texi: Document MTASC-safety properties.
23721 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
23723         * manual/setjmp.texi: Document MTASC-safety properties.
23725         * manual/search.texi: Document MTASC-safety properties.
23727         * manual/resource.texi: Document MTASC-safety properties.
23729         * manual/process.texi: Document MTASC-safety properties.
23731         * manual/platform.texi: Document MTASC-safety properties.
23733         * manual/pipe.texi: Document MTASC-safety properties.
23735         * manual/pattern.texi: Document MTASC-safety properties.
23737         * manual/message.texi: Document MTASC-safety properties.
23739         [BZ #12751]
23740         * manual/memory.texi: Document MTASC-safety properties.
23742         * manual/math.texi: Document MTASC-safety properties.
23744         * manual/locale.texi: Document MTASC-safety properties.
23746         * manual/llio.texi: Document MTASC-safety properties.
23748         * manual/libdl.texi: New.
23750         * manual/lang.texi: Document MTASC-safety properties.
23752         * manual/job.texi: Document MTASC-safety properties.
23754         * manual/getopt.texi: Document MTASC-safety properties.
23756         * manual/ctype.texi: Document MTASC-safety properties.
23758 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
23760         [BZ #16046]
23761         * csu/libc-tls.c (static_map): Remove variable.
23762         (__libc_setup_tls): Use main executable's link map for TLS data.
23763         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23764         casing for LM_ID_BASE and GL(dl_nns).
23765         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23766         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
23767         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23768         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23769         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23770         member.
23771         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23772         l_phnum members.
23774 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
23776         * manual/debug.texi: Document MTASC-safety properties.
23778 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
23780         [BZ #16510]
23781         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23782         of __x86_64__ when disabling x87 inline functions.
23784 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
23786         * manual/charset.texi: Document MTASC-safety properties.
23788         * manual/crypt.texi: Document MTASC-safety properties.
23790         * manual/conf.texi: Document MTASC-safety properties.
23792         * manual/arith.texi: Document MTASC-safety properties.
23794         * manual/argp.texi: Document MTASC-safety properties.
23796         * manual/macros.texi: Introduce macros to document multi
23797         thread, asynchronous signal and asynchronous cancellation
23798         safety properties.
23799         * manual/intro.texi: Introduce the properties themselves.
23801 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23803         * sysdeps/sh/sh4/Makefile: New file.
23805 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
23807         * math/gen-libm-test.pl ($srcdir): New variable.
23808         ($auto_input): Use it.
23810 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23812         [BZ #16506]
23813         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23814         access beyond array bounds when parsing netgroups file.
23816         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23817         the old buffer before realloc.
23819 2014-01-27  Allan McRae  <allan@archlinux.org>
23821         * po/fr.po: Update French translation from translation project.
23823 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23825         * sysdeps/sh/libm-test-ulps: Regenerate.
23827 2014-01-24  David S. Miller  <davem@davemloft.net>
23829         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23831 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23833         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23834         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23836 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23838         [BZ #16474]
23839         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23840         string pointers after reallocation.
23842 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23844         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23845         __SH4A__ instead of __SH_FPU_ANY__.
23847 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23849         * sysdeps/sh/fpu_control.h: New file.
23850         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23851         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23852         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23853         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23854         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23855         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23856         * sysdeps/sh/sys/ucontext.h: Remove.
23857         * sysdeps/sh/sys: Remove directory.
23859 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23861         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23862         s390/sys/ucontext.h.
23863         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23864         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23866 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
23868         [BZ #15605]
23869         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23871 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23873         [BZ#16431]
23874         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23875         Adjust the vDSO correctly for internal calls.
23876         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23878 2014-01-20  Allan McRae  <allan@archlinux.org>
23880         * po/ca.po: Update Catalan translation from translation project.
23882 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
23884         * sysdeps/s390/sotruss-lib.c: New file.
23886 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23888         [BZ#16430]
23889         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23890         (__GI___gettimeofday): Alias for a different internal symbol to avoid
23891         local calls issues by not having a PLT stub required for IFUNC calls.
23892         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23894 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
23896         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23897         * math/test-fpucw-static.c: Likewise.
23899 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23901         [BZ #16453]
23902         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23904 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23906         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23907         implementation for powerpc.
23909 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
23911         [BZ #14782]
23912         * sysdeps/posix/system.c (__libc_system): Do not enable
23913         asynchronous cancellation.
23915 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23917         [BZ #16427]
23918         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23919         handling only for numbers special also in the IEEE case.
23921 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23923         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23925 2014-01-11  Allan McRae  <allan@archlinux.org>
23927         * po/bg.po: Update Bulgarian translation from translation project.
23929         * po/de.po: Update German translation from translation project.
23931 2014-01-10  Roland McGrath  <roland@hack.frob.com>
23933         * sysdeps/generic/gcc-compat.h: New file.
23935 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23937         * benchtests/asin-inputs: Correct slow inputs.
23938         * benchtests/acos-inputs: Likewise.
23940 2014-01-10  Allan McRae  <allan@archlinux.org>
23942         * po:sv.po: Update Swedish translation from translation project.
23944         * po/vi.po: Update Vietnamese translation from translation project.
23946         * po/eo.po: Update Esperanto translation from translation project.
23948         * po/cs.po: Update Czech translation from translation project.
23950         * po/nl.po: Update Dutch translation from translation project.
23952         * po/pl.po: Update Polish translation from translation project.
23954         * po/ru.po: Update Russian translation from translation project.
23956         * po/uk.po: Update Ukrainian translation from translation project.
23958 2014-01-08  Brooks Moses  <bmoses@google.com>
23960         * elf/dl-load.c: Fix comment typo.
23962 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
23964         * po/header.pot: Rename to...
23965         * po/pot.header: ... this.
23966         * po/Makefile: Use pot.header.
23968 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
23969             Maxim Kuvyrkov  <maxim@kugelworks.com>
23971         [BZ #16394]
23972         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23973         SRC and DEST against LEN.
23975 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23977         [BZ #16414]
23978         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23979         implementation.
23980         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23982 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23986 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
23988         [BZ #16408]
23989         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23990         for large positive arguments.
23992 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
23994         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23996         * math/auto-libm-test-in: Mark various tests with
23997         xfail-rounding:ldbl-128ibm.
23998         * math/auto-libm-test-out: Regenerated.
24000         [BZ #16407]
24001         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24002         Increase overflow threshold.
24004 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24006         [BZ #14286]
24007         * stdio-common/vfprintf.c: Check for integer overflow.
24009 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24011         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24012         the first argument and return value of __tls_get_addr_internal.
24014 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24016         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24017         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24019 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24021         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24022         * sysdeps/s390/rtld-global-offsets.sym: New file.
24023         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24024         GLIBC_2.19 symbol.
24025         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24026         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24027         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24028         ... this.
24029         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24030         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24031         ... this.
24032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24033         Regenerate.
24034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24035         Regenerate.
24036         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24037         halfs of GPRs for high_gprs contexts.
24038         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24039         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24040         field.
24041         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24042         uc_flags field.
24043         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24044         64 bit versions:
24045         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24046         for high GPRs (uc_high_gprs) and for future extensions
24047         (__reserved).
24048         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24049         for future extensions (__reserved).
24050         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24051         64 bit versions:
24052         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24053         SC_HIGHGPRS offset definition.
24054         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24055         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24057         * Versions.def: Add GLIBC_2.19 for libpthread.
24058         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24059         siglongjmp for libpthread with GLIBC_2.19 symver.
24060         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24061         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24062         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24063         * sysdeps/s390/__longjmp.c: New file.
24064         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24065         * sysdeps/s390/longjmp.c: New file.
24066         * sysdeps/s390/setjmp.S: New file.
24067         * sysdeps/s390/sigjmp.S: New file.
24068         * sysdeps/s390/v1-longjmp.c: New file.
24069         * sysdeps/s390/v1-setjmp.h: New file.
24070         * sysdeps/s390/v1-sigjmp.c: New file.
24071         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24072         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24073         GLIBC_2.19 version.
24074         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24075         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24076         versioned symbols for ____longjmp_chk.
24077         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24078         Likewise.
24079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24080         Regenerate.
24081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24082         Regenerate.
24083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24084         Regenerate.
24085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24086         Regenerate.
24087         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24088         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24089         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24090         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24091         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24092         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24093         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24094         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24095         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24096         * sysdeps/s390/rtld-__longjmp.c: New file.
24097         * sysdeps/s390/rtld-setjmp.S: New file.
24099 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24101         [BZ #16400]
24102         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24103         Return -__logl (x) for small positive arguments without evaluating
24104         a polynomial.
24106 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24108         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24109         Rename to ...
24110         (__ptrace_peeksiginfo_args): ... this.
24111         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24112         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24113         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24115 2014-01-06  Allan McRae  <allan@archlinux.org>
24117         * inet/netinet/in.h: Fix typo in comment.
24119 2014-01-05  Andreas Jaeger  <aj@suse.de>
24121         * sysdeps/i386/fpu/libm-test-ulps: Update.
24123 2014-01-05  Allan McRae  <allan@archlinux.org>
24125         * po/libc.pot: Regenerated.
24127         * malloc/memusagestat.c: Fix gettext call formatting.
24129 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24131         * nscd/nscd.c: Improve usage() output.
24133 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24135         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24136         * sysdeps/unix/sysv/linux/configure: Regenerated.
24137         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24138         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24140 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24142         [BZ #16390]
24143         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24144         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24146 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24148         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24149         extra tokens at end of #undef directive.
24150         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24151         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24152         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24154 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24156         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24158         * math/auto-libm-test-in: Mark various tests with
24159         xfail-rounding:ldbl-128ibm.
24160         * math/auto-libm-test-out: Regenerated.
24162 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24164         [BZ #16386]
24165         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24166         numbers with subnormal high part when calculating exponent.
24168         [BZ #16385]
24169         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24170         fabs.
24172         [BZ #16384]
24173         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24174         M_LN2l.
24175         (__ieee754_acoshl): Use __log1pl not __log1p.
24177 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24179         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24180         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24181         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24182         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24183         (reused_arena, arena_get2): Convert to GNU style.
24184         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24185         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24186         (memalign_check, __malloc_set_state): Likewise.
24187         * malloc/mallocbug.c (main): Likewise.
24188         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24189         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24190         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24191         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24192         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24193         (__posix_memalign, malloc_info): Likewise.
24194         * malloc/malloc.h: Likewise.
24195         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24196         (mallochook, memalignhook, reallochook, mabort): Likewise.
24197         * malloc/mcheck.h: Likewise.
24198         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24199         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24200         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24201         * malloc/morecore.c (__default_morecore): Likewise.
24202         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24203         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24204         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24205         (print_and_abort): Likewise.
24206         * malloc/obstack.h: Likewise.
24207         * malloc/set-freeres.c (__libc_freeres): Likewise.
24208         * malloc/tst-mallocstate.c (main): Likewise.
24209         * malloc/tst-mtrace.c (main): Likewise.
24210         * malloc/tst-realloc.c (do_test): Likewise.
24212 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24214         [BZ #16366]
24215         * nscd/netgroupcache.c (do_notfound): New function.
24216         (addgetnetgrentX): Use it.
24218         [BZ # 16365]
24219         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24220         NSS_STATUS_NOTFOUND.
24222 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24224         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24227 2014-01-01  Allan McRae  <allan@archlinux.org>
24229         * scripts/update-copyrights: Update configure input file suffix.
24231         * NEWS: Update copyright year.
24232         * catgets/gencat.c: Likewise.
24233         * csu/version.c: Likewise.
24234         * debug/catchsegv.sh: Likewise.
24235         * debug/pcprofiledump.c: Likewise.
24236         * debug/xtrace.sh: Likewise.
24237         * elf/ldconfig.c: Likewise.
24238         * elf/ldd.bash.in: Likewise.
24239         * elf/pldd.c: Likewise.
24240         * elf/sotruss.ksh: Likewise.
24241         * elf/sprof.c: Likewise.
24242         * iconv/iconv_prog.c: Likewise.
24243         * iconv/iconvconfig.c: Likewise.
24244         * locale/programs/locale.c: Likewise.
24245         * locale/programs/localedef.c: Likewise.
24246         * login/programs/pt_chown.c: Likewise.
24247         * malloc/memusage.sh: Likewise.
24248         * malloc/memusagestat.c: Likewise.
24249         * malloc/mtrace.pl: Likewise.
24250         * manual/libc.texinfo: Likewise.
24251         * nscd/nscd.c: Likewise.
24252         * nss/getent.c: Likewise.
24253         * nss/makedb.c: Likewise.
24254         * posix/getconf.c: Likewise.
24255         * scripts/test-installation.pl: Likewise.
24257         * All files with FSF copyright notices: Update copyright dates
24258         using scripts/update-copyrights.
24259         * intl/plural.c: Regenerated.
24260         * locale/programs/charmap-kw.h: Likewise.
24261         * locale/programs/locfile-kw.h: Likewise.
24263 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24265         * sysdeps/unix/sysv/linux/configure: Regenerated.
24266         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24267         the linux/fanotify.h header.
24268         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24269         HAVE_LINUX_FANOTIFY_H is defined.
24271 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24273         * benchtests/cos-inputs: New inputs.
24274         * benchtests/sin-inputs: Likewise.
24276         * benchtests/atan-inputs: New inputs. Fix name of multiple
24277         precision fallback inputs.
24279         * benchtests/atanh-inputs: New inputs.
24280         * benchtests/tanh-inputs: Likewise.
24282         * benchtests/acosh-inputs: New inputs.
24283         * benchtests/asinh-inputs: Likewise.
24285         * benchtests/cosh-inputs: New inputs.
24286         * benchtests/sinh-inputs: Likewise.
24288         * benchtests/acos-inputs: Add more inputs.
24289         * benchtests/asin-inputs: Likewise.
24291 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24293         [BZ #16375]
24294         * manual/arith.texi: Fix spelling.
24295         * manual/charset.texi: Likewise.
24296         * manual/errno.texi: Likewise.
24297         * manual/filesys.texi: Likewise.
24298         * manual/lang.texi: Likewise.
24299         * manual/llio.texi: Likewise.
24300         * manual/locale.texi: Likewise.
24301         * manual/message.texi: Likewise.
24302         * manual/resource.texi: Likewise.
24303         * manual/search.texi: Likewise.
24304         * manual/setjmp.texi: Likewise.
24305         * manual/stdio.texi: Likewise.
24306         * manual/string.texi: Likewise.
24307         * manual/sysinfo.texi: Likewise.
24308         * manual/time.texi: Likewise.
24310 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24312         * po/sl.po: New file.
24314 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24316         * .gitignore: Add core/.gdbinit/.gdb_history.
24318 2013-12-27  Allan McRae  <allan@archlinux.org>
24320         [BZ #16369]
24321         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24322         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24324 2013-12-24  Brooks Moses  <bmoses@google.com>
24326         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24327         all compilers that claim C++98 compliance, not just GCC.
24328         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24329         Likewise.
24331 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24333         * NEWS: Restore accidentally deleted bug-fix entries.
24335 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24336             Ondřej Bílka  <neleai@seznam.cz>
24338         [BZ #15073]
24339         * malloc/malloc.c (_int_free): Perform sanity check only if we
24340         have_lock.
24342 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24344         [BZ #12986]
24345         * manual/stdio.texi (String Input Conversions): Clarify that character
24346         classes are not supported.
24348 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24352 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24354         [BZ #16337]
24355         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24356         Calculate results for small negative arguments directly rather
24357         than using reflection formula with special underflow handling.
24359         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24360         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24361         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24362         (fchflags): Likewise.
24363         (revoke): Likewise.
24364         (setlogin): Likewise.
24365         (sigaltstack): Likewise.
24366         (wait4): Likewise.
24367         (sigblock): Remove.
24368         (sigsetmask): Likewise.
24369         (wait3): Likewise.
24370         (waitpid): Likewise.
24371         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24372         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24373         file.
24374         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24375         * sysdeps/unix/bsd/Makefile: ... here.
24376         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24377         * sysdeps/unix/bsd/Versions: ... here.
24378         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24379         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24380         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24381         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24382         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24383         * sysdeps/unix/bsd/sigblock.c: ... here.
24384         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24385         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24386         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24387         * sysdeps/unix/bsd/sigvec.c: ... here.
24388         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24389         * sysdeps/unix/bsd/tcdrain.c: ... here.
24390         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24391         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24392         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24393         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24394         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24395         * sysdeps/unix/bsd/wait.c: ... here.
24396         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24397         * sysdeps/unix/bsd/wait3.c: ... here.
24398         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24399         * sysdeps/unix/bsd/waitpid.c: ... here.
24401 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24403         [BZ #16356]
24404         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24405         round-to-nearest for [!USE_AS_EXPM1L].
24406         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24407         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24408         more tests of exp and exp10.  Expect some exp10 tests to miss
24409         exceptions or fail in directed rounding modes.
24410         * math/auto-libm-test-out: Regenerated.
24411         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24412         (exp10_test_tonearest): New function.
24413         (exp10_towardzero_test_data): New array.
24414         (exp10_test_towardzero): New function.
24415         (exp10_downward_test_data): New array.
24416         (exp10_test_downward): New function.
24417         (exp10_upward_test_data): New array.
24418         (exp10_test_upward): New function.
24419         (main): Call the new functions.
24420         * sysdeps/i386/fpu/libm-test-ulps: Update.
24421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24423 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24425         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24426         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24427         * math/auto-libm-test-out: Regenerated.
24428         * math/libm-test.inc (acosh_test_data): Add more tests.
24429         (atanh_test_data): Likewise.
24430         (ceil_test_data): Likewise.
24431         (copysign_test_data): Likewise.
24432         * sysdeps/i386/fpu/libm-test-ulps: Update.
24433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24435         * timezone/checktab.awk: Update from tzcode 2013i.
24436         * timezone/private.h: Likewise.
24437         * timezone/scheck.c: Likewise.
24438         * timezone/tzfile.h: Likewise.
24439         * timezone/tzselect.ksh: Likewise.
24440         * timezone/zdump.c: Likewise.
24441         * timezone/zic.c: Likewise.
24443         * math/auto-libm-test-in: Add tests of cpow.
24444         * math/auto-libm-test-out: Regenerated.
24445         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24446         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24447         mpc_cc_c.
24448         (func_calc_desc): Add mpc_cc_c union field.
24449         (test_functions): Add cpow.
24450         (special_fill_2pi): New function.
24451         (special_real_inputs): Add 2pi.
24452         (calc_generic_results): Handle mpc_cc_c.
24453         * sysdeps/i386/fpu/libm-test-ulps: Update.
24454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24456         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24457         csqrt, ctan and ctanh.
24458         * math/auto-libm-test-out: Regenerated.
24459         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24460         (TEST_COND_x86): Likewise.
24461         (ccos_test_data): Use AUTO_TESTS_c_c.
24462         (ccosh_test_data): Likewise.
24463         (cexp_test_data): Likewise.
24464         (clog_test_data): Likewise.
24465         (csqrt_test_data): Likewise.
24466         (ctan_test_data): Likewise.
24467         (ctan_tonearest_test_data): Likewise.
24468         (ctan_towardzero_test_data): Likewise.
24469         (ctan_downward_test_data): Likewise.
24470         (ctan_upward_test_data): Likewise.
24471         (ctanh_test_data): Likewise.
24472         (ctanh_tonearest_test_data): Likewise.
24473         (ctanh_towardzero_test_data): Likewise.
24474         (ctanh_downward_test_data): Likewise.
24475         (ctanh_upward_test_data): Likewise.
24476         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24477         mpc_c_c.
24478         (func_calc_desc): Add mpc_c_c union field.
24479         (FUNC_mpc_c_c): New macro.
24480         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24481         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24482         ctanh.
24483         (special_fill_min_subnorm_p120): New function.
24484         (special_real_inputs): Add min_subnorm_p120.
24485         (calc_generic_results): Handle mpc_c_c.
24486         * sysdeps/i386/fpu/libm-test-ulps: Update.
24487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24489 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24491         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24492         (do_sin_slow): New functions.
24493         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24494         (cslow2, csloww1, csloww2): Use the new functions.
24496         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24497         Use M to change sign of result instead of X.  Assume X is
24498         positive.
24499         (csloww1): Likewise.
24500         (__sin): Adjust.
24501         (__cos): Adjust.
24503         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24504         arguments A and DA.
24505         (__sin): Adjust.
24506         (__cos): Likewise.
24508         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24509         (__cos): Likewise.
24510         (sloww1): Don't adjust sign of DX.
24511         (csloww1): Likewise.
24512         (sloww2): Use X directly and don't adjust sign of DX.
24513         (csloww2): Likewise.
24515 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24517         * math/auto-libm-test-in: Add tests of cabs and carg.
24518         * math/auto-libm-test-out: Regenerated.
24519         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24520         (carg_test_data): Likewise.
24521         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24522         mpc_c_f.
24523         (func_calc_desc): Add mpc_c_f union field.
24524         (test_functions): Add cabs and carg.
24525         (calc_generic_results): Handle mpc_c_f.
24527         * sysdeps/powerpc/powerpc32/libgcc-compat.S
24528         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24529         as a macro and a compat symbol.
24530         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24531         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24532         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24533         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24534         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24535         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24536         not use .hidden.
24537         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24538         Likewise.
24539         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24540         Likewise.
24541         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24542         Likewise.
24543         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24544         Likewise.
24545         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24546         Likewise.
24547         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24548         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24549         from GLIBC_2.3.2.
24551 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24555 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24557         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24558         trailing whitespace removed.
24559         * scripts/config.guess: Update to version 2013-11-29.
24560         * scripts/config.sub: Update to version 2013-10-01.
24562         * math/auto-libm-test-in: Add tests of sincos.
24563         * math/auto-libm-test-out: Regenerated.
24564         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24565         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24566         mpfr_f_11.
24567         (func_calc_desc): Add mpfr_f_11 union field.
24568         (test_functions): Add sincos.
24569         (calc_generic_results): Handle mpfr_f_11.
24570         * sysdeps/i386/fpu/libm-test-ulps: Update.
24571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24573 2013-12-19  Andreas Schwab  <schwab@suse.de>
24575         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24576         CALL_MCOUNT.
24577         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24578         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24579         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24581 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24583         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24584         * sysdeps/i386/fpu/libm-test-ulps: Update.
24585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24587         [BZ #16293]
24588         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24589         round-to-nearest mode when using frndint.
24590         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24591         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24592         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24593         Likewise.
24594         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24595         sinh test to fail.
24596         * math/auto-libm-test-out: Regenerated.
24597         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24598         (TEST_COND_x86): Likewise.
24599         (expm1_tonearest_test_data): New array.
24600         (expm1_test_tonearest): New function.
24601         (expm1_towardzero_test_data): New array.
24602         (expm1_test_towardzero): New function.
24603         (expm1_downward_test_data): New array.
24604         (expm1_test_downward): New function.
24605         (expm1_upward_test_data): New array.
24606         (expm1_test_upward): New function.
24607         (main): Run the new test functions.
24608         * sysdeps/i386/fpu/libm-test-ulps: Update.
24609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24611         * include/features.h: Update comment documenting feature test
24612         macros.  Mention _DEFAULT_SOURCE in comment.
24613         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24614         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24615         _BSD_SOURCE and _SVID_SOURCE.
24616         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24617         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24618         !_SVID_SOURCE]: Likewise.
24619         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24620         (__USE_POSIX_IMPLICITLY): Define.
24621         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24622         (_POSIX_SOURCE): Undefine and redefine.
24623         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24624         (_POSIX_C_SOURCE): Likewise.
24625         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24626         (Feature Test Macros): Update documentation of default features.
24628 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24630         * benchtests/Makefile: Add bench-strtok.
24631         * benchtests/bench-strtok.c: New file: strtok benchtest.
24633 2013-12-19  Allan McRae  <allan@archlinux.org>
24635         * manual/install.texi: Suppress menu for plain text output.
24636         * INSTALL: Regenerated.
24638 2013-12-18  Brooks Moses  <bmoses@google.com>
24640         [BZ #15846]
24641         * misc/getauxval.c: Include errno.h.
24642         (__getauxval): Set errno to ENOENT if the requested type is not
24643         found.
24644         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24645         don't declare with __attribute_const__.
24646         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24647         * manual/startup.texi: Document that getauxval sets errno.
24649 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24651         * math/auto-libm-test-in: Add tests of jn and yn.
24652         * math/auto-libm-test-out: Regenerated.
24653         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24654         (yn_test_data): Likewise.
24655         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24656         mpfr_if_f.
24657         (func_calc_desc): Add mpfr_if_f union field.
24658         (FUNC_mpfr_if_f): New macro.
24659         (test_functions): Add jn and yn.
24660         (calc_generic_results): Assert type of second input for
24661         mpfr_ff_f.  Handle mpfr_if_f.
24662         (output_for_one_input_case): Disable all checking for arguments
24663         fitting floating-point types in case of an integer argument.
24664         * sysdeps/i386/fpu/libm-test-ulps: Update.
24665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24668         Don't expect fegetround reference in libm.so.
24670 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24672         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24673         $(config-cflags-nofma).
24675 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24677         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24678         * math/auto-libm-test-out: Regenerated.
24680         [BZ #16338]
24681         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24682         to determine exponent and adjust argument to have exponent of -1.
24683         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24684         log2.
24685         * math/auto-libm-test-out: Regenerated.
24686         * sysdeps/i386/fpu/libm-test-ulps: Update.
24687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24689 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
24691         * manual/probes.texi: Remove cases when per-thread arenas are
24692         disabled.
24694 2013-12-18  Andreas Schwab  <schwab@suse.de>
24696         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24697         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24698         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24699         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24700         * sysdeps/i386/i686/multiarch/Makefile: Update.
24701         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24703 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24705         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24706         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24708 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
24710         [BZ #15968]
24711         Support TZ transition times < 00:00:00.
24712         This is needed for version-3 tz-format files; it supports time
24713         stamps past 2037 for America/Godthab (the only entry in the tz
24714         database for which this change is relevant).
24715         * manual/time.texi (TZ Variable): Document transition times
24716         from -167:59:59 through -00:00:01.
24717         * time/tzset.c (tz_rule): Time of day is now signed.
24718         (__tzset_parse_tz): Parse negative time of day.
24720         Document TZ transition times >= 25:00:00.
24721         * manual/time.texi (TZ Variable): Document transition times from
24722         25:00:00 through 167:59:59.  These are already supported, and this
24723         support will help with version-3 tz-format files.
24725         * manual/time.texi (TZ Variable): Modernize North America example
24726         to reflect current (i.e., 2007-and-later) daylight saving rules.
24728         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24730 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24732         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24733         * sysdeps/unix/bsd/bits/stat.h: Likewise.
24734         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24735         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24736         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24737         * sysdeps/unix/bsd/bsdstat.h: Likewise.
24738         * sysdeps/unix/bsd/clock.c: Likewise.
24739         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24740         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24741         * sysdeps/unix/bsd/init-posix.c: Likewise.
24742         * sysdeps/unix/bsd/poll.c: Likewise.
24743         * sysdeps/unix/bsd/ptsname.c: Likewise.
24744         * sysdeps/unix/bsd/seekdir.c: Likewise.
24745         * sysdeps/unix/bsd/setegid.c: Likewise.
24746         * sysdeps/unix/bsd/seteuid.c: Likewise.
24747         * sysdeps/unix/bsd/setgid.c: Likewise.
24748         * sysdeps/unix/bsd/setrgid.c: Likewise.
24749         * sysdeps/unix/bsd/setruid.c: Likewise.
24750         * sysdeps/unix/bsd/setsid.c: Likewise.
24751         * sysdeps/unix/bsd/setuid.c: Likewise.
24752         * sysdeps/unix/bsd/sigaction.c: Likewise.
24753         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24754         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24755         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24756         * sysdeps/unix/bsd/telldir.c: Likewise.
24757         * sysdeps/unix/bsd/times.c: Likewise.
24758         * sysdeps/unix/bsd/usleep.c: Likewise.
24760         * misc/Makefile (install-lib): Remove libbsd-compat.a.
24761         ($(objpfx)libbsd-compat.a): Remove rule.
24763         * include/features.h (__FAVOR_BSD): Do not define.
24764         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24765         features conflicting with POSIX.
24766         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24767         (_BSD_SOURCE): Remove description of not being a subset of other
24768         feature test macros.
24769         * manual/job.texi (getpgrp): Do not document BSD version.
24770         (getpgid): Do not document by reference to BSD getpgrp.
24771         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24772         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24773         * signal/signal.h [__FAVOR_BSD]: Likewise.
24774         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24775         instead of making contents conditional on [__FAVOR_BSD].
24776         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24778 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24782 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24784         [BZ #16314]
24785         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24786         values below 2**-450, not 2**-500.
24787         * math/auto-libm-test-in: Don't allow spurious underflow from
24788         hypot.
24789         * math/auto-libm-test-out: Regenerated.
24791         [BZ #16316]
24792         [BZ #16330]
24793         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24794         values of ha and hb and sort them after adjusting subnormal
24795         arguments.
24796         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24797         Likewise.
24798         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24799         values of ea and eb and sort them after adjusting subnormal
24800         arguments.
24801         * math/auto-libm-test-in: Do not expect some hypot tests of
24802         subnormals to fail.  Add more hypot tests.
24803         * math/auto-libm-test-out: Regenerated.
24805 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24807         [BZ #13304]
24808         * sysdeps/sh/s_fma.c: New file.
24809         * sysdeps/sh/s_fmaf.c: New file.
24810         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
24811         version.
24812         * sysdeps/sh/Implies: Add sh/soft-fp.
24814 2013-12-16  Roland McGrath  <roland@hack.frob.com>
24816         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
24817         level of indirection to members `objname', `errstring', `malloced'.
24818         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24819         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
24820         it as the __longjmp argument (just pass 1 instead).
24821         (_dl_catch_error): Initialize C with argument pointers and address of
24822         volatile local ERRCODE rather than copying values out of C at return.
24824 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
24826         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24827         * math/auto-libm-test-out: Regenerated.
24828         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24829         (hypot_test_data): Likewise.
24830         (pow_test_data): Likewise.
24831         (pow_tonearest_test_data): Likewise.
24832         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24833         mpfr_ff_f.
24834         (func_calc_desc): Add mpfr_ff_f union field.
24835         (FUNC_mpfr_ff_f): New macro.
24836         (test_functions): Add atan2, hypot and pow.
24837         (special_fill_min): New function.
24838         (special_fill_minus_min): Likewise.
24839         (special_fill_min_subnorm): Likewise.
24840         (special_fill_minus_min_subnorm): Likewise.
24841         (special_real_inputs): Add min, -min, min_subnorm and
24842         -min_subnorm.
24843         (calc_generic_results): Handle mpfr_ff_f.
24844         * sysdeps/i386/fpu/libm-test-ulps: Update.
24845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24847 2013-12-16  Will Newton  <will.newton@linaro.org>
24849         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24850         (Aligned Memory Blocks): Add documentation for aligned_alloc
24851         and suggest it as an alternative to posix_memalign.
24852         (Hooks for Malloc): Document __memalign_hook is also called
24853         for aligned_alloc.  (Summary of Malloc): Add summary for
24854         aligned alloc.  Document __memalign_hook is also called
24855         for aligned_alloc.
24857 2013-12-16  Will Newton  <will.newton@linaro.org>
24859         * manual/memory.texi (Malloc Examples): Clarify default
24860         alignment documentation.  Suggest posix_memalign rather
24861         than memalign or valloc.
24862         (Aligned Memory Blocks): Remove suggestion to use memalign
24863         or valloc.  Remove obsolete comment about BSD.
24864         Document memalign errno values and mark the function obsolete.
24865         Document posix_memalign returned error codes.  Mark valloc
24866         as obsolete.  (Hooks for Malloc): __memalign_hook is also
24867         called for posix_memalign and valloc.
24868         (Summary of Malloc): Add posix_memalign to function summary.
24869         __memalign_hook is also called for posix_memalign and valloc.
24871 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24873         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24874         TAYLOR_SIN.
24875         (__sin): Adjust.
24876         (__cos): Likewise.
24877         (sloww): Use mynumber union.  Expand ternary operator into
24878         if-else statements.
24879         (cslow): use mynumber union.
24881 2013-12-16  Allan McRae  <allan@archlinux.org>
24883         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24884         * configure: Regenerated.
24886         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24888         [BZ #14120]
24889         * configure.ac: Added --enable-maintainer-mode. Check for
24890         autoconf when enabled.
24891         * configure: Regenerated.
24893         * nscd/nscd.service: New file.
24894         * nscd/nscd.tmpfiles: New file.
24896 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
24898         [BZ #12100]
24899         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24900         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24901         * sysdeps/x86_64/multiarch/strstr.c: ... here.
24902         (strstr): Add __strstr_sse2_unaligned ifunc.
24903         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24904         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24905         (strcasestr): Remove __strcasestr_sse42 ifunc.
24906         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24907         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24910 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24912         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24913         * sysdeps/sh/bits/fenv.h: ... here.
24914         * sysdeps/sh/sh4/fpu/bits: Remove directory.
24916 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24918         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24920         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24921         hypotf multiarch implementations.
24922         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24923         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24924         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24925         multiarch hypot for PPC64.
24926         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24927         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24928         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24929         multiarch hypotf for PPC64.
24931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24932         modff multiarch implementations.
24933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24936         multiarch modf for PPC64.
24937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24940         multiarch modff for PPC64.
24942         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24943         and logl multiarch implementations.
24944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24947         multiarch logb for PPC64.
24948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24951         multiarch logb for PPC64.
24952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24955         multiarch logb for PPC64.
24957         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24958         isinff multiarch implementation.
24959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24960         file.
24961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24963         multiarch isinf for PPC64.
24964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24965         file.
24966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24967         multiarch isinff for PPC64.
24969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24970         finitef multiarch implementation.
24971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24972         file.
24973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24975         multiarch finite for PPC64.
24976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24977         file.
24978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24979         multiarch finitef for PPC64.
24981         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24982         lrint multiarch implementation.
24983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24984         file.
24985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24987         multiarch llrint for PPC64.
24988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24989         multiarch lrint for PPC64.
24991         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24992         copysignf multiarch implementation.
24993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24994         file.
24995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24996         file.
24997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24998         multiarch copysign for PPC64.
24999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25000         multiarch copysignf for PPC64.
25002         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25003         multiarch implementation.
25004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25005         file.
25006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25007         file.
25008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25009         file.
25010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25011         file.
25012         multiarch llround for PPC64.
25013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25014         multiarch trunc for PPC64.
25015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25016         multiarch truncf for PPC64.
25018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25019         multiarch implementation.
25020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25021         file.
25022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25023         file.
25024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25025         file.
25026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25027         file.
25028         multiarch llround for PPC64.
25029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25030         multiarch round for PPC64.
25031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25032         multiarch roundf for PPC64.
25034         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25035         multiarch implementation.
25036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25037         file.
25038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25039         file.
25040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25041         file.
25042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25043         file.
25044         multiarch llround for PPC64.
25045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25046         multiarch floor for PPC64.
25047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25048         multiarch floorf for PPC64.
25050         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25051         multiarch implementation.
25052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25053         file.
25054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25055         file.
25056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25057         file.
25058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25059         file.
25060         multiarch llround for PPC64.
25061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25062         multiarch ceil for PPC64.
25063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25064         multiarch ceilf for PPC64.
25066         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25067         multiarch implementation.
25068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25069         file.
25070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25071         file.
25072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25073         file.
25074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25075         multiarch llround for PPC64.
25076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25077         multiarch lround for PPC64.
25079         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25080         multiarch implementation.
25081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25084         file.
25085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25088         multiarch isnan for PPC64.
25089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25090         multiarch isnanf for PPC64.
25092         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25093         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25094         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25095         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25096         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25099         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25100         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25101         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25102         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25105         multiarch implementations.
25106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25107         (__libc_ifunc_impl_list): Likewise.
25108         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25109         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25110         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25111         multiarch stpcpy for PPC64.
25113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25114         multiarch implementations.
25115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25116         (__libc_ifunc_impl_list): Likewise.
25117         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25118         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25119         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25120         multiarch strcpy for PPC64.
25122         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25123         redefine function name.
25124         (_wordcopy_fwd_dest_aligned): Likewise.
25125         (_wordcopy_bwd_aligned): Likewise.
25126         (_wordcopy_bwd_dest_aligned): Likewise.
25127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25128         multiarch implementations.
25129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25130         (__libc_ifunc_impl_list): Likewise.
25131         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25132         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25133         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25134         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25135         multiarch wcscpy for PPC64.
25137         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25138         multiarch implementations.
25139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25140         (__libc_ifunc_impl_list): Likewise.
25141         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25142         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25143         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25144         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25145         multiarch wcscpy for PPC64.
25147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25148         multiarch implementations.
25149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25150         (__libc_ifunc_impl_list): Likewise.
25151         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25152         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25153         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25154         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25155         multiarch wcsrchr for PPC64.
25157         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25158         multiarch implementations.
25159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25160         (__libc_ifunc_impl_list): Likewise.
25161         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25162         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25163         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25164         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25165         multiarch wcschr for PPC64.
25167         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25168         multiarch implementations.
25169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25170         (__libc_ifunc_impl_list): Likewise.
25171         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25172         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25173         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25174         multiarch strchrnul for PPC64.
25176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25177         implementations.
25178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25179         (__libc_ifunc_impl_list): Likewise.
25180         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25181         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25182         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25183         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25184         strchr for PPC64.
25186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25187         implementations.
25188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25189         (__libc_ifunc_impl_list): Likewise.
25190         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25191         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25192         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25193         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25194         strncmp for PPC64.
25196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25197         multiarch implementations.
25198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25199         (__libc_ifunc_impl_list): Likewise.
25200         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25201         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25202         strncasecmp for PPC64.
25203         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25204         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25205         multiarch strncasecmp_l for PPC64.
25207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25208         multiarch implementations.
25209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25210         (__libc_ifunc_impl_list): Likewise.
25211         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25212         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25213         multiarch strcasecmp for PPC64.
25214         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25215         file.
25216         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25217         multiarch strcasecmp_l for PPC64.
25219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25220         implementations.
25221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25222         (__libc_ifunc_impl_list): Likewise.
25223         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25224         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25225         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25226         strnlen for PPC64.
25228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25229         implementations.
25230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25231         (__libc_ifunc_impl_list): Likewise.
25232         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25233         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25234         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25235         strlen for PPC64.
25237         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25238         implementations.
25239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25240         (__libc_ifunc_impl_list): Likewise.
25241         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25242         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25243         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25244         rawmemrchr for PPC64.
25246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25247         implementation.
25248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25249         (__libc_ifunc_impl_list): Likewise.
25250         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25251         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25252         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25253         memrchr for PPC64.
25255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25256         implementation.
25257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25258         (__libc_ifunc_impl_list): Likewise.
25259         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25260         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25261         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25262         memchr for PPC64.
25264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25265         implementation.
25266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25267         (__libc_ifunc_impl_list): Likewise.
25268         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25269         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25270         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25271         mempcpy for PPC64.
25273         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25274         avoid cretion of __bzero symbol.
25275         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25276         Likewise.
25277         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25278         Likewise.
25279         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25280         Likewise.
25281         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25282         multiarch implementations.
25283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25284         (__libc_ifunc_impl_list): Likewise.
25285         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25286         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25287         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25288         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25289         bzero for PPC32.
25290         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25291         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25292         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25293         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25294         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25295         memset for PPC64.
25296         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25298         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25300         implementations.
25301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25302         (__libc_ifunc_impl_list): Likewise.
25303         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25304         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25305         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25306         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25307         memcmp for PPC64.
25309         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25310         multiarch for POWER/PPC64.
25311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25312         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25313         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25314         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25315         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25316         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25317         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25318         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25319         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25320         memcpy for PPC64.
25322         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25323         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25324         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25325         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25326         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25327         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25328         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25329         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25330         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25331         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25332         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25333         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25334         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25335         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25336         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25345 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25347         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25349 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25351         * benchtests/Makefile (bench): Add exp2 and log2.
25352         (LDLIBS-bench-exp2): Add -lm.
25353         (LDLIBS-bench-log2): Likewise.
25354         * benchtests/exp2-inputs: New inputs file.
25355         * benchtests/log2-inputs: New inputs file.
25356         * benchtests/log-inputs: Add new inputs.
25357         * benchtests/tan-inputs: Likewise.
25359 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25361         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25362         definition...
25363         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25364         (csloww2): ... from here.
25366         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25367         instead of structures.
25368         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25369         (POLYNOMIAL): Likewise.
25370         (TAYLOR_SLOW): Likewise.
25371         (__sin): Likewise.
25372         (__cos): Likewise.
25373         (slow1): Likewise.
25374         (slow2): Likewise.
25375         (sloww): Likewise.
25376         (sloww1); Likewise.
25377         (sloww2): Likewise.
25378         (bsloww1): Likewise.
25379         (bsloww2): Likewise.
25380         (cslow2): Likewise.
25381         (csloww): Likewise.
25382         (csloww1): Likewise.
25383         (csloww2): Likewise.
25385 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25387         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25388         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25389         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25390         * malloc/hooks.c (realloc_check): Likewise.
25392         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25393         * malloc/arena.c: Remove PER_THREAD conditional.
25394         [!PER_THREAD]: Remove code.
25395         (ptmalloc_unlock_all2): Likewise.
25396         (ptmalloc_init): Likewise.
25397         (_int_new_arena): Likewise.
25398         (arena_get2): Likewise.
25399         * malloc/hooks.c (__malloc_get_state): Likewise.
25400         (__malloc_set_state): Likewise.
25401         * malloc/malloc.c: Likewise.
25402         (struct malloc_state): Likewise.
25403         (struct malloc_par): Likewise.
25404         (__libc_realloc): Likewise.
25405         (__libc_mallopt): Likewise.
25407 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25409         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25411 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25413         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25414         macro to a function.  Check for zero perturb_byte.
25415         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25417         * malloc/malloc.c: (force_reg): Remove.
25418         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25419         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25420         force_reg by atomic_forced_read.
25421         * malloc/arena.c (ptmalloc_init): Likewise.
25422         * malloc/hooks.c (top_check): Likewise.
25424 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25428 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25432 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25434         * math/auto-libm-test-in: Add tests of lgamma.
25435         * math/auto-libm-test-out: Regenerated.
25436         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25437         (M_LOG_2_SQRT_PIl): Likewise.
25438         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25439         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25440         mpfr_f_f1.
25441         (func_calc_desc): Add mpfr_f_f1 union field.
25442         (ARGS1): New macro.
25443         (ARGS2): Likewise.
25444         (ARGS3): Likewise.
25445         (ARGS4): Likewise.
25446         (RET1): Likewise.
25447         (RET2): Likewise.
25448         (CALC): Likewise.
25449         (FUNC): Likewise.
25450         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25451         (test_functions): Add lgamma.
25452         (calc_generic_results): Handle mpfr_f_f1.
25453         * sysdeps/i386/fpu/libm-test-ulps: Update.
25454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25456 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25458         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25459         __mpn_add_n for PowerPC64/POWER7.
25460         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25461         __mpn_sub_n for PowerPC64/POWER7.
25463         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25464         __mpn_addmul_1 for PowerPC64.
25465         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25466         __mpn_submul_1 for PowerPC64.
25467         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25468         for PowerPC64.
25469         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25470         for PowerPC64.
25472 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25474         [BZ #15089]
25475         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25477 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25479         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25481         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25482         add multiarch folders.
25483         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25484         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25485         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25486         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25487         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25488         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25489         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25490         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25491         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25492         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25493         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25502         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25504         New file.
25505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25506         New file.
25507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25508         multiarch __ieee754_hypot for PowerPC32.
25509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25510         New file.
25511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25512         New file.
25513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25514         multiarch __ieee754_hypotf for PowerPC32.
25516         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25517         long_double_symbol only if __logbl is defined.
25518         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25519         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25520         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25521         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25522         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25523         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25524         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25525         path for implementation.
25526         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25527         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25529         logb, and logbl multiarch implementations for PowerPC32.
25530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25531         file.
25532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25533         file.
25534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25535         multiarch logb for PowerPC32.
25536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25537         file.
25538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25539         file.
25540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25541         multiarch logbf for PowerPC32.
25542         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25544         file.
25545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25546         multiarch logbl implementation for PowerPC32.
25548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25549         and modff multiarch implementations.
25550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25551         New file.
25552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25553         New file.
25554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25555         multiarch modf for PowerPC32.
25556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25557         New file.
25558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25559         New file.
25560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25561         multiarch modff for PowerPC32.
25563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25564         and lrintf multiarch implementations.
25565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25566         New file.
25567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25568         New file.
25569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25570         multiarch lrint for PowerPC32.
25571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25572         file: multiarch lrintf for PowerPC32.
25574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25575         and lroundf multiarch implementations.
25576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25577         New file.
25578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25579         New file.
25580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25581         New file.
25582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25583         multiarch lround for PowerPC32.
25584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25585         file: multiarch lroundf for PowerPC32.
25587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25588         copysign and copysignf multiarch implementations.
25589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25590         New file.
25591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25592         New file.
25593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25594         file: multiarch copysign for PowerPC32.
25595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25596         file: multiarch copysignf for PowerPC32.
25598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25599         and truncf multiarch implementations.
25600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25601         New file.
25602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25603         file.
25604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25605         multiarch trunc for PowerPC32.
25606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25607         New file.
25608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25609         New file.
25610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25611         multiarch truncf for PowerPC32.
25613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25614         and roundf multiarch implementations.
25615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25616         New file.
25617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25618         file.
25619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25620         multiarch round for PowerPC32.
25621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25622         New file.
25623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25624         New file.
25625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25626         multiarch roundf for PowerPC32.
25628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25629         and floorf multiarch implementations.
25630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25631         New file.
25632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25633         file.
25634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25635         multiarch floor for PowerPC32.
25636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25637         New file.
25638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25639         New file.
25640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25641         multiarch floorf for PowerPC32.
25643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25644         and ceilf multiarch implementations.
25645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25646         New file.
25647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25648         file.
25649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25650         multiarch ceil for PowerPC32.
25651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25652         New file.
25653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25654         file.
25655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25656         multiarch ceilf for PowerPC32.
25658         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25659         is defined.
25660         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25661         FINITEF is defined.
25662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25663         and finitef multiarch implementations.
25664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25665         New file.
25666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25667         file.
25668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25669         multiarch finite for PowerPC32.
25670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25671         New file.
25672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25673         file: multiarch finitef for PowerPC32.
25675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25676         and isinff multiarch implementations.
25677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25678         file.
25679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25680         file.
25681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25682         multiarch isinf for PowerPC32.
25683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25684         New file.
25685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25686         multiarch isinff for PowerPC32.
25688         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25689         alias when __isnan is defined.
25690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25691         and isnanf multiarch implementations.
25692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25693         file.
25694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25695         file.
25696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25697         file.
25698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25699         file.
25700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25701         multiarch isnan for PowerPC32.
25702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25703         New file.
25704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25705         New file.
25706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25707         multiarch isnanf for PowerPC32.
25709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25710         and sqrtf multiarch implementations.
25711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25712         file.
25713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25714         file.
25715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25716         multiarch sqrt for PowerPC32.
25717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25718         file.
25719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25720         file.
25721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25722         multiarch sqrtf for PowerPC32.
25724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25725         and llroundf multiarch implementations.
25726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25727         New file.
25728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25729         New file.
25730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25731         New file.
25732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25733         file: multiarch llround for PowerPC32.
25734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25735         file: multiarch llroundf for PowerPC32.
25737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25738         multiarch PowerPC32 fpu implementations.
25739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25740         New file.
25741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25742         New file.
25743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25744         multiarch llrint for PowerPC32.
25745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25746         New file.
25747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25748         New file.
25749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25750         file.
25752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25754         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25755         file.
25756         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25757         file.
25758         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25759         file.
25760         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25761         multiarch wordcopy for PPC32.
25762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25763         wordcopy objects.
25764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25765         (__libc_ifunc_impl_list): Likewise.
25766         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25767         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25768         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25769         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25770         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25771         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25773         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25775         file.
25776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25777         file.
25778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25779         file.
25780         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25781         multiarch wcscpy for PPC32.
25782         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25783         multiarch objects.
25784         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25785         (__libc_ifunc_impl_list): Likewise.
25786         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25787         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25788         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25789         sysdeps/powerpc/power6/wcscpy.c.
25791         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25793         file.
25794         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25795         file.
25796         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25797         file.
25798         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25799         multiarch wcsrchr for PPC32.
25800         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25801         multiarch objects.
25802         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25803         (__libc_ifunc_impl_list): Likewise.
25804         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25805         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25806         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25807         sysdeps/powerpc/power6/wcsrchr.c.
25809         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25810         file.
25811         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25812         file.
25813         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25814         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25815         multiarch wcschr for PPc32.
25816         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25817         multiarch objects.
25818         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25819         (__libc_ifunc_impl_list): Likewise.
25820         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25821         * sysdeps/powerpc/power6/wcschr.c: ... to here.
25822         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25823         sysdeps/powerpc/power6/wcschr.c.
25825         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25826         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25827         file.
25828         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25829         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25830         file: multiarch strchr for PPC32.
25831         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25832         multiarch objects.
25833         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25834         (__libc_ifunc_impl_list): Likewise.
25836         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25837         name.
25838         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25839         file.
25840         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25841         file.
25842         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25843         multiarch strchrnul for PPC32.
25844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25845         multiarch objects.
25846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25847         (__libc_ifunc_impl_list): Likewise.
25849         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25850         file.
25851         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25852         multiarch strncasecmp for PPC32.
25853         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25854         file.
25855         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25856         multiarch strncasecmp_l for PPC32.
25857         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25858         strncasecmp multiarch objects.
25859         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25860         (__libc_ifunc_impl_list): Likewise.
25862         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25863         file.
25864         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25865         multiarch strncasecmp for PPC32.
25866         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25867         New file.
25868         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25869         multiarch strcasecmp_l for PPC32.
25870         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25871         multiarch objects.
25872         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25873         (__libc_ifunc_impl_list): Likewise.
25875         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25876         file.
25877         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25878         file.
25879         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25880         multiarch strncmp for PPC32.
25881         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25882         multiarch objects.
25883         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25884         (__libc_ifunc_impl_list): Likewise.
25886         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25887         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25888         file.
25889         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25890         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25892         multiarch objects.
25893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25894         (__libc_ifunc_impl_list): Likewise.
25896         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25897         file.
25898         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25899         file.
25900         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25901         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25902         multiarch objects.
25903         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25904         (__libc_ifunc_impl_list): Likewise.
25906         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25907         file.
25908         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25909         file.
25910         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25911         multiarch rawmemchr for PPC32.
25912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25913         multiarch objects.
25914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25915         (__libc_ifunc_impl_list): Likewise.
25917         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25918         file.
25919         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25920         file.
25921         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25922         file: memrchr multiarch for PPC32.
25923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25924         multiarch objects.
25925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25926         (__libc_ifunc_impl_list): Likewise.
25928         * string/memchr.c (__memchr): Using macro to redefine symbol name.
25929         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25930         file.
25931         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25932         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25933         multiarch memchr for PPC32.
25934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25935         multiarch objects.
25936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25937         (__libc_ifunc_impl_list): Likewise.
25939         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25940         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25941         file.
25942         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25943         file.
25944         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25945         file: multiarch mempcpy for PPC32.
25946         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25947         multiarch objects.
25948         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25949         (__libc_ifunc_impl_list): Likewise.
25951         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25952         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25953         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25954         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25955         multiarch bzero for PPC32.
25956         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25957         file.
25958         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25959         file.
25960         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25961         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25962         file: multiarch memset for PPC32.
25963         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25965         memset multiarch objects.
25966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25967         (__libc_ifunc_impl_list): Likewise.
25969         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25970         file.
25971         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25972         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25973         memcmp for PPC32.
25974         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25976         multiarch objects.
25977         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25978         (__libc_ifunc_impl_list): Likewise.
25980         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25981         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25982         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25983         file.
25984         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25985         file.
25986         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25987         file.
25988         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25989         multiarch memcpy for PPC32.
25990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25991         multiarch objects.
25992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25993         (__libc_ifunc_impl_list): Likewise.
25995         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25996         support multiarch for POWER/PPC32.
25997         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25998         Likewise.
25999         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26001         Implies file to make multiarch folder appers before the fpu and
26002         default folder for power4 configuration.
26004 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26006         * scripts/bench.pl: Append volatile keyword to type.
26008 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26010         * sysdeps/sh/sotruss-lib.c: New file.
26011         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26013 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26017 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26019         [BZ #6810]
26020         * math/w_tgamma.c: Include <errno.h>.
26021         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26022         * math/w_tgammaf.c: Include <errno.h>.
26023         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26024         * math/w_tgammal.c: Include <errno.h>.
26025         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26026         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26027         underflow.  Add more tgamma tests.
26028         * math/auto-libm-test-out: Regenerated.
26029         * sysdeps/i386/fpu/libm-test-ulps: Update.
26030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26032         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26033         sin, sinh, tan, tanh, tgamma, y0 and y1.
26034         * math/auto-libm-test-out: Regenerated.
26035         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26036         (TEST_COND_x86): Likewise.
26037         (M_E2l): Remove macro.
26038         (M_E3l): Likewise.
26039         (M_2_SQRT_PIl): Likewise.
26040         (M_SQRT_PIl): Likewise.
26041         (M_1_DIV_El): Likewise.
26042         (log_test_data): Use AUTO_TESTS_f_f.
26043         (log10_test_data): Likewise.
26044         (log1p_test_data): Likewise.
26045         (log2_test_data): Likewise.
26046         (sin_test_data): Likewise.
26047         (sin_tonearest_test_data): Likewise.
26048         (sin_towardzero_test_data): Likewise.
26049         (sin_downward_test_data): Likewise.
26050         (sin_upward_test_data): Likewise.
26051         (sinh_test_data): Likewise.
26052         (sinh_tonearest_test_data): Likewise.
26053         (sinh_towardzero_test_data): Likewise.
26054         (sinh_downward_test_data): Likewise.
26055         (sinh_upward_test_data): Likewise.
26056         (tan_test_data): Likewise.
26057         (tan_tonearest_test_data): Likewise.
26058         (tan_towardzero_test_data): Likewise.
26059         (tan_downward_test_data): Likewise.
26060         (tan_upward_test_data): Likewise.
26061         (tanh_test_data): Likewise.
26062         (tgamma_test_data): Likewise.
26063         (y0_test_data): Likewise.
26064         (y1_test_data): Likewise.
26065         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26066         (special_real_inputs): Add pi/4.
26067         * sysdeps/i386/fpu/libm-test-ulps: Update.
26068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26070 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26072         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26073         "longjmp_target" static probes.
26074         (__longjmp): Rename to __longjmp_symbol.
26075         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26076         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26077         on which longjmp to generate.
26078         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26079         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26080         probe.
26081         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26082         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26083         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26084         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26085         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26086         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26088         __longjmp_symbol based on which __longjmp to generate.
26089         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26090         probe.
26091         (setjmp): Rename to setjmp_symbol.
26092         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26093         (_setjmp): Rename to _setjmp_symbol.
26094         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26095         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26096         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26097         which setjmp to generate.
26098         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26099         "longjmp_target" static probes.
26101 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26103         * benchtests/README: Add note about output arguments.
26104         * benchtests/bench-sincos.c: Remove file.
26105         * benchtests/sincos-inputs: New file.
26106         * scripts/bench.pl: Identify output arguments and define
26107         static variables for them.
26109         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26111         [BZ #15941]
26112         * Makefile (INSTALL): Add install-plain.texi as the primary
26113         dependency.
26114         * manual/install-plain.texi: New file.
26115         * manual/install.texi: Include node directive only for
26116         non-plaintext output.
26118 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26120         * stdlib/longlong.h: Update from GCC.
26122         [BZ #6807]
26123         [BZ #15901]
26124         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26125         * math/w_j0f.c (y0f): Likewise.
26126         * math/w_j0l.c (__y0l): Likewise.
26127         * math/w_j1.c (y1): Likewise.
26128         * math/w_j1f.c (y1f): Likewise.
26129         * math/w_j1l.c (__y1l): Likewise
26130         * math/w_jn.c (yn): Likewise.
26131         * math/w_jnf.c (ynf): Likewise.
26132         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26133         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26134         value for Bessel function domain errors outside _SVID_ mode.
26135         Adjust sign of return value for yn (negative integer, 0).
26136         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26137         by zero in return for negative x and set sign appropriately for
26138         negative n.
26139         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26140         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26141         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26142         expectations in error cases.
26143         (y1_test_data): Likewise.
26144         (yn_test_data): Likewise.
26145         * sysdeps/i386/fpu/libm-test-ulps: Update.
26146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26148 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26150         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26151         "64" to "64-v1".  Add "64-v2".
26152         (abi-64-options): Rename to ...
26153         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26154         (abi-64-condition): Rename to ...
26155         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26156         (abi-64-ld-soname): Rename to ...
26157         (abi-64-v1-ld-soname): ... this.
26158         (abi-64-v2-options): Define.
26159         (abi-64-v2-condition): Likewise.
26160         (abi-64-v2-ld-soname): Likewise.
26161         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26162         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26167 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26168             Alan Modra  <amodra@gmail.com>
26170         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26171         New versions for use with the ELFv2 ABI.
26172         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26173         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26174         declaration.
26175         (struct La_ppc64v2_retval): Likewise.
26176         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26177         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26178         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26179         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26180         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26181         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26182         Do not save or restore CR.
26183         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26184         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26185         return values for ELFv2 ABI.  Fix location of FPR return registers.
26186         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26187         updated values for _CALL_ELF == 2.
26188         (La_regs, La_retval, int_retval): Likewise.
26190 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26192         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26193         (FRAME_MIN_SIZE_PARM): Likewise.
26194         (FRAME_BACKCHAIN): Likewise.
26195         (FRAME_CR_SAVE): Likewise.
26196         (FRAME_LR_SAVE): Likewise.
26197         (FRAME_TOC_SAVE): Likewise.
26198         (FRAME_PARM_SAVE): Likewise.
26199         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26200         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26201         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26202         (call_mcount_parm_offset): New macro.
26203         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26204         (PROF): Use symbolic stack frame offsets.
26205         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26206         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26207         Redefine in terms of FRAME_MIN_SIZE.
26208         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26209         (_dl_profile_resolve): Likewise.  Update comment.
26210         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26211         symbols stack frame offsets.
26212         (__sigsetjmp): Likewise.
26213         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26214         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26215         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26216         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26219         (FRAME_BACKCHAIN): Remove.
26220         (FRAME_CR_SAVE): Likewise.
26221         (FRAME_LR_SAVE): Likewise.
26222         (FRAME_COMPILER_DW): Likewise.
26223         (FRAME_LINKER_DW): Likewise.
26224         (FRAME_TOC_SAVE): Likewise.
26225         (FRAME_PARM_SAVE): Likewise.
26226         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26227         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26228         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26230         (CHECK_SP): Use symbolic stack frame offsets.
26231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26232         zone" instead of caller's parameter save area for temp storage.
26233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26234         Likewise.  Also, use symbolic stack frame offsets.
26235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26236         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26237         our own stack frame instead of the caller's.
26238         (__socket): Use symbolic stack frame offsets.
26240 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26241             Alan Modra  <amodra@gmail.com>
26243         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26244         Define.
26245         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26246         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26247         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26248         New function.
26249         (elf_machine_fixup_plt): Call it.
26250         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26251         reloc arguments.
26252         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26253         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26254         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26255         r2 before calling target.
26257 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26258             Alan Modra  <amodra@gmail.com>
26260         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26261         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26262         versions of macros to support ELFv2 ABI.
26263         (LOCALENTRY): New macro.
26264         (ENTRY, EALIGN): Use it.
26265         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26266         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26267         fall through into ENTRY entry point.
26268         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26269         Only define if _CALL_ELF != 2.
26271         (elf_machine_matches_host): Verify ABI version matches.
26272         (RTLD_START): Use LOCALENTRY.
26273         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26274         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26275         (PLT_ENTRY_WORDS): New macro.
26276         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26277         (elf_machine_runtime_setup): Support ELFv2 ABI.
26278         (elf_machine_fixup_plt): Likewise.
26279         (elf_machine_plt_conflict): Likewise.
26280         (resolve_ifunc): Likewise.
26281         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26282         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26283         Likewise.
26284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26285         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26287         (makecontext): Support ELFv2 ABI.
26288         * elf/elf.h (EF_PPC64_ABI): Define.
26290 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26292         * sysdeps/powerpc/powerpc64/sysdep.h
26293         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26294         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26295         (ENTRY) [ASSEMBLER]: ... but instead here ...
26296         (EALIGN) [ASSEMBLER]: ... and here.
26297         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26298         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26299         (ENTRY_2) [!ASSEMBLER]: Use it.
26300         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26301         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26302         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26303         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26304         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26306         Use PPC64_LOAD_FUNCPTR.
26308         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26310 2013-12-04  Alan Modra  <amodra@gmail.com>
26312         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26313         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26314         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26315         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26317         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26318         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26319         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26320         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26321         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26322         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26324 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26327         (__makecontext): Fix incorrect CFI when backtracing out of
26328         context created via makecontext.
26329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26330         (__setcontext): Fix incorrect CFI during switch to new context.
26331         (__novec_setcontext): Likewise.
26333 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26335         [BZ #4772]
26336         * time/strptime_l.c (__strptime_internal): Allow modifiers
26337         in strptime.
26338         * time/tst-strptime.c (day_tests): Add testcase.
26340 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26342         * scripts/bench.pl: Skip over blank lines.
26344 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26346         [BZ #926]
26347         * manual/time.texi (Calendar Time): Clarify what timezone functions
26348         use.
26350 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26354 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26356         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26357         implementation.
26358         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26359         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26360         * debug/memset_chk.c (__memset_chk): Likewise.
26361         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26362         * debug/strncpy_chk.c: Likewise.
26364 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26366         [BZ #15268]
26367         [BZ #15425]
26368         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26369         (__ieee754_exp): For possibly underflowing results, check size of
26370         result and force underflow exception if required.
26371         * math/auto-libm-test-in: Add more tests of exp.
26372         * math/auto-libm-test-out: Regenerated.
26373         * sysdeps/i386/fpu/libm-test-ulps: Update.
26374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26376         [BZ #16283]
26377         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26378         * math/w_exp2f.c (__exp2f): Likewise.
26379         * math/w_exp2l.c (__exp2l): Likewise.
26380         * math/auto-libm-test-in: Do not allow missing errno on exp2
26381         underflow.
26382         * math/auto-libm-test-out: Regenerated.
26384 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26386         [BZ #16274]
26387         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26388         handle filename validation.
26389         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26390         (do_open): Delete.
26392 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26394         [BZ #6786]
26395         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26396         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26397         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26398         <float.h>.
26399         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26400         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26401         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26402         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26403         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26404         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26405         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26406         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26407         Add more erfc tests.
26408         * math/auto-libm-test-out: Regenerated.
26409         * sysdeps/i386/fpu/libm-test-ulps: Update.
26410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26412         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26413         exp2, expm1, j0 and j1.
26414         * math/auto-libm-test-out: Regenerated.
26415         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26416         (erfc_test_data): Likewise.
26417         (exp_test_data): Likewise.
26418         (exp_tonearest_test_data): Likewise.
26419         (exp_towardzero_test_data): Likewise.
26420         (exp_downward_test_data): Likewise.
26421         (exp_upward_test_data): Likewise.
26422         (exp10_test_data): Likewise.
26423         (exp2_test_data): Likewise.
26424         (expm1_test_data): Likewise.
26425         (j0_test_data): Likewise.
26426         (j1_test_data): Likewise.
26427         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26428         (input_flag_type): Add flag_xfail_rounding.
26429         (input_flags): Add xfail-rounding.
26430         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26431         (output_for_one_input_case): Handle flag_xfail_rounding.
26432         * sysdeps/i386/fpu/libm-test-ulps: Update.
26433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26435 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26437         [BZ #16289]
26438         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26439         division by 0.
26441 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26443         [BZ #16195]
26444         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26445         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26446         (STAP_PROBE0): New macro.
26447         (STAP_PROBE1): Likewise.
26448         (STAP_PROBE2): Likewise.
26449         (STAP_PROBE3): Likewise.
26450         (STAP_PROBE4): Likewise.
26452 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26454         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26456 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26458         * benchtests/Makefile (bench): Add sqrt.
26459         (LDLIBS-bench-sqrt): New.
26460         * benchtests/sqrt-input: New.
26462 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26464         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26465         (GAIH_EAI): Likewise.
26466         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26467         (gaih_inet): Likewise.
26468         (getaddrinfo): Don't use GAIH_EAI.
26470         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26471         (struct gaih): Remove definition.
26473 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26475         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26476         Use HERRNOP directly.
26478 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26482 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26484         * math/gen-auto-libm-tests.c (test_functions): Add more
26485         single-argument functions.
26486         (special_fill_pi_2): New function.
26487         (special_fill_minus_pi_2): Likewise.
26488         (special_fill_pi_6): Likewise.
26489         (special_fill_minus_pi_6): Likewise.
26490         (special_fill_pi_3): Likewise.
26491         (special_fill_2pi_3): Likewise.
26492         (special_fill_e): Likewise.
26493         (special_fill_1_e): Likewise.
26494         (special_fill_e_minus_1): Likewise.
26495         (special_real_inputs): Add more special inputs.
26496         (output_for_one_input_case): Do not require ERANGE on underflow to
26497         zero if round-to-nearest result does not underflow to zero, unless
26498         exact results required.
26499         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26500         atan, atanh, cbrt, cos and cosh.
26501         * math/auto-libm-test-out: Regenerated.
26502         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26503         (acos_tonearest_test_data): Likewise.
26504         (acos_towardzero_test_data): Likewise.
26505         (acos_downward_test_data): Likewise.
26506         (acos_upward_test_data): Likewise.
26507         (acosh_test_data): Likewise.
26508         (asin_test_data): Likewise.
26509         (asin_tonearest_test_data): Likewise.
26510         (asin_towardzero_test_data): Likewise.
26511         (asin_upward_test_data): Likewise.
26512         (asinh_test_data): Likewise.
26513         (atan_test_data): Likewise.
26514         (atanh_test_data): Likewise.
26515         (cbrt_test_data): Likewise.
26516         (cos_test_data): Likewise.
26517         (cos_tonearest_test_data): Likewise.
26518         (cos_towardzero_test_data): Likewise.
26519         (cos_downward_test_data): Likewise.
26520         (cos_upward_test_data): Likewise.
26521         (cosh_test_data): Likewise.
26522         (cosh_tonearest_test_data): Likewise.
26523         (cosh_towardzero_test_data): Likewise.
26524         (cosh_downward_test_data): Likewise.
26525         (cosh_upward_test_data): Likewise.
26526         * sysdeps/i386/fpu/libm-test-ulps: Update.
26527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26529 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
26531         [BZ #6787]
26532         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26533         * math/w_exp10f.c (__exp10f): Likewise.
26534         * math/w_exp10l.c (__exp10l): Likewise.
26535         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26536         errno settings in existing tests.
26538         [BZ #14032]
26539         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26540         precision control set to double precision.
26541         * sysdeps/i386/fpu/w_sqrt.c: New file.
26542         * math/auto-libm-test-in: Add more tests.
26543         * math/auto-libm-test-out: Update.
26545         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26546         (sqrt_test_tonearest): New function.
26547         (sqrt_towardzero_test_data): New variable.
26548         (sqrt_test_towardzero): New function.
26549         (sqrt_downward_test_data): New variable.
26550         (sqrt_test_downward): New function.
26551         (sqrt_upward_test_data): New variable.
26552         (sqrt_test_upward): New function.
26553         (main): Call the new functions.
26555         * math/gen-auto-libm-tests.c: New file.
26556         * math/auto-libm-test-in: Likewise.
26557         * math/auto-libm-test-out: New generated file.
26558         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26559         variables.
26560         (%beautify): Add generated representations of zero.
26561         (top level): Set $auto_input and call parse_auto_input.
26562         (beautify): Remove trailing "f" from hex float constants.
26563         (parse_args): Handle XFAIL_TEST.
26564         (convert_condition): New function.
26565         (or_value): Likewise.
26566         (or_cond_value): Likewise.
26567         (generate_testfile): Handle AUTO_TESTS_* lines.
26568         (parse_auto_input): New function.
26569         * math/libm-test.inc (XFAIL_TEST): New macro.
26570         (ERRNO_UNCHANGED): Update value.
26571         (ERRNO_EDOM): Likewise.
26572         (ERRNO_ERANGE): Likewise.
26573         (IGNORE_RESULT): Likewise.
26574         (TEST_COND_flt_32): New macro.
26575         (TEST_COND_dbl_64): Likewise.
26576         (TEST_COND_ldbl_96_intel): Likewise.
26577         (TEST_COND_ldbl_96_m68k): Likewise.
26578         (TEST_COND_ldbl_128): Likewise.
26579         (TEST_COND_ldbl_128ibm): Likewise.
26580         (TEST_COND_long32): Likewise.
26581         (TEST_COND_long64): Likewise.
26582         (TEST_COND_before_rounding): Likewise.
26583         (TEST_COND_after_rounding): Likewise.
26584         (enable_test): Handle XFAIL_TEST flag.
26585         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26586         with finite results.
26587         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26588         auto-libm-test-out.
26590 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26591             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26593         [BZ #16214]
26594         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26595         __tls_get_addr_internal instead of __tls_get_offset in order to
26596         avoid GOT pointer dependency.  Make rtld export
26597         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26598         __tls_get_addr since we are a __tls_get_offset platform.
26599         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26600         GOT pointer being set up before.
26601         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26603 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26605         * manual/math.texi (Errors in Math Functions): Document accuracy
26606         goals.
26608         [BZ #15004]
26609         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26610         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26611         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26612         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26613         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26614         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26615         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26616         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26617         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26618         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26619         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26620         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26621         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26622         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26623         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26624         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26626         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26627         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26628         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26629         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26630         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26631         Likewise.
26632         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26633         Likewise.
26634         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26635         Likewise.
26636         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26637         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26638         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26639         atomic-feupdateenv and flt-rounds.
26640         * sysdeps/powerpc/nofpu/Versions (libc): Add
26641         __atomic_feholdexcept, __atomic_feclearexcept,
26642         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26643         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26644         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26645         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26646         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26647         here.
26648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26649         Update.
26651         * manual/arith.texi (FP Exceptions): Document that exceptions may
26652         not be raised when matherr is used.
26653         (Math Error Reporting): Document overflow in directed rounding
26654         modes.  Document that errno may not be set when finite values are
26655         returned on overflow.  Document intent to set errno on underflow
26656         only for underflow to zero.
26658         [BZ #16271]
26659         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26660         round-to-nearest then adjust result for other rounding modes.
26661         * include/fenv.h (fegetround): Use libm_hidden_proto.
26662         * math/fegetround.c (fegetround): Use libm_hidden_def.
26663         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26664         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26665         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26666         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26667         Likewise.
26668         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26669         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26670         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26671         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26673 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26675         [BZ #16077]
26676         * nss/Versions (libnss_files): Add
26677         _nss_files_gethostbyname3_r.
26678         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26679         New function.
26680         (HOST_DB_LOOKUP): Remove macro.
26681         (_nss_files_gethostbyname_r): Implement function without the
26682         HOST_DB_LOOKUP macro.
26683         (_nss_files_gethostbyname2_r): Likewise.
26685 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
26687         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26689 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
26691         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26692         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26693         warning.
26695 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26697         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26698         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26699         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26700         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26701         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26702         __fe_nomask_env_priv and attribute_hidden.
26703         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26704         (libc_feupdateenv_test_ppc): Likewise.
26705         (libc_feresetround_ppc): Likewise.
26706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26707         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26708         compat_symbol macro.
26709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26710         (__fe_nomask_env): Likewise.
26711         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26713 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26715         * string/Makefile: Remove ifunc tests.
26716         * string/test-string.h: Define TEST_IFUNC.
26717         * string/test-bcopy-ifunc.c: Remove.
26718         * string/test-bzero-ifunc.c: Likewise.
26719         * string/test-memccpy-ifunc.c: Likewise.
26720         * string/test-memchr-ifunc.c: Likewise.
26721         * string/test-memcmp-ifunc.c: Likewise.
26722         * string/test-memcpy-ifunc.c: Likewise.
26723         * string/test-memmem-ifunc.c: Likewise.
26724         * string/test-memmove-ifunc.c: Likewise.
26725         * string/test-mempcpy-ifunc.c: Likewise.
26726         * string/test-memrchr-ifunc.c: Likewise.
26727         * string/test-memset-ifunc.c: Likewise.
26728         * string/test-rawmemchr-ifunc.c: Likewise.
26729         * string/test-stpcpy-ifunc.c: Likewise.
26730         * string/test-stpncpy-ifunc.c: Likewise.
26731         * string/test-strcasecmp-ifunc.c: Likewise.
26732         * string/test-strcasestr-ifunc.c: Likewise.
26733         * string/test-strcat-ifunc.c: Likewise.
26734         * string/test-strchr-ifunc.c: Likewise.
26735         * string/test-strchrnul-ifunc.c: Likewise.
26736         * string/test-strcmp-ifunc.c: Likewise.
26737         * string/test-strcpy-ifunc.c: Likewise.
26738         * string/test-strcspn-ifunc.c: Likewise.
26739         * string/test-strlen-ifunc.c: Likewise.
26740         * string/test-strncasecmp-ifunc.c: Likewise.
26741         * string/test-strncat-ifunc.c: Likewise.
26742         * string/test-strncmp-ifunc.c: Likewise.
26743         * string/test-strncpy-ifunc.c: Likewise.
26744         * string/test-strnlen-ifunc.c: Likewise.
26745         * string/test-strpbrk-ifunc.c: Likewise.
26746         * string/test-strrchr-ifunc.c: Likewise.
26747         * string/test-strspn-ifunc.c: Likewise.
26748         * string/test-strstr-ifunc.c: Likewise.
26750 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26752         * benchtests/Makefile: Remove ifunc tests.
26753         * benchtests/bench-string.h: Define TEST_IFUNC.
26754         * benchtests/bench-bcopy-ifunc.c: Remove.
26755         * benchtests/bench-bzero-ifunc.c: Likewise.
26756         * benchtests/bench-memccpy-ifunc.c: Likewise.
26757         * benchtests/bench-memchr-ifunc.c: Likewise.
26758         * benchtests/bench-memcmp-ifunc.c: Likewise.
26759         * benchtests/bench-memcpy-ifunc.c: Likewise.
26760         * benchtests/bench-memmem-ifunc.c: Likewise.
26761         * benchtests/bench-memmove-ifunc.c: Likewise.
26762         * benchtests/bench-mempcpy-ifunc.c: Likewise.
26763         * benchtests/bench-memrchr-ifunc.c: Likewise.
26764         * benchtests/bench-memset-ifunc.c: Likewise.
26765         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26766         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26767         * benchtests/bench-stpcpy-ifunc.c: Likewise.
26768         * benchtests/bench-stpncpy-ifunc.c: Likewise.
26769         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26770         * benchtests/bench-strcasestr-ifunc.c: Likewise.
26771         * benchtests/bench-strcat-ifunc.c: Likewise.
26772         * benchtests/bench-strchr-ifunc.c: Likewise.
26773         * benchtests/bench-strchrnul-ifunc.c: Likewise.
26774         * benchtests/bench-strcmp-ifunc.c: Likewise.
26775         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26776         * benchtests/bench-strcpy-ifunc.c: Likewise.
26777         * benchtests/bench-strcspn-ifunc.c: Likewise.
26778         * benchtests/bench-strlen-ifunc.c: Likewise.
26779         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26780         * benchtests/bench-strncat-ifunc.c: Likewise.
26781         * benchtests/bench-strncmp-ifunc.c: Likewise.
26782         * benchtests/bench-strncpy-ifunc.c: Likewise.
26783         * benchtests/bench-strnlen-ifunc.c: Likewise.
26784         * benchtests/bench-strpbrk-ifunc.c: Likewise.
26785         * benchtests/bench-strrchr-ifunc.c: Likewise.
26786         * benchtests/bench-strsep-ifunc.c: Likewise.
26787         * benchtests/bench-strspn-ifunc.c: Likewise.
26788         * benchtests/bench-strstr-ifunc.c: Likewise.
26790 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26792         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26794 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26796         * resolv/netdb.h: Use __glibc_reserved instead __unused.
26797         * rt/aio.h: Likewise.
26798         * sysdeps/gnu/bits/utmp.h: Likewise.
26799         * sysdeps/gnu/bits/utmpx.h: Likewise.
26800         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26801         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26802         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26803         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26804         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26805         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26806         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26807         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26808         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26809         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26810         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26811         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26812         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26814         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26815         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26816         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26817         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26818         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26819         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26820         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26821         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26822         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26823         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26824         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26825         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26826         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26827         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26828         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26829         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26830         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26831         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26832         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26833         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26834         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26835         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26836         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26837         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26838         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26839         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26840         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26841         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26843 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
26845         [BZ #16245]
26846         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26847         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26849 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
26851         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26852         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26853         Likewise.
26855 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26857         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26858         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26859         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26860         (__fesetround): Remove define.
26861         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26862         rounding and exceptions handling.
26863         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26864         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26865         (__fe_nomask_env): Likewise.
26866         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26867         __fegetround instead of fegetround.
26868         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26869         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26871 2013-11-21  Roland McGrath  <roland@hack.frob.com>
26873         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26874         it's there.
26876         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26878 2013-11-21  Meador Inge  <meadori@codesourcery.com>
26880         [BZ #11157]
26881         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26882         (encrypt_r): Likewise.
26883         * malloc/obstack.h (obstack_free): Likewise.
26884         * posix/unistd.h (encrypt): Likewise.
26886 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
26888         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26889         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26890         DL_CALL_DT_FINI() that call the functions directly.
26891         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26892         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26893         * elf/dl-fini.c: Likewise.
26895 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
26897         * malloc/hooks.c (memalign_check): Add alignment rounding.
26898         * malloc/malloc.c (_mid_memalign): New function.
26899         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26900         Implement by calling _mid_memalign.
26901         * manual/probes.texi (Memory Allocation Probes): Remove
26902         memory_valloc_retry and memory_pvalloc_retry.
26904 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26906         * locale/programs/locarchive.c (open_archive): Add const
26907         qualifier to ARCHIVEFNAME and copy default fname to
26908         DEFAULT_FNAME.
26910         [BZ #15601]
26911         * libio/tst-widetext.input: Rename Oriya to Odia.
26912         * locale/iso-639.def: Likewise.
26914         * manual/probes.texi (Mathematical Function Probes): Add
26915         documentation for sin, cos, asin and acos probes.
26916         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26917         (__sin32): Add slowasin probe.
26918         (__cos32): Add slowacos probe.
26919         (__mpsin): Add slowsin probe.
26920         (__mpcos): Add slowcos probe.
26922 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
26924         [BZ #15483]
26925         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26926         thread-local __sim_exceptions_thread and global
26927         __sim_exceptions_global.
26928         (__sim_disabled_exceptions): Change to thread-local
26929         __sim_disabled_exceptions_thread and global
26930         __sim_disabled_exceptions_global.
26931         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26932         and global __sim_round_mode_global.
26933         (__simulate_exceptions): Use thread-local floating-point state and
26934         set global state from it as needed.
26935         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26936         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26937         __sim_round_mode_thread.
26938         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26939         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26940         and global __sim_exceptions_global.
26941         (__sim_disabled_exceptions): Change to thread-local
26942         __sim_disabled_exceptions_thread and global
26943         __sim_disabled_exceptions_global.
26944         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26945         and global __sim_round_mode_global.
26946         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26947         (SIM_SET_GLOBAL): Likewise.
26948         * sysdeps/powerpc/soft-fp/sfp-machine.h
26949         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26950         __sim_round_mode_thread.
26951         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26952         __sim_disabled_exceptions_thread.
26953         (__sim_exceptions): Change to __sim_exceptions_thread.
26954         (__sim_disabled_exceptions): Change to
26955         __sim_disabled_exceptions_thread.
26956         (__sim_round_mode): Change to __sim_round_mode_thread.
26957         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26958         thread-local floating-point state and set global state from it as
26959         needed.
26960         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26961         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26962         (__sim_disabled_exceptions): Remove extern declaration.
26963         (feenableexcept): Use thread-local floating-point state and set
26964         global state from it as needed.
26965         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26966         extern declaration.
26967         (__sim_disabled_exceptions): Likewise.
26968         (__sim_round_mode): Likewise.
26969         (__fegetenv): Use thread-local floating-point state.
26970         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26971         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26972         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26973         floating-point state and set global state from it as needed.
26974         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26975         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26976         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26977         Likewise.
26978         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26979         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26980         Likewise.
26981         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26982         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26983         Use __sim_round_mode_thread.
26984         * math/test-fenv-tls.c: New file.
26985         * math/Makefile (tests): Add test-fenv-tls.
26986         ($(objpfx)test-fenv-tls): Depend on
26987         $(common-objpfx)nptl/libpthread.so.
26989 2013-11-19  Andreas Schwab  <schwab@suse.de>
26991         * locale/programs/locale.c (show_info): Decode wordarray elements.
26992         * locale/categories.def (LC_MONETARY): Add element for
26993         _NL_MONETARY_CRNCYSTR.
26994         * locale/C-monetary.c (conversion_rate): New variable.
26995         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26996         element.
26998 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27000         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27001         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27003 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27005         * elf/Makefile (tst-auxv): New test.
27006         * elf/tst-auxv.c: New
27007         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27009 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27011         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27012         (hidden_proto): Caller changed.
27013         (hidden_tls_proto): New macro.
27014         (libc_hidden_tls_proto): Likewise.
27015         (rtld_hidden_tls_proto): Likewise.
27016         (libm_hidden_tls_proto): Likewise.
27017         (libresolv_hidden_tls_proto): Likewise.
27018         (librt_hidden_tls_proto): Likewise.
27019         (libdl_hidden_tls_proto): Likewise.
27020         (libnss_files_hidden_tls_proto): Likewise.
27021         (libnsl_hidden_tls_proto): Likewise.
27022         (libnss_nisplus_hidden_tls_proto): Likewise.
27023         (libutil_hidden_tls_proto): Likewise.
27025 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27027         [BZ #10253]
27028         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27029         (decompose_rpath): Defer expansion to fillin_rpath.
27030         (_dl_init_paths): Pass linkmap to fillin_rpath.
27032 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27034         * benchtests/Makefile: Add strsep.
27035         * benchtests/bench-strsep.c: New file: strsep benchtest.
27036         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27038 2013-11-18  Andreas Schwab  <schwab@suse.de>
27040         * locale/programs/locale.c (show_info) [case byte]: Check for
27041         '\377' instead of '\177'.
27042         * locale/C-monetary.c (not_available): Always use "\377".
27043         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27044         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27045         detect unavailable sign_posn locale elements.
27046         * locale/localeconv.c (__localeconv): For grouping and
27047         mon_grouping handle "\177" and "\377" like no grouping.
27048         (INT_ELEM): New macro.  Use it to set all numeric members.
27049         * locale/programs/ld-monetary.c (monetary_read)
27050         <tok_mon_grouping>: Normalize single -1 to the empty string.
27051         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27052         Likewise.
27054 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27056         [BZ #16055]
27057         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27058         when we match (nil).
27059         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27061 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27063         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27064         (NO_TEST_INLINE): Update value.
27065         (ERRNO_UNCHANGED): Likewise.
27066         (ERRNO_EDOM): Likewise.
27067         (ERRNO_ERANGE): Likewise.
27068         (IGNORE_RESULT): Likewise.
27069         (check_float_internal): Check signs of NaN results if
27070         TEST_NAN_SIGN used.
27071         (check_complex): Pass TEST_NAN_SIGN flag through to second
27072         check_float_internal call.
27073         (copysign_test_data): Add tests with quiet NaNs as second
27074         argument.  Use TEST_NAN_SIGN.
27075         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27076         TEST_NAN_SIGN.
27077         (signbit_test_data): Add tests of quiet NaN argument.
27078         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27080         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27081         $ignore_result.
27082         (parse_args): Handle function results specified as IGNORE.
27083         * math/libm-test.inc (IGNORE_RESULT): New macro.
27084         (check_float_internal): Do not check numerical result if flag
27085         IGNORE_RESULT set.
27086         (check_complex): Pass through IGNORE_RESULT to second
27087         check_float_internal call.
27088         (check_int): Do not check numerical result if flag IGNORE_RESULT
27089         set.
27090         (check_long): Likewise.
27091         (check_bool): Likewise.
27092         (check_longlong): Likewise.
27093         (lrint_test_data): Add tests of infinite and NaN arguments.
27094         (lrint_tonearest_test_data): Likewise.
27095         (lrint_towardzero_test_data): Likewise.
27096         (lrint_downward_test_data): Likewise.
27097         (lrint_upward_test_data): Likewise.
27098         (llrint_test_data): Likewise.
27099         (llrint_tonearest_test_data): Likewise.
27100         (llrint_towardzero_test_data): Likewise.
27101         (llrint_downward_test_data): Likewise.
27102         (llrint_upward_test_data): Likewise.
27103         (lround_test_data): Likewise.
27104         (llround_test_data): Likewise.
27106         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27107         (ERRNO_UNCHANGED): Update value.
27108         (ERRNO_EDOM): Likewise.
27109         (ERRNO_ERANGE): Likewise.
27110         (NO_TEST_INLINE_FLOAT): New macro.
27111         (NO_TEST_INLINE_DOUBLE): Likewise.
27112         (enable_test): New function.
27113         (RUN_TEST_f_f): Check enable_test before running test.
27114         (RUN_TEST_2_f): Likewise.
27115         (RUN_TEST_fff_f): Likewise.
27116         (RUN_TEST_c_f): Likewise.
27117         (RUN_TEST_f_f1): Likewise.
27118         (RUN_TEST_fF_f1): Likewise.
27119         (RUN_TEST_fI_f1): Likewise.
27120         (RUN_TEST_ffI_f1): Likewise.
27121         (RUN_TEST_c_c): Likewise.
27122         (RUN_TEST_cc_c): Likewise.
27123         (RUN_TEST_f_i): Likewise.
27124         (RUN_TEST_f_i_tg): Likewise.
27125         (RUN_TEST_ff_i_tg): Likewise.
27126         (RUN_TEST_f_b): Likewise.
27127         (RUN_TEST_f_b_tg): Likewise.
27128         (RUN_TEST_f_l): Likewise.
27129         (RUN_TEST_f_L): Likewise.
27130         (RUN_TEST_fFF_11): Likewise.
27131         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27132         conditionals.
27133         (cosh_test_data): Likewise.
27134         (exp_test_data): Likewise.
27135         (expm1_test_data): Likewise.
27136         (hypot_test_data): Likewise.
27137         (pow_test_data): Likewise.
27138         (sinh_test_data): Likewise.
27139         (tanh_test_data): Likewise.
27140         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27141         flags argument.
27143         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27144         tests with quiet NaN input and output.
27145         (acosh_test_data): Likewise.
27146         (asin_test_data): Likewise.
27147         (asinh_test_data): Likewise.
27148         (atan_test_data): Likewise.
27149         (atanh_test_data): Likewise.
27150         (atan2_test_data): Likewise.
27151         (cbrt_test_data): Likewise.
27152         (cos_test_data): Likewise.
27153         (cosh_test_data): Likewise.
27154         (erf_test_data): Likewise.
27155         (erfc_test_data): Likewise.
27156         (exp_test_data): Likewise.
27157         (exp10_test_data): Likewise.
27158         (exp2_test_data): Likewise.
27159         (expm1_test_data): Likewise.
27160         (hypot_test_data): Likewise.
27161         (j0_test_data): Likewise.
27162         (j1_test_data): Likewise.
27163         (jn_test_data): Likewise.
27164         (lgamma_test_data): Likewise.
27165         (log_test_data): Likewise.
27166         (log10_test_data): Likewise.
27167         (log1p_test_data): Likewise.
27168         (log2_test_data): Likewise.
27169         (pow_test_data): Likewise.
27170         (scalb_test_data): Likewise.
27171         (sin_test_data): Likewise.
27172         (sincos_test_data): Likewise.
27173         (sinh_test_data): Likewise.
27174         (tan_test_data): Likewise.
27175         (tanh_test_data): Likewise.
27176         (tgamma_test_data): Likewise.
27177         (y0_test_data): Likewise.
27178         (y1_test_data): Likewise.
27179         (yn_test_data): Likewise.
27181         [BZ #16167]
27182         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27183         argument being NaN and avoid computations with second argument in
27184         that case.
27185         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27186         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27187         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27189 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27191         * locale/iso-639.def: Add Chitwani Tharu (the).
27193 2013-11-14  Andreas Schwab  <schwab@suse.de>
27195         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27196         word instead of empty string.
27198 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27201         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27203         (__fe_nomask_env): Likewise.
27205 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27207         * benchtests/bench-timing.h: Include time.h.
27209 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27211         [BZ #15997]
27212         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27213         to 3.4.0 for x32.
27214         * sysdeps/unix/sysv/linux/configure: Regenerated.
27216 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27218         [BZ #16151]
27219         * stdlib/strtod_l.c (round_and_return): Do not consider
27220         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27221         exponent one less than half the least subnormal exponent.
27222         * stdlib/test-strtod-round-data: Add more tests.
27223         * stdlib/tst-strtod-round.c (tests): Regenerated.
27225 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27227         [BZ #14143]
27228         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27229         (__fe_mask_env): Likewise.
27230         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27231         libm_hidden_proto and add function prototype.
27232         (__fe_mask_env): Add function prototype.
27233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27234         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27236         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27238         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27240 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27242         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27243         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27245 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27247         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27248         of htab_find_slot().
27250 2013-11-11  David S. Miller  <davem@davemloft.net>
27252         [BZ #16150]
27253         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27254         symbol in the non-vis3 case in static builds.
27255         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27256         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27257         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27258         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27260 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27262         [BZ #387]
27263         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27264         it is empty.
27266 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27268         * benchtests/Makefile: Add bench-strtod.
27269         * benchtests/bench-strtod.c: New file: strtod benchtest
27271 2013-11-11  Andreas Schwab  <schwab@suse.de>
27273         [BZ #16153]
27274         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27275         terminating NUL in key length.
27277 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27279         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27280         Add artificial ODP entry for vDSO symbol for PPC64.
27281         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27282         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27284 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27286         [BZ #15374]
27287         * nss/getent.c (services_keys): Recognize services starting with digit.
27289 2013-11-06  David S. Miller  <davem@davemloft.net>
27291         [BZ #15985]
27292         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27293         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27295 2013-11-06  Will Newton  <will.newton@linaro.org>
27297         * manual/memory.texi (Malloc Examples): Remove register
27298         keyword from examples.
27300 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27302         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27304 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27306         [BZ #6981]
27307         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27308         depending on [__GCC_IEC_559 > 0].
27309         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27310         depending on [__GCC_IEC_559_COMPLEX > 0].
27312 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27314         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27315         to iso-639.def.
27317 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27319         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27321 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27323         [BZ #16112]
27324         * malloc/malloc (malloc_info): Do not handle first bin as
27325         special case.
27327 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27329         * locale/iso-639.def: Add Central Nahuatl (nhn).
27331 2013-11-01  Bruno Haible  <bruno@clisp.org>
27333         [BZ #7003]
27334         * manual/math.texi (BSD Random): Specify range upper bound as
27335         in POSIX.
27337 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27339         * locale/iso-639.def: Add Meadow Mari (mhr).
27341 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27343         [BZ #14752], [BZ #15763]
27344         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27345         Validate name.
27346         * rt/tst_shm.c: Add test for escaping directory.
27348 2013-10-31  Andreas Schwab  <schwab@suse.de>
27350         [BZ #15917]
27351         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27352         followed by 'x' as part of digit sequence.
27353         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27355 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27357         [BZ #16037]
27358         * configure.ac: allow GNU Make 4.0 and greater.
27359         * configure: Regenerated.
27361 2013-10-30  Will Newton  <will.newton@linaro.org>
27363         [BZ #16038]
27364         * malloc/hooks.c (memalign_check): Limit alignment to the
27365         maximum representable power of two.
27366         * malloc/malloc.c (__libc_memalign): Likewise.
27367         * malloc/tst-memalign.c (do_test): Add test for very
27368         large alignment values.
27369         * malloc/tst-posix_memalign.c (do_test): Likewise.
27371 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27373         [BZ #11087]
27374         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27375         (munmap_chunk): Likewise.
27376         (mremap_chunk): Likewise.
27378 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27380         [BZ #15799]
27381         * stdlib/div.c (div): Remove obsolete code.
27382         * stdlib/ldiv.c (ldiv): Likewise.
27383         * stdlib/lldiv.c (lldiv): Likewise.
27385 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27387         [BZ #16071]
27388         * nss/nss_files/files-XXX.c (get_contents_ret): New
27389         enumerator.
27390         (get_contents): New function.
27391         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27393 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27395         * configure.in: Moved to ...
27396         * configure.ac: ... here. Change reference to configure.in
27397         to configure.ac.
27398         * sysdeps/arm/preconfigure.ac: ... here.
27399         configure.in to configure.ac.
27400         * sysdeps/gnu/configure.in: Moved to ...
27401         * sysdeps/gnu/configure.ac: ... here.
27402         * sysdeps/i386/configure.in: Moved to ...
27403         * sysdeps/i386/configure.ac: ... here.
27404         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27405         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27406         * sysdeps/mach/configure.in: Moved to ...
27407         * sysdeps/mach/configure.ac: ... here.
27408         * sysdeps/mach/hurd/configure.in: Moved to ...
27409         * sysdeps/mach/hurd/configure.ac: ... here.
27410         * sysdeps/powerpc/configure.in: Moved to ...
27411         * sysdeps/powerpc/configure.ac: ... here.
27412         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27413         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27414         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27415         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27416         * sysdeps/s390/s390-32/configure.in: Moved to ...
27417         * sysdeps/s390/s390-32/configure.ac: ... here.
27418         * sysdeps/s390/s390-64/configure.in: Moved to ...
27419         * sysdeps/s390/s390-64/configure.ac: ... here.
27420         * sysdeps/sh/configure.in: Moved to ...
27421         * sysdeps/sh/configure.ac: ... here.
27422         * sysdeps/sparc/configure.in: Moved to ...
27423         * sysdeps/sparc/configure.ac: ... here.
27424         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27425         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27426         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27427         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27428         * sysdeps/x86_64/configure.in: Moved to ...
27429         * sysdeps/x86_64/configure.ac: ... here.
27430         * sysdeps/x86_64/preconfigure.in: Moved to ...
27431         * sysdeps/x86_64/preconfigure.ac: ... here.
27432         * aclocal.m4: Change reference to configure.in to configure.ac.
27433         * config.h.in: Likewise.
27434         * manual/install.texi: Likewise.
27435         * manual/maint.texi: Likewise.
27436         * Makefile: Likewise.
27437         * malloc/Makefile: Likewise.
27438         * nscd/Makefile: Likewise.
27439         * Makeconfig: Change reference to configure.in and
27440         preconfigure.in to configure.ac and preconfigure.ac
27441         respectively.
27442         * INSTALL: Regenerated.
27443         * configure: Likewise.
27444         * sysdeps/gnu/configure: Likewise.
27445         * sysdeps/i386/configure: Likewise.
27446         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27447         * sysdeps/mach/configure: Likewise.
27448         * sysdeps/mach/hurd/configure: Likewise.
27449         * sysdeps/powerpc/configure: Likewise.
27450         * sysdeps/powerpc/powerpc32/configure: Likewise.
27451         * sysdeps/powerpc/powerpc64/configure: Likewise.
27452         * sysdeps/s390/s390-32/configure: Likewise.
27453         * sysdeps/s390/s390-64/configure: Likewise.
27454         * sysdeps/sh/configure: Likewise.
27455         * sysdeps/sparc/configure: Likewise.
27456         * sysdeps/unix/sysv/linux/configure: Likewise.
27457         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27458         * sysdeps/x86_64/configure: Likewise.
27459         * sysdeps/x86_64/preconfigure: Likewise.
27461 2013-10-29  Andreas Schwab  <schwab@suse.de>
27463         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27465 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27467         * benchtests/pow-inputs: Add new inputs.
27469         * benchtests/exp-inputs: Add new inputs.
27471         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27472         conditional check for return value.
27473         (__cos32): Likewise.
27475 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27477         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27478         to provide a boost for large inputs with word alignment.
27479         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27480         implementation based on optimized PPC64 strcpy.
27481         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27482         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27483         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27484         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27486 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27488         [BZ #2801]
27489         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27491 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27493         [BZ #14876]
27494         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27495         * time/tst-strptime.c (day_tests): Add testcase.
27497 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27499         [BZ #14029]
27500         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27502 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27504         [BZ #16074]
27505         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27506         MAP_FAILED on error.
27508 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27510         [BZ #16072]
27511         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27512         heap for large requests.
27514 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
27516         [BZ #9954]
27517         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27518         result if the result has no associated interface.
27519         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27520         interface for all 127.X.Y.Z addresses.
27522 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27524         * locale/iso-639.def: Add Ligurian (lij)
27526 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27528         [BZ #15825]
27529         * sunrpc/rpc_main.c: Document rpcgen -5.
27531 2013-10-19  Michael Stahl  <mstahl@redhat.com>
27533         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27535 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27537         [BZ #10278]
27538         * posix/glob.c: Match only directories when trailing slash is present.
27539         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27540         (main): Add testcase.
27542 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27544         [BZ #15670]
27545         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27547 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27549         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27550         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27551         AUTH_DES and cindex for FIPS 140-2.
27552         (DES Encryption): Add cindex FIPS 46-3.
27554         * locale/locarchive.h (struct locarhandle): Add fname.
27555         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27556         if an optional argument was specified to --list-archive,
27557         otherwise NULL.
27558         * locale/programs/locarchive.c (show_archive_content): Take new
27559         argument fname and pass it via ah.fname to open_archive.
27560         * locale/programs/localedef.h: Update decl.
27561         (open_archive): If AH->fname is non-null, open that file
27562         rather than the default file name, and don't ignore ENOENT.
27563         (create_archive): Set AH.fname to NULL.
27564         (delete_locales_from_archive): Likewise.
27565         (add_locales_to_archive): Likewise.
27566         * locale/programs/locfile.c (write_all_categories): Likewise.
27568 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27569             Aldy Hernandez  <aldyh@redhat.com>
27571         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27572         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27573         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27574         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27575         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27576         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27577         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27578         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27579         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27580         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27581         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27582         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27583         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27584         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27585         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27586         Likewise.
27587         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27588         Likewise.
27589         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27590         Likewise.
27591         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27592         Likewise.
27593         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27594         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27595         Likewise.
27596         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27597         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27598         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27599         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27600         Likewise.
27601         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27602         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27603         * sysdeps/powerpc/preconfigure: Likewise.
27604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27605         Likewise.
27606         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27607         Replace contents of file by #include of <fenv_libc.h>.
27608         * sysdeps/powerpc/soft-fp/sfp-machine.h
27609         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27610         and <sys/prctl.h>.
27611         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27612         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27613         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27614         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27615         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27616         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27618         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27619         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27620         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27621         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27622         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27624         Allow copysignl PLT reference to be missing.
27626 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27627             Joseph Myers  <joseph@codesourcery.com
27629         [BZ #15948]
27630         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27631         single character.
27632         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27634 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27636         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27637         * elf/tst-tls1.c: Likewise.
27638         * elf/tst-tls10.h: Likewise.
27639         * elf/tst-tls14.c: Likewise.
27640         * elf/tst-tls2.c: Likewise.
27641         * elf/tst-tls3.c: Likewise.
27642         * elf/tst-tls4.c: Likewise.
27643         * elf/tst-tls5.c: Likewise.
27644         * elf/tst-tls6.c: Likewise.
27645         * elf/tst-tls7.c: Likewise.
27646         * elf/tst-tls8.c: Likewise.
27647         * elf/tst-tls9.c: Likewise.
27648         * elf/tst-tlsmod1.c: Likewise.
27649         * elf/tst-tlsmod13.c: Likewise.
27650         * elf/tst-tlsmod13a.c: Likewise.
27651         * elf/tst-tlsmod14a.c: Likewise.
27652         * elf/tst-tlsmod16a.c: Likewise.
27653         * elf/tst-tlsmod16b.c: Likewise.
27654         * elf/tst-tlsmod2.c: Likewise.
27655         * elf/tst-tlsmod3.c: Likewise.
27656         * elf/tst-tlsmod4.c: Likewise.
27657         * elf/tst-tlsmod5.c: Likewise.
27658         * elf/tst-tlsmod6.c: Likewise.
27660 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27662         [BZ #12486]
27663         * malloc/malloc.c: remove checks for statistics.
27665 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27667         [BZ #15277]
27668         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27669         * inet/tst-network.c: Add testcase.
27671 2013-10-17  Andreas Schwab  <schwab@suse.de>
27673         [BZ #15218]
27674         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27675         to determine canonical name.
27677 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27679         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27680         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27681         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27682         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27683         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27684         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27685         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27686         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27687         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27688         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27689         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27690         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27691         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27692         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27693         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27694         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27695         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27696         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27697         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27698         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27699         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27700         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27701         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27702         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27703         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27704         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27705         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27706         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27707         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27708         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27709         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27710         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27711         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27712         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27713         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27714         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27715         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27716         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27717         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27718         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27719         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27720         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27721         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27722         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27723         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27724         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27725         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27726         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27727         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27728         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27729         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27730         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27731         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27732         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27733         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27734         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27735         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27736         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27738 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
27740         [BZ #16041]
27741         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27742         make result into a quiet NaN.
27744 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
27746         * soft-fp/adddf3.c: Fix horizontal whitespace.
27747         * soft-fp/addsf3.c: Likewise.
27748         * soft-fp/addtf3.c: Likewise.
27749         * soft-fp/divdf3.c: Likewise.
27750         * soft-fp/divsf3.c: Likewise.
27751         * soft-fp/divtf3.c: Likewise.
27752         * soft-fp/double.h: Likewise.
27753         * soft-fp/eqdf2.c: Likewise.
27754         * soft-fp/eqsf2.c: Likewise.
27755         * soft-fp/eqtf2.c: Likewise.
27756         * soft-fp/extenddftf2.c: Likewise.
27757         * soft-fp/extended.h: Likewise.
27758         * soft-fp/extendsfdf2.c: Likewise.
27759         * soft-fp/extendsftf2.c: Likewise.
27760         * soft-fp/extendxftf2.c: Likewise.
27761         * soft-fp/fixdfdi.c: Likewise.
27762         * soft-fp/fixdfsi.c: Likewise.
27763         * soft-fp/fixdfti.c: Likewise.
27764         * soft-fp/fixsfdi.c: Likewise.
27765         * soft-fp/fixsfsi.c: Likewise.
27766         * soft-fp/fixsfti.c: Likewise.
27767         * soft-fp/fixtfdi.c: Likewise.
27768         * soft-fp/fixtfsi.c: Likewise.
27769         * soft-fp/fixtfti.c: Likewise.
27770         * soft-fp/fixunsdfdi.c: Likewise.
27771         * soft-fp/fixunsdfsi.c: Likewise.
27772         * soft-fp/fixunsdfti.c: Likewise.
27773         * soft-fp/fixunssfdi.c: Likewise.
27774         * soft-fp/fixunssfsi.c: Likewise.
27775         * soft-fp/fixunssfti.c: Likewise.
27776         * soft-fp/fixunstfdi.c: Likewise.
27777         * soft-fp/fixunstfsi.c: Likewise.
27778         * soft-fp/fixunstfti.c: Likewise.
27779         * soft-fp/floatdidf.c: Likewise.
27780         * soft-fp/floatdisf.c: Likewise.
27781         * soft-fp/floatditf.c: Likewise.
27782         * soft-fp/floatsidf.c: Likewise.
27783         * soft-fp/floatsisf.c: Likewise.
27784         * soft-fp/floatsitf.c: Likewise.
27785         * soft-fp/floattidf.c: Likewise.
27786         * soft-fp/floattisf.c: Likewise.
27787         * soft-fp/floattitf.c: Likewise.
27788         * soft-fp/floatundidf.c: Likewise.
27789         * soft-fp/floatundisf.c: Likewise.
27790         * soft-fp/floatunditf.c: Likewise.
27791         * soft-fp/floatunsidf.c: Likewise.
27792         * soft-fp/floatunsisf.c: Likewise.
27793         * soft-fp/floatunsitf.c: Likewise.
27794         * soft-fp/floatuntidf.c: Likewise.
27795         * soft-fp/floatuntisf.c: Likewise.
27796         * soft-fp/floatuntitf.c: Likewise.
27797         * soft-fp/fmadf4.c: Likewise.
27798         * soft-fp/fmasf4.c: Likewise.
27799         * soft-fp/fmatf4.c: Likewise.
27800         * soft-fp/gedf2.c: Likewise.
27801         * soft-fp/gesf2.c: Likewise.
27802         * soft-fp/getf2.c: Likewise.
27803         * soft-fp/ledf2.c: Likewise.
27804         * soft-fp/lesf2.c: Likewise.
27805         * soft-fp/letf2.c: Likewise.
27806         * soft-fp/muldf3.c: Likewise.
27807         * soft-fp/mulsf3.c: Likewise.
27808         * soft-fp/multf3.c: Likewise.
27809         * soft-fp/negdf2.c: Likewise.
27810         * soft-fp/negsf2.c: Likewise.
27811         * soft-fp/negtf2.c: Likewise.
27812         * soft-fp/op-1.h: Likewise.
27813         * soft-fp/op-2.h: Likewise.
27814         * soft-fp/op-4.h: Likewise.
27815         * soft-fp/op-8.h: Likewise.
27816         * soft-fp/op-common.h: Likewise.
27817         * soft-fp/quad.h: Likewise.
27818         * soft-fp/single.h: Likewise.
27819         * soft-fp/soft-fp.h: Likewise.
27820         * soft-fp/sqrtdf2.c: Likewise.
27821         * soft-fp/sqrtsf2.c: Likewise.
27822         * soft-fp/sqrttf2.c: Likewise.
27823         * soft-fp/subdf3.c: Likewise.
27824         * soft-fp/subsf3.c: Likewise.
27825         * soft-fp/subtf3.c: Likewise.
27826         * soft-fp/truncdfsf2.c: Likewise.
27827         * soft-fp/trunctfdf2.c: Likewise.
27828         * soft-fp/trunctfsf2.c: Likewise.
27829         * soft-fp/trunctfxf2.c: Likewise.
27830         * soft-fp/unorddf2.c: Likewise.
27831         * soft-fp/unordsf2.c: Likewise.
27832         * soft-fp/unordtf2.c: Likewise.
27834 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
27836         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27837         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27839 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
27841         * elf/dl-libc.c: Clear initfini list after freeing.
27843 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
27845         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27846         * soft-fp/addsf3.c: Likewise.
27847         * soft-fp/addtf3.c: Likewise.
27848         * soft-fp/divdf3.c: Likewise.
27849         * soft-fp/divsf3.c: Likewise.
27850         * soft-fp/divtf3.c: Likewise.
27851         * soft-fp/double.h: Likewise.
27852         * soft-fp/eqdf2.c: Likewise.
27853         * soft-fp/eqsf2.c: Likewise.
27854         * soft-fp/eqtf2.c: Likewise.
27855         * soft-fp/extenddftf2.c: Likewise.
27856         * soft-fp/extended.h: Likewise.
27857         * soft-fp/extendsfdf2.c: Likewise.
27858         * soft-fp/extendsftf2.c: Likewise.
27859         * soft-fp/extendxftf2.c: Likewise.
27860         * soft-fp/fixdfdi.c: Likewise.
27861         * soft-fp/fixdfsi.c: Likewise.
27862         * soft-fp/fixdfti.c: Likewise.
27863         * soft-fp/fixsfdi.c: Likewise.
27864         * soft-fp/fixsfsi.c: Likewise.
27865         * soft-fp/fixsfti.c: Likewise.
27866         * soft-fp/fixtfdi.c: Likewise.
27867         * soft-fp/fixtfsi.c: Likewise.
27868         * soft-fp/fixtfti.c: Likewise.
27869         * soft-fp/fixunsdfdi.c: Likewise.
27870         * soft-fp/fixunsdfsi.c: Likewise.
27871         * soft-fp/fixunsdfti.c: Likewise.
27872         * soft-fp/fixunssfdi.c: Likewise.
27873         * soft-fp/fixunssfsi.c: Likewise.
27874         * soft-fp/fixunssfti.c: Likewise.
27875         * soft-fp/fixunstfdi.c: Likewise.
27876         * soft-fp/fixunstfsi.c: Likewise.
27877         * soft-fp/fixunstfti.c: Likewise.
27878         * soft-fp/floatdidf.c: Likewise.
27879         * soft-fp/floatdisf.c: Likewise.
27880         * soft-fp/floatditf.c: Likewise.
27881         * soft-fp/floatsidf.c: Likewise.
27882         * soft-fp/floatsisf.c: Likewise.
27883         * soft-fp/floatsitf.c: Likewise.
27884         * soft-fp/floattidf.c: Likewise.
27885         * soft-fp/floattisf.c: Likewise.
27886         * soft-fp/floattitf.c: Likewise.
27887         * soft-fp/floatundidf.c: Likewise.
27888         * soft-fp/floatundisf.c: Likewise.
27889         * soft-fp/floatunsidf.c: Likewise.
27890         * soft-fp/floatunsisf.c: Likewise.
27891         * soft-fp/floatuntidf.c: Likewise.
27892         * soft-fp/floatuntisf.c: Likewise.
27893         * soft-fp/floatuntitf.c: Likewise.
27894         * soft-fp/fmadf4.c: Likewise.
27895         * soft-fp/fmasf4.c: Likewise.
27896         * soft-fp/fmatf4.c: Likewise.
27897         * soft-fp/gedf2.c: Likewise.
27898         * soft-fp/gesf2.c: Likewise.
27899         * soft-fp/getf2.c: Likewise.
27900         * soft-fp/ledf2.c: Likewise.
27901         * soft-fp/lesf2.c: Likewise.
27902         * soft-fp/letf2.c: Likewise.
27903         * soft-fp/muldf3.c: Likewise.
27904         * soft-fp/mulsf3.c: Likewise.
27905         * soft-fp/multf3.c: Likewise.
27906         * soft-fp/negdf2.c: Likewise.
27907         * soft-fp/negsf2.c: Likewise.
27908         * soft-fp/negtf2.c: Likewise.
27909         * soft-fp/op-1.h: Likewise.
27910         * soft-fp/op-2.h: Likewise.
27911         * soft-fp/op-4.h: Likewise.
27912         * soft-fp/op-8.h: Likewise.
27913         * soft-fp/op-common.h: Likewise.
27914         * soft-fp/quad.h: Likewise.
27915         * soft-fp/single.h: Likewise.
27916         * soft-fp/soft-fp.h: Likewise.
27917         * soft-fp/sqrtdf2.c: Likewise.
27918         * soft-fp/sqrtsf2.c: Likewise.
27919         * soft-fp/sqrttf2.c: Likewise.
27920         * soft-fp/subdf3.c: Likewise.
27921         * soft-fp/subsf3.c: Likewise.
27922         * soft-fp/subtf3.c: Likewise.
27923         * soft-fp/truncdfsf2.c: Likewise.
27924         * soft-fp/trunctfdf2.c: Likewise.
27925         * soft-fp/trunctfsf2.c: Likewise.
27926         * soft-fp/trunctfxf2.c: Likewise.
27927         * soft-fp/unorddf2.c: Likewise.
27928         * soft-fp/unordsf2.c: Likewise.
27929         * soft-fp/unordtf2.c: Likewise.
27931 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
27933         [BZ #15672]
27934         * misc/error.c (error_tail): Fix possible buffer overflow.
27936 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
27938         [BZ #13028]
27939         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27940         address.
27942 2013-10-14  P. J. McDermott  <pj@pehjota.net>
27944         [BZ #832]
27945         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
27946         testing pipefail option.
27948 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27950         * soft-fp/double.h: Indent preprocessor directives inside #if.
27951         * soft-fp/extended.h: Likewise.
27952         * soft-fp/op-2.h: Likewise.
27953         * soft-fp/op-4.h: Likewise.
27954         * soft-fp/op-common.h: Likewise.
27955         * soft-fp/quad.h: Likewise.
27956         * soft-fp/single.h: Likewise.
27957         * soft-fp/soft-fp.h: Likewise.
27959 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
27961         * iconv/iconv_prog.c: Fix typos.
27962         * stdio-common/psiginfo-data.h: Likewise.
27964 2013-10-12   Reuben Thomas <rrt@sc3d.org>
27966         [BZ #15764]
27967         * locale/setlocale.c: Fix typo.
27969 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27971         [BZ #16036]
27972         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27973         signaling NaN arguments.
27974         * soft-fp/unordsf2.c (__unordsf2): Likewise.
27975         * soft-fp/unordtf2.c (__unordtf2): Likewise.
27977         [BZ #14910]
27978         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27979         unordered operands.
27980         * soft-fp/gesf2.c (__gesf2): Likewise.
27981         * soft-fp/getf2.c (__getf2): Likewise.
27982         * soft-fp/ledf2.c (__ledf2): Likewise.
27983         * soft-fp/lesf2.c (__lesf2): Likewise.
27984         * soft-fp/letf2.c (__letf2): Likewise.
27986         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27987         * soft-fp/eqsf2.c (__eqsf2): Likewise.
27988         * soft-fp/eqtf2.c (__eqtf2): Likewise.
27989         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27990         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27991         * soft-fp/fixdfti.c (__fixdfti): Likewise.
27992         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27993         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27994         * soft-fp/fixsfti.c (__fixsfti): Likewise.
27995         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27996         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27997         * soft-fp/fixtfti.c (__fixtfti): Likewise.
27998         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27999         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28000         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28001         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28002         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28003         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28004         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28005         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28006         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28007         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28008         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28009         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28010         * soft-fp/floattidf.c (__floattidf): Likewise.
28011         * soft-fp/floattisf.c (__floattisf): Likewise.
28012         * soft-fp/floattitf.c (__floattitf): Likewise.
28013         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28014         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28015         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28016         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28017         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28018         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28019         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28020         * soft-fp/gesf2.c (__gesf2): Likewise.
28021         * soft-fp/getf2.c (__getf2): Likewise.
28022         * soft-fp/ledf2.c (__ledf2): Likewise.
28023         * soft-fp/lesf2.c (__lesf2): Likewise.
28024         * soft-fp/letf2.c (__letf2): Likewise.
28026         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28027         Undefine and redefine.
28028         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28029         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28030         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28031         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28032         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28033         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28034         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28035         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28036         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28037         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28038         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28039         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28040         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28041         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28042         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28044         [BZ #16032]
28045         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28046         without decrementing exponent if mantissa >= that for the
28047         denominator, not >.
28048         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28049         denominator, not >.  Decrement exponent in < case instead of
28050         incrementing in >= case.
28051         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28052         without decrementing exponent if mantissa >= that for the
28053         denominator, not >.
28055         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28056         computing saturated result for unsigned overflow.
28058 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28059             Jeff Law  <law@redhat.com>
28061         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28062         (atan2Mp): Add systemtap probe marker.
28063         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28064         (__ieee754_log): Add systemtap probe marker.
28065         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28066         (atanMp): Add systemtap probe marker.
28067         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28068         (tanMp): Add systemtap probe marker.
28069         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28070         (__slowexp): Add systemtap probe marker.
28071         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28072         (__slowpow): Add systemtap probe marker.
28073         * manual/probes.texi: Document probes.
28075 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28077         [BZ #15362]
28078         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28079         written.
28080         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28081         written.
28082         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28083         written to buffer but not flushed.
28084         * libio/iofwrite_u.c:  Likewise.
28085         * libio/iopadn.c:  Return bytes returned even if EOF was
28086         encountered.
28087         * libio/iowpadn.c:  Likewise.
28088         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28089         if _IO_padn does not write the whole buffer.
28090         [!COMPILE_WPRINTF] (PAD): Likewise.
28092 2013-10-10  David S. Miller  <davem@davemloft.net>
28094         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28095         directory block.
28097 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28099         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28100         instead of FSF address.
28101         * soft-fp/fixdfti.c: Likewise.
28102         * soft-fp/fixsfti.c: Likewise.
28103         * soft-fp/fixtfti.c: Likewise.
28104         * soft-fp/fixunsdfti.c: Likewise.
28105         * soft-fp/fixunssfti.c: Likewise.
28106         * soft-fp/fixunstfti.c: Likewise.
28107         * soft-fp/floattidf.c: Likewise.
28108         * soft-fp/floattisf.c: Likewise.
28109         * soft-fp/floattitf.c: Likewise.
28110         * soft-fp/floatuntidf.c: Likewise.
28111         * soft-fp/floatuntisf.c: Likewise.
28112         * soft-fp/floatuntitf.c: Likewise.
28113         * soft-fp/trunctfxf2.c: Likewise.
28115         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28116         * soft-fp/fixdfti.c: Likewise.
28117         * soft-fp/fixsfti.c: Likewise.
28118         * soft-fp/fixtfti.c: Likewise.
28119         * soft-fp/fixunsdfti.c: Likewise.
28120         * soft-fp/fixunssfti.c: Likewise.
28121         * soft-fp/fixunstfti.c: Likewise.
28122         * soft-fp/floattidf.c: Likewise.
28123         * soft-fp/floattisf.c: Likewise.
28124         * soft-fp/floattitf.c: Likewise.
28125         * soft-fp/floatuntidf.c: Likewise.
28126         * soft-fp/floatuntisf.c: Likewise.
28127         * soft-fp/floatuntitf.c: Likewise.
28128         * soft-fp/trunctfxf2.c: Likewise.
28130 2013-10-10  David S. Miller  <davem@davemloft.net>
28132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28134 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28136         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28137         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28138         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28139         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28140         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28141         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28142         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28144         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28145         for NaNs before doing comparisons on argument.
28146         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28147         Likewise.
28149 2013-10-10  Will Newton  <will.newton@linaro.org>
28151         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28152         passed to _int_memalign does not overflow.
28154 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28156         * scripts/bench.pl: Add include-sources directive.
28157         * benchtests/README: Update documentation.
28159 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28161         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28162         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28163         instead of FP_INIT_ROUNDMODE.
28164         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28165         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28167         [BZ #16034]
28168         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28169         copy class of input value.
28170         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28171         not handle exceptions.
28172         * soft-fp/negsf2.c (__negsf2): Likewise.
28173         * soft-fp/negtf2.c (__negtf2): Likewise.
28174         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28176 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28178         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28179         semicolon.  From Linux kernel.
28181 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28183         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28185 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28187         [BZ #156]
28188         * manual/socket.texi: Added statement about buffer
28189         for gethostbyname2_r.
28191 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28193         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28194         Use .p2align directive instead, throughout.
28195         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28196         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28197         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28198         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28199         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28200         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28201         * sysdeps/x86_64/strchr.S: Likewise.
28202         * sysdeps/x86_64/strrchr.S: Likewise.
28204 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28206         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28208         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28210         * sysdeps/generic/math_private.h (__mpsin1): Remove
28211         declaration.
28212         (__mpcos1): Likewise.
28213         (__mpsin): New argument __range_reduce.
28214         (__mpcos): Likewise.
28215         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28216         (slow): Use __mpsin and __mpcos.
28217         (slow1): Likewise.
28218         (slow2): Likewise.
28219         (sloww): Likewise.
28220         (sloww1): Likewise.
28221         (sloww2): Likewise.
28222         (bsloww): Likewise.
28223         (bsloww1): Likewise.
28224         (bsloww2): Likewise.
28225         (cslow2): Likewise.
28226         (csloww): Likewise.
28227         (csloww1): Likewise.
28228         (csloww2): Likewise.
28229         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28230         range_reduce.  Merge in __mpsin1.
28231         (__mpcos): Likewise.
28232         (__mpsin1): Remove.
28233         (__mpcos1): Likewise.
28235 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28237         * locale/loadlocale.c (_nl_intern_locale_data): Use
28238         LOCFILE_ALIGNED_P.
28239         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28240         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28241         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28242         obstack data is appropriately aligned.
28243         (obstack_int32_grow_fast): Likewise.
28244         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28245         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28246         (add_locale_uint32_array): Likewise.
28248 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28250         * benchtests/Makefile: Remove ARGLIST and RET variables.
28251         ($(objpfx)bench-%.c): Pass only function name to the script.
28252         * benchtests/README: Update documentation.
28253         * benchtests/acos-inputs: Add new directives.
28254         * benchtests/acosh-inputs: Likewise.
28255         * benchtests/asin-inputs: Likewise.
28256         * benchtests/asinh-inputs: Likewise.
28257         * benchtests/atan-inputs: Likewise.
28258         * benchtests/atanh-inputs: Likewise.
28259         * benchtests/cos-inputs: Likewise.
28260         * benchtests/cosh-inputs: Likewise.
28261         * benchtests/exp-inputs: Likewise.
28262         * benchtests/log-inputs: Likewise.
28263         * benchtests/pow-inputs: Likewise.
28264         * benchtests/rint-inputs: Likewise.
28265         * benchtests/sin-inputs: Likewise.
28266         * benchtests/sinh-inputs: Likewise.
28267         * benchtests/tan-inputs: Likewise.
28268         * benchtests/tanh-inputs: Likewise.
28269         * scripts/bench.pl: Add support for new directives.
28271 2013-10-07  Alan Modra  <amodra@gmail.com>
28273         * README: Fix careless merge.
28275 2013-10-05  Alan Modra  <amodra@gmail.com>
28277         * NEWS: Mention powerpc64le support and bugs fixed.
28278         * README: Both big-endian and little-endian powerpc64 supported.
28280 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28282         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28283         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28284         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28285         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28287 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28289         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28290         match prototype.
28292 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28294         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28295         Move -mhard-float appending from
28296         ports/sysdeps/powerpc/powerpc32/Makefile.
28297         [$(with-fp) = yes] (ASFLAGS): Likewise.
28298         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28299         * sysdeps/powerpc/nofpu: Move directory from
28300         ports/sysdeps/powerpc/nofpu.
28301         * sysdeps/powerpc/soft-fp: Move directory from
28302         ports/sysdeps/powerpc/soft-fp.
28303         * sysdeps/powerpc/powerpc32/405: Move directory from
28304         ports/sysdeps/powerpc/powerpc32/405.
28305         * sysdeps/powerpc/powerpc32/440: Move directory from
28306         ports/sysdeps/powerpc/powerpc32/440.
28307         * sysdeps/powerpc/powerpc32/464: Move directory from
28308         ports/sysdeps/powerpc/powerpc32/464.
28309         * sysdeps/powerpc/powerpc32/476: Move directory from
28310         ports/sysdeps/powerpc/powerpc32/476.
28311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28312         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28314         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28316         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28318         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28320         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28321         * README: Update for powerpc-*-linux-gnu software floating point
28322         support in libc.
28324         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28325         case to powerpc/powerpc32*.
28326         * sysdeps/unix/sysv/linux/configure: Regenerated.
28328         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28329         (_FPU_MASK_OM): Define as 0x04.
28330         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28332         0x00c10080.
28333         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28334         0x0000003c.
28335         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28338         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28339         getcontext_e500.
28340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28341         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28342         setcontext_e500.
28343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28344         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28345         and setcontext_e500.
28347 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28349         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28351 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28353         * manual/threads.texi (Default Thread Attributes): Fix typo.
28355 2013-10-04  Will Newton  <will.newton@linaro.org>
28357         * malloc/Makefile: Add tst-memalign.
28358         * malloc/tst-memalign.c: New file.
28360         * malloc/tst-posix_memalign.c: Add comments.
28361         (do_test): Add comments and call free on all potentially
28362         allocated pointers. Add space after cast.
28364         * malloc/tst-pvalloc.c: Add comments.
28365         (do_test): Add comments and call free on all potentially
28366         allocated pointers. Remove duplicate check for NULL pointer.
28367         Add space after cast.
28369         * malloc/tst-valloc.c: Add comments.
28370         (do_test): Add comments and call free on all potentially
28371         allocated pointers. Remove duplicate check for NULL pointer.
28372         Add space after cast.
28374 2013-10-04  Alan Modra  <amodra@gmail.com>
28376         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28377         Use stdint types in rather than __attribute__((mode())).
28378         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28380 2013-10-04  Alan Modra  <amodra@gmail.com>
28382         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28383         Correct handling of unaligned relocs for little-endian.
28384         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28386 2013-10-04  Alan Modra  <amodra@gmail.com>
28388         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28389         * configure: Regenerate.
28390         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28391         * shlib-versions: Likewise.
28393 2013-10-04  Alan Modra  <amodra@gmail.com>
28395         * string/tester.c (test_memrchr): Increment reported test cycle.
28397 2013-10-04  Alan Modra  <amodra@gmail.com>
28399         * string/test-memcpy.c (do_one_test): When reporting errors, print
28400         string address and don't overrun end of string.
28402 2013-10-04  Alan Modra  <amodra@gmail.com>
28404         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28405         insrdi.  Make better use of reg selection to speed exit slightly.
28406         Schedule entry path a little better.  Remove useless "are we done"
28407         checks on entry to main loop.  Handle wrapping around zero address.
28408         Correct main loop count.  Handle single left-over word from main
28409         loop inline rather than by using loop_small.  Remove extra word
28410         case in loop_small caused by wrong loop count.  Add little-endian
28411         support.
28412         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28413         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28414         cache hint.
28415         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28416         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28417         support.  Avoid rlwimi.
28418         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28420 2013-10-04  Alan Modra  <amodra@gmail.com>
28422         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28423         insrdi.  Formatting.
28424         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28425         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28426         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28427         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28428         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28429         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28431 2013-10-04  Alan Modra  <amodra@gmail.com>
28433         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28434         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28435         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28436         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28437         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28438         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28439         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28440         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28441         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28442         use of regs.  Use power7 mtocrf.  Tidy function tails.
28444 2013-10-04  Alan Modra  <amodra@gmail.com>
28446         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28447         Formatting.  Consistently use rXXX register defines or rN defines.
28448         Use early exit labels that avoid restoring unused non-volatile regs.
28449         Make cr field use more consistent with rWORDn compares.  Rename
28450         regs used as shift registers for unaligned loop, using rN defines
28451         for short lifetime/multiple use regs.
28452         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28453         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28454         addi 1,1,64 to pop stack frame.  Simplify return value code.
28455         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28457 2013-10-04  Alan Modra  <amodra@gmail.com>
28459         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28460         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28461         rather than rlwimi.
28462         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28463         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28464         little-endian support.  Correct typos.
28465         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28466         rather than rlwimi.
28467         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28468         in loop and entry code to keep "and." results.
28469         (strchr): Add little-endian support.  Comment.  Move cntlzd
28470         earlier in tail.
28471         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28473 2013-10-04  Alan Modra  <amodra@gmail.com>
28475         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28476         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28477         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28478         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28480 2013-10-04  Alan Modra  <amodra@gmail.com>
28482         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28483         (rTMP): Define as r11.
28484         (strcmp): Add little-endian support.  Optimise tail.
28485         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28486         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28487         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28488         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28489         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28490         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28491         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28493 2013-10-04  Alan Modra  <amodra@gmail.com>
28495         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28496         little-endian support.  Remove unnecessary "are we done" tests.
28497         Handle "s" wrapping around zero and extremely large "size".
28498         Correct main loop count.  Handle single left-over word from main
28499         loop inline rather than by using small_loop.  Correct comments.
28500         Delete "zero" tail, use "end_max" instead.
28501         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28503 2013-10-04  Alan Modra  <amodra@gmail.com>
28505         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28506         support.  Don't branch over align.
28507         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28508         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28509         support.  Rearrange tmp reg use to suit.  Comment.
28510         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28512 2013-10-04  Alan Modra  <amodra@gmail.com>
28514         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28516 2013-10-04  Alan Modra  <amodra@gmail.com>
28518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28519         conditional form of branch and link when obtaining pc.
28520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28522 2013-10-04  Alan Modra  <amodra@gmail.com>
28524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28525         HIWORD/LOWORD.
28526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28529 2013-10-04  Alan Modra  <amodra@gmail.com>
28531         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28532         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28533         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28534         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28535         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28536         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28537         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28538         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28539         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28540         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28542 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28543             Alistair Popple <alistair@ozlabs.au.ibm.com>
28544             Alan Modra <amodra@gmail.com>
28546         [BZ #15723]
28547         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28548         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28549         _dl_hwcap access for little-endian.
28550         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28551         destroy vmx regs when saving unaligned.
28552         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28553         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28554         destroy vmx regs when saving unaligned.
28556 2013-10-04  Alan Modra  <amodra@gmail.com>
28558         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28559         Don't use a union to pack hi/low value.
28561 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28563         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28564         for little-endian.
28565         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28566         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28567         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28568         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28569         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28571 2013-10-04  Alan Modra  <amodra@gmail.com>
28573         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28574         constants to usual value for .cst8 section, and remove redundant
28575         high address load.
28576         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28577         constant for 0x1p52.  Load little-endian words of double from
28578         correct stack offsets.
28580 2013-10-04  Alan Modra  <amodra@gmail.com>
28582         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28583         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28584         words of double from correct stack offsets.
28585         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28586         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28587         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28588         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28589         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28590         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28591         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28592         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28593         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28594         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28595         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28596         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28597         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28598         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28599         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28600         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28601         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28603 2013-10-04  Alan Modra  <amodra@gmail.com>
28605         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28606         64-bit int/double union.
28607         (_FPU_SETCW): Likewise.
28608         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28609         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28611 2013-10-04  Alan Modra  <amodra@gmail.com>
28613         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28614         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28616 2013-10-04  Alan Modra  <amodra@gmail.com>
28618         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28619         use vector int constants.
28620         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28622 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28624         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28625         array with long long.
28626         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28627         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28628         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28629         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28630         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28631         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28632         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28633         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28634         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28635         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28636         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28637         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28638         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28640 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28642         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28643         (__signbit): Likewise.  Correct for little-endian.
28644         (__signbitl): Call __signbit.
28645         (lrint): Correct for little-endian.
28646         (lrintf): Call lrint.
28648 2013-10-04  Alan Modra  <amodra@gmail.com>
28650         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28651         union 32-bit int array member with 64-bit int array.
28652         (t515, tm256): Double rather than long double.
28653         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28655 2013-10-04  Alan Modra  <amodra@gmail.com>
28657         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28658         Delete.
28659         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28660         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28661         version of math_ldbl.h.
28663 2013-10-04  Alan Modra  <amodra@gmail.com>
28665         [BZ #15734], [BZ #15735]
28666         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28667         all uses of ieee875 long double macros and unions.  Simplify test
28668         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28669         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28670         normalize after ldbl_extract_mantissa, and don't add hidden bit
28671         already handled.  Don't treat low word of ieee854 mantissa like
28672         low word of IBM long double and mask off bit when testing for
28673         zero.
28674         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28675         all uses of ieee875 long double macros and unions.  Simplify tests
28676         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
28677         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
28678         two1022, instead use their values.  Recognise that tests for large
28679         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
28680         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28681         Rewrite all uses of ieee875 long double macros and unions.  Simplify
28682         test for 0.0L and nan.  Correct negation.
28683         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28684         ieee875 long double macros and unions.  Correct output for large
28685         magnitude x.  Correct absolute value calculation.
28686         (__erfcl): Likewise.
28687         * math/libm-test.inc: Add tests for errors discovered in IBM long
28688         double versions of fmodl, remainderl, erfl and erfcl.
28690 2013-10-04  Alan Modra  <amodra@gmail.com>
28692         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28693         all uses of ieee854 long double macros and unions.  Simplify tests
28694         for long doubles that are fully specified by the high double.
28695         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28696         Likewise.
28697         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28698         Remove dead code too.
28699         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28700         (__ieee754_ynl): Likewise.
28701         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28702         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28703         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28704         Remove dead code too.
28705         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28706         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28707         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28708         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28709         Simplify.
28710         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28711         Simplify.
28712         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28713         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28714         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28715         Comment on variable precision.
28716         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28717         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28718         Likewise.
28719         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28720         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28721         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28722         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28723         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28725 2013-10-04  Alan Modra  <amodra@gmail.com>
28727         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28728         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28729         all uses of ieee854 long double macros and unions.
28730         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28731         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28732         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28733         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28734         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28735         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28736         Likewise.
28737         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28738         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28739         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28740         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28741         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28742         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28743         Simplify sign and nan test too.
28744         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28745         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28746         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28747         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28748         Likewise.
28749         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28750         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28751         Likewise.
28752         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28753         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28754         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28755         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28756         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28757         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28759 2013-10-04  Alan Modra  <amodra@gmail.com>
28761         * stdio-common/printf_size.c (__printf_size): Don't use
28762         union ieee854_long_double in fpnum union.
28763         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
28764         signbit macro to retrieve sign from long double.
28765         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28766         retrieve sign from long double.
28767         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28768         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28769         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28770         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28771         * math/test-misc.c (main): Don't use union ieee854_long_double.
28773 2013-10-04  Alan Modra  <amodra@gmail.com>
28775         [BZ #15680]
28776         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28777         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28778         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28779         calculation.  Remove unnecessary test for denormal exponent.
28780         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28781         Correct handling of denormals.  Avoid undefined shift behaviour.
28782         Correct normalisation of low mantissa when low double is denormal.
28783         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28784         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
28785         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28786         Correct normalisation of low mantissa.  Test for overflow of high
28787         mantissa and normalise.
28788         (ldbl_nearbyint): Use more readable constant for two52.
28789         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28790         (__mpn_construct_long_double): Fix test for overflow of high
28791         mantissa and correct normalisation.  Avoid undefined shift.
28793 2013-10-04  Alan Modra  <amodra@gmail.com>
28795         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28796         (union ibm_extended_long_double): Define as an array of ieee754_double.
28797         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28798         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28799         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28800         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28801         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28802         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28803         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28804         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28805         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28806         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28807         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28809 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
28811         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28812         page size instead of calling getpagesize.
28814         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28815         (LOCFILE_ALIGN_MASK): Likewise.
28816         (LOCFILE_ALIGN_UP): Likewise.
28817         (LOCFILE_ALIGNED_P): Likewise.
28818         * locale/programs/ld-collate.c (collate_output): Use the new
28819         macros instead of __alignof__ (int32_t).
28820         * locale/weight.h (findidx): Likewise.
28822 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
28824         [BZ #431]
28825         * manual/string.texi: Fix strncat and wcsncat.
28827 2013-10-03  Brooks Moses  <bmoses@google.com>
28829         [BZ #15915]
28830         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28831         * Makerules: ...here, and adjust associated comments.
28833 2013-10-02  Will Newton  <will.newton@linaro.org>
28835         * malloc/Makefile: Add tst-pvalloc.
28836         * malloc/tst-pvalloc.c: New file.
28838 2013-10-02  Will Newton  <will.newton@linaro.org>
28840         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28841         improve test coverage.
28843 2013-10-02  Will Newton  <will.newton@linaro.org>
28845         * malloc/Makefile: Add tst-posix_memalign.
28846         * malloc/tst-posix_memalign.c: New file.
28848 2013-10-01  Eric Blake  <eblake@redhat.com>
28850         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28851         Use __THROWNL rather than __THROW on static functions.
28853 2013-09-30  Petr Machata  <pmachata@redhat.com>
28855         * elf/elf.h (R_AARCH64_ABS16): New macro.
28856         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28857         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28858         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28859         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28860         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28861         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28862         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28863         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28864         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28865         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28866         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28867         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28868         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28869         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28870         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28871         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28872         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28873         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28874         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28875         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28876         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28877         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28878         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28879         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28880         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28881         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28882         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28883         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28884         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28885         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28886         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28887         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28888         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28889         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28890         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28891         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28892         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28893         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28894         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28895         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28896         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28897         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28898         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28899         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28900         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28901         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28902         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28903         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28904         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28905         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28906         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28907         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28908         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28909         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28910         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28911         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28912         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28913         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28914         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28915         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28916         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28917         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28918         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28919         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28920         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28921         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28922         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28923         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28924         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28925         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28926         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28927         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28928         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28929         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28930         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28931         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28932         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28933         (R_AARCH64_TLSDESC_LDR): Likewise.
28934         (R_AARCH64_TLSDESC_ADD): Likewise.
28935         (R_AARCH64_TLSDESC_CALL): Likewise.
28937 2013-09-30  Andreas Schwab  <schwab@suse.de>
28939         [BZ #15048]
28940         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28941         the nss database lookup.
28942         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28943         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28945 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
28947         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28949 2013-09-28  P. J. McDermott  <pj@pehjota.net>
28951         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28952         ${Bash-specific parameter/pattern/string} parameter expansion.
28953         * sysdeps/unix/make-syscalls.sh: Likewise.
28955 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28957         * sysdeps/sh/stackguard-macros.h: New file.
28959 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
28961         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28962         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28963         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28964         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28965         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28966         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28968 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28970         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28971         Fix thread ID register.
28973 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
28975         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28976         [POSIX || UNIX98]: Require rather than permitting all symbols from
28977         <time.h>.
28978         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28979         element of struct sched_param.
28980         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28981         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28982         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28983         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28984         constant.
28986 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
28988         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28989         argument calculation.
28991 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28993         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28994         Expect macro.
28995         [POSIX] (pthread_attr_t): Do not require type.
28996         [POSIX] (pthread_cond_t): Likewise.
28997         [POSIX] (pthread_condattr_t): Likewise.
28998         [POSIX] (pthread_key_t): Likewise.
28999         [POSIX] (pthread_mutex_t): Likewise.
29000         [POSIX] (pthread_mutexattr_t): Likewise.
29001         [POSIX] (pthread_once_t): Likewise.
29002         [POSIX] (pthread_t): Likewise.
29003         [POSIX-based standards] (pthread_atfork): Expect function.
29005 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29006             Richard Sandiford  <richard@codesourcery.com>
29008         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29009         (swap_endianness_p): New extern variable.
29010         (set_big_endian): New inline function.
29011         (maybe_swap_uint32): Likewise.
29012         (maybe_swap_uint32_array): Likewise.
29013         (maybe_swap_uint32_obstack): Likewise.
29014         * locale/programs/locfile.c: Include <stdbool.h>.
29015         (swap_endianness_p): New variable.
29016         (add_locale_uint32): Call maybe_swap_uint32.
29017         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29018         (write_locale_data): Call maybe_swap_uint32_array.
29019         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29020         maybe_swap_uint32.
29021         (obstack_int32_grow_fast): Likewise.
29022         (output_weightwc): Call maybe_swap_uint32_obstack.
29023         (collate_output): Likewise.
29024         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29025         (OPT_LITTLE_ENDIAN): Likewise.
29026         (options): Add --little-endian and --big-endian options.
29027         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29028         * locale/programs/locarchive.c: Include "locfile.h".
29029         (GET): New macro.
29030         (SET): Likewise.
29031         (INC): Likewise.
29032         (create_archive): Use the new macros to access fields of
29033         structures directly mapped from or written to locale archives.
29034         (oldlocrecentcmp): Likewise.
29035         (enlarge_archive): Likewise.
29036         (insert_name): Likewise.
29037         (add_alias): Likewise.
29038         (add_locale): Likewise.
29039         (delete_locales_from_archive): Likewise.
29040         (show_archive_content): Likewise.
29041         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29042         locale data.
29044 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29046         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29047         http://www.gnu.org/doc/freemanuals.texi.
29048         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29050 2013-09-24  Will Newton  <will.newton@linaro.org>
29052         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29053         macro.
29055 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29057         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29058         unsigned char.
29060 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29062         * manual/threads.texi (POSIX Threads): Fix a typo.
29064 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29066         [BZ #14547]
29067         * string/tst-strcoll-overflow.c: New test case.
29068         * string/Makefile (xtests): Add tst-strcoll-overflow.
29069         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29070         cache if string sizes may cause integer overflow.
29072         [BZ #14547]
29073         * string/strcoll_l.c (coll_seq): New members rule, idx,
29074         save_idx and back_us.
29075         (get_next_seq_nocache): New function.
29076         (do_compare_nocache): New function.
29077         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29078         when malloc fails.
29080 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29082         [BZ #15754]
29083         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29084         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29085         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29087         [BZ #15754]
29088         * elf/Makefile (tests): Add tst-ptrguard1.
29089         (tests-static): Add tst-ptrguard1-static.
29090         (tst-ptrguard1-ARGS): Define.
29091         (tst-ptrguard1-static-ARGS): Define.
29092         * elf/tst-ptrguard1.c: New file.
29093         * elf/tst-ptrguard1-static.c: New file.
29094         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29095         * sysdeps/i386/stackguard-macros.h: Likewise.
29096         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29097         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29098         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29099         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29100         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29101         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29103 2013-09-23  Hector Marco  <hecmargi@upv.es>
29104             Ismael Ripoll  <iripoll@disca.upv.es>
29105             Carlos O'Donell  <carlos@redhat.com>
29107         [BZ #15754]
29108         * sysdeps/generic/stackguard-macros.h: Define
29109         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29110         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29111         Define __pointer_chk_guard_local.
29112         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29113         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29115 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29117         [BZ #15859]
29118         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29120 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29122         * include/string.h (__ffs): Declare as hidden.
29123         * string/ffs.c (__ffs): Define as hidden.
29124         * sysdeps/i386/ffs.c (__ffs): Likewise.
29125         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29126         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29127         * sysdeps/s390/ffs.c (__ffs): Likewise.
29128         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29130 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29132         * NEWS: Mention malloc probes.
29134         * malloc/arena.c (new_heap): New memory_heap_new probe.
29135         (grow_heap): New memory_heap_more probe.
29136         (shrink_heap): New memory_heap_less probe.
29137         (heap_trim): New memory_heap_free probe.
29138         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29139         (systrim): New memory_sbrk_less probe.
29140         * manual/probes.texi: Document them.
29142         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29143         * manual/probes.texi: Document it.
29145         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29146         (__libc_realloc): Add memory_realloc_retry probe.
29147         (__libc_memalign): Add memory_memalign_retry probe.
29148         (__libc_valloc): Add memory_valloc_retry probe.
29149         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29150         (__libc_calloc): Add memory_calloc_retry probe.
29151         * manual/probes.texi: Document them.
29153         * malloc/arena.c (get_free_list): Add probe
29154         memory_arena_reuse_free_list.
29155         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29156         and memory_arena_reuse.
29157         (arena_get2) [!PER_THREAD]: Likewise.
29158         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29159         memory_arena_reuse_realloc.
29160         * manual/probes.texi: Document them.
29162         * malloc/malloc.c (__libc_free): Add
29163         memory_mallopt_free_dyn_thresholds probe.
29164         (__libc_mallopt): Add multiple memory_mallopt probes.
29165         * manual/probes.texi: Document them.
29167         * malloc/malloc.c: Include stap-probe.h.
29168         (__libc_mallopt): Add memory_mallopt probe.
29169         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29170         * manual/probes.texi: New.
29171         * manual/Makefile (chapters): Add probes.
29172         * manual/threads.texi: Set next node.
29174 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29176         [BZ #15963, #13985]
29177         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29178         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29179         Add `Chinese' to `nan' entry name.
29181 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29183         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29184         (POLYNOMIAL): Likewise.
29185         (TAYLOR_SINCOS): Likewise.
29186         (TAYLOR_SLOW): Likewise.
29187         (__sin): Use TAYLOR_SINCOS.
29188         (__cos): Likewise.
29189         (slow): Use TAYLOR_SLOW.
29190         (sloww): Likewise.
29191         (bsloww): Likewise.
29192         (csloww): Likewise.
29194 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29196         * stdlib/strtod_l.c: Fix buffer overrun.
29198 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29200         * benchtests/Makefile (bench): Add sincos.
29201         * benchtests/bench-sincos.c: New file.
29203         * math/libm-test.inc (cos_test_data): New test inputs.
29204         (sin_test_data): Likewise.
29206         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29207         macro.
29208         (__sin): Use it.
29209         (__cos): Likewise.
29210         (slow1): Likewise.
29211         (slow2): Likewise.
29212         (sloww1): Likewise.
29213         (sloww2): Likewise.
29214         (bsloww1): Likewise.
29215         (bsloww2): Likewise.
29216         (cslow2): Likewise.
29217         (csloww1): Likewise.
29218         (csloww2): Likewise.
29220         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29221         function.
29222         (__sin): Use it.
29223         (__cos): Likewise.
29225         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29226         gotos.
29227         (__cos): Likewise.
29229 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29231         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29232         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29233         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29234         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29235         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29236         * elf/cache.c (print_entry): Handle the new cache flags.
29238 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29239             Aldy Hernandez  <aldyh@redhat.com>
29241         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29242         Change condition to [_SOFT_FLOAT].
29243         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29244         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29245         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29246         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29247         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29248         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29249         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29250         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29251         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29252         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29253         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29254         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29255         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29256         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29257         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29258         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29259         declaration.
29261 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29263         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29264         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29265         (__longjmp): Use LOAD_GP to load saved GPRs.
29266         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29267         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29268         (__sigsetjmp): Use SAVE_GP to save GPRs.
29270         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29271         Do not append -msoft-float.
29272         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29274 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29276         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29278 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29280         [BZ #15966]
29281         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29282         (_FPU_GETCW): Use initial "__" on variable and field names but not
29283         on macro parameter name.
29284         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29285         parentheses around reference to macro parameter.
29287 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29289         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29290         prototype.
29291         (ctype_startup): Use uint32_t in cast and sizeof for
29292         ctype->charnames.
29294 2013-09-11  Jia Liu  <proljc@gmail.com>
29296         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29297         __daddr_t_defined.
29298         [__FreeBSD__]: Likewise.
29300 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29302         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29303         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29304         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29305         (strchr): Remove __strchr_sse42 ifunc selection.
29306         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29307         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29309 2013-09-11  Will Newton  <will.newton@linaro.org>
29311         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29312         parameter to RES. Remove hardcoded 1000 value.
29313         * benchtests/bench-skeleton.c (main): Pass RES parameter
29314         to TIMING_INIT and multiply result by 1000.
29316 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29320 2013-09-11  Andreas Schwab  <schwab@suse.de>
29322         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29323         if not defined.
29324         (O_TMPFILE) [__USE_GNU]: Define.
29325         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29326         Define.
29328 2013-09-11  Will Newton  <will.newton@linaro.org>
29330         [BZ #15857]
29331         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29332         does not overflow.
29334 2013-09-11  Will Newton  <will.newton@linaro.org>
29336         [BZ #15856]
29337         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29338         does not overflow.
29340 2013-09-11  Will Newton  <will.newton@linaro.org>
29342         [BZ #15855]
29343         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29344         does not overflow.
29346 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29348         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29349         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29350         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29351         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29352         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29354 2013-09-10  Allan McRae  <allan@archlinux.org>
29356         [BZ #15748]
29357         * manual/arith.texi (Parsing of Floats): Clarify
29358         cross-reference.
29360         [BZ #15849]
29361         * manual/install.texi (Running make install): Mention
29362         --enable-pt-chown.
29363         * INSTALL: Regenerated.
29365 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29367         * csu/init-first.c (_init): Remove the !SHARED condition around
29368         FPU control word initialization.
29369         * elf/dl-support.c (_dl_fpu_control): New variable.
29370         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29371         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29372         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29373         * math/test-fpucw-static.c: New file.
29374         * math/test-fpucw-ieee.c: New file.
29375         * math/test-fpucw-ieee-static.c: New file.
29376         * math/Makefile (tests): Add `test-fpucw-ieee' and
29377         `$(tests-static)'.
29378         (tests-static): New variable.
29379         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29380         dependency to...
29381         [($(build-shared),yes)]
29382         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29383         ... this.
29384         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29385         New dependency.
29387 2013-09-09  Allan McRae  <allan@archlinux.org>
29389         [BZ #15939]
29390         * manual/string.texi (Collation Functions): Fix typo in
29391         strcoll example.
29392         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29394         [BZ #15893]
29395         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29397         [BZ #15892]
29398         * libio/memstream.c (open_memstream): Fix memory leak.
29399         * libio/wmemstream.c (open_wmemstream): Likewise.
29401         [BZ #15895]
29402         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29404 2013-09-09  Will Newton  <will.newton@linaro.org>
29406         * malloc/Makefile: Add tst-realloc to tests.
29407         * malloc/tst-realloc.c: New file.
29409 2013-09-09  Allan McRae  <allan@archlinux.org>
29411         [BZ #15844]
29412         * COPYING: Update from GNU website to fix FSF address.
29413         * COPYING.LIB: Likewise.
29415 2013-09-06  David S. Miller  <davem@davemloft.net>
29417         * po/zh_TW.po: Update Chinese (traditional) translation from
29418         translation project.
29420 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29421             Joseph Myers  <joseph@codesourcery.com>
29423         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29424         "localeinfo.h".
29425         (obstack_chunk_alloc): New macro.
29426         (obstack_chunk_free): Likewise.
29427         (record_offset): New function.
29428         (init_locale_data): Likewise.
29429         (align_locale_data): Likewise.
29430         (add_locale_empty): Likewise.
29431         (add_locale_raw_data): Likewise.
29432         (add_locale_raw_obstack): Likewise.
29433         (add_locale_string): Likewise.
29434         (add_locale_wstring): Likewise.
29435         (add_locale_uint32): Likewise.
29436         (add_locale_uint32_array): Likewise.
29437         (add_locale_char): Likewise.
29438         (start_locale_structure): Likewise.
29439         (end_locale_structure): Likewise.
29440         (start_locale_prelude): Likewise.
29441         (end_locale_prelude): Likewise.
29442         (write_locale_data): Take locale_file structure rather than an
29443         iovec.
29444         * locale/programs/locfile.h: Include "obstack.h".
29445         (struct locale_file): Change to store locale file contents instead
29446         of header.
29447         (init_locale_data): New prototype.
29448         (align_locale_data): Likewise.
29449         (add_locale_empty): Likewise.
29450         (add_locale_raw_data): Likewise.
29451         (add_locale_raw_obstack): Likewise.
29452         (add_locale_string): Likewise.
29453         (add_locale_wstring): Likewise.
29454         (add_locale_uint32): Likewise.
29455         (add_locale_uint32_array): Likewise.
29456         (add_locale_char): Likewise.
29457         (start_locale_structure): Likewise.
29458         (end_locale_structure): Likewise.
29459         (start_locale_prelude): Likewise.
29460         (end_locale_prelude): Likewise.
29461         (write_locale_data): Update prototype.
29462         * locale/programs/3level.h (struct TABLE): Remove result field.
29463         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29464         Use new locale_file interface.
29465         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29466         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29467         * locale/programs/ld-address.c (address_output): Use new
29468         locale_file interface.
29469         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29470         NO_ADD_LOCALE.
29471         (collate_finish): Don't call collseq_table_finalize.
29472         (collate_output): Use new locale_file interface.
29473         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29474         in file.
29475         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29476         (TABLE): Move defines earlier in file.
29477         (ELEMENT): Likewise.
29478         (DEFAULT): Likewise.
29479         (wctrans_table_add): Move macro and inline function earlier in
29480         file.
29481         (struct wctype_table): Move type earlier in file.
29482         (add_locale_wctype_table): New static prototype.
29483         (struct locale_ctype_t): Use logical types instead of struct iovec
29484         pointers for members.
29485         (ctype_output): Use new locale_file interface.
29486         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29487         new locale_file interface.
29488         (allocate_arrays): Update for use of new locale_file interface.
29489         * locale/programs/ld-identification.c (identification_output): Use
29490         new locale_file interface.
29491         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29492         * locale/programs/ld-messages.c (messages_output): Likewise.
29493         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29494         * locale/programs/ld-name.c (name_output): Likewise.
29495         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29496         * locale/programs/ld-paper.c (paper_output): Likewise.
29497         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29498         * locale/programs/ld-time.c (time_output): Likewise.
29500 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29502         * benchtests/Makefile: Add memrchr benchmark.
29503         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29504         benchmark as memrchr.
29505         * benchtests/bench-memrchr-ifunc.c: New file.
29506         * benchtests/bench-memrchr.c: New file.
29508 2013-09-06   Will Newton  <will.newton@linaro.org>
29510         * benchtests/Makefile (string-bench): Add memcpy.
29512 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29513             Cong Wang  <amwang@redhat.com>
29515         [BZ #15850]
29516         * sysdeps/unix/sysv/linux/bits/in.h
29517         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29518         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29519         before __USE_KERNEL_IPV6_DEFS uses.
29520         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29521         IPPROTO_BEETPH.
29522         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29523         sockaddr_in6, or ipv6_mreq.
29525 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29527         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29528         memory access for final bytes in some large inputs.
29529         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29531 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29533         * string/test-memrchr.c: New file.
29534         * string/test-memrchr-ifunc.c: New file.
29535         * string/Makefile: Add new memrchr testcase.
29537 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29539         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29540         fanotify_init returns EPERM.
29542 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29544         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29545         errors.
29546         (top level): Treat second token from macro or constant entries for
29547         allowed headers as allowed.
29548         * include/complex.h: Condition internal declarations on
29549         [!_ISOMAC].
29550         * include/fenv.h: Condition include of <stdbool.h> and internal
29551         declarations on [!_ISOMAC].
29553 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29555         [BZ #15923]
29556         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29558 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29560         * configure.in (--enable-versioning): Remove configure option.
29561         (libc_cv_asm_symver_directive): Remove configure test.
29562         (libc_cv_ld_version_script_option): Likewise.
29563         (VERSIONING): Remove variable and AC_SUBST.
29564         (DO_VERSIONING): Remove AC_DEFINE.
29565         * configure: Regenerated.
29566         * config.h.in (DO_VERSIONING): Remove macro.
29567         * Makerules [$(versioning) = yes]: Change conditionals to
29568         [$(build-shared) = yes].
29569         * config.make.in (versioning): Remove variable.
29570         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29571         [$(build-shared) = yes].
29572         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29573         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29574         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29575         [$(build-shared) = yes].
29576         * extra-lib.mk [$(versioning) = yes]: Likewise.
29577         * hurd/Makefile [$(versioning) = yes]: Likewise.
29578         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29579         [SHARED].
29580         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29581         [SHARED].
29582         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29583         [SHARED && !NO_HIDDEN].
29584         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29585         [SHARED].
29586         [SHARED && DO_VERSIONING]: Likewise..
29587         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29588         [$(build-shared) = yes].
29589         * manual/install.texi (--disable-versioning): Remove
29590         documentation.
29591         * INSTALL: Regenerated.
29592         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29593         to [SHARED].
29594         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29595         [$(build-shared) = yes].
29596         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29597         * sysdeps/i386/i686/multiarch/strstr-c.c
29598         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29599         [SHARED && !NO_HIDDEN].
29600         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29601         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29602         * sysdeps/powerpc/powerpc32/dl-machine.c
29603         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29604         * sysdeps/powerpc/powerpc32/sysdep.h
29605         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29606         to [SHARED && PIC && !NO_HIDDEN].
29607         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29608         conditional to [SHARED].
29610 2013-09-04   Will Newton  <will.newton@linaro.org>
29612         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29613         * benchtests/bench-string.h: Include bench-timing.h instead
29614         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29615         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29616         call to HP_TIMING_DIFF_INIT.
29617         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29618         instead of hp-timing.h macros.
29619         * benchtests/bench-memchr.c: Likewise.
29620         * benchtests/bench-memcmp.c: Likewise.
29621         * benchtests/bench-memcpy.c: Likewise.
29622         * benchtests/bench-memmem.c: Likewise.
29623         * benchtests/bench-memmove.c: Likewise.
29624         * benchtests/bench-memset.c: Likewise.
29625         * benchtests/bench-rawmemchr.c: Likewise.
29626         * benchtests/bench-strcasecmp.c: Likewise.
29627         * benchtests/bench-strcasestr.c: Likewise.
29628         * benchtests/bench-strcat.c: Likewise.
29629         * benchtests/bench-strchr.c: Likewise.
29630         * benchtests/bench-strcmp.c: Likewise.
29631         * benchtests/bench-strcpy.c: Likewise.
29632         * benchtests/bench-strcpy_chk.c: Likewise.
29633         * benchtests/bench-strlen.c: Likewise.
29634         * benchtests/bench-strncasecmp.c: Likewise.
29635         * benchtests/bench-strncat.c: Likewise.
29636         * benchtests/bench-strncmp.c: Likewise.
29637         * benchtests/bench-strncpy.c: Likewise.
29638         * benchtests/bench-strnlen.c: Likewise.
29639         * benchtests/bench-strpbrk.c: Likewise.
29640         * benchtests/bench-strrchr.c: Likewise.
29641         * benchtests/bench-strspn.c: Likewise.
29642         * benchtests/bench-strstr.c: Likewise.
29644 2013-09-04  Will Newton  <will.newton@linaro.org>
29646         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29648 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29650         [BZ #15427]
29651         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29652         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29653         * math/libm-test.inc (lgamma_test_data): Add more tests.
29654         * sysdeps/i386/fpu/libm-test-ulps: Update.
29655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29657 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29659         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29660         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29661         Add ifunc.
29662         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29663         Add strcmp-sse2-unaligned
29664         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29666 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29668         * Versions.def (libc): Add GLIBC_2.19.
29670 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29672         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29673         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29675 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
29677         [BZ #14155]
29678         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29679         intermediate calculations in recurrence.
29680         (__ieee754_ynf): Likewise.
29681         * math/libm-test.inc (jn_test_data): Do not allow spurious
29682         underflow exception.  Add more tests.
29683         (yn_test_data): Add more tests.
29684         * sysdeps/i386/fpu/libm-test-ulps: Update.
29685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29687 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
29689         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29691 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29693         * csu/init-first.c: Fix then/than typos.
29694         * locale/programs/ld-collate.c: Likewise.
29695         * locale/programs/linereader.h: Likewise.
29696         * manual/charset.texi: Likewise.
29697         * manual/filesys.texi: Likewise.
29698         * manual/stdio.texi: Likewise.
29699         * manual/string.texi: Likewise.
29700         * stdlib/fmtmsg.c: Likewise.
29701         * sysdeps/i386/stpncpy.S: Likewise.
29702         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29703         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29704         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29705         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29707 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29709         * elf/dl-open.c: Fix typos.
29710         * iconvdata/gbbig5.c: Likewise.
29711         * iconvdata/iso-2022-jp.c: Likewise.
29712         * iconv/gconv_int.h: Likewise.
29713         * iconv/loop.c: Likewise.
29714         * nis/rpcsvc/nis.h: Likewise.
29715         * resolv/ns_name.c: Likewise.
29716         * stdio-common/vfscanf.c: Likewise.
29717         * streams/stropts.h: Likewise.
29718         * sunrpc/rpc_thread.c: Likewise.
29719         * sysdeps/i386/strpbrk.S: Likewise.
29720         * sysdeps/ieee754/k_standard.c: Likewise.
29721         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29722         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29723         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29724         * sysdeps/mach/hurd/profil.c: Likewise.
29725         * sysdeps/s390/dl-procinfo.h: Likewise.
29726         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29727         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29728         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29729         * sysdeps/x86_64/dl-trampoline.S: Likewise.
29730         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29732 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
29734         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29735         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29737 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
29739         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29740         aix specific files.
29741         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29742         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29743         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29744         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29745         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29746         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29747         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29748         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29750 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29751             Roland McGrath  <roland@hack.frob.com>
29753         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29754         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29756 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29758         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29759         __executable_start symbol instead of _start.
29761 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29763         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29764         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29765         Move macros to...
29766         * sysdeps/gnu/ldsodefs.h: ... this new file.
29768         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29769         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29770         instead of ELFOSABI_LINUX.
29772         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29773         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29774         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29775         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29776         Likewise.
29777         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29778         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29779         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29780         Likewise.
29781         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29782         (ibm_extended_long_double): Add ieee_nan member.
29783         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29784         (do_test): New function.
29786         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29787         TEST_TRUNC.
29788         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29789         functions, renamed from truncdfsf_test, trunctfsf_test,
29790         trunctfdf_test.
29791         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29792         functions.
29793         (do_test): Run all these.
29795 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
29797         * argp/argp-help.c: Fix typos.
29798         * argp/argp-parse.c: Likewise.
29799         * debug/backtracesyms.c: Likewise.
29800         * elf/elf.h: Likewise.
29801         * malloc/malloc.c: Likewise.
29802         * nis/nis_print.c: Likewise.
29803         * resolv/res_comp.c: Likewise.
29804         * stdlib/stdlib.h: Likewise.
29805         * sunrpc/clnt_tcp.c: Likewise.
29806         * sunrpc/clnt_udp.c: Likewise.
29807         * sunrpc/clnt_unix.c: Likewise.
29808         * sysdeps/unix/bsd/ptsname.c: Likewise.
29809         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29810         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29812         Likewise.
29813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29814         Likewise.
29815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29816         Likewise.
29817         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29819 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29821         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29822         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29824 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
29826         [BZ #15897]
29827         * dlfcn/Makefile (tests): Add bug-dl-leaf.
29828         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29829         ($(objpfx)bug-dl-leaf): New rule.
29830         ($(objpfx)bug-dl-leaf.so): Likewise.
29831         ($(objpfx)bug-dl-leaf.out): Likewise.
29832         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29833         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29834         * dlfcn/bug-dl-leaf.c: New test.
29835         * dlfcn/bug-dl-leaf-lib.c: Likewise.
29836         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29837         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29838         (dlclose): Likewise.
29839         (dlmopen): Likewise.
29841 2013-08-27  Roland McGrath  <roland@hack.frob.com>
29843         * include/netdb.h [!_ISOMAC]:
29844         Don't include <tls.h>.
29845         (h_errno, __libc_h_errno): Move declaration and macros out of
29846         [_LIBC_REENTRANT].
29848         * include/resolv.h [_RESOLV_H_]:
29849         Don't include <tls.h>.
29850         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29851         * resolv/res_libc.c: Don't include <tls.h>.
29852         (_res): Use __attribute__ ((nocommon)) in place of
29853         __attribute__ ((section (".bss"))).
29855         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29856         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29858         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29860         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29861         only under [SIOCGIFCONF && SIOCGIFNETMASK].
29863         * resolv/res_mkquery.c: Include <sys/time.h>.
29865         * inet/ifreq.c: Moved to ...
29866         * sysdeps/unix/ifreq.c: ... here.
29867         * inet/ifreq.c: New file, true stub version.
29869         * socket/sa_len.c: New file.
29870         * socket/Makefile (aux): Add it.
29871         * sysdeps/unix/sysv/linux/Makefile
29872         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29873         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29874         and #include <socket/sa_len.c>.
29875         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29876         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29878         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29879         * bits/socket.h: ... here.
29881         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29882         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29883         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29885 2013-08-27  Andreas Schwab  <schwab@suse.de>
29887         [BZ #15736]
29888         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29889         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29890         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29891         * string/test-strcasecmp.c (test_main): Run tests in several
29892         locales.
29893         * string/test-strncasecmp.c (test_main): Likewise.
29895         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29896         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29897         to __strcasecmp_nonascii and __strncasecmp_nonascii.
29898         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29899         (__strncasecmp_ssse3) [PIC]: Likewise.
29901 2013-08-26  Roland McGrath  <roland@hack.frob.com>
29903         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29905         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29906         instead of explicitly declaring xdecrypt.
29907         * nis/nss_nis/nis-publickey.c: Likewise.
29909 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29911         [BZ #15890]
29912         * nscd/aicache.c: Include res_hconf.h.
29913         (addhstaiX): Initialize res_hconf.
29915 2013-08-26  Andreas Schwab  <schwab@suse.de>
29917         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29918         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29920 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29922         * nscd/aicache.c (addhstaiX): Fix indentation.
29924 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
29926         * configure.ac: Quote $build_pt_chown test.
29927         * configure: Regenerated.
29929 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
29931         [BZ #15532]
29932         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29933         * math/s_cexpf.c (__cexpf): Likewise.
29934         * math/s_cexpl.c (__cexpl): Likewise.
29935         * math/libm-test.inc (cexp_test_data): Correct expected return
29936         value for NaN + i0.  Add another test.
29938 2013-08-22  David S. Miller  <davem@davemloft.net>
29940         * po/ca.po: Update Catalan translation from translation project.
29941         * po/uk.po: Add Ukrainian translations from translation project.
29943 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
29945         [BZ #15797]
29946         * math/s_fdim.c (__fdim): Check for infinite arguments if result
29947         is infinite, not alongside NaN test.
29948         * math/s_fdimf.c (__fdimf): Likewise.
29949         * math/s_fdiml.c (__fdiml): Likewise.
29950         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
29951         errno is unchanged.
29953 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
29955         * argp/argp-help.c: Fix typos.
29956         * crypt/speeds.c: Likewise.
29957         * csu/check_fds.c: Likewise.
29958         * elf/dl-load.c: Likewise.
29959         * elf/dl-open.c: Likewise.
29960         * elf/reldep3.c: Likewise.
29961         * elf/reldep.c: Likewise.
29962         * elf/sprof.c: Likewise.
29963         * iconv/iconv_charmap.c: Likewise.
29964         * iconv/skeleton.c: Likewise.
29965         * iconv/strtab.c: Likewise.
29966         * io/lockf64.c: Likewise.
29967         * libio/libioP.h: Likewise.
29968         * resolv/gai_notify.c: Likewise.
29969         * resolv/ns_name.c: Likewise.
29970         * resolv/ns_samedomain.c: Likewise.
29971         * resolv/res_send.c: Likewise.
29972         * stdlib/random.c: Likewise.
29973         * sunrpc/rpc/xdr.h: Likewise.
29974         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29975         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29976         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29977         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29978         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29979         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29980         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29981         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29982         * sysdeps/mach/hurd/check_fds.c: Likewise.
29983         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29984         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29985         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29986         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29987         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29988         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29989         * sysdeps/pthread/aio_notify.c: Likewise.
29990         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29991         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29992         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29993         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29994         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29996 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29998         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29999         version if bit_Slow_SSE4_2 is set.
30000         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30001         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30003 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30005         [BZ #15867]
30006         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30007         trampoline stack frame information.
30008         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30009         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30010         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30011         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30012         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30013         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30014         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30015         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30016         sa_flags value.
30017         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30018         interrupting a syscall and set with option SA_SIGINFO.
30020 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30022         [BZ #15531]
30023         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30024         argument is infinite.
30025         * math/s_cprojf.c (__cprojf): Likewise.
30026         * math/s_cprojl.c (__cprojl): Likewise.
30027         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30028         * math/libm-test.inc (cproj_test_data): Add more tests.
30030         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30032         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30033         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30034         size.  Use __ffs to determine corresponding shift.
30036 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30037             Roland McGrath  <roland@hack.frob.com>
30039         * Makefile (INSTALL): Remove trailing blank lines from output of
30040         makeinfo.
30042 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30044         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30045         Align 32 bit compat elf_greg to 8 bytes.
30047 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30049         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30051 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30053         * string/strcoll_l.c (coll_seq): New structure.
30054         (get_next_seq_cached): New function.
30055         (get_next_seq): New function.
30056         (do_compare): New function.
30057         (STRCOLL): Use GNU style definition.  Simplify implementation
30058         by using get_next_seq, get_next_seq_cached and do_compare.
30060 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30062         [BZ #14699]
30063         CVE-2013-4237
30064         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30065         member.
30066         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30067         member.
30068         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30069         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30070         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30071         conditional.
30072         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30073         GETDENTS_64BIT_ALIGNED.
30074         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30075         * manual/filesys.texi (Reading/Closing Directory): Document
30076         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30077         strongly.
30078         * manual/conf.texi (Limits for Files): Add portability note to
30079         NAME_MAX, PATH_MAX.
30080         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30082 2013-08-13  Andreas Schwab  <schwab@suse.de>
30084         [BZ #15749]
30085         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30086         of fabs.
30087         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30088         LDBL_MAX_EXP >= 16384]: Add tests for it.
30090 2013-08-12  David S. Miller  <davem@davemloft.net>
30092         * version.h (RELEASE): Set to "development".
30093         (VERSION): Set to "2.18.90".
30094         * NEWS: Add 2.19 section.
30096 2013-08-03  David S. Miller  <davem@davemloft.net>
30098         * po/ko.po: Update Korean translation from translation project.
30100 2013-08-01  David S. Miller  <davem@davemloft.net>
30102         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30103         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30104         Bilka.
30106 2013-07-30  David S. Miller  <davem@davemloft.net>
30108         * po/fr.po: Update French translation from translation project.
30110 2013-07-28  David S. Miller  <davem@davemloft.net>
30112         * po/cs.po: Update Czech translation from translation project.
30114         * po/sv.po: Update Swedish translation from translation project.
30116 2013-07-27  David S. Miller  <davem@davemloft.net>
30118         * po/eo.po: Update Esperanto translation from translation project.
30120         * po/vi.po: Update Vietnamese translation from translation project.
30122         * po/de.po: Update German translation from translation project.
30124 2013-07-26  David S. Miller  <davem@davemloft.net>
30126         * po/bg.po: Update Bulgarian translation from translation project.
30128         * po/nl.po: Update Dutch translation from translation project.
30129         * po/pl.po: Update Polish translation from translation project.
30130         * po/ru.po: Update Russian translation from translation project.
30132 2013-07-24  David S. Miller  <davem@davemloft.net>
30134         * po/libc.pot: Update.
30136 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30138         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30139         variable page size.
30140         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30141         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30142         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30144 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30146         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30148 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30149             Andreas Schwab  <schwab@suse.de>
30150             Roland McGrath  <roland@hack.frob.com>
30151             Joseph Myers  <joseph@codesourcery.com>
30152             Carlos O'Donell  <carlos@redhat.com>
30154         [BZ #15755]
30155         * config.h.in: Define HAVE_PT_CHOWN.
30156         * config.make.in (build-pt-chown): New variable.
30157         * configure.in (--enable-pt_chown): New configure option.
30158         * configure: Regenerate.
30159         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30160         build-pt-chown is enabled.
30161         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30162         pt_chown to fix pty ownership.
30163         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30164         CLOSE_ALL_FDS.
30165         * manual/install.texi (Configuring and compiling): Mention
30166         --enable-pt_chown. Add @findex for grantpt.
30167         * INSTALL: Regenerate.
30169 2013-07-20  David S. Miller  <davem@davemloft.net>
30171         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30172         difference between 32-bit and 64-bit.
30174 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30176         [BZ #15711]
30177         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30178         Avoid system header dependency with -ffreestanding.
30179         ($(objpfx)bits/syscall%d): Likewise.
30181 2013-07-13  David S. Miller  <davem@davemloft.net>
30183         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30184         underflows from atanl/atan2l due to bug 15319.
30185         (casinh_test_data): Likewise.
30187 2013-07-07  David S. Miller  <davem@davemloft.net>
30189         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30191 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30193         * sysdeps/i386/fpu/libm-test-ulps: Update.
30194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30196 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30198         * configure.in (--enable-lock-elision): Fix message text.
30199         * INSTALL: Regenerate.
30200         * configure: Regenerate.
30202 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30206 2013-07-03  Andreas Jaeger  <aj@suse.de>
30208         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30209         define.
30210         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30211         (ptrace_peeksiginfo_args): Add.
30212         (__ptrace_peeksiginfo_flags): Add.
30213         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30214         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30215         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30217 2013-07-03  Allan McRae  <allan@archlinux.org>
30219         * sysdeps/i386/fpu/libm-test-ulps: Update.
30221 2013-07-02  David S. Miller  <davem@davemloft.net>
30223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30225 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30229 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30231         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30234 2013-07-02  Andi Kleen <ak@linux.intel.com>
30236         * config.h.in (ENABLE_LOCK_ELISION): Add.
30237         * configure.in (--enable-lock-elision): Add option.
30238         * manual/install.texi: Document --enable lock elision.
30239         * configure: Regenerate
30240         * INSTALL: Regenerate.
30242 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30244         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30245         SSE4.2 strcasecmp for libc.a.
30246         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30248 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30250         [BZ #13304]
30251         * soft-fp/op-common.h (_FP_FMA): New macro.
30252         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30253         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30254         (_FP_MUL_MEAT_1_imm): ... here.
30255         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30256         (_FP_MUL_MEAT_1_wide): ... here.
30257         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30258         (_FP_MUL_MEAT_1_hard): ... here.
30259         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30260         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30261         (_FP_MUL_MEAT_2_wide): ... here.
30262         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30263         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30264         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30265         (_FP_MUL_MEAT_2_gmp): ... here.
30266         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30267         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30268         (_FP_MUL_MEAT_4_wide): ... here.
30269         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30270         (_FP_MUL_MEAT_4_gmp): ... here.
30271         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30272         (_FP_WFRACBITS_DW_S): Likewise.
30273         (_FP_WFRACXBITS_DW_S): Likewise.
30274         (_FP_HIGHBIT_DW_S): Likewise.
30275         (FP_FMA_S): Likewise.
30276         (_FP_FRAC_HIGH_DW_S): Likewise.
30277         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30278         (_FP_WFRACBITS_DW_D): Likewise.
30279         (_FP_WFRACXBITS_DW_D): Likewise.
30280         (_FP_HIGHBIT_DW_D): Likewise.
30281         (FP_FMA_D): Likewise.
30282         (_FP_FRAC_HIGH_DW_D): Likewise.
30283         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30284         (_FP_WFRACBITS_DW_E): Likewise.
30285         (_FP_WFRACXBITS_DW_E): Likewise.
30286         (_FP_HIGHBIT_DW_E): Likewise.
30287         (FP_FMA_E): Likewise.
30288         (_FP_FRAC_HIGH_DW_E): Likewise.
30289         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30290         (_FP_WFRACBITS_DW_Q): Likewise.
30291         (_FP_WFRACXBITS_DW_Q): Likewise.
30292         (_FP_HIGHBIT_DW_Q): Likewise.
30293         (FP_FMA_Q): Likewise.
30294         (_FP_FRAC_HIGH_DW_Q): Likewise.
30295         * soft-fp/fmasf4.c: New file.
30296         * soft-fp/fmadf4.c: Likewise.
30297         * soft-fp/fmatf4.c: Likewise.
30299 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30301         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30302         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30303         Silvermont.
30304         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30305         macro.
30306         (index_Slow_SSE4_2): Likewise.
30307         (index_Prefer_PMINUB_for_stringop): Likewise.
30308         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30309         bit_Slow_SSE4_2 is set.
30310         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30311         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30313 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30315         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30316         rtld_global._dl_hwcap2.
30317         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30318         POWER8.
30319         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30320         POWER8 feature descriptions defined in _dl_hwcap2.
30321         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30322         string handling for POWER8 feature bits.
30323         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30324         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30325         _dl_powerpc_cap_flags.
30326         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30327         * sysdeps/powerpc/rtld-global-offsets.sym
30328         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30329         _dl_hwcap2 in the rtld_global_ro structure.
30331 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30333         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30334         hardware capabilities in support of AT_HWCAP2.
30335         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30336         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30337         GLRO(dl_hwcap2).
30338         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30339         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30340         explicitly the unknown a_type display mechanism is used.
30341         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30342         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30343         struct member.
30344         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30345         to macro prototype for AT_HWCAP2 support.
30346         * sysdeps/i386/dl-procinfo.h: Likewise.
30347         * sysdeps/s390/dl-procinfo.h: Likewise.
30348         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30349         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30350         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30351         return -1 for unknown a_type display fallback.
30352         * sysdeps/sparc/dl-procinfo.h: Likewise.
30353         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30354         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30356 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30358         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30359         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30361 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30363         [BZ #12492]
30364         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30365         mprotect making __stack_prot writable.
30367 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30368             Joseph Myers  <joseph@codesourcery.com>
30370         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30371         as being properly aligned.
30373 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30375         * dlfcn/modstatic5.c: New file.
30376         * dlfcn/tststatic5.c: New file.
30377         * dlfcn/Makefile (tests): Add tststatic5.
30378         (tests-static): Likewise.
30379         (modules-names): Add modstatic5.
30380         (tststatic5-ENV): New variable.
30381         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30383         [BZ #15022]
30384         * elf/dl-support.c (_dl_main_map): New variable.
30385         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30386         (_dl_nns, _dl_load_adds): Set to 1.
30387         (_dl_initial_searchlist): Refer to _dl_main_map.
30388         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30389         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30390         call to _dl_get_origin.
30391         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30392         around call_map.
30393         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30394         * dlfcn/modstatic3.c: New file.
30395         * dlfcn/tststatic3.c: New file.
30396         * dlfcn/tststatic4.c: New file.
30397         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30398         (tests-static): Likewise.
30399         (modules-names): Add modstatic3.
30400         (tststatic3-ENV, tststatic4-ENV): New variables.
30401         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30402         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30404 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30406         * configure.in (CC): Require GCC version 4.4 or later.
30407         * configure: Regenerated.
30408         * manual/install.texi (Tools for Compilation): Update GCC version
30409         requirement.
30410         * INSTALL: Regenerated.
30412 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30414         [BZ #15674]
30415         * string/test-memcmp.c (check2): New.
30416         (main): Call check2.
30418         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30420 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30422         [BZ #15022]
30423         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30424         over to...
30425         (dl_open_worker) [!SHARED]: ... here.
30427 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30429         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30431 2013-06-25  Richard Henderson  <rth@redhat.com>
30433         * locale/programs/locarchive.c: Include <libc-internal.h>
30435 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30437         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30438         trailing whitespace removed.
30440 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30442         [BZ #10283]
30443         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30444         * locale/programs/locarchive.c: Include libc-mmap.h.
30445         (prepare_address_space): Take two new outputs (the mmap base and len).
30446         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30447         values.
30448         (create_archive): Declare new mmap base and len values for
30449         prepare_address_space, and store the result in ah.
30450         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30451         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30452         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30453         Declare new mmap base and len values for
30454         prepare_address_space, and store the result in new_ah.
30455         (open_archive): Declare new mmap base and len values for
30456         prepare_address_space, and store the result in ah.
30457         (close_archive): If ah->mmap_base is not NULL, use that and
30458         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30459         * sysdeps/generic/libc-mmap.h: New file.
30461 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30463         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30464         (ALIGN_UP): Likewise.
30465         (PTR_ALIGN_DOWN): Likewise.
30466         (PTR_ALIGN_UP): Likewise.
30468 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30470         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30471         entry mapped to PPC_PLATFORM_POWER8.
30472         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30473         POWER8.
30474         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30475         (_dl_string_platform): Add case for exporting platform position for
30476         POWER8.
30477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30478         search path to sysdeps/powerpc/powerpc32/power8 directory.
30479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30480         search path to sysdeps/powerpc/powerpc64/power8 directory.
30481         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30482         power7 directories.
30483         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30484         power7 directories.
30486 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30488         * INSTALL: Regenerate.
30490         * nscd/connections.c (nscd_init): Fix comment.
30492 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30494         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30496         [BZ #15667]
30497         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30498         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30500 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30502         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30503         DL_DST_REQ_STATIC.
30504         (DL_DST_REQ_STATIC): Remove macro.
30506 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30508         [BZ #7006]
30509         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30510         with a shift of 0 bits.
30512 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30514         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30515         $(tststatic-ENV).
30517 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30519         [BZ #15655]
30520         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30522 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30524         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30525         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30526         accepts -fno-tree-loop-distribute-patterns.
30527         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30528         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30529         recursive call.
30530         * string/memset.c (memset): Likewise.
30531         * string/test-memmove.c (simple_memmove): Disable loop transformation
30532         to library calls.
30533         * string/test-memset.c (simple_memset): Likewise.
30534         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30535         * benchtests/bench-memset.c (simple_memset): Likewise.
30536         * configure: Regenerated.
30538 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30540         * math/test-misc.c (main): Ignore fesetround failure when failures
30541         of subsequent rounding tests would be ignored.
30543         [BZ #15654]
30544         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30545         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30546         * math/fegetenv.c (__fegetenv): Return 0.
30547         * math/fegetexcept.c (fegetexcept): Return 0.
30548         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30549         FE_TONEAREST.
30550         * math/feholdexcpt.c (feholdexcept): Return 0.
30551         * math/fesetenv.c (__fesetenv): Return 0.
30552         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30553         argument FE_TONEAREST.
30554         * math/feupdateenv.c (__feupdateenv): Return 0.
30555         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30557 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30559         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30560         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30561         ($(objpfx)rtld-%.os rules): Use them.
30563 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30565         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30566         fields.
30568 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30570         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30571         length of target pattern, then descending length of dependency pattern.
30572         * configure.in (AWK): Require gawk 3.1.2 or newer.
30573         * manual/install.texi (Tools for Compilation): Say that we do.
30574         * configure: Regenerated.
30576         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30577         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30578         * scripts/sysd-rules.awk: ... this new script.
30579         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30580         than a glob-style pattern.
30582 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30584         * math/test-misc.c (main): Do not treat incorrectly rounded
30585         conversions as failure unless ROUNDING_TESTS passes.
30587 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30589         [BZ #15631]
30590         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30591         restore exception state around main square root computation, then
30592         check for inexactness explicitly.
30594         * math/libm-test.inc (fma_test_data): Add another test.
30596 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30598         * manual/threads.texi (Non-POSIX Extensions): New document
30599         node.  Document pthread_getattr_default_np and
30600         pthread_setattr_default_np.
30602         * Versions.def (libpthread): Add GLIBC_2.18.
30603         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30605         Likewise.
30606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30607         Likewise.
30608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30609         Likewise.
30610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30611         Likewise.
30612         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30613         Likewise.
30614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30615         Likewise.
30616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30617         Likewise.
30618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30619         Likewise.
30620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30621         Likewise.
30623 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30625         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30626         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30628 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30629             H.J. Lu  <hjl.tools@gmail.com>
30631         [BZ #15627]
30632         * sysdeps/x86_64/rtld-memset.c: Remove file.
30633         * sysdeps/x86_64/rtld-memset.S: New file.
30635 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30637         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30638         (test_in_one_mode): Take arguments for whether the rounding mode
30639         is supported for each floating-point type.
30640         (do_test): Pass new arguments to test_in_one_mode using
30641         ROUNDING_TESTS.
30643 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30645         * posix/tst-waitid.c (do_test): Distinguish different instances of
30646         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30647         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30648         before entering the kernel for waitpid.
30650 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30652         * NEWS: Fix note on clock function precision.  Text by Roland
30653         McGrath.
30655 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30657         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30658         it into place only when and if the sanity check passes.
30660 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30662         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30663         output for whether conversion result is exact.  Take argument
30664         indicating whether type is IBM long double.
30665         (round_for_all): Change need_exact field to ibm_ld.
30666         * stdlib/tst-strtod-round.c (struct exactness): New type.
30667         (struct test): Change bool ld_ok field to struct exactness exact.
30668         (TEST): Update all definitions for change to field.
30669         (tests): Regenerate array contents.
30670         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30671         field value.  Check for IBM long double here.
30672         (do_test): Update calls to test_in_one_mode.
30674 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30676         [BZ #12515]
30677         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30678         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30680 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30682         [BZ #15605]
30683         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30684         generated by the compiler on loop optimizations.
30685         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30686         general definitions.
30688 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
30690         * math/bug-nextafter.c: Include <math-tests.h>.
30691         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30692         the relevant type.
30693         * math/bug-nexttoward.c: Include <math-tests.h>.
30694         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30695         the relevant type.
30696         * math/test-misc.c: Include <math-tests.h>.
30697         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30698         the relevant type.
30700 2013-06-12  Andreas Jaeger  <aj@suse.de>
30702         * po/ia.po: Update Interlingua translation from translation
30703         project.
30705 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30707         * include/fenv.h: Include stdbool.h.
30708         (struct rm_ctx): New structure.
30709         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30710         Define macro.
30711         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30712         (SET_RESTORE_ROUNDF): Likewise.
30713         (SET_RESTORE_ROUNDL): Likewise.
30714         (SET_RESTORE_ROUND_NOEX): Likewise.
30715         (SET_RESTORE_ROUND_NOEXF): Likewise.
30716         (SET_RESTORE_ROUND_NOEXL): Likewise.
30717         (SET_RESTORE_ROUND_53BIT): Likewise.
30718         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30719         (libc_feresetround_noexf_ctx): Likewise.
30720         (libc_feresetround_noexl_ctx): Likewise.
30721         (libc_feholdsetround_53bit_ctx): Likewise.
30722         (libc_feresetround_53bit_ctx): Likewise.
30723         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30724         (libc_feholdexcept_setround_sse_ctx): New function.
30725         (libc_fesetenv_sse_ctx): Likewise.
30726         (libc_feupdateenv_sse_ctx): Likewise.
30727         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30728         (libc_feholdexcept_setround_387_ctx): Likewise.
30729         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30730         (libc_feholdsetround_387_prec_ctx): Likewise.
30731         (libc_feholdsetround_387_ctx): Likewise.
30732         (libc_feholdsetround_387_53bit_ctx): Likewise.
30733         (libc_feholdsetround_sse_ctx): Likewise.
30734         (libc_feresetround_sse_ctx): Likewise.
30735         (libc_feresetround_387_ctx): Likewise.
30736         (libc_feupdateenv_387_ctx): Likewise.
30737         (libc_feholdexcept_setroundf_ctx): Define macro.
30738         (libc_fesetenvf_ctx): Likewise.
30739         (libc_feupdateenvf_ctx): Likewise.
30740         (libc_feholdsetroundf_ctx): Likewise.
30741         (libc_feresetroundf_ctx): Likewise.
30742         (libc_feholdexcept_setround_ctx): Likewise.
30743         (libc_fesetenv_ctx): Likewise.
30744         (libc_feupdateenv_ctx): Likewise.
30745         (libc_feholdsetround_ctx): Likewise.
30746         (libc_feresetround_ctx): Likewise.
30747         (libc_feholdexcept_setroundl_ctx): Likewise.
30748         (libc_feupdateenvl_ctx): Likewise.
30749         (libc_feholdsetroundl_ctx): Likewise.
30750         (libc_feresetroundl_ctx): Likewise.
30751         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30752         (libc_feresetround_53bit_ctx): Likewise.
30754 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30756         * locale/iso-639.def: Convert to UTF-8.
30758 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
30760         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30761         (EXCEPTION_TESTS_double): Likewise.
30762         (EXCEPTION_TESTS_long_double): Likewise.
30763         (EXCEPTION_TESTS): Likewise.
30764         * math/libm-test.inc (test_exceptions): Only test exceptions if
30765         EXCEPTION_TESTS (FLOAT).
30767 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30769         * benchtests/Makefile (string-bench): Add strcpy_chk and
30770         stpcpy_chk.
30771         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30772         * benchtests/bench-stpcpy_chk.c: New file.
30773         * benchtests/bench-strcpy_chk-ifunc.c: New file.
30774         * benchtests/bench-strcpy_chk.c: New file.
30775         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30776         code.
30777         (do_test): Likewise.
30779 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30781         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30782         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30783         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30784         with tabs where appropriate.
30785         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30786         dl-procinfo.h.
30787         [PPC_PLATFORM_PPC440]: Likewise.
30788         [PPC_PLATFORM_PPC464]: Likewise.
30789         [PPC_PLATFORM_PPC476]: Likewise.
30790         (_dl_string_platform): Add support for detecting ppc405, ppc440,
30791         ppc464, and ppc476 platform strings merging from ports/
30792         dl-procinfo.h.
30794 2013-06-11  Andreas Schwab  <schwab@suse.de>
30796         [BZ #14991]
30797         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30798         (from_ucs4_idx): Regenerate.
30799         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30800         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30801         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30802         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30803         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30804         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30805         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30806         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30807         from FROM_LOOP and TO_LOOP specific macros.
30808         (BODY): Handle combining characters.
30809         * iconvdata/BIG5HKSCS.irreversible: Update.
30810         * iconvdata/BIG5HKSCS.precomposed: New file.
30811         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30812         characters.
30813         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30815 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30817         * include/sys/time.h: Fix indentation and add copyright header.
30819         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30820         (do_test): Likewise.
30821         * string/test-memchr.c (do_one_test): Likewise.
30822         (do_test): Likewise.
30823         * string/test-memcmp.c (do_one_test): Likewise.
30824         (do_test): Likewise.
30825         * string/test-memcpy.c (do_one_test): Likewise.
30826         (do_test): Likewise.
30827         * string/test-memmem.c (do_one_test): Likewise.
30828         (do_test): Likewise.
30829         (do_random_tests): Likewise.
30830         * string/test-memmove.c (do_one_test): Likewise.
30831         (do_test): Likewise.
30832         * string/test-memset.c (do_one_test): Likewise.
30833         (do_test): Likewise.
30834         * string/test-rawmemchr.c (do_one_test): Likewise.
30835         (do_test): Likewise.
30836         * string/test-strcasecmp.c (do_one_test): Likewise.
30837         (do_test): Likewise.
30838         * string/test-strcasestr.c (do_one_test): Likewise.
30839         (do_test): Likewise.
30840         * string/test-strcat.c (do_one_test): Likewise.
30841         (do_test): Likewise.
30842         * string/test-strchr.c (do_one_test): Likewise.
30843         (do_test): Likewise.
30844         * string/test-strcmp.c (do_one_test): Likewise.
30845         (do_test): Likewise.
30846         * string/test-strcpy.c (do_one_test): Likewise.
30847         (do_test): Likewise.
30848         * string/test-string.h: Likewise.
30849         (test_init): Likewise.
30850         * string/test-strlen.c (do_one_test): Likewise.
30851         (do_test): Likewise.
30852         * string/test-strncasecmp.c (do_one_test): Likewise.
30853         (do_test): Likewise.
30854         * string/test-strncat.c (do_one_test): Likewise.
30855         (do_test): Likewise.
30856         * string/test-strncmp.c (do_one_test): Likewise.
30857         (do_test_limit): Likewise.
30858         (do_test): Likewise.
30859         * string/test-strncpy.c (do_one_test): Likewise.
30860         (do_test): Likewise.
30861         * string/test-strnlen.c (do_one_test): Likewise.
30862         (do_test): Likewise.
30863         * string/test-strpbrk.c (do_one_test): Likewise.
30864         (do_test): Likewise.
30865         * string/test-strrchr.c (do_one_test): Likewise.
30866         (do_test): Likewise.
30867         * string/test-strspn.c (do_one_test): Likewise.
30868         (do_test): Likewise.
30869         * string/test-strstr.c (do_one_test): Likewise.
30870         (do_test): Likewise.
30872         * benchtests/Makefile (string-bench): Add string benchmarks.
30873         * benchtests/bench-bcopy-ifunc.c: New file.
30874         * benchtests/bench-bcopy.c: New file.
30875         * benchtests/bench-bzero-ifunc.c: New file.
30876         * benchtests/bench-bzero.c: New file.
30877         * benchtests/bench-memccpy-ifunc.c: New file.
30878         * benchtests/bench-memccpy.c: New file.
30879         * benchtests/bench-memchr-ifunc.c: New file.
30880         * benchtests/bench-memchr.c: New file.
30881         * benchtests/bench-memcmp-ifunc.c: New file.
30882         * benchtests/bench-memcmp.c: New file.
30883         * benchtests/bench-memmem-ifunc.c: New file.
30884         * benchtests/bench-memmem.c: New file.
30885         * benchtests/bench-memmove-ifunc.c: New file.
30886         * benchtests/bench-memmove.c: New file.
30887         * benchtests/bench-mempcpy-ifunc.c: New file.
30888         * benchtests/bench-mempcpy.c: New file.
30889         * benchtests/bench-memset-ifunc.c: New file.
30890         * benchtests/bench-memset.c: New file.
30891         * benchtests/bench-rawmemchr-ifunc.c: New file.
30892         * benchtests/bench-rawmemchr.c: New file.
30893         * benchtests/bench-stpcpy-ifunc.c: New file.
30894         * benchtests/bench-stpcpy.c: New file.
30895         * benchtests/bench-stpncpy-ifunc.c: New file.
30896         * benchtests/bench-stpncpy.c: New file.
30897         * benchtests/bench-strcasecmp-ifunc.c: New file.
30898         * benchtests/bench-strcasecmp.c: New file.
30899         * benchtests/bench-strcasestr-ifunc.c: New file.
30900         * benchtests/bench-strcasestr.c: New file.
30901         * benchtests/bench-strcat-ifunc.c: New file.
30902         * benchtests/bench-strcat.c: New file.
30903         * benchtests/bench-strchr-ifunc.c: New file.
30904         * benchtests/bench-strchr.c: New file.
30905         * benchtests/bench-strchrnul-ifunc.c: New file.
30906         * benchtests/bench-strchrnul.c: New file.
30907         * benchtests/bench-strcmp-ifunc.c: New file.
30908         * benchtests/bench-strcmp.c: New file.
30909         * benchtests/bench-strcpy-ifunc.c: New file.
30910         * benchtests/bench-strcpy.c: New file.
30911         * benchtests/bench-strcspn-ifunc.c: New file.
30912         * benchtests/bench-strcspn.c: New file.
30913         * benchtests/bench-strlen-ifunc.c: New file.
30914         * benchtests/bench-strlen.c: New file.
30915         * benchtests/bench-strncasecmp-ifunc.c: New file.
30916         * benchtests/bench-strncasecmp.c: New file.
30917         * benchtests/bench-strncat-ifunc.c: New file.
30918         * benchtests/bench-strncat.c: New file.
30919         * benchtests/bench-strncmp-ifunc.c: New file.
30920         * benchtests/bench-strncmp.c: New file.
30921         * benchtests/bench-strncpy-ifunc.c: New file.
30922         * benchtests/bench-strncpy.c: New file.
30923         * benchtests/bench-strnlen-ifunc.c: New file.
30924         * benchtests/bench-strnlen.c: New file.
30925         * benchtests/bench-strpbrk-ifunc.c: New file.
30926         * benchtests/bench-strpbrk.c: New file.
30927         * benchtests/bench-strrchr-ifunc.c: New file.
30928         * benchtests/bench-strrchr.c: New file.
30929         * benchtests/bench-strspn-ifunc.c: New file.
30930         * benchtests/bench-strspn.c: New file.
30931         * benchtests/bench-strstr-ifunc.c: New file.
30932         * benchtests/bench-strstr.c: New file.
30934         * benchtests/Makefile: Disable parallel execution of targets.
30935         (string-bench): Add memcpy.
30936         (benchset): New variable to store a list of benchmark sets.
30937         (bench-func): Renamed from bench.
30938         (bench-set): New target.
30939         (bench): Depend on bench-func and bench-set.
30940         * benchtests/README: Add section on benchmark sets.
30941         * benchtests/bench-memcpy-ifunc.c: New file.
30942         * benchtests/bench-memcpy.c: New file.
30943         * benchtests/bench-string.h: New file.
30945 2013-06-11  Andreas Schwab  <schwab@suse.de>
30947         [BZ #15577]
30948         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30949         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30950         values in the triple.
30951         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30952         terminator in the group key.
30954 2013-06-11  Andreas Jaeger  <aj@suse.de>
30956         * po/zh_TW.po: Update Chinese (traditional) translation from
30957         translation project.
30959 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30961         * include/time.h (__clock_gettime): Add libc_hidden_proto.
30962         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30963         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
30964         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30965         (clock_getcpuclockid): Likewise.
30966         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30967         Add weak_alias and libc_hidden_def.
30968         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30969         * rt/clock_gettime.c (clock_gettime): Rename to
30970         __clock_gettime.  Add weak_alias and libc_hidden_def.
30971         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30972         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30973         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
30974         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30975         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30976         Likewise.
30977         * rt/clock_settime.c (clock_settime): Rename to
30978         __clock_settime.  Add weak_alias and libc_hidden_def.
30979         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30981 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
30983         * mach/err_boot.sub: Remove trailing whitespace.
30984         * mach/err_ipc.sub: Likewise.
30985         * mach/err_mach.sub: Likewise.
30987         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30988         (ROUNDING_TESTS_double): Likewise.
30989         (ROUNDING_TESTS_long_double): Likewise.
30990         (ROUNDING_TESTS): Likewise.
30991         * math/libm-test.inc: Include <math-tests.h>.
30992         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30993         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30994         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30995         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30997 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30999         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31000         of assigning.
31002 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31004         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31005         otherwise empty TRANS lines.
31006         * sysdeps/gnu/errlist.c: Regenerated.
31008         * catgets/gencat.c (error_print): Use (void) in function
31009         definition.
31010         * crypt/crypt_util.c (__init_des): Likewise.
31011         * crypt/speeds.c (Stop): Likewise.
31012         (main): Likewise.
31013         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31014         * inet/ruserpass.c (token): Likewise.
31015         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31016         * intl/localealias.c (extend_alias_table): Likewise.
31017         * intl/plural-exp.c (init_germanic_plural): Likewise.
31018         * libio/fcloseall.c (__fcloseall): Likewise.
31019         * libio/genops.c (_IO_flush_all): Likewise.
31020         (_IO_flush_all_linebuffered): Likewise.
31021         (_IO_cleanup): Likewise.
31022         (_IO_iter_begin): Likewise.
31023         (_IO_iter_end): Likewise.
31024         (_IO_list_lock): Likewise.
31025         (_IO_list_unlock): Likewise.
31026         (_IO_list_resetlock): Likewise.
31027         * libio/getchar.c (getchar): Likewise.
31028         * libio/getchar_u.c (getchar_unlocked): Likewise.
31029         * libio/getwchar.c (getwchar): Likewise.
31030         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31031         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31032         * login/getpt.c (__getpt): Likewise.
31033         * login/tst-utmp.c (main): Likewise.
31034         * malloc/hooks.c (__malloc_check_init): Likewise.
31035         * malloc/malloc.c (__malloc_stats): Likewise.
31036         * malloc/mtrace.c (tr_break): Likewise.
31037         (mtrace): Likewise.
31038         (muntrace): Likewise.
31039         * misc/fstab.c (endfsent): Likewise.
31040         * misc/getclktck.c (__getclktck): Likewise.
31041         * misc/getdtsz.c (__getdtablesize): Likewise.
31042         * misc/gethostid.c (gethostid): Likewise.
31043         * misc/getpagesize.c (__getpagesize): Likewise.
31044         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31045         (__get_nprocs): Likewise.
31046         (__get_phys_pages): Likewise.
31047         (__get_avphys_pages): Likewise.
31048         * misc/getttyent.c (getttyent): Likewise.
31049         (setttyent): Likewise.
31050         (endttyent): Likewise.
31051         * misc/getusershell.c (getusershell): Likewise.
31052         (endusershell): Likewise.
31053         (setusershell): Likewise.
31054         (initshells): Likewise.
31055         * misc/hsearch.c (__hdestroy): Likewise.
31056         * misc/sync.c (sync): Likewise.
31057         * misc/syslog.c (closelog_internal): Likewise.
31058         (closelog): Likewise.
31059         * misc/ttyslot.c (ttyslot): Likewise.
31060         * misc/vhangup.c (vhangup): Likewise.
31061         * posix/fork.c (__fork): Likewise.
31062         * posix/getegid.c (__getegid): Likewise.
31063         * posix/geteuid.c (__geteuid): Likewise.
31064         * posix/getgid.c (__getgid): Likewise.
31065         * posix/getpid.c (__getpid): Likewise.
31066         * posix/getppid.c (__getppid): Likewise.
31067         * posix/getuid.c (__getuid): Likewise.
31068         * posix/pause.c (pause): Likewise.
31069         * posix/setpgrp.c (setpgrp): Likewise.
31070         * posix/setsid.c (__setsid): Likewise.
31071         * posix/test-vfork.c (noop): Likewise.
31072         * resolv/gethnamaddr.c (_endhtent): Likewise.
31073         (_gethtent): Likewise.
31074         (ht_endhostent): Likewise.
31075         (gethostent): Likewise.
31076         (dns_service): Likewise.
31077         * stdlib/drand48.c (drand48): Likewise.
31078         * stdlib/lrand48.c (lrand48): Likewise.
31079         * stdlib/mrand48.c (mrand48): Likewise.
31080         * stdlib/rand.c (rand): Likewise.
31081         * stdlib/random.c (__random): Likewise.
31082         * stdlib/setenv.c (clearenv): Likewise.
31083         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31084         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31085         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31086         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31087         (__get_nprocs): Likewise.
31088         (__get_phys_pages): Likewise.
31089         (__get_avphys_pages): Likewise.
31090         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31091         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31092         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31093         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31094         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31095         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31096         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31097         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31098         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31099         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31100         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31101         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31102         * sysdeps/posix/clock.c (clock): Likewise.
31103         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31104         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31105         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31106         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31107         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31108         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31109         (__get_nprocs_conf): Likewise.
31110         (__get_phys_pages): Likewise.
31111         (__get_avphys_pages): Likewise.
31112         * time/clock.c (clock): Likewise.
31113         * time/tzset.c (__tzname_max): Likewise.
31115 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31117         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31118         (__bswap_32): Do not use "register".
31119         * crypt/crypt.c (_ufc_doit_r): Likewise.
31120         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31121         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31122         * gmon/gmon.c (__monstartup): Likewise.
31123         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31124         * hurd/hurdmalloc.c (more_memory): Likewise.
31125         (malloc): Likewise.
31126         (free): Likewise.
31127         (realloc): Likewise.
31128         (malloc_fork_prepare): Likewise.
31129         (malloc_fork_parent): Likewise.
31130         (malloc_fork_child): Likewise.
31131         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31132         (_svcauth_des): Likewise.
31133         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31134         * inet/inet_net.c (inet_network): Likewise.
31135         * inet/inet_netof.c (inet_netof): Likewise.
31136         * inet/rcmd.c (__validuser2_sa): Likewise.
31137         * io/fts.c (fts_open): Likewise.
31138         (fts_load): Likewise.
31139         (fts_close): Likewise.
31140         (fts_read): Likewise.
31141         (fts_children): Likewise.
31142         (fts_build): Likewise.
31143         (fts_stat): Likewise.
31144         (fts_sort): Likewise.
31145         (fts_alloc): Likewise.
31146         (fts_lfree): Likewise.
31147         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31148         (_IO_file_xsgetn): Likewise.
31149         (_IO_file_xsgetn_mmap): Likewise.
31150         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31151         (_IO_cookie_write): Likewise.
31152         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31153         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31154         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31155         * malloc/obstack.c (_obstack_begin): Likewise.
31156         (_obstack_begin_1): Likewise.
31157         (_obstack_newchunk): Likewise.
31158         (_obstack_allocated_p): Likewise.
31159         (obstack_free): Likewise.
31160         (_obstack_memory_used): Likewise.
31161         * misc/getttyent.c (getttynam): Likewise.
31162         (getttyent): Likewise.
31163         (skip): Likewise.
31164         (value): Likewise.
31165         * misc/getusershell.c (initshells): Likewise.
31166         * misc/syslog.c (__vsyslog_chk): Likewise.
31167         * misc/ttyslot.c (ttyslot): Likewise.
31168         * nis/nis_hash.c (__nis_hash): Likewise.
31169         * posix/fnmatch_loop.c (FCT): Likewise.
31170         * posix/getconf.c (print_all): Likewise.
31171         (main): Likewise.
31172         * posix/getopt.c (exchange): Likewise.
31173         * posix/glob.c (globfree): Likewise.
31174         (prefix_array): Likewise.
31175         (__glob_pattern_type): Likewise.
31176         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31177         (NS_GET32): Likewise.
31178         (NS_PUT16): Likewise.
31179         (NS_PUT32): Likewise.
31180         * resolv/gethnamaddr.c (getanswer): Likewise.
31181         (gethostbyname2): Likewise.
31182         (gethostbyaddr): Likewise.
31183         (_gethtent): Likewise.
31184         (_gethtbyname2): Likewise.
31185         (_gethtbyaddr): Likewise.
31186         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31187         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31188         * resolv/res_init.c (__res_vinit): Likewise.
31189         (net_mask): Likewise.
31190         * resolv/res_mkquery.c (outchar): Likewise.
31191         (PRINT): Likewise.
31192         * stdio-common/printf_fp.c (outchar): Likewise.
31193         (PRINT): Likewise.
31194         * stdio-common/printf_fphex.c (outchar): Likewise.
31195         (PRINT): Likewise.
31196         * stdio-common/printf_size.c (outchar): Likewise.
31197         (PRINT): Likewise.
31198         * stdio-common/test_rdwr.c (main): Likewise.
31199         * stdio-common/tfformat.c (matches): Likewise.
31200         * stdio-common/vfprintf.c (outchar): Likewise.
31201         (printf_unknown): Likewise.
31202         (buffered_vfprintf): Likewise.
31203         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31204         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31205         (ReadFile): Likewise.
31206         * stdlib/qsort.c (SWAP): Likewise.
31207         (_quicksort): Likewise.
31208         * stdlib/setenv.c (__add_to_environ): Likewise.
31209         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31210         * stdlib/strtol_l.c (__strtol_l): Likewise.
31211         * stdlib/tst-strtod.c (main): Likewise.
31212         * stdlib/tst-strtol.c (main): Likewise.
31213         * stdlib/tst-strtoll.c (main): Likewise.
31214         * string/bits/string2.h (__strcmp_cc): Likewise.
31215         (__strcmp_cg): Likewise.
31216         (__strcspn_c1): Likewise.
31217         (__strcspn_c2): Likewise.
31218         (__strcspn_c3): Likewise.
31219         (__strspn_c1): Likewise.
31220         (__strspn_c2): Likewise.
31221         (__strspn_c3): Likewise.
31222         (__strsep_1c): Likewise.
31223         (__strsep_2c): Likewise.
31224         (__strsep_3c): Likewise.
31225         * string/memccpy.c (__memccpy): Likewise.
31226         * string/stpcpy.c (__stpcpy): Likewise.
31227         * string/strcmp.c (strcmp): Likewise.
31228         * string/strrchr.c (strrchr): Likewise.
31229         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31230         Likewise.
31231         * sysdeps/mach/hurd/getcwd.c
31232         (_hurd_canonicalize_directory_name_internal): Likewise.
31233         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31234         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31235         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31236         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31237         Likewise, in both definitions.
31238         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31239         definitions.
31240         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31241         64] (__bswap_64): Likewise.
31242         * time/test_time.c (main): Likewise.
31243         * time/tzfile.c (__tzfile_read): Likewise.
31244         (__tzfile_compute): Likewise.
31245         * time/tzset.c (__tzset_parse_tz): Likewise.
31246         (tzset_internal): Likewise.
31247         (compute_change): Likewise.
31248         * wcsmbs/wcscat.c (__wcscat): Likewise.
31249         * wcsmbs/wcschr.c (wcschr): Likewise.
31250         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31251         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31252         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31253         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31254         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31255         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31256         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31257         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31258         * wcsmbs/wmemset.c (wmemset): Likewise.
31260 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31262         * scripts/config.guess: Update to version 2013-05-16.
31263         * scripts/config.sub: Update to version 2013-04-24.
31264         * scripts/install-sh: Update to version 2011-11-20.07.
31265         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31266         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31268 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31270         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31271         * elf/sln.c: Likewise.
31272         * hurd/hurd/ioctl.h: Likewise.
31273         * hurd/hurdmalloc.c: Likewise.
31274         * hurd/xattr.c: Likewise.
31275         * include/shlib-compat.h: Likewise.
31276         * inet/ruserpass.c: Likewise.
31277         * libio/iofgets_u.c: Likewise.
31278         * libio/iofgetws_u.c: Likewise.
31279         * locale/programs/ld-identification.c: Likewise.
31280         * locale/programs/ld-time.c: Likewise.
31281         * mach/msg-destroy.c: Likewise.
31282         * nss/nss_files/files-netgrp.c: Likewise.
31283         * resolv/res_data.c: Likewise.
31284         * soft-fp/op-1.h: Likewise.
31285         * soft-fp/op-2.h: Likewise.
31286         * soft-fp/op-4.h: Likewise.
31287         * soft-fp/op-common.h: Likewise.
31288         * stdio-common/printf_fphex.c: Likewise.
31289         * stdlib/strtod_l.c: Likewise.
31290         * sunrpc/rpc/clnt.h: Likewise.
31291         * sysdeps/generic/framestate.c: Likewise.
31292         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31293         * sysdeps/i386/bsd-setjmp.S: Likewise.
31294         * sysdeps/i386/__longjmp.S: Likewise.
31295         * sysdeps/i386/setjmp.S: Likewise.
31296         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31297         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31298         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31299         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31300         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31301         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31302         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31303         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31304         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31305         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31306         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31307         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31308         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31309         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31310         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31311         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31312         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31313         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31314         * sysdeps/ieee754/support.c: Likewise.
31315         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31316         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31317         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31318         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31319         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31320         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31321         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31322         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31323         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31324         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31325         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31326         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31327         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31328         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31329         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31330         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31331         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31334 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31336         * posix/transbug.c: Remove executable mode.
31338 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31340         * crypt/speeds.c: Remove trailing whitespace.
31341         * dlfcn/default.c: Likewise.
31342         * elf/ifuncdep2.c: Likewise.
31343         * elf/ifuncmain1.c: Likewise.
31344         * elf/ifuncmain1vis.c: Likewise.
31345         * elf/testobj.h: Likewise.
31346         * elf/tst-stackguard1.c: Likewise.
31347         * gmon/sys/gmon.h: Likewise.
31348         * hurd/hurdmsg.c: Likewise.
31349         * hurd/new-fd.c: Likewise.
31350         * hurd/ports-get.c: Likewise.
31351         * iconvdata/ibm1008_420.c: Likewise.
31352         * inet/tst-getni1.c: Likewise.
31353         * inet/tst-getni2.c: Likewise.
31354         * libio/ioungetc.c: Likewise.
31355         * libio/wfiledoalloc.c: Likewise.
31356         * manual/libm-err-tab.pl: Likewise.
31357         * math/w_dremf.c: Likewise.
31358         * misc/ftruncate.c: Likewise.
31359         * posix/bug-glob2.c: Likewise.
31360         * posix/tst-pcre.c: Likewise.
31361         * posix/wait4.c: Likewise.
31362         * resolv/README: Likewise.
31363         * resolv/res_debug.h: Likewise.
31364         * resolv/tst-inet_ntop.c: Likewise.
31365         * setjmp/bug269-setjmp.c: Likewise.
31366         * soft-fp/extended.h: Likewise.
31367         * soft-fp/op-1.h: Likewise.
31368         * soft-fp/op-2.h: Likewise.
31369         * soft-fp/op-4.h: Likewise.
31370         * soft-fp/op-8.h: Likewise.
31371         * soft-fp/testit.c: Likewise.
31372         * stdio-common/bug16.c: Likewise.
31373         * stdlib/random.c: Likewise.
31374         * sunrpc/rpcsvc/rquota.x: Likewise.
31375         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31376         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31377         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31378         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31379         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31380         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31381         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31382         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31383         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31384         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31385         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31386         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31387         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31388         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31389         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31390         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31391         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31392         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31393         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31394         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31395         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31396         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31397         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31398         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31399         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31400         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31401         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31402         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31403         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31404         * sysdeps/ieee754/s_lib_version.c: Likewise.
31405         * sysdeps/mach/hurd/check_fds.c: Likewise.
31406         * sysdeps/mach/hurd/getsockname.c: Likewise.
31407         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31408         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31409         * sysdeps/powerpc/bits/link.h: Likewise.
31410         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31411         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31412         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31413         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31414         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31415         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31416         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31417         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31418         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31419         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31420         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31421         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31422         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31423         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31424         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31425         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31426         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31427         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31428         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31429         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31430         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31431         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31432         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31433         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31434         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31435         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31436         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31437         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31438         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31439         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31440         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31441         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31442         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31443         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31444         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31445         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31446         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31447         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31448         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31449         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31450         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31451         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31452         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31453         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31454         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31455         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31456         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31457         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31458         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31459         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31460         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31461         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31462         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31463         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31464         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31465         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31466         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31467         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31468         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31469         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31470         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31471         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31472         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31473         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31474         * sysdeps/powerpc/sysdep.h: Likewise.
31475         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31476         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31477         * sysdeps/sh/dl-trampoline.S: Likewise.
31478         * sysdeps/sh/memset.S: Likewise.
31479         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31480         * sysdeps/sh/strlen.S: Likewise.
31481         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31482         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31483         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31484         * sysdeps/sparc/sparc32/rem.S: Likewise.
31485         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31486         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31487         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31488         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31489         * sysdeps/sparc/sparc32/urem.S: Likewise.
31490         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31491         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31492         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31493         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31494         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31495         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31496         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31497         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31498         * sysdeps/unix/bsd/times.c: Likewise.
31499         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31500         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31504         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31505         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31506         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31507         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31508         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31509         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31510         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31511         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31512         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31513         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31514         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31515         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31516         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31517         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31518         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31519         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31520         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31521         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31522         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31523         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31524         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31525         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31526         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31527         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31528         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31529         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31530         * sysdeps/x86_64/strcspn.S: Likewise.
31532 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31534         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31535         generated file.  Regenerate properly from gen-translit.pl.
31536         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31537         locale/C-translit.h.
31539 2013-06-05  Andreas Schwab  <schwab@suse.de>
31541         [BZ #15100]
31542         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31543         week as 6 instead of -1.
31544         * time/tst-strptime.c (day_tests): Add test case.
31546 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31548         * sysdeps/generic/math_private.h
31549         (libc_feholdexcept_setround_53bit): Replace with
31550         libc_feholdsetround_53bit.
31551         (libc_feupdateenv_53bit): Replace with
31552         libc_feresetround_53bit.
31553         (SET_RESTORE_ROUND_53BIT): Adjust.
31555 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31557         * string/test-strchrnul.c: Add copyright header.
31559         * posix/tst-getaddrinfo4.c: Increase test timeout.
31561 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31563         [BZ #15536]
31564         * math/libm-test.inc (MAX_EXP): Remove
31565         (MIN_EXP): Define.
31566         (ulp): Use MIN_EXP - MANT_DIG.
31567         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31569 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31571         * po/be.po: Revert last change.
31572         * po/zh_CN.po: Likewise.
31573         * po/header.pot: Likewise.
31575 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31577         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31578         link-libc-deps to empty as target-specific variable.
31579         * Makerules (link-libc-args): New variable.
31580         (libc-for-link): Likewise.
31581         (link-libc-deps): Likewise.
31582         (lib%.so): Depend on $(link-libc-deps).  Link with
31583         $(link-libc-args).
31584         (build-module): Link with $(link-libc-args).
31585         (build-module-asneeded): Likewise.
31586         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31587         list of objects.
31588         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31589         target-specific variable.
31590         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31591         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31592         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31593         libc.
31594         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31595         libc and ld.so.
31596         ($(objpfx)libpcprofile.so): Likewise.
31597         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31598         libc_nonshared.a.
31599         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31600         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31601         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31602         $(link-libc-deps).
31603         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31604         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31605         * login/Makefile ($(objpfx)libutil.so): Likewise.
31606         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31607         * math/Makefile ($(objpfx)libm.so): Likewise.
31608         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31609         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31610         variable instead of depending directly on libc.
31611         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31612         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31613         $(link-libc-deps).
31614         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31615         libc.
31616         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31617         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31618         ($(objpfx)libanl.so): Likewise.
31619         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31620         ld.so.
31621         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31622         $(link-libc-deps).
31623         * sysdeps/i386/fpu/Makefile: Remove file.
31624         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31625         ($(objpfx)libm.so): Remove dependency on ld.so.
31627 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31629         [BZ # 15553]
31630         * nis/yp_xdr.c (XDRMAXNAME): Define.
31631         (XDRMAXRECORD): Define.
31632         (xdr_domainname): Use XDRMAXNAME.
31633         (xdr_mapname): Likewise.
31634         (xdr_peername): Likewise.
31635         (xdr_keydat): Use XDRMAXRECORD.
31636         (xdr_valdat): Likewise.
31638 2013-05-30  Jeff Law  <law@redhat.com>
31640         [BZ #14256]
31641         * manual/errno.texi (ESTALE): Update to account for more than
31642         just NFS file systems.
31643         * sysdeps/gnu/errlist.c: Regenerated.
31645 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31647         [BZ #15465]
31648         * elf/Makefile (tests): Add tst-null-argv.
31649         (modules-names):  Add tst-null-argv-lib.
31650         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31651         (tst-null-argv-ENV): Set environment for tst-null-argv.
31652         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31653         (RTLD_PROGNAME): New macro.
31654         * elf/tst-null-argv.c: New test case.
31655         * elf/tst-null-argv-lib.c: Library for test case.
31656         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31657         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31658         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31659         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31660         * elf/dl-init.c (call_init): Likewise.
31661         (_dl_init): Likewise.
31662         * elf/dl-load.c (print_search_path): Likewise.
31663         (_dl_map_object): Likewise.
31664         * elf/dl-lookup.c (do_lookup_x): Likewise.
31665         (add_dependency): Likewise.
31666         (_dl_lookup_symbol_x): Likewise.
31667         (_dl_debug_bindings): Likewise.
31668         * elf/dl-open.c (_dl_show_scope): Likewise.
31669         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31670         * elf/dl-version.c (match_symbol): Likewise.
31671         (_dl_check_map_versions): Likewise.
31672         * elf/rtld.c (dl_main): Likewise.
31673         (print_unresolved): Use RTLD_PROGNAME.
31674         (print_missing_version): Likewise.
31675         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31676         (elf_machine_rela): Likewise.
31677         * sysdeps/powerpc/powerpc32/dl-machine.c
31678         (__process_machine_rela): Likewise.
31679         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31680         Likewise.
31681         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31682         Likewise.
31683         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31684         Likewise.
31685         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31686         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31687         Likewise.
31688         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31689         Likewise.
31690         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31692 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
31694         * po/be.po: Add descriptive title.
31695         * po/zh_CN.po: Likewise.
31696         * po/header.pot: Likewise.
31698 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
31700         * locale/programs/locarchive.c (create_archive): Inlucde fname in
31701         error message.
31702         (enlarge_archive): Likewise.
31704 2013-05-28  Ben North  <ben@redfrontdoor.org>
31706         * manual/arith.texi (frexp): It is the magnitude of the return
31707         value which lies in [0.5, 1), not the return value itself.
31709 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31713 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
31715         * stdio-common/bug26.c (main): Correct fscanf template.
31717         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31718         declare _dl_skip_args.
31720         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31721         Don't declare.
31723         * manual/platform.texi: Add missing @end deftypefun.
31725 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31727         [BZ #15529]
31728         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31729         bit of mantissa of 2^16382.
31730         * math/libm-test.inc (hypot_test_data): Add more tests.
31732         * math/libm-test.inc: Add drem and pow10 to list of tested
31733         functions.
31734         (pow10_test): New function.
31735         (drem_test): Likewise.
31736         (drem_test_tonearest): Likewise.
31737         (drem_test_towardzero): Likewise.
31738         (drem_test_downward): Likewise.
31739         (drem_test_upward): Likewise.
31740         (main): Call the new functions.
31742         * math/libm-test.inc (finite_test_data): Remove.
31743         (finite_test): Run tests from isfinite_test_data.
31744         (gamma_test_data): Remove.
31745         (gamma_test): Run tests from lgamma_test_data.
31746         * sysdeps/i386/fpu/libm-test-ulps: Update.
31747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31749 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31751         * manual/platform.texi: Add PowerPC PPR function set documentation.
31752         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31753         implementation.
31755 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
31757         * math/libm-test.inc (MAX_EXP): Define.
31758         (ULPDIFF): Define.
31759         (ulp): New function.
31760         (check_float_internal): Use ULPDIFF.
31761         (cpow_test): Disable failing test.
31762         (check_ulp): Test ulp() implemetnation.
31763         (main): Call check_ulp before starting tests.
31765 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31767         * math/gen-libm-test.pl (generate_testfile): Do not handle
31768         START_DATA and END_DATA.
31769         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31770         END_DATA.
31771         (acos_tonearest_test_data): Likewise.
31772         (acos_towardzero_test_data): Likewise.
31773         (acos_downward_test_data): Likewise.
31774         (acos_upward_test_data): Likewise.
31775         (acosh_test_data): Likewise.
31776         (asin_test_data): Likewise.
31777         (asin_tonearest_test_data): Likewise.
31778         (asin_towardzero_test_data): Likewise.
31779         (asin_downward_test_data): Likewise.
31780         (asin_upward_test_data): Likewise.
31781         (asinh_test_data): Likewise.
31782         (atan_test_data): Likewise.
31783         (atanh_test_data): Likewise.
31784         (atan2_test_data): Likewise.
31785         (cabs_test_data): Likewise.
31786         (cacos_test_data): Likewise.
31787         (cacosh_test_data): Likewise.
31788         (carg_test_data): Likewise.
31789         (casin_test_data): Likewise.
31790         (casinh_test_data): Likewise.
31791         (catan_test_data): Likewise.
31792         (catanh_test_data): Likewise.
31793         (cbrt_test_data): Likewise.
31794         (ccos_test_data): Likewise.
31795         (ccosh_test_data): Likewise.
31796         (ceil_test_data): Likewise.
31797         (cexp_test_data): Likewise.
31798         (cimag_test_data): Likewise.
31799         (clog_test_data): Likewise.
31800         (clog10_test_data): Likewise.
31801         (conj_test_data): Likewise.
31802         (copysign_test_data): Likewise.
31803         (cos_test_data): Likewise.
31804         (cos_tonearest_test_data): Likewise.
31805         (cos_towardzero_test_data): Likewise.
31806         (cos_downward_test_data): Likewise.
31807         (cos_upward_test_data): Likewise.
31808         (cosh_test_data): Likewise.
31809         (cosh_tonearest_test_data): Likewise.
31810         (cosh_towardzero_test_data): Likewise.
31811         (cosh_downward_test_data): Likewise.
31812         (cosh_upward_test_data): Likewise.
31813         (cpow_test_data): Likewise.
31814         (cproj_test_data): Likewise.
31815         (creal_test_data): Likewise.
31816         (csin_test_data): Likewise.
31817         (csinh_test_data): Likewise.
31818         (csqrt_test_data): Likewise.
31819         (ctan_test_data): Likewise.
31820         (ctan_tonearest_test_data): Likewise.
31821         (ctan_towardzero_test_data): Likewise.
31822         (ctan_downward_test_data): Likewise.
31823         (ctan_upward_test_data): Likewise.
31824         (ctanh_test_data): Likewise.
31825         (ctanh_tonearest_test_data): Likewise.
31826         (ctanh_towardzero_test_data): Likewise.
31827         (ctanh_downward_test_data): Likewise.
31828         (ctanh_upward_test_data): Likewise.
31829         (erf_test_data): Likewise.
31830         (erfc_test_data): Likewise.
31831         (exp_test_data): Likewise.
31832         (exp_tonearest_test_data): Likewise.
31833         (exp_towardzero_test_data): Likewise.
31834         (exp_downward_test_data): Likewise.
31835         (exp_upward_test_data): Likewise.
31836         (exp10_test_data): Likewise.
31837         (exp2_test_data): Likewise.
31838         (expm1_test_data): Likewise.
31839         (fabs_test_data): Likewise.
31840         (fdim_test_data): Likewise.
31841         (finite_test_data): Likewise.
31842         (floor_test_data): Likewise.
31843         (fma_test_data): Likewise.
31844         (fma_towardzero_test_data): Likewise.
31845         (fma_downward_test_data): Likewise.
31846         (fma_upward_test_data): Likewise.
31847         (fmax_test_data): Likewise.
31848         (fmin_test_data): Likewise.
31849         (fmod_test_data): Likewise.
31850         (fpclassify_test_data): Likewise.
31851         (frexp_test_data): Likewise.
31852         (gamma_test_data): Likewise.
31853         (hypot_test_data): Likewise.
31854         (ilogb_test_data): Likewise.
31855         (isfinite_test_data): Likewise.
31856         (isgreater_test_data): Likewise.
31857         (isgreaterequal_test_data): Likewise.
31858         (isinf_test_data): Likewise.
31859         (isless_test_data): Likewise.
31860         (islessequal_test_data): Likewise.
31861         (islessgreater_test_data): Likewise.
31862         (isnan_test_data): Likewise.
31863         (isnormal_test_data): Likewise.
31864         (issignaling_test_data): Likewise.
31865         (isunordered_test_data): Likewise.
31866         (j0_test_data): Likewise.
31867         (j1_test_data): Likewise.
31868         (jn_test_data): Likewise.
31869         (ldexp_test_data): Likewise.
31870         (lgamma_test_data): Likewise.
31871         (lrint_test_data): Likewise.
31872         (lrint_tonearest_test_data): Likewise.
31873         (lrint_towardzero_test_data): Likewise.
31874         (lrint_downward_test_data): Likewise.
31875         (lrint_upward_test_data): Likewise.
31876         (llrint_test_data): Likewise.
31877         (llrint_tonearest_test_data): Likewise.
31878         (llrint_towardzero_test_data): Likewise.
31879         (llrint_downward_test_data): Likewise.
31880         (llrint_upward_test_data): Likewise.
31881         (log_test_data): Likewise.
31882         (log10_test_data): Likewise.
31883         (log1p_test_data): Likewise.
31884         (log2_test_data): Likewise.
31885         (logb_test_data): Likewise.
31886         (logb_downward_test_data): Likewise.
31887         (lround_test_data): Likewise.
31888         (llround_test_data): Likewise.
31889         (modf_test_data): Likewise.
31890         (nearbyint_test_data): Likewise.
31891         (nextafter_test_data): Likewise.
31892         (nexttoward_test_data): Likewise.
31893         (pow_test_data): Likewise.
31894         (pow_tonearest_test_data): Likewise.
31895         (pow_towardzero_test_data): Likewise.
31896         (pow_downward_test_data): Likewise.
31897         (pow_upward_test_data): Likewise.
31898         (remainder_test_data): Likewise.
31899         (remainder_tonearest_test_data): Likewise.
31900         (remainder_towardzero_test_data): Likewise.
31901         (remainder_downward_test_data): Likewise.
31902         (remainder_upward_test_data): Likewise.
31903         (remquo_test_data): Likewise.
31904         (rint_test_data): Likewise.
31905         (rint_tonearest_test_data): Likewise.
31906         (rint_towardzero_test_data): Likewise.
31907         (rint_downward_test_data): Likewise.
31908         (rint_upward_test_data): Likewise.
31909         (round_test_data): Likewise.
31910         (scalb_test_data): Likewise.
31911         (scalbn_test_data): Likewise.
31912         (scalbln_test_data): Likewise.
31913         (signbit_test_data): Likewise.
31914         (sin_test_data): Likewise.
31915         (sin_tonearest_test_data): Likewise.
31916         (sin_towardzero_test_data): Likewise.
31917         (sin_downward_test_data): Likewise.
31918         (sin_upward_test_data): Likewise.
31919         (sincos_test_data): Likewise.
31920         (sinh_test_data): Likewise.
31921         (sinh_tonearest_test_data): Likewise.
31922         (sinh_towardzero_test_data): Likewise.
31923         (sinh_downward_test_data): Likewise.
31924         (sinh_upward_test_data): Likewise.
31925         (sqrt_test_data): Likewise.
31926         (tan_test_data): Likewise.
31927         (tan_tonearest_test_data): Likewise.
31928         (tan_towardzero_test_data): Likewise.
31929         (tan_downward_test_data): Likewise.
31930         (tan_upward_test_data): Likewise.
31931         (tanh_test_data): Likewise.
31932         (tgamma_test_data): Likewise.
31933         (trunc_test_data): Likewise.
31934         (y0_test_data): Likewise.
31935         (y1_test_data): Likewise.
31936         (yn_test_data): Likewise.
31937         (significand_test_data): Likewise.
31939         * math/gen-libm-test.pl (@functions): Remove variable.
31940         (generate_testfile): Don't handle START and END lines.
31941         * math/libm-test.inc (START): New macro.
31942         (END): Likewise.
31943         (END_COMPLEX): Likewise.
31944         (acos_test): Use END macro without arguments.
31945         (acos_test_tonearest): Likewise.
31946         (acos_test_towardzero): Likewise.
31947         (acos_test_downward): Likewise.
31948         (acos_test_upward): Likewise.
31949         (acosh_test): Likewise.
31950         (asin_test): Likewise.
31951         (asin_test_tonearest): Likewise.
31952         (asin_test_towardzero): Likewise.
31953         (asin_test_downward): Likewise.
31954         (asin_test_upward): Likewise.
31955         (asinh_test): Likewise.
31956         (atan_test): Likewise.
31957         (atanh_test): Likewise.
31958         (atan2_test): Likewise.
31959         (cabs_test): Likewise.
31960         (cacos_test): Use END_COMPLEX macro without arguments.
31961         (cacosh_test): Likewise.
31962         (carg_test): Use END macro without arguments.
31963         (casin_test): Use END_COMPLEX macro without arguments.
31964         (casinh_test): Likewise.
31965         (catan_test): Likewise.
31966         (catanh_test): Likewise.
31967         (cbrt_test): Use END macro without arguments.
31968         (ccos_test): Use END_COMPLEX macro without arguments.
31969         (ccosh_test): Likewise.
31970         (ceil_test): Use END macro without arguments.
31971         (cexp_test): Use END_COMPLEX macro without arguments.
31972         (cimag_test): Use END macro without arguments.
31973         (clog_test): Use END_COMPLEX macro without arguments.
31974         (clog10_test): Likewise.
31975         (conj_test): Likewise.
31976         (copysign_test): Use END macro without arguments.
31977         (cos_test): Likewise.
31978         (cos_test_tonearest): Likewise.
31979         (cos_test_towardzero): Likewise.
31980         (cos_test_downward): Likewise.
31981         (cos_test_upward): Likewise.
31982         (cosh_test): Likewise.
31983         (cosh_test_tonearest): Likewise.
31984         (cosh_test_towardzero): Likewise.
31985         (cosh_test_downward): Likewise.
31986         (cosh_test_upward): Likewise.
31987         (cpow_test): Use END_COMPLEX macro without arguments.
31988         (cproj_test): Likewise.
31989         (creal_test): Use END macro without arguments.
31990         (csin_test): Use END_COMPLEX macro without arguments.
31991         (csinh_test): Likewise.
31992         (csqrt_test): Likewise.
31993         (ctan_test): Likewise.
31994         (ctan_test_tonearest): Likewise.
31995         (ctan_test_towardzero): Likewise.
31996         (ctan_test_downward): Likewise.
31997         (ctan_test_upward): Likewise.
31998         (ctanh_test): Likewise.
31999         (ctanh_test_tonearest): Likewise.
32000         (ctanh_test_towardzero): Likewise.
32001         (ctanh_test_downward): Likewise.
32002         (ctanh_test_upward): Likewise.
32003         (erf_test): Use END macro without arguments.
32004         (erfc_test): Likewise.
32005         (exp_test): Likewise.
32006         (exp_test_tonearest): Likewise.
32007         (exp_test_towardzero): Likewise.
32008         (exp_test_downward): Likewise.
32009         (exp_test_upward): Likewise.
32010         (exp10_test): Likewise.
32011         (exp2_test): Likewise.
32012         (expm1_test): Likewise.
32013         (fabs_test): Likewise.
32014         (fdim_test): Likewise.
32015         (finite_test): Likewise.
32016         (floor_test): Likewise.
32017         (fma_test): Likewise.
32018         (fma_test_towardzero): Likewise.
32019         (fma_test_downward): Likewise.
32020         (fma_test_upward): Likewise.
32021         (fmax_test): Likewise.
32022         (fmin_test): Likewise.
32023         (fmod_test): Likewise.
32024         (fpclassify_test): Likewise.
32025         (frexp_test): Likewise.
32026         (gamma_test): Likewise.
32027         (hypot_test): Likewise.
32028         (ilogb_test): Likewise.
32029         (isfinite_test): Likewise.
32030         (isgreater_test): Likewise.
32031         (isgreaterequal_test): Likewise.
32032         (isinf_test): Likewise.
32033         (isless_test): Likewise.
32034         (islessequal_test): Likewise.
32035         (islessgreater_test): Likewise.
32036         (isnan_test): Likewise.
32037         (isnormal_test): Likewise.
32038         (issignaling_test): Likewise.
32039         (isunordered_test): Likewise.
32040         (j0_test): Likewise.
32041         (j1_test): Likewise.
32042         (jn_test): Likewise.
32043         (ldexp_test): Likewise.
32044         (lgamma_test): Likewise.
32045         (lrint_test): Likewise.
32046         (lrint_test_tonearest): Likewise.
32047         (lrint_test_towardzero): Likewise.
32048         (lrint_test_downward): Likewise.
32049         (lrint_test_upward): Likewise.
32050         (llrint_test): Likewise.
32051         (llrint_test_tonearest): Likewise.
32052         (llrint_test_towardzero): Likewise.
32053         (llrint_test_downward): Likewise.
32054         (llrint_test_upward): Likewise.
32055         (log_test): Likewise.
32056         (log10_test): Likewise.
32057         (log1p_test): Likewise.
32058         (log2_test): Likewise.
32059         (logb_test): Likewise.
32060         (logb_test_downward): Likewise.
32061         (lround_test): Likewise.
32062         (llround_test): Likewise.
32063         (modf_test): Likewise.
32064         (nearbyint_test): Likewise.
32065         (nextafter_test): Likewise.
32066         (nexttoward_test): Likewise.
32067         (pow_test): Likewise.
32068         (pow_test_tonearest): Likewise.
32069         (pow_test_towardzero): Likewise.
32070         (pow_test_downward): Likewise.
32071         (pow_test_upward): Likewise.
32072         (remainder_test): Likewise.
32073         (remainder_test_tonearest): Likewise.
32074         (remainder_test_towardzero): Likewise.
32075         (remainder_test_downward): Likewise.
32076         (remainder_test_upward): Likewise.
32077         (remquo_test): Likewise.
32078         (rint_test): Likewise.
32079         (rint_test_tonearest): Likewise.
32080         (rint_test_towardzero): Likewise.
32081         (rint_test_downward): Likewise.
32082         (rint_test_upward): Likewise.
32083         (round_test): Likewise.
32084         (scalb_test): Likewise.
32085         (scalbn_test): Likewise.
32086         (scalbln_test): Likewise.
32087         (signbit_test): Likewise.
32088         (sin_test): Likewise.
32089         (sin_test_tonearest): Likewise.
32090         (sin_test_towardzero): Likewise.
32091         (sin_test_downward): Likewise.
32092         (sin_test_upward): Likewise.
32093         (sincos_test): Likewise.
32094         (sinh_test): Likewise.
32095         (sinh_test_tonearest): Likewise.
32096         (sinh_test_towardzero): Likewise.
32097         (sinh_test_downward): Likewise.
32098         (sinh_test_upward): Likewise.
32099         (sqrt_test): Likewise.
32100         (tan_test): Likewise.
32101         (tan_test_tonearest): Likewise.
32102         (tan_test_towardzero): Likewise.
32103         (tan_test_downward): Likewise.
32104         (tan_test_upward): Likewise.
32105         (tanh_test): Likewise.
32106         (tgamma_test): Likewise.
32107         (trunc_test): Likewise.
32108         (y0_test): Likewise.
32109         (y1_test): Likewise.
32110         (yn_test): Likewise.
32111         (significand_test): Likewise.
32113 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32115         [BZ #15381]
32116         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32118 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32120         [BZ #14894]
32121         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32122         __ppc_mdoio and __ppc_mdoom.
32123         * manual/platform.texi: Document new functions __ppc_yield,
32124         __ppc_mdoio and __ppc_mdoom.
32126 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32128         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32129         (main): Mention "tls" pseudo-hwcap is legacy.
32130         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32132 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32134         * math/gen-libm-test.pl (parse_args): Output only string of
32135         arguments as text for test name, not full call or descriptions of
32136         tests for extra outputs.
32137         (generate_testfile): Do not pass function name to parse_args.
32138         Generate this_func variable from START.
32139         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32140         field to arg_str.
32141         (struct test_ff_f_data): Likewise.
32142         (test_ff_f_data_nexttoward): Likewise.
32143         (struct test_fi_f_data): Likewise.
32144         (struct test_fl_f_data): Likewise.
32145         (struct test_if_f_data): Likewise.
32146         (struct test_fff_f_data): Likewise.
32147         (struct test_c_f_data): Likewise.
32148         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32149         (struct test_fF_f1_data): Likewise.
32150         (struct test_ffI_f1_data): Likewise.
32151         (struct test_c_c_data): Rename test_name field to arg_str.
32152         (struct test_cc_c_data): Likewise.
32153         (struct test_f_i_data): Likewise.
32154         (struct test_ff_i_data): Likewise.
32155         (struct test_f_l_data): Likewise.
32156         (struct test_f_L_data): Likewise.
32157         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32158         and extra2_name.
32159         (COMMON_TEST_SETUP): New macro.
32160         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32161         (COMMON_TEST_CLEANUP): Likewise.
32162         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32163         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32164         macros.
32165         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32166         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32167         macros.
32168         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32169         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32170         cleanup macros.
32171         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32172         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32173         macros.
32174         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32175         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32176         macros.
32177         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32178         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32179         cleanup macros.
32180         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32181         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32182         cleanup macros.
32183         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32184         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32185         cleanup macros.
32186         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32187         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32188         macros.
32189         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32190         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32191         macros.
32192         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32193         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32194         macros.
32195         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32196         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32197         cleanup macros.
32198         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32199         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32200         cleanup macros.
32201         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32202         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32203         macros.
32204         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32205         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32206         cleanup macros.
32207         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32208         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32209         macros.
32210         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32211         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32212         macros.
32213         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32214         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32215         cleanup macros.
32216         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32218 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32220         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32221         to _sifields.sigfault.
32222         (si_addr_lsb): Define new macro.
32223         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32224         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32225         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32227 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32229         [BZ #15441]
32230         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32231         returns -1.
32232         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32233         null return -1.
32234         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32235         loading the domain.
32237 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32239         * math/gen-libm-test.pl (parse_args): Do not include expected
32240         result in test name.
32241         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32242         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32243         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32244         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32245         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32248 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32250         * benchtests/Makefile: Sort function entries.
32252         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32253         tanh, asinh, acosh, atanh.
32254         * benchtests/acos-inputs: New file.
32255         * benchtests/acosh-inputs: New file.
32256         * benchtests/asin-inputs: New file.
32257         * benchtests/asinh-inputs: New file.
32258         * benchtests/atanh-inputs: New file.
32259         * benchtests/cosh-inputs: New file.
32260         * benchtests/log-inputs: New file.
32261         * benchtests/sinh-inputs: New file.
32262         * benchtests/tanh-inputs: New file.
32264 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32266         [BZ #15339]
32267         * posix/tst-getaddrinfo4.c: New test.
32268         * posix/Makefile (tests): Add it.
32270 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32272         [BZ #15339]
32273         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32274         when no services were used.
32275         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32276         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32278 2013-05-21  Andreas Schwab  <schwab@suse.de>
32280         [BZ #15014]
32281         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32282         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32283         successful.
32284         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32285         redundant variable declarations and reallocation of buffer when
32286         parsing as IPv6 address.  Always set NSS status when called from
32287         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32288         buffer too small.  Correct computation of needed size.
32289         * nss/Makefile (tests): Add test-digits-dots.
32290         * nss/test-digits-dots.c: New test.
32292 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32294         * benchtests/Makefile: Remove instructions for adding
32295         benchmark tests.
32296         * benchtests/README: New file to explain how to execute and
32297         enhance the benchmark tests.
32299 2013-05-21  Andreas Schwab  <schwab@suse.de>
32301         [BZ #15493]
32302         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32303         * setjmp/tst-sigsetjmp.c: New test.
32305 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32307         * sysdeps/x86_64/memset.S (memset): New implementation.
32308         (__bzero): Likewise.
32309         (__memset_tail): New function.
32311 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32313         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32314         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32315         __memcpy_sse2_unaligned ifunc selection.
32316         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32317         Add memcpy-sse2-unaligned.S.
32318         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32319         Add: __memcpy_sse2_unaligned.
32321 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32323         [BZ #15490]
32324         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32325         math_force_eval before restoring floating-point envrionment.
32326         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32327         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32328         Likewise.
32329         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32330         <math_private.h>.
32331         (__nearbyintl): Use math_force_eval before restoring
32332         floating-point environment.
32333         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32335         * math/gen-libm-test.pl (special_functions): Remove.
32336         (parse_args): Don't handle TEST_extra.  Handle functions with no
32337         return value.
32338         * math/libm-test.inc (struct test_sincos_data): Replace with
32339         struct test_fFF_11_data.
32340         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32341         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32342         (sincos_test_data): Change element type to struct
32343         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32344         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32345         RUN_TEST_LOOP_sincos.
32346         * math/README.libm-test: Don't mention special handling of
32347         individual functions.
32348         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32349         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32350         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32351         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32352         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32355         * math/gen-libm-test.pl (get_variable): Remove function.
32356         (parse_args): Don't show pointer parameters to call in test
32357         names.  Use "extra output N" in test names for extra outputs
32358         rather than naming variables.
32360 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32362         [BZ #15488]
32363         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32364         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32365         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32366         double tests.
32367         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32368         disable.
32369         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32370         check_long_double.
32372         * math/gen-libm-test.pl (@tests): Remove variable.
32373         ($count): Likewise.
32374         (new_test): Remove function.
32375         (show_exceptions): New function.
32376         (special_functions): Use show_exceptions instead of new_test.
32377         (parse_args): Likewise.
32378         (generate_testfile): Pass only function name in generated call to
32379         print_max_error or print_complex_max_error.
32380         (get_ulps): Do not handle complex tests specially.
32381         (output_test): Rename to ...
32382         (get_all_ulps_for_test): ... this.  Return a string rather than
32383         printing to a file.  Require ulps to be present.
32384         (output_ulps): Generate arrays rather than #defines.
32385         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32386         (struct ulp_data): New type.
32387         (BUILD_COMPLEX_ULP): Remove macro.
32388         (compare_ulp_data): New function.
32389         (find_ulps): Likewise.
32390         (find_test_ulps): Likewise.
32391         (find_function_ulps): Likewise.
32392         (find_complex_function_ulps): Likewise.
32393         (print_max_error): Determine allowed ulps using
32394         find_function_ulps.
32395         (print_complex_max_error): Determine allowed ulps using
32396         find_complex_function_ulps.
32397         (check_float_internal): Determine max ulps using find_test_ulps.
32398         (check_float): Do not take max_ulp parameter.  Update call to
32399         check_float_internal.
32400         (check_complex): Likewise.
32401         (check_int): Do not take max_ulp parameter.
32402         (check_long): Likewise.
32403         (check_bool): Likewise.
32404         (check_longlong): Likewise.
32405         (struct test_f_f_data): Remove max_ulp field.
32406         (struct test_ff_f_data): Likewise.
32407         (struct test_ff_f_data_nexttoward): Likewise.
32408         (struct test_fi_f_data): Likewise.
32409         (struct test_fl_f_data): Likewise.
32410         (struct test_if_f_data): Likewise.
32411         (struct test_fff_f_data): Likewise.
32412         (struct test_c_f_data): Likewise.
32413         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32414         (struct test_fF_f1_data): Likewise.
32415         (struct test_ffI_f1_data): Likewise.
32416         (struct test_c_c_data): Remove max_ulp field.
32417         (struct test_cc_c_data): Likewise.
32418         (struct test_f_i_data): Likewise.
32419         (struct test_ff_i_data): Likewise.
32420         (struct test_f_l_data): Likewise.
32421         (struct test_f_L_data): Likewise.
32422         (struct test_sincos_data): Likewise.
32423         (RUN_TEST_f_f): Do not handle ulps.
32424         (RUN_TEST_LOOP_f_f): Likewise.
32425         (RUN_TEST_2_f): Likewise.
32426         (RUN_TEST_LOOP_2_f): Likewise.
32427         (RUN_TEST_fff_f): Likewise.
32428         (RUN_TEST_LOOP_fff_f): Likewise.
32429         (RUN_TEST_c_f): Likewise.
32430         (RUN_TEST_LOOP_c_f): Likewise.
32431         (RUN_TEST_f_f1): Likewise.
32432         (RUN_TEST_LOOP_f_f1): Likewise.
32433         (RUN_TEST_fF_f1): Likewise.
32434         (RUN_TEST_LOOP_fF_f1): Likewise.
32435         (RUN_TEST_fI_f1): Likewise.
32436         (RUN_TEST_LOOP_fI_f1): Likewise.
32437         (RUN_TEST_ffI_f1): Likewise.
32438         (RUN_TEST_LOOP_ffI_f1): Likewise.
32439         (RUN_TEST_c_c): Likewise.
32440         (RUN_TEST_LOOP_c_c): Likewise.
32441         (RUN_TEST_cc_c): Likewise.
32442         (RUN_TEST_LOOP_cc_c): Likewise.
32443         (RUN_TEST_f_i): Likewise.
32444         (RUN_TEST_LOOP_f_i): Likewise.
32445         (RUN_TEST_f_i_tg): Likewise.
32446         (RUN_TEST_LOOP_f_i_tg): Likewise.
32447         (RUN_TEST_ff_i_tg): Likewise.
32448         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32449         (RUN_TEST_f_b): Likewise.
32450         (RUN_TEST_LOOP_f_b): Likewise.
32451         (RUN_TEST_f_b_tg): Likewise.
32452         (RUN_TEST_LOOP_f_b_tg): Likewise.
32453         (RUN_TEST_f_l): Likewise.
32454         (RUN_TEST_LOOP_f_l): Likewise.
32455         (RUN_TEST_f_L): Likewise.
32456         (RUN_TEST_LOOP_f_L): Likewise.
32457         (RUN_TEST_sincos): Likewise.
32458         (RUN_TEST_LOOP_sincos): Likewise.
32460 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32462         [BZ #15480]
32463         [BZ #15485]
32464         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32465         main case of finite arguments, set rounding mode to FE_TONEAREST
32466         and discard exceptions.
32467         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32468         exceptions.
32469         (remainder_tonearest_test_data): New variable.
32470         (remainder_test_tonearest): New function.
32471         (remainder_towardzero_test_data): New variable.
32472         (remainder_test_towardzero): New function.
32473         (remainder_downward_test_data): New variable.
32474         (remainder_test_downward): New function.
32475         (remainder_upward_test_data): New variable.
32476         (remainder_test_upward): New function.
32477         (main): Call the new test functions.
32479         * math/libm-test.inc (struct test_f_f1_data): Remove field
32480         extra_init.
32481         (struct test_fF_f1_data): Likewise.
32482         (struct test_ffI_f1_data): Likewise.
32483         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32484         based on value of EXTRA_EXPECTED.
32485         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32486         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32487         EXTRA_VAR based on value of EXTRA_EXPECTED.
32488         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32489         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32490         EXTRA_VAR based on value of EXTRA_EXPECTED.
32491         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32492         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32493         EXTRA_VAR based on value of EXTRA_EXPECTED.
32494         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32495         * math/gen-libm-test.pl (parse_args): Don't output initializers
32496         for extra output values.
32498         * math/libm-test.inc (check_int): Expect result to be exactly
32499         equal to expected value and do not handle ulps.
32500         (check_long): Likewise.
32501         (check_longlong): Likewise.
32503         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32504         exceptions.
32505         (cimag_test_data): Likewise.
32506         (conj_test_data): Likewise.
32507         (copysign_test_data): Likewise.
32508         (cproj_test_data): Likewise.
32509         (creal_test_data): Likewise.
32510         (fabs_test_data): Likewise.
32511         (fdim_test_data): Likewise.
32512         (finite_test_data): Likewise.
32513         (floor_test_data): Likewise.
32514         (fmax_test_data): Likewise.
32515         (fmin_test_data): Likewise.
32516         (fmod_test_data): Likewise.
32517         (fpclassify_test_data): Likewise.
32518         (frexp_test_data): Likewise.
32519         (ilogb_test_data): Likewise.
32520         (isfinite_test_data): Likewise.
32521         (isgreater_test_data): Likewise.
32522         (isgreaterequal_test_data): Likewise.
32523         (isinf_test_data): Likewise.
32524         (isless_test_data): Likewise.
32525         (islessequal_test_data): Likewise.
32526         (islessgreater_test_data): Likewise.
32527         (isnan_test_data): Likewise.
32528         (isnormal_test_data): Likewise.
32529         (issignaling_test_data): Likewise.
32530         (isunordered_test_data): Likewise.
32531         (ldexp_test_data): Likewise.
32532         (lrint_test_data): Likewise.
32533         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32534         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32535         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32536         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32537         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32538         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32539         test input.
32540         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32541         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32542         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32543         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32544         that test input.
32545         (lrint_downward_test_data): Test for "inexact" exceptions.
32546         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32547         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32548         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32549         test input.
32550         (lrint_upward_test_data): Test for "inexact" exceptions.
32551         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32552         test input.
32553         (llrint_test_data): Test for "inexact" exceptions.
32554         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32555         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32556         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32557         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32558         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32559         (llrint_downward_test_data): Test for "inexact" exceptions.
32560         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32561         (llrint_upward_test_data): Test for "inexact" exceptions.
32562         (logb_test_data): Likewise.
32563         (logb_downward_test_data): Likewise.
32564         (nextafter_test_data): Likewise.
32565         (nexttoward_test_data): Likewise.
32566         (remainder_test_data): Likewise.
32567         (remquo_test_data): Likewise.
32568         (scalbn_test_data): Likewise.
32569         (scalbln_test_data): Likewise.
32570         (signbit_test_data): Likewise.
32571         (sqrt_test_data): Likewise.
32572         (significand_test_data): Likewise.
32574 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32576         [BZ #15424]
32577         * benchtests/bench-modf.c (struct args): Mark arg0 as
32578         volatile.
32579         * scripts/bench.pl: Mark members of struct args as volatile.
32581 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32583         [BZ # 15497]
32584         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32585         negative infinity on POWER6 or lower.
32586         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32588 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32590         [BZ #15442]
32591         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32592         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32593         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32594         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32595         (_FP_SETQNAN): New macro.
32596         (_FP_SETQNAN_SEMIRAW): Likewise.
32597         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32598         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32599         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32600         (FP_EXTEND): Use _FP_FRAC_SNANP.
32601         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32602         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32603         into account.
32604         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32605         New macro.
32606         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32607         Likewise.
32609 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32611         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32612         with DIVIDE_BY_ZERO_EXCEPTION.
32613         (gamma_test_data): Likewise.
32614         (lgamma_test_data): Likewise.
32615         (log_test_data): Likewise.
32616         (log10_test_data): Likewise.
32617         (log2_test_data): Likewise.
32618         (tgamma_test_data): Likewise.
32620         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32621         (acos_test_tonearest): Likewise.
32622         (acos_test_towardzero): Likewise.
32623         (acos_test_downward): Likewise.
32624         (acos_test_upward): Likewise.
32625         (acosh_test): Likewise.
32626         (asin_test): Likewise.
32627         (asin_test_tonearest): Likewise.
32628         (asin_test_towardzero): Likewise.
32629         (asin_test_downward): Likewise.
32630         (asin_test_upward): Likewise.
32631         (asinh_test): Likewise.
32632         (atan_test): Likewise.
32633         (atanh_test): Likewise.
32634         (atan2_test): Likewise.
32635         (cabs_test): Likewise.
32636         (cacos_test): Likewise.
32637         (cacosh_test): Likewise.
32638         (casin_test): Likewise.
32639         (casinh_test): Likewise.
32640         (catan_test): Likewise.
32641         (catanh_test): Likewise.
32642         (cbrt_test): Likewise.
32643         (ccos_test): Likewise.
32644         (ccosh_test): Likewise.
32645         (cexp_test): Likewise.
32646         (clog_test): Likewise.
32647         (clog10_test): Likewise.
32648         (cos_test): Likewise.
32649         (cos_test_tonearest): Likewise.
32650         (cos_test_towardzero): Likewise.
32651         (cos_test_downward): Likewise.
32652         (cos_test_upward): Likewise.
32653         (cosh_test): Likewise.
32654         (cosh_test_tonearest): Likewise.
32655         (cosh_test_towardzero): Likewise.
32656         (cosh_test_downward): Likewise.
32657         (cosh_test_upward): Likewise.
32658         (cpow_test): Likewise.
32659         (csin_test): Likewise.
32660         (csinh_test): Likewise.
32661         (csqrt_test): Likewise.
32662         (ctan_test): Likewise.
32663         (ctan_test_tonearest): Likewise.
32664         (ctan_test_towardzero): Likewise.
32665         (ctan_test_downward): Likewise.
32666         (ctan_test_upward): Likewise.
32667         (ctanh_test): Likewise.
32668         (ctanh_test_tonearest): Likewise.
32669         (ctanh_test_towardzero): Likewise.
32670         (ctanh_test_downward): Likewise.
32671         (ctanh_test_upward): Likewise.
32672         (erf_test): Likewise.
32673         (erfc_test): Likewise.
32674         (exp_test): Likewise.
32675         (exp_test_tonearest): Likewise.
32676         (exp_test_towardzero): Likewise.
32677         (exp_test_downward): Likewise.
32678         (exp_test_upward): Likewise.
32679         (exp10_test): Likewise.
32680         (exp2_test): Likewise.
32681         (expm1_test): Likewise.
32682         (fmod_test): Likewise.
32683         (gamma_test): Likewise.
32684         (hypot_test): Likewise.
32685         (j0_test): Likewise.
32686         (j1_test): Likewise.
32687         (jn_test): Likewise.
32688         (lgamma_test): Likewise.
32689         (log_test): Likewise.
32690         (log10_test): Likewise.
32691         (log1p_test): Likewise.
32692         (log2_test): Likewise.
32693         (logb_test_downward): Likewise.
32694         (pow_test): Likewise.
32695         (pow_test_tonearest): Likewise.
32696         (pow_test_towardzero): Likewise.
32697         (pow_test_downward): Likewise.
32698         (pow_test_upward): Likewise.
32699         (remainder_test): Likewise.
32700         (remquo_test): Likewise.
32701         (sin_test): Likewise.
32702         (sin_test_tonearest): Likewise.
32703         (sin_test_towardzero): Likewise.
32704         (sin_test_downward): Likewise.
32705         (sin_test_upward): Likewise.
32706         (sincos_test): Likewise.
32707         (sinh_test): Likewise.
32708         (sinh_test_tonearest): Likewise.
32709         (sinh_test_towardzero): Likewise.
32710         (sinh_test_downward): Likewise.
32711         (sinh_test_upward): Likewise.
32712         (sqrt_test): Likewise.
32713         (tan_test): Likewise.
32714         (tan_test_tonearest): Likewise.
32715         (tan_test_towardzero): Likewise.
32716         (tan_test_downward): Likewise.
32717         (tan_test_upward): Likewise.
32718         (tanh_test): Likewise.
32719         (tgamma_test): Likewise.
32720         (y0_test): Likewise.
32721         (y1_test): Likewise.
32722         (yn_test): Likewise.
32724         * math/gen-libm-test.pl (adjust_arg): Remove function.
32725         (special_function): Remove argument $in_func.  Only handle
32726         generating output for tables of tests, not inside functions.
32727         (parse_args): Likewise.
32728         (generate_testfile): Remove variable $in_func.  Update call to
32729         parse_args.
32730         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32731         (MINUS_ZERO_INIT): Rename macro to minus_zero.
32732         (PLUS_INFTY_INIT): Rename macro to plus_infty.
32733         (MINUS_INFTY_INIT): Rename macro to minus_infty.
32734         (QNAN_VALUE_INIT): Rename macro to qnan_value.
32735         (MAX_VALUE_INIT): Rename macro to max_value.
32736         (MIN_VALUE_INIT): Rename macro to min_value.
32737         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32738         (plus_zero): Remove variable.
32739         (minus_zero): Likewise.
32740         (plus_infty): Likewise.
32741         (minus_infty): Likewise.
32742         (qnan_value): Likewise.
32743         (max_value): Likewise.
32744         (min_value): Likewise.
32745         (min_subnorm_value): Likewise.
32747 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32749         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32750         uint64_t or uint32_t usage.
32751         * crypt/sha256-block.c: Likewise.
32752         * crypt/sha256-crypt.c: Likewise.
32753         * crypt/sha256.c: Likewise.
32754         * crypt/sha512-block.c: Likewise.
32755         * crypt/sha512-crypt.c: Likewise.
32756         * crypt/sha512.c: Likewise.
32757         * debug/backtrace-tst.c: Likewise.
32758         * debug/pcprofiledump.c: Likewise.
32759         * elf/cache.c: Likewise.
32760         * elf/dl-cache.c: Likewise.
32761         * elf/dl-misc.c: Likewise.
32762         * elf/dl-profile.c: Likewise.
32763         * elf/dl-support.c: Likewise.
32764         * elf/ldconfig.c: Likewise.
32765         * elf/sprof.c: Likewise.
32766         * iconv/dummy-repertoire.c: Likewise.
32767         * iconv/iconv_charmap.c: Likewise.
32768         * iconv/skeleton.c: Likewise.
32769         * iconvdata/8bit-generic.c: Likewise.
32770         * iconvdata/cp737.h: Likewise.
32771         * iconvdata/cp775.h: Likewise.
32772         * iconvdata/ibm1008.h: Likewise.
32773         * iconvdata/ibm1025.h: Likewise.
32774         * iconvdata/ibm1046.h: Likewise.
32775         * iconvdata/ibm1097.h: Likewise.
32776         * iconvdata/ibm1112.h: Likewise.
32777         * iconvdata/ibm1122.h: Likewise.
32778         * iconvdata/ibm1123.h: Likewise.
32779         * iconvdata/ibm1124.h: Likewise.
32780         * iconvdata/ibm1129.h: Likewise.
32781         * iconvdata/ibm1130.h: Likewise.
32782         * iconvdata/ibm1132.h: Likewise.
32783         * iconvdata/ibm1133.h: Likewise.
32784         * iconvdata/ibm1137.h: Likewise.
32785         * iconvdata/ibm1140.h: Likewise.
32786         * iconvdata/ibm1141.h: Likewise.
32787         * iconvdata/ibm1142.h: Likewise.
32788         * iconvdata/ibm1143.h: Likewise.
32789         * iconvdata/ibm1144.h: Likewise.
32790         * iconvdata/ibm1145.h: Likewise.
32791         * iconvdata/ibm1146.h: Likewise.
32792         * iconvdata/ibm1147.h: Likewise.
32793         * iconvdata/ibm1148.h: Likewise.
32794         * iconvdata/ibm1149.h: Likewise.
32795         * iconvdata/ibm1153.h: Likewise.
32796         * iconvdata/ibm1154.h: Likewise.
32797         * iconvdata/ibm1155.h: Likewise.
32798         * iconvdata/ibm1156.h: Likewise.
32799         * iconvdata/ibm1157.h: Likewise.
32800         * iconvdata/ibm1158.h: Likewise.
32801         * iconvdata/ibm1160.h: Likewise.
32802         * iconvdata/ibm1161.h: Likewise.
32803         * iconvdata/ibm1162.h: Likewise.
32804         * iconvdata/ibm1163.h: Likewise.
32805         * iconvdata/ibm1164.h: Likewise.
32806         * iconvdata/ibm1166.h: Likewise.
32807         * iconvdata/ibm1167.h: Likewise.
32808         * iconvdata/ibm12712.h: Likewise.
32809         * iconvdata/ibm1390.h: Likewise.
32810         * iconvdata/ibm1399.h: Likewise.
32811         * iconvdata/ibm16804.h: Likewise.
32812         * iconvdata/ibm4517.h: Likewise.
32813         * iconvdata/ibm4899.h: Likewise.
32814         * iconvdata/ibm4909.h: Likewise.
32815         * iconvdata/ibm4971.h: Likewise.
32816         * iconvdata/ibm5347.h: Likewise.
32817         * iconvdata/ibm803.h: Likewise.
32818         * iconvdata/ibm856.h: Likewise.
32819         * iconvdata/ibm901.h: Likewise.
32820         * iconvdata/ibm902.h: Likewise.
32821         * iconvdata/ibm9030.h: Likewise.
32822         * iconvdata/ibm9066.h: Likewise.
32823         * iconvdata/ibm921.h: Likewise.
32824         * iconvdata/ibm922.h: Likewise.
32825         * iconvdata/ibm9448.h: Likewise.
32826         * iconvdata/isiri-3342.h: Likewise.
32827         * iconvdata/jis0201.h: Likewise.
32828         * include/link.h: Likewise.
32829         * include/netdb.h: Likewise.
32830         * inet/check_native.c: Likewise.
32831         * inet/check_pf.c: Likewise.
32832         * inet/getipv4sourcefilter.c: Likewise.
32833         * inet/getnameinfo.c: Likewise.
32834         * inet/getsourcefilter.c: Likewise.
32835         * inet/htonl.c: Likewise.
32836         * inet/setipv4sourcefilter.c: Likewise.
32837         * inet/setsourcefilter.c: Likewise.
32838         * inet/test-inet6_opt.c: Likewise.
32839         * inet/tst-network.c: Likewise.
32840         * locale/C-collate.c: Likewise.
32841         * locale/C-ctype.c: Likewise.
32842         * locale/C-time.c: Likewise.
32843         * locale/C-translit.h: Likewise.
32844         * locale/loadarchive.c: Likewise.
32845         * locale/programs/3level.h: Likewise.
32846         * locale/programs/charmap.c: Likewise.
32847         * locale/programs/charmap.h: Likewise.
32848         * locale/programs/ld-address.c: Likewise.
32849         * locale/programs/ld-collate.c: Likewise.
32850         * locale/programs/ld-ctype.c: Likewise.
32851         * locale/programs/ld-identification.c: Likewise.
32852         * locale/programs/ld-measurement.c: Likewise.
32853         * locale/programs/ld-messages.c: Likewise.
32854         * locale/programs/ld-monetary.c: Likewise.
32855         * locale/programs/ld-name.c: Likewise.
32856         * locale/programs/ld-numeric.c: Likewise.
32857         * locale/programs/ld-paper.c: Likewise.
32858         * locale/programs/ld-telephone.c: Likewise.
32859         * locale/programs/ld-time.c: Likewise.
32860         * locale/programs/linereader.c: Likewise.
32861         * locale/programs/locale.c: Likewise.
32862         * locale/programs/locarchive.c: Likewise.
32863         * locale/programs/locfile.h: Likewise.
32864         * locale/programs/repertoire.c: Likewise.
32865         * locale/programs/simple-hash.c: Likewise.
32866         * locale/programs/simple-hash.h: Likewise.
32867         * malloc/memusage.c: Likewise.
32868         * malloc/memusagestat.c: Likewise.
32869         * nis/nis_defaults.c: Likewise.
32870         * nis/nis_hash.c: Likewise.
32871         * nis/nis_print.c: Likewise.
32872         * nis/nis_xdr.c: Likewise.
32873         * nscd/connections.c: Likewise.
32874         * nscd/hstcache.c: Likewise.
32875         * nscd/nscd_gethst_r.c: Likewise.
32876         * nscd/nscd_getserv_r.c: Likewise.
32877         * nscd/nscd_helper.c: Likewise.
32878         * nscd/servicescache.c: Likewise.
32879         * nss/makedb.c: Likewise.
32880         * nss/nss_db/db-XXX.c: Likewise.
32881         * nss/nss_db/db-initgroups.c: Likewise.
32882         * nss/nss_db/db-netgrp.c: Likewise.
32883         * nss/nss_files/files-network.c: Likewise.
32884         * nss/nss_files/files-parse.c: Likewise.
32885         * posix/bug-regex5.c: Likewise.
32886         * posix/fnmatch_loop.c: Likewise.
32887         * posix/regcomp.c: Likewise.
32888         * posix/regexec.c: Likewise.
32889         * posix/tst-rfc3484-2.c: Likewise.
32890         * posix/tst-rfc3484-3.c: Likewise.
32891         * posix/tst-rfc3484.c: Likewise.
32892         * resolv/nss_dns/dns-canon.c: Likewise.
32893         * resolv/nss_dns/dns-network.c: Likewise.
32894         * resolv/res_init.c: Likewise.
32895         * resolv/res_mkquery.c: Likewise.
32896         * resolv/tst-aton.c: Likewise.
32897         * stdlib/cxa_atexit.c: Likewise.
32898         * stdlib/cxa_finalize.c: Likewise.
32899         * stdlib/gen-fpioconst.c: Likewise.
32900         * stdlib/strtol_l.c: Likewise.
32901         * string/tst-endian.c: Likewise.
32902         * sunrpc/auth_des.c: Likewise.
32903         * sunrpc/clnt_udp.c: Likewise.
32904         * sunrpc/rtime.c: Likewise.
32905         * sunrpc/svcauth_des.c: Likewise.
32906         * sunrpc/xdr.c: Likewise.
32907         * sunrpc/xdr_intXX_t.c: Likewise.
32908         * sunrpc/xdr_rec.c: Likewise.
32909         * sysdeps/generic/ldconfig.h: Likewise.
32910         * sysdeps/generic/ldsodefs.h: Likewise.
32911         * sysdeps/generic/memusage.h: Likewise.
32912         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32913         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32914         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32915         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32916         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32917         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32918         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32919         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32920         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32921         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32922         * sysdeps/posix/getaddrinfo.c: Likewise.
32923         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32924         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32925         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32926         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32927         * sysdeps/powerpc/test-gettimebase.c: Likewise.
32928         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32929         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32930         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32931         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32932         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32933         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32934         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32935         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32936         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32937         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32938         * sysdeps/x86_64/dl-tls.h: Likewise.
32939         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32940         * time/alt_digit.c: Likewise.
32941         * time/era.c: Likewise.
32942         * wcsmbs/tst-c16c32-1.c: Likewise.
32944 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32946         * math/libm-test.inc (struct test_sincos_data): New type.
32947         (RUN_TEST_LOOP_sincos): New macro.
32948         (sincos_test_data): New variable.
32949         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32951 2013-05-16  Richard Henderson  <rth@redhat.com>
32953         * math/atest-exp2.c (LIMB64): New macro.
32954         (CONSTSZ): New macro.
32955         (mp_exp1, mp_exp_m1, mp_log2): New variables.
32956         (hexdig): Move ...
32957         (print_mpn_fp): ... to function scope.
32958         (read_mpn_hex): Remove.
32959         (get_log2): Remove.
32960         (exp2_mpn): Use mp_log2.
32961         (main): Use mp_exp1.
32963 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32965         * math/libm-test.inc: Remove comment about not testing "inexact"
32966         exceptions.
32967         (INEXACT_EXCEPTION): New macro.
32968         (NO_INEXACT_EXCEPTION): Likewise.
32969         (INVALID_EXCEPTION_OK): Update value.
32970         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32971         (OVERFLOW_EXCEPTION_OK): Likewise.
32972         (UNDERFLOW_EXCEPTION_OK): Likewise.
32973         (IGNORE_ZERO_INF_SIGN): Likewise.
32974         (ERRNO_UNCHANGED): Likewise.
32975         (ERRNO_EDOM): Likewise.
32976         (ERRNO_ERANGE): Likewise.
32977         (test_exceptions): Handle testing "inexact" exceptions.
32978         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32979         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32980         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32981         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32982         INEXACT_EXCEPTION.
32983         (rint_towardzero_test_data): Likewise.
32984         (rint_downward_test_data): Likewise.
32985         (rint_upward_test_data): Likewise.
32987         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32988         with OVERFLOW_EXCEPTION.
32989         (exp10_test_data): Likewise.
32990         (exp2_test_data): Likewise.
32991         (expm1_test_data): Likewise.
32992         (lgamma_test_data): Likewise.
32993         (pow_test_data): Likewise.
32994         (tgamma_test_data): Likewise.
32995         (yn_test_data): Remove duplicate test of overflow.
32997         * math/libm-test.inc (struct test_cc_c_data): New type.
32998         (RUN_TEST_LOOP_cc_c): New macro.
32999         (cpow_test_data): New variable.
33000         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33002         * math/libm-test.inc (struct test_f_L_data): New type.
33003         (RUN_TEST_LOOP_f_L): New macro.
33004         (llrint_test_data): New variable.
33005         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33006         (llrint_tonearest_test_data): New variable.
33007         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33008         (llrint_towardzero_test_data): New variable.
33009         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33010         (llrint_downward_test_data): New variable.
33011         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33012         (llrint_upward_test_data): New variable.
33013         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33014         (llround_test_data): New variable.
33015         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33017 2013-05-13  Peter Collingbourne  <pcc@google.com>
33019         * math/atest-exp2.c (get_log2): Remove const attribute.
33021 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33023         * math/libm-test.inc (struct test_f_l_data): New type.
33024         (RUN_TEST_LOOP_f_l): New macro.
33025         (lrint_test_data): New variable.
33026         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33027         (lrint_tonearest_test_data): New variable.
33028         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33029         (lrint_towardzero_test_data): New variable.
33030         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33031         (lrint_downward_test_data): New variable.
33032         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33033         (lrint_upward_test_data): New variable.
33034         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33035         (lround_test_data): New variable.
33036         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33038 2013-05-15  Peter Collingbourne  <pcc@google.com>
33040         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33041         (EXTRACT_WORDS64) Use where appropriate.
33042         (INSERT_WORDS64) Likewise.
33044         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33045         constraints with x constraints.
33046         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33048         * malloc/obstack.c (_obstack_compat): Add initializer.
33050 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33052         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33053         si_trapno and add si_addr_lsb to _sifields.sigfault.
33054         (si_trapno): Remove macro.
33055         (si_addr_lsb): Define new macro.
33056         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33058 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33060         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33061         instead of TEST_f_l.
33062         (llrint_test_tonearest): Likewise.
33063         (llrint_test_towardzero): Likewise.
33064         (llrint_test_downward): Likewise.
33065         (llrint_test_upward): Likewise.
33066         (llround_test): Likewise.
33068         * math/libm-test.inc (struct test_f_i_data): Add comment.
33069         (RUN_TEST_LOOP_f_b): New macro.
33070         (RUN_TEST_LOOP_f_b_tg): Likewise.
33071         (finite_test_data): New variable.
33072         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33073         (isfinite_test_data): New variable.
33074         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33075         (isinf_test_data): New variable.
33076         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33077         (isnan_test_data): New variable.
33078         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33079         (isnormal_test_data): New variable.
33080         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33081         (issignaling_test_data): New variable.
33082         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33083         (signbit_test_data): New variable.
33084         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33086         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33087         with INVALID_EXCEPTION.
33088         (acosh_test_data): Likewise.
33089         (asin_test_data): Likewise.
33090         (atanh_test_data): Likewise.
33091         (fmod_test_data): Likewise.
33092         (log_test_data): Likewise.
33093         (log10_test_data): Likewise.
33094         (log2_test_data): Likewise.
33095         (pow_test_data): Likewise.
33096         (sqrt_test_data): Likewise.
33097         (y0_test_data): Likewise.
33098         (y1_test_data): Likewise.
33099         (yn_test_data): Likewise.
33101         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33102         function contents.
33104         * math/libm-test.inc (struct test_ff_i_data): New type.
33105         (RUN_TEST_LOOP_ff_i_tg): New macro.
33106         (isgreater_test_data): New variable.
33107         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33108         (isgreaterequal_test_data): New variable.
33109         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33110         (isless_test_data): New variable.
33111         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33112         (islessequal_test_data): New variable.
33113         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33114         (islessgreater_test_data): New variable.
33115         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33116         (isunordered_test_data): New variable.
33117         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33119 2013-05-14  David S. Miller  <davem@davemloft.net>
33121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33123 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33125         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33127         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33128         extra_test to int.
33129         (struct test_f_i_data): Change type of max_ulp to int.
33131         * math/libm-test.inc (test_ffI_f1_data): New type.
33132         (RUN_TEST_LOOP_ffI_f1): New macro.
33133         (remquo_test_data): New variable.
33134         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33136         * setjmp/tst-setjmp-fp.c: New file.
33137         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33138         (link-libm): New variable.
33139         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33141         * math/libm-test.inc (struct test_f_i_data): New type.
33142         (RUN_TEST_LOOP_f_i): New macro.
33143         (RUN_TEST_LOOP_f_i_tg): Likewise.
33144         (fpclassify_test_data): New variable.
33145         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33146         (ilogb_test_data): New variable.
33147         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33149         * math/libm-test.inc (scalbln_test): Correct function name in END
33150         call.
33152         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33153         (RUN_TEST_LOOP_fI_f1): New macro.
33154         (frexp_test_data): New variable.
33155         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33157         * math/libm-test.inc (struct test_fF_f1_data): New type.
33158         (RUN_TEST_LOOP_fF_f1): New macro.
33159         (modf_test_data): New variable.
33160         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33162         * math/libm-test.inc (struct test_f_f1_data): New type.
33163         (RUN_TEST_LOOP_f_f1): New macro.
33164         (gamma_test_data): New variable.
33165         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33166         (lgamma_test_data): New variable.
33167         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33169 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33171         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33172         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33173         (main): Comment "tls" pseudo-hwcap.
33175 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33177         * math/libm-test.inc (struct test_fl_f_data): New type.
33178         (RUN_TEST_LOOP_fl_f): New variable.
33179         (scalbln_test_data): New variable.
33180         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33182         * math/libm-test.inc (struct test_fi_f_data): New type.
33183         (RUN_TEST_LOOP_fi_f): New macro.
33184         (ldexp_test_data): New variable.
33185         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33186         (scalbn_test_data): New variable.
33187         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33189         * math/libm-test.inc (struct test_c_f_data): New type.
33190         (RUN_TEST_LOOP_c_f): New macro.
33191         (cabs_test_data): New variable.
33192         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33193         (carg_test_data): New variable.
33194         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33195         (cimag_test_data): New variable.
33196         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33197         (creal_test_data): New variable.
33198         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33200         * math/libm-test.inc (struct test_if_f_data): New type.
33201         (RUN_TEST_LOOP_if_f): New macro.
33202         (jn_test_data): New variable.
33203         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33204         (yn_test_data): New variable.
33205         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33207         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33209 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33211         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33212         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33214 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33216         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33217         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33218         (bench-deps): Add bench-timing.h.
33219         * benchtests-bench-skeleton.c: Include bench-timing.h.
33220         (main): Use TIMING_* macros instead of clock_gettime.
33221         * benchtests/bench-timing.h: New file.
33223         [BZ #14582]
33224         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33225         Renamed from _LIB_VERSION.
33226         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33228 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33230         * math/libm-test.inc (struct test_fff_f_data): New type.
33231         (RUN_TEST_LOOP_fff_f): New macro.
33232         (fma_test_data): New variable.
33233         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33234         (fma_towardzero_test_data): New variable.
33235         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33236         (fma_downward_test_data): New variable.
33237         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33238         (fma_upward_test_data): New variable.
33239         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33241         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33242         (struct test_c_c_data): New type.
33243         (RUN_TEST_LOOP_c_c): New macro.
33244         (cacos_test_data): New variable.
33245         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33246         (cacosh_test_data): New variable.
33247         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33248         (casin_test_data): New variable.
33249         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33250         (casinh_test_data): New variable.
33251         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33252         (catan_test_data): New variable.
33253         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33254         (catanh_test_data): New variable.
33255         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33256         (ccos_test_data): New variable.
33257         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33258         (ccosh_test_data): New variable.
33259         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33260         (cexp_test_data): New variable.
33261         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33262         (clog_test_data): New variable.
33263         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33264         (clog10_test_data): New variable.
33265         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33266         (conj_test_data): New variable.
33267         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33268         (cproj_test_data): New variable.
33269         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33270         (csin_test_data): New variable.
33271         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33272         (csinh_test_data): New variable.
33273         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33274         (csqrt_test_data): New variable.
33275         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33276         (ctan_test_data): New variable.
33277         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33278         (ctan_tonearest_test_data): New variable.
33279         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33280         (ctan_towardzero_test_data): New variable.
33281         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33282         (ctan_downward_test_data): New variable.
33283         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33284         (ctan_upward_test_data): New variable.
33285         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33286         (ctanh_test_data): New variable.
33287         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33288         (ctanh_tonearest_test_data): New variable.
33289         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33290         (ctanh_towardzero_test_data): New variable.
33291         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33292         (ctanh_downward_test_data): New variable.
33293         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33294         (ctanh_upward_test_data): New variable.
33295         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33296         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33297         of BUILD_COMPLEX.
33299         * math/libm-test.inc (struct test_ff_f_data): New type.
33300         (struct test_ff_f_data_nexttoward): Likewise.
33301         (RUN_TEST_LOOP_2_f): New macro.
33302         (RUN_TEST_LOOP_ff_f): Likewise.
33303         (atan2_test_data): New variable.
33304         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33305         (copysign_test_data): New variable.
33306         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33307         (fdim_test_data): New variable.
33308         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33309         (fmax_test_data): New variable.
33310         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33311         (fmin_test_data): New variable.
33312         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33313         (fmod_test_data): New variable.
33314         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33315         (hypot_test_data): New variable.
33316         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33317         (nextafter_test_data): New variable.
33318         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33319         (nexttoward_test_data): New variable.
33320         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33321         (pow_test_data): New variable.
33322         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33323         (pow_tonearest_test_data): New variable.
33324         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33325         (pow_towardzero_test_data): New variable.
33326         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33327         (pow_downward_test_data): New variable.
33328         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33329         (pow_upward_test_data): New variable.
33330         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33331         (remainder_test_data): New variable.
33332         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33333         (scalb_test_data): New variable.
33334         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33335         * sysdeps/i386/fpu/libm-test-ulps: Update.
33337 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33339         * math/libm-test.inc (fma_test): Use max_value instead of local
33340         variable fltmax.
33341         (nextafter_test): Likewise.
33343         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33344         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33345         (acos_downward_test_data): New variable.
33346         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33347         (acos_upward_test_data): New variable.
33348         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33349         (acosh_test_data): New variable.
33350         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33351         (asin_test_data): New variable.
33352         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33353         (asin_tonearest_test_data): New variable.
33354         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33355         (asin_towardzero_test_data): New variable.
33356         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33357         (asin_downward_test_data): New variable.
33358         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33359         (asin_upward_test_data): New variable.
33360         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33361         (asinh_test_data): New variable.
33362         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33363         (atan_test_data): New variable.
33364         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33365         (atanh_test_data): New variable.
33366         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33367         (cbrt_test_data): New variable.
33368         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33369         (ceil_test_data): New variable.
33370         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33371         (cos_test_data): New variable.
33372         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33373         (cos_tonearest_test_data): New variable.
33374         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33375         (cos_towardzero_test_data): New variable.
33376         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33377         (cos_downward_test_data): New variable.
33378         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33379         (cos_upward_test_data): New variable.
33380         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33381         (cosh_test_data): New variable.
33382         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33383         (cosh_tonearest_test_data): New variable.
33384         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33385         (cosh_towardzero_test_data): New variable.
33386         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33387         (cosh_downward_test_data): New variable.
33388         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33389         (cosh_upward_test_data): New variable.
33390         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33391         (erf_test_data): New variable.
33392         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33393         (erfc_test_data): New variable.
33394         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33395         (exp_test_data): New variable.
33396         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33397         (exp_tonearest_test_data): New variable.
33398         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33399         (exp_towardzero_test_data): New variable.
33400         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33401         (exp_downward_test_data): New variable.
33402         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33403         (exp_upward_test_data): New variable.
33404         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33405         (exp10_test_data): New variable.
33406         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33407         (exp2_test_data): New variable.
33408         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33409         (expm1_test_data): New variable.
33410         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33411         (fabs_test_data): New variable.
33412         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33413         (floor_test_data): New variable.
33414         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33415         (j0_test_data): New variable.
33416         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33417         (j1_test_data): New variable.
33418         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33419         (log_test_data): New variable.
33420         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33421         (log10_test_data): New variable.
33422         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33423         (log1p_test_data): New variable.
33424         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33425         (log2_test_data): New variable.
33426         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33427         (logb_test_data): New variable.
33428         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33429         (logb_downward_test_data): New variable.
33430         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33431         (nearbyint_test_data): New variable.
33432         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33433         (rint_test_data): New variable.
33434         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33435         (rint_tonearest_test_data): New variable.
33436         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33437         (rint_towardzero_test_data): New variable.
33438         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33439         (rint_downward_test_data): New variable.
33440         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33441         (rint_upward_test_data): New variable.
33442         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33443         (round_test_data): New variable.
33444         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33445         (sin_test_data): New variable.
33446         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33447         (sin_tonearest_test_data): New variable.
33448         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33449         (sin_towardzero_test_data): New variable.
33450         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33451         (sin_downward_test_data): New variable.
33452         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33453         (sin_upward_test_data): New variable.
33454         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33455         (sinh_test_data): New variable.
33456         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33457         (sinh_tonearest_test_data): New variable.
33458         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33459         (sinh_towardzero_test_data): New variable.
33460         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33461         (sinh_downward_test_data): New variable.
33462         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33463         (sinh_upward_test_data): New variable.
33464         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33465         (sqrt_test_data): New variable.
33466         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33467         (tan_test_data): New variable.
33468         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33469         (tan_tonearest_test_data): New variable.
33470         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33471         (tan_towardzero_test_data): New variable.
33472         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33473         (tan_downward_test_data): New variable.
33474         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33475         (tan_upward_test_data): New variable.
33476         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33477         (tanh_test_data): New variable.
33478         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33479         (tgamma_test_data): New variable.
33480         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33481         (trunc_test_data): New variable.
33482         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33483         (y0_test_data): New variable.
33484         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33485         (y1_test_data): New variable.
33486         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33487         (significand_test_data): New variable.
33488         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33490 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33492         [BZ #12387]
33493         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33495 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33497         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33499 2013-05-10  Andreas Jaeger  <aj@suse.de>
33501         [BZ #15448]
33502         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33503         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33505 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33507         * math/gen-libm-test.pl (adjust_arg): New function.
33508         (special_functions): Handle generating output in both functions
33509         and arrays.
33510         (parse_args): Likewise.
33511         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33512         $in_func argument to parse_args.
33513         * math/libm-test.inc (struct test_f_f_data): New type.
33514         (IF_ROUND_INIT_): New macro.
33515         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33516         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33517         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33518         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33519         (ROUND_RESTORE_): Likewise.
33520         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33521         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33522         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33523         (ROUND_RESTORE_FE_UPWARD): Likewise.
33524         (RUN_TEST_LOOP_f_f): New macro.
33525         (acos_test_data): New variable.
33526         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33527         (acos_tonearest_test_data): New variable.
33528         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33530 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33532         * benchtests/bench-skeleton.c (startup): Fix coding style.
33534 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33536         [BZ #6809]
33537         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33538         negative infinity argument.
33539         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33540         negative infinity argument.
33541         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33542         negative infinity argument.
33543         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33544         domain errors.
33546 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33548         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33549         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33550         * iconv/iconv_prog.c (main): Likewise.
33551         * locale/programs/charmap-dir.c (charmap_readdir)
33552         (fopen_uncompressed): Likewise.
33553         * locale/programs/locfile.c (siblings_uncached)
33554         (write_locale_data): Use lstat64 instead of lstat.
33555         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33556         stat.
33558 2013-05-10  Andreas Jaeger  <aj@suse.de>
33560         [BZ #15395]
33561         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33562         localization.
33563         Include <locale.h>.
33565 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33567         * elf/dl-close.c (_dl_close_worker): Add comments.
33569 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33571         [BZ #15359]
33572         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33573         high part of pi/2.
33574         (__ieee754_rem_pio2l): Update comments.
33576         [BZ #15429]
33577         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33578         high part of pi/2.
33579         (__ieee754_rem_pio2l): Update comments.
33581         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33582         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33584         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33585         M_PI_4l.
33587         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33588         (M_PI_34_LOG10El): Likewise.
33589         (M_PI2_LOG10El): Likewise.
33590         (M_PI4_LOG10El): Likewise.
33591         (M_PI_LOG10El): Likewise.
33593 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33597 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33599         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33600         (MINUS_ZERO_INIT): Likewise.
33601         (PLUS_INFTY_INIT): Likewise.
33602         (MINUS_INFTY_INIT): Likewise.
33603         (QNAN_VALUE_INIT): Likewise.
33604         (MAX_VALUE_INIT): Likewise.
33605         (MIN_VALUE_INIT): Likewise.
33606         (MIN_SUBNORM_VALUE_INIT): Likewise.
33607         (plus_zero): Initialize with PLUS_ZERO_INIT.
33608         (minus_zero): Initialize with MINUS_ZERO_INIT.
33609         (plus_infty): Initialize with PLUS_INFTY_INIT.
33610         (minus_infty): Initialize with MINUS_INFTY_INIT.
33611         (qnan_value): Initialize with QNAN_VALUE_INIT.
33612         (max_value): Initialize with MAX_VALUE_INIT.
33613         (min_value): Initialize with MIN_VALUE_INIT.
33614         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33616         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33617         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33618         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33619         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33621         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33622         (RUN_TEST_2_f): Likewise.
33623         (RUN_TEST_ff_f): Likewise.
33624         (RUN_TEST_fi_f): Likewise.
33625         (RUN_TEST_fl_f): Likewise.
33626         (RUN_TEST_fff_f): Likewise.
33627         (RUN_TEST_c_f): Likewise.
33628         (RUN_TEST_f_f1): Likewise.
33629         (RUN_TEST_fF_f1): Likewise.
33630         (RUN_TEST_fI_f1): Likewise.
33631         (RUN_TEST_ffI_f1): Likewise.
33632         (RUN_TEST_c_c): Likewise.
33633         (RUN_TEST_cc_c): Likewise.
33634         (RUN_TEST_f_i): Likewise.
33635         (RUN_TEST_f_i_tg): Likewise.
33636         (RUN_TEST_ff_i_tg): Likewise.
33637         (RUN_TEST_f_b): Likewise.
33638         (RUN_TEST_f_b_tg): Likewise.
33639         (RUN_TEST_f_l): Likewise.
33640         (RUN_TEST_f_L): Likewise.
33641         (RUN_TEST_sincos): Likewise.
33642         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33643         whether to show exceptions.  Do not include ");\n" in return
33644         value.
33645         (special_functions): Output call to RUN_TEST_sincos instead of
33646         check_float calls.  Update calls to new_test.
33647         (parse_args): Output call to single RUN_TEST_* macro instead of
33648         check_* calls and other assignments.  Update calls to new_test.
33650         [BZ #2546]
33651         [BZ #2560]
33652         [BZ #5159]
33653         [BZ #15426]
33654         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33655         input to result for tgamma overflow.
33656         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33657         (gamma_coeff): New variable.
33658         (NCOEFF): New macro.
33659         (gamma_positive): New function.
33660         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33661         underflow here.  Use gamma_positive instead of exp (lgamma) for
33662         other arguments.
33663         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33664         (gamma_coeff): New variable.
33665         (NCOEFF): New macro.
33666         (gammaf_positive): New function.
33667         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33668         underflow here.  Use gamma_positive instead of exp (lgamma) for
33669         other arguments.
33670         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33671         (gamma_coeff): New variable.
33672         (NCOEFF): New macro.
33673         (gammal_positive): New function.
33674         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33675         underflow here.  Use gamma_positive instead of exp (lgamma) for
33676         other arguments.
33677         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33678         (gamma_coeff): New variable.
33679         (NCOEFF): New macro.
33680         (gammal_positive): New function.
33681         (__ieee754_gammal_r): Handle positive infinity, overflow and
33682         underflow here.  Handle NaN the same as positive infinity.  Remove
33683         check x < 0xffffffff for negative integers.  Use gamma_positive
33684         instead of exp (lgamma) for other arguments.
33685         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33686         (gamma_coeff): New variable.
33687         (NCOEFF): New macro.
33688         (gammal_positive): New function.
33689         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33690         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33691         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33692         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33693         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33694         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33695         * sysdeps/generic/math_private.h (__gamma_productf): New
33696         prototype.
33697         (__gamma_product): Likewise.
33698         (__gamma_productl): Likewise.
33699         * math/Makefile (libm-calls): Add gamma_product.
33700         * math/libm-test.inc (tgamma_test): Add more tests.
33701         * sysdeps/i386/fpu/libm-test-ulps: Update.
33702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33704 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
33706         * benchtests/bench-skeleton.c (main): Preheat CPU.
33708 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
33710         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33712 2013-05-07  Roland McGrath  <roland@hack.frob.com>
33714         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33715         and _dl_skip_args_internal.
33717 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
33719         * manual/message.texi (Message Translation): Talk about users.
33720         Message to key mapping impacts design.
33722 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33724         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33726         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33728         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33729         * sysdeps/wordsize-64/glob64.c: ... here.
33731         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33732         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33733         New macros.
33735         * debug/getlogin_r_chk.c: Moved to ...
33736         * login/getlogin_r_chk.c: ... here.
33737         * debug/Makefile (routines): Move getlogin_r_chk to ...
33738         * login/Makefile (routines): ... here.
33739         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33740         * login/Versions (libc: GLIBC_2.4): ... here.
33742         * io/poll.c (__poll): Renamed from poll.
33743         Add libc_hidden_def.
33744         (poll): Define as weak alias.
33746         * debug/ptsname_r_chk.c: Moved to ...
33747         * login/ptsname_r_chk.c: ... here.
33748         * debug/Makefile (routines): Move ptsname_r_chk to ...
33749         * login/Makefile (routines): ... here.
33750         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33751         * login/Versions (libc: GLIBC_2.4): ... here.
33753         * posix/getlogin.c: Moved to ...
33754         * login/getlogin.c: ... here.
33755         * posix/getlogin_r.c: Moved to ...
33756         * login/getlogin_r.c: ... here.
33757         * posix/getlogin_r.c: Moved to ...
33758         * login/getlogin_r.c: ... here.
33759         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33760         * login/Makefile (routines): ... here.
33761         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33762         * login/Versions (libc: GLIBC_2.0): ... here.
33764         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33765         (setrlimit): Define as weak alias.
33767         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33768         Call __ names for open, ftruncate, and close.
33769         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33770         (truncate): Define as weak alias.
33772 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
33774         * math/gen-libm-test.pl (parse_args): Initialize x before each
33775         test of frexp, modf and remquo.
33777         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33778         test signgam value.
33780 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33782         [BZ #15418]
33783         [BZ #15419]
33784         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33785         internal tests.
33786         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33788 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33790         * elf/dl-writev.h: New file.
33791         * elf/dl-misc.c: Include it.
33792         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33793         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33795 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
33797         * math/libm-test.inc (noXFails): Remove variable.
33798         (noXPasses): Likewise.
33799         (BUILD_COMPLEX_INT): Remove macro.
33800         (print_screen): Remove xfail argument.
33801         (print_screen_max_error): Likewise.
33802         (update_stats): Likewise.
33803         (print_max_error): Likewise.  Update calls to other affected
33804         functions.
33805         (print_complex_max_error): Likewise.
33806         (test_single_exception): Update calls to print_screen.
33807         (test_single_errno): Likewise.
33808         (check_float_internal): Remove xfail argument.  Update calls to
33809         other affected functions.
33810         (check_float): Likewise.
33811         (check_complex): Likewise.
33812         (check_int): Likewise.
33813         (check_long): Likewise.
33814         (check_bool): Likewise.
33815         (check_longlong): Likewise.
33816         (main): Don't print noXFails and noXPasses.
33817         * math/gen-libm-test.pl (top level): Don't mention expected
33818         failure handling in comment.
33819         (new_test): Don't handle expected failures.
33820         (parse_args): Don't mention expected failure handling in comment.
33821         (generate_testfile): Don't handle expected failures.
33822         (parse_ulps): Likewise.
33823         (print_ulps_file): Likewise.
33824         (get_failure): Remove function.
33825         (output_test): Don't handle expected failures.
33826         * make/README.libm-test: Don't mention expected failure handling.
33828         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
33829         (minus_zero): Likewise.
33830         (plus_infty): Likewise.
33831         (minus_infty): Likewise.
33832         (qnan_value): Likewise.
33833         (max_value): Likewise.
33834         (min_value): Likewise.
33835         (min_subnorm_value): Likewise.
33836         (initialize): Do not initialize those variables dynamically.
33838 2013-05-03  Roland McGrath  <roland@hack.frob.com>
33840         * io/open.c (__open_2): Moved to ...
33841         * io/open_2.c: ... this new file.
33842         * io/open64.c (__open64_2): Moved to ...
33843         * io/open64_2.c: ... this new file.
33844         * io/openat.c (__openat_2): Moved to ...
33845         * io/openat_2.c: ... this new file.
33846         * io/openat64.c (__openat64_2): Moved to ...
33847         * io/openat64_2.c: ... this new file.
33848         * io/Makefile (routines): Add them.
33849         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33850         * sysdeps/unix/sysv/linux/open_2.c: File removed.
33851         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33852         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33853         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33854         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33855         (__openat64): Add hidden_ver.
33856         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33857         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33859         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33860         Separately conditionalize setting of GLRO(dl_sysinfo) so
33861         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33862         as well, but the actual setting is only under [NEED_DL_SYSINFO].
33864 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33866         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33867         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33868         definition.
33869         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33870         * sysdeps/unix/sysv/linux/powerpc/init-first.c
33871         (_libc_vdso_platform_setup): Add __vdso_time initialization.
33872         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33873         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33875 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
33877         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33878         test signgam value.
33880         * math/libm-test.inc (hypot_test): Do not use
33881         IGNORE_ZERO_INF_SIGN.
33883 2013-05-03  Andreas Jaeger  <aj@suse.de>
33885         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33886         Linux 3.9.
33887         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33888         (PF_MAX): Adjust for VSOCK change.
33890 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33894 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
33896         [BZ #15264]
33897         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33898         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33899         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33901 2013-05-02  David S. Miller  <davem@davemloft.net>
33903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33905 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
33907         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33909 2013-05-01  Roland McGrath  <roland@hack.frob.com>
33911         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33913 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
33915         [BZ #14952]
33916         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33917         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33918         Use __attribute__ ((__gnu_inline__)).
33919         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33920         Don't use __attribute__ ((__gnu_inline__)).
33922 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
33924         [BZ #15423]
33925         * math/s_catan.c (__catan): Handle small real or imaginary part of
33926         input specially to avoid spurious underflow.
33927         * math/s_catanf.c (__catanf): Likewise.
33928         * math/s_catanh.c (__catanh): Likewise.
33929         * math/s_catanhf.c (__catanhf): Likewise.
33930         * math/s_catanhl.c (__catanhl): Likewise.
33931         * math/s_catanl.c (__catanl): Likewise.
33932         * math/libm-test.inc (catan_test): Add more tests.
33933         (catanh_test): Likewise.
33934         * sysdeps/i386/fpu/libm-test-ulps: Update.
33935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33937 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33941 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
33943         [BZ #15416]
33944         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33945         accurately for denominator in atan2.
33946         * math/s_catanf.c (__catanf): Likewise.
33947         * math/s_catanh.c (__catanh): Likewise.
33948         * math/s_catanhf.c (__catanhf): Likewise.
33949         * math/s_catanhl.c (__catanhl): Likewise.
33950         * math/s_catanl.c (__catanl): Likewise.
33951         * math/libm-test.inc (catan_test): Add more tests.
33952         (catanh_test): Likewise.
33953         * sysdeps/i386/fpu/libm-test-ulps: Update.
33954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33956 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33958         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33960         * benchtests/Makefile (bench): Remove slow benchmarks.
33961         * benchtests/atan-inputs: Add slow benchmark inputs.
33962         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33963         (BENCH_FUNC): Accept variant offset.
33964         (VARIANT): Define.
33965         * benchtests/bench-skeleton.c (main): Run benchmark for each
33966         variant.
33967         * benchtests/cos-inputs: Add slow benchmark inputs.
33968         * benchtests/exp-inputs: Likewise.
33969         * benchtests/pow-inputs: Likewise.
33970         * benchtests/sin-inputs: Likewise.
33971         * benchtests/slowatan-inputs: Remove.
33972         * benchtests/slowatan.c: Remove.
33973         * benchtests/slowcos-inputs: Remove.
33974         * benchtests/slowcos.c: Remove.
33975         * benchtests/slowexp-inputs: Remove.
33976         * benchtests/slowexp.c: Remove.
33977         * benchtests/slowpow-inputs: Remove.
33978         * benchtests/slowpow.c: Remove.
33979         * benchtests/slowsin-inputs: Remove.
33980         * benchtests/slowsin.c: Remove.
33981         * benchtests/slowtan-inputs: Remove.
33982         * benchtests/slowtan.c: Remove.
33983         * benchtests/tan-inputs: Add slow benchmark inputs.
33984         * scripts/bench.pl: Parse comments and directives.
33986         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
33987         in CPPFLAGS.
33988         ($(objpfx)bench-%.c): Remove *-ITER.
33989         * benchtests/bench-modf.c: Remove definition of ITER.
33990         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33991         (main): Loop for DURATION seconds instead of fixed number of
33992         iterations.
33993         * scripts/bench.pl: Don't expect iterations in parameters.
33995 2013-04-29  Roland McGrath  <roland@hack.frob.com>
33997         * io/fchdir.c (__fchdir): Renamed from fchdir.
33998         (fchdir): Define as weak alias.
34000 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34002         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34003         (ERRNO_EDOM): Likewise.
34004         (ERRNO_ERANGE): Likewise.
34005         (noErrnoTests): New variable.
34006         (init_max_error): Set errno to 0.
34007         (test_single_errno): New function.
34008         (test_errno): Likewise.
34009         (check_float_internal): Call test_errno.  Set errno to 0.
34010         (check_complex): Refer to errno tests in comment.
34011         (check_int): Call test_errno.  Set errno to 0.
34012         (check_long): Likewise.
34013         (check_bool): Likewise.
34014         (check_longlong): Likewise.
34015         (cos_test): Use ERRNO_* flags for errno tests instead of
34016         check_int.
34017         (expm1_test): Likewise.
34018         (fmod_test): Likewise.
34019         (ilogb_test): Likewise.
34020         (lgamma_test): Likewise.
34021         (pow_test): Likewise.
34022         (remainder_test): Likewise.
34023         (sin_test): Likewise.
34024         (tan_test): Likewise.
34025         (yn_test): Likewise.
34026         (initialize): Set errno to 0.
34027         (main): Print number of errno tests.
34028         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34030 2013-04-29  Andreas Jaeger  <aj@suse.de>
34032         [BZ #15084]
34033         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34034         and RES_USEVC.
34036         [BZ #15085]
34037         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34038         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34039         unimplemented.
34041         [BZ #15380]
34042         * stdlib/random.c (__initstate): Return NULL if
34043         __initstate fails.
34045         [BZ #15086]
34046         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34047         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34048         RES_SNGLKUPREOP.
34050 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34054 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34056         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34057         of individual tests.
34058         (casin_test): Likewise.
34059         (casinh_test): Likewise.
34061 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34063         [BZ #15409]
34064         * math/s_catan.c (__catan): Handle arguments with large real or
34065         imaginary part separately without squaring.
34066         * math/s_catanf.c (__catanf): Likewise.
34067         * math/s_catanh.c (__catanh): Likewise.
34068         * math/s_catanhf.c (__catanhf): Likewise.
34069         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34070         and redefine.
34071         (__catanhl): Handle arguments with large real or imaginary part
34072         separately without squaring.
34073         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34074         and redefine.
34075         (__catanl): Handle arguments with large real or imaginary part
34076         separately without squaring.
34077         * math/libm-test.inc (catan_test): Add more tests.
34078         (catanh_test): Likewise.
34079         * sysdeps/i386/fpu/libm-test-ulps: Update.
34080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34082 2013-04-27  Andreas Jaeger  <aj@suse.de>
34084         [BZ #15007]
34085         * stdlib/stdlib.h: Update guards for qecvt.
34086         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34087         <stdlib.h>.
34089 2013-04-27  Allan McRae  <allan@archlinux.org>
34091         * sysdeps/i386/fpu/libm-test-ulps: Update.
34093 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34095         [BZ #15406]
34096         * math/s_catan.c: Include <float.h>.
34097         (__catan): Ensure underflow exception occurs for underflowed
34098         result.
34099         * math/s_catanf.c: Include <float.h>.
34100         (__catanf): Ensure underflow exception occurs for underflowed
34101         result.
34102         * math/s_catanh.c: Include <float.h>.
34103         (__catanh): Ensure underflow exception occurs for underflowed
34104         result.
34105         * math/s_catanhf.c: Include <float.h>.
34106         (__catanhf): Ensure underflow exception occurs for underflowed
34107         result.
34108         * math/s_catanhl.c: Include <float.h>.
34109         (__catanhl): Ensure underflow exception occurs for underflowed
34110         result.
34111         * math/s_catanl.c: Include <float.h>.
34112         (__catanl): Ensure underflow exception occurs for underflowed
34113         result.
34114         * math/libm-test.inc (catan_test): Add more tests.
34115         (catanh_test): Likewise.
34117         [BZ #15405]
34118         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34119         underflowed result.
34120         * math/s_ccoshf.c (__ccoshf): Likewise.
34121         * math/s_ccoshl.c (__ccoshl): Likewise.
34122         * math/s_csin.c (__csin): Likewise.
34123         * math/s_csinf.c (__csinf): Likewise.
34124         * math/s_csinh.c (__csinh): Likewise.
34125         * math/s_csinhf.c (__csinhf): Likewise.
34126         * math/s_csinhl.c (__csinhl): Likewise.
34127         * math/s_csinl.c (__csinl): Likewise.
34128         * math/libm-test.inc (ccos_test): Add more tests.
34129         (ccosh_test): Likewise.
34130         (csin_test): Likewise.
34131         (csinh_test): Likewise.
34133 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34135         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34136         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34137         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34138         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34139         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34140         powerpc/power5+/fpu folders.
34141         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34144 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34146         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34148 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34150         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34151         additions to variable.
34152         [$(config-machine) = x86_64] (modules-names): Likewise.
34153         ($(objpfx)tst-audit3): Remove dependency.
34154         ($(objpfx)tst-audit3.out): Likewise.
34155         ($(objpfx)tst-audit4): Likewise.
34156         ($(objpfx)tst-audit4.out): Likewise.
34157         ($(objpfx)tst-audit5): Likewise.
34158         ($(objpfx)tst-audit5.out): Likewise.
34159         ($(objpfx)tst-audit6): Likewise.
34160         ($(objpfx)tst-audit6.out): Likewise.
34161         ($(objpfx)tst-audit7): Likewise.
34162         ($(objpfx)tst-audit7.out): Likewise.
34163         (tst-audit3-ENV): Remove variable.
34164         (tst-audit4-ENV): Likewise.
34165         (tst-audit5-ENV): Likewise.
34166         (tst-audit6-ENV): Likewise.
34167         (tst-audit7-ENV): Likewise.
34168         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34169         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34170         addition to variable.
34171         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34172         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34173         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34174         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34175         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34176         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34177         tst-audit3, tst-audit4 and tst-audit5.
34178         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34179         tst-audit6 and tst-audit7.
34180         [$(subdir) = elf] (modules-names): Add audit modules for those
34181         tests.
34182         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34183         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34184         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34185         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34186         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34187         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34188         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34189         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34190         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34191         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34192         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34193         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34194         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34195         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34196         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34197         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34198         Likewise.
34199         [$(subdir) = elf && $(config-cflags-avx) = yes]
34200         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34201         [$(subdir) = elf && $(config-cflags-avx) = yes]
34202         (CFLAGS-tst-auditmod4a.c): Likewise.
34203         [$(subdir) = elf && $(config-cflags-avx) = yes]
34204         (CFLAGS-tst-auditmod4b.c): Likewise.
34205         [$(subdir) = elf && $(config-cflags-avx) = yes]
34206         (CFLAGS-tst-auditmod6b.c): Likewise.
34207         [$(subdir) = elf && $(config-cflags-avx) = yes]
34208         (CFLAGS-tst-auditmod6c.c): Likewise.
34209         [$(subdir) = elf && $(config-cflags-avx) = yes]
34210         (CFLAGS-tst-auditmod7b.c): Likewise.
34211         * elf/tst-audit3.c: Move to ...
34212         * sysdeps/x86_64/tst-audit3.c: ... here.
34213         * elf/tst-audit4.c: Move to ...
34214         * sysdeps/x86_64/tst-audit4.c: ... here.
34215         * elf/tst-audit5.c: Move to ...
34216         * sysdeps/x86_64/tst-audit5.c: ... here.
34217         * elf/tst-audit6.c: Move to ...
34218         * sysdeps/x86_64/tst-audit6.c: ... here.
34219         * elf/tst-audit7.c: Move to ...
34220         * sysdeps/x86_64/tst-audit7.c: ... here.
34221         * elf/tst-auditmod3a.c: Move to ...
34222         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34223         * elf/tst-auditmod3b.c: Move to ...
34224         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34225         * elf/tst-auditmod4a.c: Move to ...
34226         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34227         * elf/tst-auditmod4b.c: Move to ...
34228         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34229         * elf/tst-auditmod5a.c: Move to ...
34230         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34231         * elf/tst-auditmod5b.c: Move to ...
34232         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34233         * elf/tst-auditmod6a.c: Move to ...
34234         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34235         * elf/tst-auditmod6b.c: Move to ...
34236         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34237         * elf/tst-auditmod6c.c: Move to ...
34238         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34239         * elf/tst-auditmod7a.c: Move to ...
34240         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34241         * elf/tst-auditmod7b.c: Move to ...
34242         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34244 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34246         [BZ #15366]
34247         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34248         define unconditionally.
34249         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34250         define unconditionally.
34251         (INT8_C, INT16_C, etc.): Likewise.
34253 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34255         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34256         __ehdr_start with hidden visibility.
34258         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34260 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34262         * math/libm-test.inc (cos_test): Use accurate hex constants.
34263         (sincost_test): Likewise.
34265 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34267         * math/libm-test.inc (catan_test): Add more tests.
34268         (catanh_test): Likewise.
34270         * math/s_catanf.c (__catanf): Use suffixed floating-point
34271         constants.
34272         * math/s_catanhf.c (__catanhf): Likewise.
34273         * math/s_catanhl.c (__catanhl): Likewise.
34274         * math/s_catanl.c (__catanl): Likewise.
34276         [BZ #15394]
34277         * math/s_catan.c (__catan): Calculate imaginary part of result
34278         with log1p not log unless computing log of number close to 0.
34279         * math/s_catanf.c (__catanf): Likewise.
34280         * math/s_catanl.c (__catanl): Likewise.
34281         * math/s_catanh.c (__catanh): Calculate real part of result with
34282         log1p not log unless computing log of number close to 0.
34283         * math/s_catanhf.c (__catanhf): Likewise.
34284         * math/s_catanhl.c (__catanhl): Likewise.
34285         * math/libm-test.inc (catan_test): Add more tests.
34286         (catanh_test): Likewise.
34287         * sysdeps/i386/fpu/libm-test-ulps: Update.
34288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34290 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34292         * benchtests/Makefile: Mention files in which fast and slow
34293         paths of math functions are implemented.
34295 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34297         * sysdeps/posix/timespec_get.c: New file.
34299 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34301         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34302         POWER.
34303         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34304         for POWER.
34305         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34306         powerpc/power5/fpu folders.
34307         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34308         * benchtests/Makefile: Add modf testcase.
34309         * benchtests/bench-modf.c: New file: Benchmark test for mo
34311 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34313         [BZ #14888]
34314         * time/Makefile (tests): Add tst-strptime-whitespace.
34315         * time/strptime_l.c (get_number): Use ISSPACE.
34316         (__strptime_internal): Likewise.
34317         * time/tst-strptime-whitespace.c: New test case.
34319 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34321         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34322         member.
34323         (_nss_files_init): Set it here.
34325 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34327         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34328         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34329         unsigned.
34331 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34333         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34335 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34337         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34338         size just once.
34340 2013-04-21  David S. Miller  <davem@davemloft.net>
34342         * po/ru.po: Update Russion translation from translation project.
34344 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34346         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34347         and setfsgid.
34349 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34351         * configure.in: Remove i386 configure warning. Remove i386 case.
34352         * configure: Regenerate.
34353         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34354         Add example to error message.
34355         * sysdeps/i386/configure: Regenerate.
34357 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34359         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34360         slowtan.
34361         * benchtests/cos-inputs: New file.
34362         * benchtests/slowcos-inputs: New file.
34363         * benchtests/slowcos.c: New file.
34364         * benchtests/slowtan-inputs: New file.
34365         * benchtests/slowtan.c: New file.
34366         * benchtests/tan-inputs: New file.
34368 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34370         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34371         considered kosher.
34373 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34375         * benchtests/Makefile: Include cppflags-iterator.mk to add
34376         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34378         * Makefile.in (bench-clean): New target.
34379         * benchtests/Makefile (bench-clean): Likewise.
34381 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34383         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34385 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34387         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34389 2013-04-15  Andreas Schwab  <schwab@suse.de>
34391         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34392         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34393         * nscd/pwdcache.c (cache_addpw): Likewise.
34394         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34395         more than recsize.
34397 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34399         * benchtests/Makefile (bench): Write all output to
34400         bench-out.tmp together.
34402 2013-04-15  Andreas Schwab  <schwab@suse.de>
34404         * nscd/nscd.c (main): Don't fork again after closing files.
34406 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34408         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34410         * benchtests/Rules (bench-deps): Collect dependencies into a
34411         single variable.  Add Makefile to dependencies.
34412         ($(objpfx)bench-%.c): Depend on bench-deps.
34414 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34415             Xavier Roche  <roche+kml2@exalead.com>
34417         [BZ #15361]
34418         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34419         just that it's a file descriptor.
34420         * manual/llio.texi (Synchronizing AIO Operations): Update description
34421         for EBADF error from aio_fsync.
34423 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34425         * Rules (bench): Move target definition...
34426         * benchtests/Makefile: ... here.
34428 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34430         * math/libm-test.inc (cos_test): Fix PI/2 test.
34431         (sincos_test): Likewise.
34432         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34433         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34435 2013-04-11  Andreas Schwab  <schwab@suse.de>
34437         [BZ #13988]
34438         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34439         accept exponent character only when digits were seen.
34440         * stdio-common/Makefile (tests): Add bug26.
34441         * stdio-common/bug26.c: New file.
34443         [BZ #14293]
34444         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34445         non-freeable.
34447 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34449         * Makeconfig (rtld-prefix): Define built linker prefix.
34450         * Rules (run-bench): Use it.
34451         * math/Makefile (run-regen-ulps): Likewise.
34453         * Rules (bench): Remove eval.
34455 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34456             Roland McGrath  <roland@hack.frob.com>
34457             Ondrej Bilka  <neleai@seznam.cz>
34459         [BZ #15346]
34460         * time/getdate.c: Include ctype.h and alloca.h.
34461         (__getdate_r): Trim leading and trailing spaces of input.
34462         * time/tst-getdate.c (tests): Add tests with leading and
34463         trailing spaces.
34465 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34467         [BZ #14280]
34468         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34469         when computing value.
34471 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34473         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34474         Use testrun.sh to run libm tests.
34476         [BZ #15309]
34477         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34479 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34481         [BZ #15264]
34482         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34484 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34486         * Makefile.in (regen-ulps): New target.
34487         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34488         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34489         [ifneq (no,$(PERL)] (regen-ulps): New target.
34490         [ifeq (no,$(PERL)] (regen-ulps): New target.
34491         * math/libm-test.inc (ulps_file_name): Define.
34492         (output_dir): New variable.
34493         (options): Add "output-dir" option.
34494         (parse_opt): Handle 'o' case.
34495         (main): If output_dir is non-NULL use it as a prefix
34496         otherwise use "".
34497         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34499 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34501         [BZ #10060, #10062]
34502         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34503         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34504         fail configure if __sync_val_compare_and_swap is not inlined.
34505         * sysdeps/i386/configure: Regenerate.
34506         * configure.in: Build for i686 when configured for i386.
34507         * configure: Regenerate.
34508         * README: Remove i386 reference.
34510 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34512         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34513         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34515 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34517         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34518         (lmsnanval): New variables.
34519         (F): Add conversion tests.
34520         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34521         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34523         * stdio-common/tstdiomisc.c (F): Properly collect individual
34524         tests' results.
34526         [BZ #14686, #15336]
34527         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34528         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34529         Instead, use input NaN values or generate a qNaN by arithmetic
34530         operation.  Also fix bugs to comply with the standard.
34531         * math/libm-test.inc (remainder_test): Add more tests.
34533         [BZ #15335, #15342]
34534         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34535         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34536         input NaN values or generate a qNaN by arithmetic operation.
34538         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34539         unreachable code.
34541         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34542         definitions.
34544 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34546         [BZ #14478]
34547         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34548         underflowed result.
34549         * math/s_cexpf.c (__cexpf): Likewise.
34550         * math/s_cexpl.c (__cexpl): Likewise.
34551         * math/libm-test.inc (cexp_test): Add more tests.
34553 2013-04-03  Andreas Schwab  <schwab@suse.de>
34555         [BZ #15330]
34556         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34557         order arrays from heap if bigger than alloca cutoff.
34559 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34561         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34562         (SNAN_TESTS_double): Refer to GCC PR56831.
34563         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34564         GCC PR56828.
34566 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34568         * Rules (bench): Move bench.out after the run is complete.
34570         * Rules (bench): Echo currently running benchmark.
34572         * benchtests/Makefile (bench): Add atan and slowatan.
34573         * benchtests/atan-inputs: New file.
34574         * benchtests/slowatan-inputs: New file.
34575         * benchtests/slowatan.c: New file.
34577         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34578         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34579         its value.
34581         [BZ #15305]
34582         * sysdeps/unix/sysv/linux/kernel-features.h
34583         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34584         __ASSUME_XFS_RESTRICTED_CHOWN.
34585         * sysdeps/unix/sysv/linux/pathconf.c
34586         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34587         Save and restore errno.
34589 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34591         [BZ #15327]
34592         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34593         arguments using __kernel_casinh.
34594         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34595         arguments using __kernel_casinhf.
34596         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34597         arguments using __kernel_casinhl.
34598         * math/libm-test.inc (cacosh_test): Add more tests.
34599         * sysdeps/i386/fpu/libm-test-ulps: Update.
34600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34602 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34604         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34605         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34607         * bench/Makefile (bench): Add sin and slowsin.
34608         * benchtests/sin-inputs: New file.
34609         * benchtests/slowsin-inputs: New file.
34610         * benchtests/slowsin.c: New file.
34612         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34613         (bench): Add slowexp and slowpow.
34614         (exp-ITER): Increase iterations.
34615         (pow-ITER): Likewise.
34616         * benchtests/exp-inputs: Change input.
34617         * benchtests/pow-inputs: Likewise.
34618         * benchtests/slowexp-inputs: New file.
34619         * benchtests/slowexp.c: New file.
34620         * benchtests/slowpow-inputs: New file.
34621         * benchtests/slowpow.c: New file.
34623 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34625         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34626         instructions.
34627         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34628         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34629         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34630         * benchtests/Makefile: Add rint benchtest.
34631         * benchtests/rint-inputs: Input for rint benchtest.
34633 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34635         * Versions.def (libm): Add GLIBC_2.18.
34636         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34637         hidden libm prototypes.
34638         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34639         * math/Makefile (libm-calls): Add s_issignaling.
34640         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34641         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34642         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34643         declaration.
34644         * math/math.h [__USE_GNU] (issignaling): New macro.
34645         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34646         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34647         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34648         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34649         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34650         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34651         * manual/arith.texi (issignaling): New section.
34652         * manual/libm-err-tab.pl (@all_functions): Update comment.
34653         * math/gen-libm-test.pl (parse_args): Apply special handling for
34654         issignaling.
34655         * math/libm-test.inc (print_float, issignaling_test): New
34656         functions.
34657         (check_float_internal): Add issignaling checks.
34658         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34659         default definition.
34660         * sysdeps/powerpc/math-tests.h: New file.
34661         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34662         tests.
34663         * math/test-snan.c (TEST_FUNC): Likewise.
34665 2013-03-30  David S. Miller  <davem@davemloft.net>
34667         * po/de.po: Update from translation team.
34669 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34671         [BZ #10357]
34672         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34673         imaginary part less than 1.0 and real part less than 0.5
34674         specially.
34675         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34676         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34677         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34678         (cacos_test): Add more tests.
34679         (casin_test): Likewise.
34680         (casinh_test): Likewise.
34681         * sysdeps/i386/fpu/libm-test-ulps: Update.
34682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34684 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34686         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34687         ONE with its value.
34689         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34690         (__pow_mp): Replace ONE and MONE with their values.
34691         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34692         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34693         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34694         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34695         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34696         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34698         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34700         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34701         (__pow_mp): Replace ZERO and MZERO with their values.
34702         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34703         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34704         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34705         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34706         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34707         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34708         (__sqr): Likewise.
34710         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34712         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34714 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34716         * include/stdlib.h [!SHARED] (__call_tls_dtors):
34717         Declare with __attribute__ ((weak)).
34718         * stdlib/exit.c (__libc_atexit) [!SHARED]:
34719         Call __call_tls_dtors only if it's not NULL.
34721 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34723         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34724         didn't do it already, then set _dl_phdr and _dl_phnum based on the
34725         magic __ehdr_start linker symbol if it's defined.
34726         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34727         them up here if it was already done.
34729         * elf/dl-support.c (_dl_phdr): Make pointer to const.
34730         (_dl_aux_init): Use const in cast when setting it.
34731         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34732         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34733         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34735         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34736         Declare them here.
34737         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34738         * csu/libc-tls.c: Nor here.
34739         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34741         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34742         (__libc_message): Never call vsyslog.
34744 2013-03-28  Alan Modra  <amodra@gmail.com>
34746         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34747         Define as empty.
34748         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34749         Likewise.
34751 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34753         [BZ #15214]
34754         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34755         underflow.
34756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34758 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34760         [BZ #15304]
34761         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34762         Don't add gid passed as argument.
34764         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34766 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
34768         [BZ #15307]
34769         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34770         imaginary part between 1.0 and 1.5 and real part less than 0.5
34771         specially.
34772         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34773         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34774         * math/libm-test.inc (cacos_test): Add more tests.
34775         (casin_test): Likewise.
34776         (casinh_test): Likewise.
34777         * sysdeps/i386/fpu/libm-test-ulps: Update.
34778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34780 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34782         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34783         constants.
34784         (norm): Likewise.
34785         (denorm): Likewise.
34786         (__dbl_mp): Likewise.
34787         (add_magnitudes): Likewise.
34788         (sub_magnitudes): Likewise.
34789         (__add): Likewise.
34790         (__sub): Likewise.
34791         (__mul): Likewise.
34792         (__sqr): Likewise.
34793         (__inv): Likewise.
34794         (__dvd): Likewise.
34796         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34797         commented code.
34798         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34799         (__dubcos): Likewise.
34800         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34801         (__ieee754_acos): Likewise.
34802         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34803         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34804         (__exp1): Likewise.
34805         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34806         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34807         (log1): Likewise.
34808         (my_log2): Likewise.
34809         (checkint): Likewise.
34810         * sysdeps/ieee754/dbl-64/e_remainder.c
34811         (__ieee754_remainder): Likewise.
34812         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34813         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34814         (bsloww): Likewise.
34815         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34817         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34818         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34819         MANTISSA_STORE_T to store computations on mantissa.  Use
34820         macros for rounding and division.
34821         (denorm): Likewise.
34822         (__dbl_mp): Likewise.
34823         (add_magnitudes): Likewise.
34824         (sub_magnitudes): Likewise.
34825         (__mul): Likewise.
34826         (__sqr): Likewise.
34827         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34828         powers of two in terms of TWOPOW macro.
34829         (mp_no): Make type of mantissa as MANTISSA_T.
34830         [!RADIXI]: Define RADIXI.
34831         [!TWO52]: Define TWO52.
34832         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34834 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34836         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34837         llroundl symbol when building for PPC32.
34839 2013-03-24  Mark H Weaver  <mhw@netris.org>
34841         * manual/arith.texi (Normalization Functions): Fix prototypes for
34842         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34844 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34846         [BZ #13889]
34847         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34848         high value to check if expl overflow.
34849         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34850         to check for underflow and overflow.
34851         * math/libm-test.inc: Add exp test.
34853 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
34855         [BZ #11120]
34856         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34857         with NOT_IN_libc.
34859 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34861         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34862         symbol.
34864 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34866         * math/gen-libm-test.pl (parse_args, special_functions): Properly
34867         wrap blocks consisting of several statements.
34869         * sysdeps/generic/math-tests.h: New file.
34870         * sysdeps/i386/fpu/math-tests.h: Likewise.
34871         * math/test-snan.c: Include it.
34872         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34874 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34876         [BZ #15285]
34877         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34878         (__ieee754_j0l): Do not improve calculations using cos of twice
34879         input for inputs above LDBL_MAX / 2.0L.
34880         (__ieee754_y0l): Likewise.
34881         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34882         (__ieee754_j1l): Do not improve calculations using cos of twice
34883         input for inputs above LDBL_MAX / 2.0L.
34884         (__ieee754_y1l): Likewise.
34885         * math/libm-test.inc (j0_test): Add another test.
34886         (j1_test): Likewise.
34887         (y0_test): Likewise.
34888         (y1_test): Likewise.
34889         * sysdeps/i386/fpu/libm-test-ulps: Update.
34891 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34893         * Rules ($(objpfx)bench-%.c): Include code from a C source
34894         file.
34896 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34898         [BZ #15287]
34899         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34900         imaginary part 1.0 and real part less than 0.5 specially.
34901         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34902         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34903         * math/libm-test.inc (cacos_test): Add more tests.
34904         (casin_test): Likewise.
34905         (casinh_test): Likewise.
34906         * sysdeps/i386/fpu/libm-test-ulps: Update.
34907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34909 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34911         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34912         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34914 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
34916         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34917         * config.make.in (config-cflags-sse4): Remove variable.
34918         (config-cflags-avx): Likewise.
34919         (config-cflags-sse2avx): Likewise.
34920         (config-cflags-novzeroupper): Likewise.
34921         (config-asflags-i686): Likewise.
34922         (have-mfma4): Likewise.
34923         (have-as-vis3): Likewise.
34924         (MIG): Likewise.
34925         * configure.in (MIG): Do not AC_SUBST.
34926         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34927         (libc_cv_cc_sse4): Do not AC_SUBST.
34928         (libc_cv_cc_avx): Likewise.
34929         (libc_cv_cc_sse2avx): Likewise.
34930         (libc_cv_cc_novzeroupper): Likewise.
34931         (libc_cv_cc_fma4): Likewise.
34932         (libc_cv_as_i686): Likewise.
34933         (libc_cv_sparc_as_vis3): Likewise.
34934         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34935         LIBC_CONFIG_VAR.
34936         (config-asflags-i686): Likewise.
34937         (config-cflags-avx): Likewise.
34938         (config-cflags-sse2avx): Likewise.
34939         (have-mfma4): Likewise.
34940         (config-cflags-novzeroupper): Likewise.
34941         * sysdeps/mach/configure.in (MIG): Likewise.
34942         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34943         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34944         LIBC_CONFIG_VAR.
34945         (config-cflags-avx): Likewise.
34946         (config-cflags-sse2avx): Likewise.
34947         (have-mfma4): Likewise.
34948         (config-cflags-novzeroupper): Likewise.
34949         * configure: Regenerated.
34950         * sysdeps/i386/configure: Likewise.
34951         * sysdeps/mach/configure: Likewise.
34952         * sysdeps/sparc/configure: Likewise.
34953         * sysdeps/x86_64/configure: Likewise.
34955 2013-03-20  Roland McGrath  <roland@hack.frob.com>
34957         [BZ #14812]
34958         * locale/programs/localedef.c (options): Put N_ translation marker
34959         on argument names, not just descriptions.
34961 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34963         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34965 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
34967         [BZ #14176]
34968         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34970 2013-03-19  Roland McGrath  <roland@hack.frob.com>
34972         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34973         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34974         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34975         [!BEFORE_ABORT] (before_abort): New function.
34976         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34977         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34978         (writev_for_fatal): New function.
34979         (WRITEV_FOR_FATAL): New macro; call that.
34980         (backtrace_and_maps): New function.
34981         (BEFORE_ABORT): New macro; call that.
34982         (struct str_list): Type removed.
34983         (__libc_message, __libc_fatal): Functions removed.
34984         Include <sysdeps/posix/libc_fatal.c> instead.
34986 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
34988         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34989         constants.
34990         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34991         double constants.
34993 2013-03-19  Andreas Schwab  <schwab@suse.de>
34995         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34996         * sysdeps/gnu/configure: Regenerate.
34998         * configure.in: Substitute libc_cv_rtlddir.
34999         * configure: Regenerate.
35000         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35001         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35002         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35003         * elf/Makefile (install-others, CFLAGS-interp.c)
35004         (ldso_install, common-ldd-rewrite): Likewise.
35005         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35006         $(inst_slibdir)/$(rtld-installed-name).
35007         * scripts/rellns-sh: Add -p option.
35008         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35009         for source.
35011 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35013         * manual/nptl.texi: Renamed to ...
35014         * manual/threads.texi: ... this.
35015         * manual/Makefile (chapters): Update.
35017 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35019         [BZ #14812]
35020         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35021         on argument names, not just descriptions.
35022         * malloc/memusagestat.c (options): Likewise.
35023         * nss/getent.c (options): Likewise.
35025 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35027         [BZ #14812]
35028         * iconv/iconv_prog.c (options): Put N_ translation marker
35029         on argument names, not just descriptions.
35030         * iconv/iconvconfig.c (options): Likewise.
35032 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35034         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35035         implementation which is faster on all x86_64 architectures.
35036         Tested on AMD, Intel Nehalem, SNB, IVB.
35037         * sysdeps/x86_64/strnlen.S: Likewise.
35039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35040         Remove all multiarch strlen and strnlen versions.
35041         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35042         Remove strlen and strnlen related parts.
35044         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35045         Inline strlen part.
35046         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35048         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35049         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35050         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35051         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35052         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35053         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35055 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35057         * manual/memory.texi (Malloc Tunable Parameters):
35058         Sort parameters alphabetically. Add comments for missing entries.
35060 2013-03-17  David S. Miller  <davem@davemloft.net>
35062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35064 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35066         [BZ #15283]
35067         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35068         for arguments at most half maximum finite value.
35069         * math/libm-test.inc (j0_test): Add more tests.
35070         (j1_test): Likewise.
35071         (y0_test): Likewise.
35072         (y1_test): Likewise.
35073         * sysdeps/i386/fpu/libm-test-ulps: Update.
35074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35076         [BZ #14155]
35077         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35078         1 / x and functions P and Q for arguments above 0x1p256L.
35079         (__ieee754_y0l): Likewise.
35080         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35081         (__ieee754_y1l): Likewise.
35082         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35083         (j1_test): Likewise.
35084         (y0_test): Likewise.
35085         (y1_test): Likewise.
35087 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35089         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35090         variable.
35092 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35094         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35095         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35096         zero since it's initialized to EXEC_PAGESIZE.
35098         * sysdeps/unix/sysv/linux/ldsodefs.h
35099         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35100         * sysdeps/generic/ldsodefs.h: ... here.
35102 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35104         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35106         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35107         math/test-snan.c.
35108         * math/test-snan.c: Renamed from
35109         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35110         * math/Makefile (tests): Add test-snan.
35111         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35112         test-powerpc-snan.
35114         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35115         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35116         functions.
35117         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35118         __builtin_nan family of functions.
35119         * math/libm-test.inc (initialize): Initialize qnan_value with
35120         __builtin_nan family of functions.
35121         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35122         Remove variables.
35123         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35124         Remove functions.
35125         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35126         storage class.  Initialize qNaN_var and sNaN_var with
35127         __builtin_nan and __builtin_nans families of functions,
35128         respectively.
35130         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35131         (sqrt_test): Remove duplicate test with qNaN input.
35132         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35133         (round_test, signbit_test, significand_test): Note missing +/-Inf
35134         as well as qNaN tests.
35136         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35137         qNaN_var.  Fix a few strings, too.
35138         * math/libm-test.inc (nan_value): Rename to qnan_value.
35139         * math/gen-libm-test.pl (%beautify): Adjust to that.
35140         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35141         * math/test-misc.c (main): Likewise.
35142         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35143         to __qnan_bytes, and __qnan_union, respectively.
35144         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35145         Likewise.
35146         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35147         and lqnanval, respectively.
35148         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35149         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35150         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35151         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35153         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35154         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35155         doubles.
35157         * math/test-misc.c (main): Fix copy'n'pastos.
35158         * misc/tst-efgcvt.c (special): Likewise.
35160         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35161         Remove declarations.
35163 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35165         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35166         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35167         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35168         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35170 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35172         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35173         macro to return vdso values correctly in IFUNC implementations.
35174         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35175         Optimization by using IFUNC.
35177 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35178             Richard Henderson  <rth@redhat.com>
35179             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35181         * Makefile.in (bench): New target.
35182         * NEWS: Mention the benchmark framework.
35183         * Rules (bench): Likewise.
35184         (binaries-bench): Generate binaries for functions to
35185         benchmark.
35186         * benchtests/Makefile: New makefile for benchmark tests.
35187         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35188         programs.
35189         * benchtests/exp-inputs: New input file for EXP function.
35190         * benchtests/pow-inputs: New input file for POW function.
35191         * scripts/bench.pl: New script to generate source files for
35192         benchmark programs.
35194 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35196         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35197         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35198         computations on mantissa.  Use macros for rounding and
35199         division.
35200         (denorm): Likewise.
35201         (__dbl_mp): Likewise.
35202         (add_magnitudes): Likewise.
35203         (sub_magnitudes): Likewise.
35204         (__mul): Likewise.
35205         (__sqr): Likewise.
35206         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35207         powers of two in terms of TWOPOW macro.
35208         (mp_no): Make type of mantissa as MANTISSA_T.
35209         [!RADIXI]: Define RADIXI.
35210         [!TWO52]: Define TWO52.
35211         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35213         * manual/nptl.texi (cindex): Modify threads to pthreads.
35215 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35217         * sysdeps/x86_64/preconfigure: Regenerated.
35219 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35221         [BZ #14155]
35222         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35223         0x1p28 and above.
35224         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35225         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35226         0x1p28 and above.
35227         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35228         * math/libm-test.inc (j0_test): Do not allow one spurious
35229         underflow exception.
35230         (y1_test): Likewise.
35232 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35234         * manual/Makefile (chapters): Add nptl.
35235         * manual/debug.texi (Debugging Support): Add link to Threads
35236         chapter.
35237         * manual/nptl.texi: New file.
35239         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35241 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35243         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35244         for non-NULL pointer before the memory validity test. Pointed
35245         out by Holger Brunck <holger.brunck@keymile.com>.
35247 2013-03-13  Andreas Schwab  <schwab@suse.de>
35249         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35250         instead of .os.
35252 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35254         * timezone/zic.c: Update from tzcode 2013b.
35256 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35258         * manual/install.texi (Configuring and compiling):
35259         Mention i686 and i586.
35260         * INSTALL: Regenerate.
35262 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35264         * sysdeps/init_array/elf-init.c: New file.
35265         * csu/elf-init.c
35266         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35267         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35269         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35270         __gmon_start__ as global, but as static with a .preinit_array pointer.
35271         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35272         * sysdeps/init_array/crti.S: New file, empty except for comments.
35273         * sysdeps/init_array/crtn.S: Likewise.
35275 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35277         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35278         definining bcopy.
35279         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35280         Remove Prefer_SSE_for_memop.
35281         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35282         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35283         HAS_PREFER_SSE_FOR_MEMOP.
35284         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35285         memset-x86-64.
35286         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35287         Remove bzero, memset ifunc support.
35288         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35289         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35290         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35291         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35293 2013-03-11  Andreas Schwab  <schwab@suse.de>
35295         [BZ #15234]
35296         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35297         by SHLIB_COMPAT.
35298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35299         (GLIBC_2.16): Remove pthread_atfork.
35301 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35303         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35304         (ptestcases.h): Likewise.
35306 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35308         * Makeconfig ($(common-objpfx)config.status): Depend on
35309         sysdeps/*/preconfigure{,.in} too.
35311 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35313         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35314         (__free_hook): Use void * instead of __malloc_ptr_t.
35315         (__malloc_hook): Likewise.
35316         (__realloc_hook): Likewise.
35317         (__memalign_hook): Likewise.
35318         (__after_morecore_hook): Likewise.
35319         * malloc/arena.c (save_malloc_hook): Likewise.
35320         (save_free_hook): Likewise.
35321         * malloc/hooks.c (malloc_hook_ini): Likewise.
35322         (realloc_hook_ini): Likewise.
35323         (memalign_hook_ini): Likewise.
35324         * malloc/malloc.c (malloc_hook_ini): Likewise.
35325         (realloc_hook_ini): Likewise.
35326         (memalign_hook_ini): Likewise.
35327         (__free_hook): Likewise.
35328         (__malloc_hook): Likewise.
35329         (__realloc_hook): Likewise.
35330         (__memalign_hook): Likewise.
35331         (__libc_malloc): Likewise.
35332         (__libc_free): Likewise.
35333         (__libc_realloc): Likewise.
35334         (__libc_memalign): Likewise.
35335         (__libc_valloc): Likewise.
35336         (__libc_pvalloc): Likewise.
35337         (__libc_calloc): Likewise.
35338         (__posix_memalign): Likewise.
35339         * malloc/morecore.c (__sbrk): Likewise.
35340         (__default_morecore): Likewise.
35342         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35344         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35345         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35346         __malloc_ptrdiff_t.
35348         * malloc/malloc.h (__malloc_size_t): Remove macro.
35349         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35350         __malloc_size_t.
35351         (old_memalign_hook): Likewise.
35352         (old_realloc_hook): Likewise.
35353         (struct hdr): Likewise.
35354         (flood): Likewise.
35355         (mallochook): Likewise.
35356         (memalignhook): Likewise.
35357         (reallochook): Likewise.
35358         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35359         (tr_old_realloc_hook): Likewise.
35360         (tr_old_memalign_hook): Likewise.
35361         (tr_mallochook): Likewise.
35362         (tr_reallochook): Likewise.
35363         (tr_memalignhook): Likewise.
35365 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35367         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35368         default_ldbl_pack and using as default implementation.
35369         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35370         implementation.
35371         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35372         redundant definition.
35373         (ldbl_insert_mantissa): Likewise.
35374         (ldbl_canonicalize): Likewise.
35375         (ldbl_nearbyint): Likewise.
35376         (ldbl_pack): Rename to ldbl_pack_ppc.
35377         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35378         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35379         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35381 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35383         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35384         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35385         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35386         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35387         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35388         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35389         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35390         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35392 2013-03-07  Andreas Jaeger  <aj@suse.de>
35394         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35395         bits/mman-linux.h.
35397 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35399         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35400         Include mpa.h and declare __MPEXP.
35401         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35402         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35403         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35404         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35405         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35406         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35407         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35409         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35410         (__slowpow): Use long double EXPL and LOGL functions to
35411         compute POW.
35412         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35413         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35414         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35415         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35416         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35417         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35419         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35420         intermediate variable to calculate exponent.
35421         (__sqr): Likewise.
35422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35423         Likewise.
35424         (__sqr): Likewise.
35426         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35427         [!NO__SQR]: Define __sqr.
35428         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35429         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35430         sysdeps/ieee754/dbl-64/mpa.c.
35431         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35433         [BZ #12723]
35434         * posix/Makefile (tests): Add tst-pathconf.
35435         * posix/tst-pathconf.c: New test case.
35436         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35437         _PC_PIPE_BUF.
35438         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35440 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35442         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35444 2013-03-06  Andreas Jaeger  <aj@suse.de>
35446         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35447         definition via __MAP_ANONYMOUS.
35449         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35450         it's not part of Linux headers.
35452         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35453         (MAP_HUGE_MASK): Define.
35455         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35456         Define.
35457         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35458         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35459         Define.
35460         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35461         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35462         Define.
35463         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35464         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35465         Define.
35466         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35468         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35469         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35470         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35471         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35472         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35473         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35475         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35476         Handle f2fs.
35478         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35479         Handle f2fs and efivarfs.
35481         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35482         f2fs.
35484         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35485         (EFIVARFS_MAGIC): Add.
35486         (F2FS_LINK_MAX): Add.
35488 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35490         * stdio-common/vfprintf.c: Replace __builtin_expect with
35491         __glibc_unlikely.
35493 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35495         [BZ #13550]
35496         * sysdeps/generic/bp-sym.h: Remove file.
35497         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35498         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35499         <bp-sym.h> and <bp-asm.h>.
35500         (__longjmp): Don't use BP_SYM.
35501         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35502         and <bp-asm.h>.
35503         (memcpy): Don't use BP_SYM.
35504         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35505         <bp-sym.h> and <bp-asm.h>.
35506         (memcpy): Don't use BP_SYM.
35507         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35508         <bp-asm.h>.
35509         (memcpy): Don't use BP_SYM.
35510         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35511         <bp-asm.h>.
35512         (memset): Don't use BP_SYM.
35513         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35514         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35515         (__bzero): Don't use BP_SYM.
35516         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35517         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35518         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35519         <bp-sym.h> and <bp-asm.h>.
35520         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35521         pointers.
35522         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35523         <bp-sym.h> and <bp-asm.h>.
35524         (memcpy): Don't use BP_SYM.
35525         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35526         <bp-sym.h> and <bp-asm.h>.
35527         (memset): Don't use BP_SYM.
35528         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35529         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35530         (__bzero): Don't use BP_SYM.
35531         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35532         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35533         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35534         <bp-sym.h> and <bp-asm.h>.
35535         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35536         pointers.
35537         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35538         <bp-sym.h> and <bp-asm.h>.
35539         (memcpy): Don't use BP_SYM.
35540         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35541         <bp-sym.h> and <bp-asm.h>.
35542         (memset): Don't use BP_SYM.
35543         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35544         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35545         (__bzero): Don't use BP_SYM.
35546         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35547         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35548         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35549         <bp-sym.h> and <bp-asm.h>.
35550         (__memchr): Don't use BP_SYM.
35551         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35552         <bp-sym.h> and <bp-asm.h>.
35553         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35554         pointers.
35555         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35556         <bp-sym.h> and <bp-asm.h>.
35557         (memcpy): Don't use BP_SYM.
35558         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35559         <bp-sym.h> and <bp-asm.h>.
35560         (__mempcpy): Don't use BP_SYM.
35561         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35562         <bp-sym.h> and <bp-asm.h>.
35563         (__memrchr): Don't use BP_SYM.
35564         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35565         <bp-sym.h> and <bp-asm.h>.
35566         (memset): Don't use BP_SYM.
35567         (__bzero): Likewise.
35568         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35569         <bp-sym.h> and <bp-asm.h>.
35570         (__rawmemchr): Don't use BP_SYM.
35571         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35572         <bp-sym.h> and <bp-asm.h>.
35573         (__STRCMP): Don't use BP_SYM.
35574         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35575         <bp-sym.h> and <bp-asm.h>.
35576         (strchr): Don't use BP_SYM.
35577         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35578         <bp-sym.h> and <bp-asm.h>.
35579         (__strchrnul): Don't use BP_SYM.
35580         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35581         <bp-sym.h> and <bp-asm.h>.
35582         (strlen): Don't use BP_SYM.
35583         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35584         <bp-sym.h> and <bp-asm.h>.
35585         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35586         pointers.
35587         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35588         <bp-sym.h> and <bp-asm.h>.
35589         (__strnlen): Don't use BP_SYM.
35590         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35591         <bp-sym.h> and <bp-asm.h>.
35592         (__GI__setjmp): Don't use BP_SYM.
35593         (_setjmp): Likewise.
35594         (__sigsetjmp): Likewise.
35595         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35596         (L(start_addresses)): Don't use BP_SYM.
35597         (_start): Likewise.
35598         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35599         <bp-asm.h>.
35600         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35601         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35602         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35603         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35604         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35605         <bp-asm.h>.
35606         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35607         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35608         about bounded pointers.
35609         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35610         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35611         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35612         <bp-asm.h>.
35613         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35614         about bounded pointers.  Remove GKM FIXME comments.
35615         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35616         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35617         <bp-asm.h>.
35618         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35619         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35620         Remove GKM FIXME comments.
35621         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35622         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35623         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35624         <bp-asm.h>.
35625         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35626         about bounded pointers.  Remove GKM FIXME comment.
35627         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35628         and <bp-asm.h>.
35629         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35630         pointers.
35631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35632         <bp-sym.h> and <bp-asm.h>.
35633         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35635         <bp-sym.h> and <bp-asm.h>.
35636         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35637         comment.
35639 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35641         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35642         call free(NULL).
35644 2013-03-05  David S. Miller  <davem@davemloft.net>
35646         * po/es.po: Update from translation team.
35648 2013-03-05  Andreas Jaeger  <aj@suse.de>
35650         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35651         <bits/mman-linux.h>.
35652         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35653         is fine.
35654         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35655         <bits/mman-linux.h> to end of file.
35656         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35657         is fine.
35658         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35659         <bits/mman-linux.h> to end of file.
35660         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35661         is fine.
35662         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35663         <bits/mman-linux.h> to end of file.
35665         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35666         (MCL_CURRENT, MCL_FUTURE): Define here.
35668 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35670         [BZ #15232]
35671         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35672         attribute_hidden.
35673         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35675 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35677         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35678         fourth parameter needed for rt_sigprocmask syscall.
35679         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35680         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35681         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35682         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35683         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35684         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35686 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
35688         [BZ #13550]
35689         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35690         comment about bounded pointers.
35691         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35692         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35694 2013-03-04  Andreas Jaeger  <aj@suse.de>
35696         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35697         common definitions.
35699         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35700         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35701         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35702         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35703         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35704         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35706 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35708         [BZ #15055]
35709         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35710         __ieee754_sqrl instead of __sqrl.
35712 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
35714         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35715         * sysdeps/powerpc/fpu_control.h: ... here.
35716         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35717         * sysdeps/powerpc/bits/fenvinline.h: ... here.
35718         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35719         * sysdeps/powerpc/bits/mathinline.h: ... here.
35721 2013-03-01  Roland McGrath  <roland@hack.frob.com>
35723         * elf/dl-hwcaps.c (_dl_important_hwcaps):
35724         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35725         to just [NEED_DL_SYSINFO_DSO].
35726         * elf/dl-support.c: Likewise.
35727         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35728         * elf/rtld.c (dl_main): Likewise.
35729         * elf/setup-vdso.h (setup_vdso): Likewise.
35730         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35731         * sysdeps/unix/sysv/linux/dl-sysdep.c
35732         (_dl_discover_osversion): Likewise.
35734 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
35736         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35737         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35739 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35741         * NEWS: Mention libm performance improvements and non-x86 PI
35742         futex support.
35744         * csu/libc-start.c (__pthread_initialize_minimal): Change
35745         function arguments.
35746         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35748 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
35750         [BZ #13550]
35751         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35752         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35753         <bp-sym.h> and <bp-asm.h>.
35754         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35755         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35756         and <bp-asm.h>.
35757         (memcpy): Don't use BP_SYM.
35758         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35759         <bp-asm.h>.
35760         (__mpn_add_n): Don't use BP_SYM.
35761         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35762         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35763         and <bp-asm.h>.
35764         (__mpn_addmul_1): Don't use BP_SYM.
35765         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35766         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35767         <bp-sym.h>.
35768         (_setjmp): Don't use BP_SYM.
35769         (__novmx_setjmp): Likewise.
35770         (__GI__setjmp): Likewise.
35771         (__vmx_setjmp): Likewise.
35772         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35773         <bp-sym.h>.
35774         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35775         (__bzero): Don't use BP_SYM.
35776         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35777         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35778         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35779         <bp-sym.h> and <bp-asm.h>.
35780         (memcpy): Don't use BP_SYM.
35781         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35782         <bp-sym.h> and <bp-asm.h>.
35783         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35784         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35785         <bp-sym.h> and <bp-asm.h>.
35786         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35787         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35788         <bp-asm.h>.
35789         (__mpn_lshift): Don't use BP_SYM.
35790         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35791         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35792         <bp-asm.h>.
35793         (memset): Don't use BP_SYM.
35794         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35795         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35796         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35797         <bp-asm.h>.
35798         (__mpn_mul_1): Don't use BP_SYM.
35799         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35800         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35801         <bp-sym.h> and <bp-asm.h>.
35802         (memcmp): Don't use BP_SYM.
35803         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35804         <bp-sym.h> and <bp-asm.h>.
35805         (memcpy): Don't use BP_SYM.
35806         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35807         <bp-sym.h> and <bp-asm.h>.
35808         (memset): Don't use BP_SYM.
35809         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35810         <bp-sym.h> and <bp-asm.h>.
35811         (strncmp): Don't use BP_SYM.
35812         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35813         <bp-sym.h> and <bp-asm.h>.
35814         (memcpy): Don't use BP_SYM.
35815         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35816         <bp-sym.h> and <bp-asm.h>.
35817         (memset): Don't use BP_SYM.
35818         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35819         <bp-sym.h> and <bp-asm.h>.
35820         (__memchr): Don't use BP_SYM.
35821         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35822         <bp-sym.h> and <bp-asm.h>.
35823         (memcmp): Don't use BP_SYM.
35824         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35825         <bp-sym.h> and <bp-asm.h>.
35826         (memcpy): Don't use BP_SYM.
35827         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35828         <bp-sym.h> and <bp-asm.h>.
35829         (__mempcpy): Don't use BP_SYM.
35830         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35831         <bp-sym.h> and <bp-asm.h>.
35832         (__memrchr): Don't use BP_SYM.
35833         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35834         <bp-sym.h> and <bp-asm.h>.
35835         (memset): Don't use BP_SYM.
35836         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35837         <bp-sym.h> and <bp-asm.h>.
35838         (__rawmemchr): Don't use BP_SYM.
35839         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35840         <bp-sym.h> and <bp-asm.h>.
35841         (__STRCMP): Don't use BP_SYM.
35842         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35843         <bp-sym.h> and <bp-asm.h>.
35844         (strchr): Don't use BP_SYM.
35845         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35846         <bp-sym.h> and <bp-asm.h>.
35847         (__strchrnul): Don't use BP_SYM.
35848         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35849         <bp-sym.h> and <bp-asm.h>.
35850         (strlen): Don't use BP_SYM.
35851         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35852         <bp-sym.h> and <bp-asm.h>.
35853         (strncmp): Don't use BP_SYM.
35854         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35855         <bp-sym.h> and <bp-asm.h>.
35856         (__strnlen): Don't use BP_SYM.
35857         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35858         <bp-asm.h>.
35859         (__mpn_rshift): Don't use BP_SYM.
35860         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35861         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35862         <bp-sym.h> and <bp-asm.h>.
35863         (__sigsetjmp): Don't use BP_SYM.
35864         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35865         (L(start_addresses)): Don't use BP_SYM.
35866         (_start): Likewise.
35867         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35868         <bp-asm.h>.
35869         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35870         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35871         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35872         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35873         <bp-asm.h>.
35874         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35875         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35876         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35877         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35878         <bp-asm.h>.
35879         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35880         comments.
35881         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35882         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35883         <bp-asm.h>.
35884         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
35885         FIXME comments.
35886         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35887         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35888         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35889         <bp-asm.h>.
35890         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35891         comment.
35892         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35893         and <bp-asm.h>.
35894         (strncmp): Don't use BP_SYM,
35895         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35896         <bp-asm.h>.
35897         (__mpn_sub_n): Don't use BP_SYM.
35898         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35899         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35900         and <bp-asm.h>.
35901         (__mpn_submul_1): Don't use BP_SYM.
35902         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35904         <bp-sym.h> and <bp-asm.h>.
35905         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35907         <bp-sym.h> and <bp-asm.h>.
35908         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35909         comment.
35911 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35914         Use ZK to minimize writes to Z.
35915         (sub_magnitudes): Simplify code a bit.
35916         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35917         Use ZK to minimize writes to Z.
35918         (sub_magnitudes): Simplify code a bit.
35920 2013-02-27  Roland McGrath  <roland@hack.frob.com>
35922         * csu/gmon-start.c: Add special exception to license text.
35924 2013-02-27  Richard Henderson  <rth@redhat.com>
35926         * scripts/config.guess: Update from config.git.
35927         * scripts/config.sub: Likewise.
35929 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35931         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35933         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35935         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35937         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35939         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35941 2013-02-26  Roland McGrath  <roland@hack.frob.com>
35943         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35944         [$(build-shared = yes].
35946 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35948         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35949         (__mul): Reduce iterations for calculating mantissa.
35951         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35952         MPTWO.
35953         (__mpranred): Likewise.
35955         [BZ #15160]
35956         * malloc/memusagestat.c (main): Draw graphs for heap and stack
35957         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35959 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
35961         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35962         Define __attribute__.
35964 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35966         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35967         unused.
35968         * posix/regex_internal.h (__attribute): Remove.
35969         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35970         (re_string_context_at): Likewise.
35971         (bitset_not): Use __attribute__ and mark function as possibly
35972         unused.
35973         (bitset_merge): Likewise.
35974         (bitset_mask): Likewise.
35975         (re_string_char_size_at): Likewise.
35976         (re_string_wchar_at): Likewise.
35977         (re_string_elem_size_at): Likewise.
35979 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35981         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35982         code.
35983         (cc32): Likewise.
35985         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35986         (__acr): Likewise.
35987         (__cpy): Likewise.
35988         (norm): Likewise.
35989         (denorm): Likewise.
35990         (__dbl_mp): Likewise.
35991         (add_magnitudes): Likewise.
35992         (sub_magnitudes): Likewise.
35993         (__mul): Likewise.
35994         (__inv): Likewise.
35996         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35997         style.
35999         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36000         style.
36002         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36003         code.
36005         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36006         up changes with default code.
36007         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36008         Likewise.
36010 2013-02-24  Allan McRae  <allan@archlinux.org>
36012         * manual/socket.texi (The Internet Namespace): Order menu items
36013         to match that in the file.
36015         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36016         node listing of the info page menu.
36018 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36020         [BZ #13550]
36021         * sysdeps/i386/bp-asm.h: Remove file.
36022         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36023         (PARMS): Do not use macros from bp-asm.h.
36024         (S1): Likewise.
36025         (S2): Likewise.
36026         (SIZE): Likewise.
36027         (__mpn_add_n): Do not use BP_SYM
36028         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36029         "bp-asm.h".
36030         (PARMS): Do not use macros from bp-asm.h.
36031         (S1): Likewise.
36032         (SIZE): Likewise.
36033         (__mpn_addmul_1): Do not use BP_SYM
36034         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36035         "bp-asm.h".
36036         (PARMS): Do not use macros from bp-asm.h.
36037         (SIGMSK): Likewise.
36038         (_setjmp): Likewise.  Do not use BP_SYM.
36039         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36040         "bp-asm.h".
36041         (PARMS): Do not use macros from bp-asm.h.
36042         (SIGMSK): Likewise.
36043         (setjmp): Likewise.  Do not use BP_SYM.
36044         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36045         "bp-asm.h".
36046         (PARMS): Do not use macros from bp-asm.h.
36047         (__frexp): Do not use BP_SYM.
36048         (frexp): Likewise.
36049         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36050         "bp-asm.h".
36051         (PARMS): Do not use macros from bp-asm.h.
36052         (__frexpf): Do not use BP_SYM.
36053         (frexpf): Likewise.
36054         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36055         "bp-asm.h".
36056         (PARMS): Do not use macros from bp-asm.h.
36057         (__frexpl): Do not use BP_SYM.
36058         (frexpl): Likewise.
36059         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36060         "bp-asm.h".
36061         (PARMS): Do not use macros from bp-asm.h.
36062         (__remquo): Do not use BP_SYM.
36063         (remquo): Likewise.
36064         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36065         "bp-asm.h".
36066         (PARMS): Do not use macros from bp-asm.h.
36067         (__remquof): Do not use BP_SYM.
36068         (remquof): Likewise.
36069         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36070         "bp-asm.h".
36071         (PARMS): Do not use macros from bp-asm.h.
36072         (__remquol): Do not use BP_SYM.
36073         (remquol): Likewise.
36074         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36075         "bp-asm.h".
36076         (PARMS): Do not use macros from bp-asm.h.
36077         (DEST): Likewise.
36078         (SRC): Likewise.
36079         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36080         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36081         "bp-asm.h".
36082         (PARMS): Do not use macros from bp-asm.h.
36083         (strlen): Do not use BP_SYM.
36084         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36085         "bp-asm.h".
36086         (PARMS): Do not use macros from bp-asm.h.
36087         (S1): Likewise.
36088         (S2): Likewise.
36089         (SIZE): Likewise.
36090         (__mpn_add_n): Do not use BP_SYM.
36091         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36092         "bp-asm.h".
36093         (PARMS): Do not use macros from bp-asm.h.
36094         (S1): Likewise.
36095         (SIZE): Likewise.
36096         (__mpn_addmul_1): Do not use BP_SYM.
36097         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36098         weak_alias.
36099         (bzero): Likewise.
36100         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36101         "bp-asm.h".
36102         (PARMS): Do not use macros from bp-asm.h.
36103         (S): Likewise.
36104         (SIZE): Likewise.
36105         (__mpn_lshift): Do not use BP_SYM.
36106         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36107         "bp-asm.h".
36108         (PARMS): Do not use macros from bp-asm.h.
36109         (DEST): Likewise.
36110         (SRC): Likewise.
36111         (LEN): Likewise.
36112         (memcpy): Likewise.  Do not use BP_SYM.
36113         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36114         libc_hidden_def and weak_alias.
36115         (mempcpy): Do not use BP_SYM in weak_alias.
36116         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36117         "bp-asm.h".
36118         (PARMS): Do not use macros from bp-asm.h.
36119         (DEST): Likewise.
36120         (LEN): Likewise.
36121         [!BZERO_P] (CHR): Likewise.
36122         (memset): Likewise.  Do not use BP_SYM.
36123         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36124         "bp-asm.h".
36125         (PARMS): Do not use macros from bp-asm.h.
36126         (S1): Likewise.
36127         (SIZE): Likewise.
36128         (__mpn_mul_1): Do not use BP_SYM.
36129         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36130         "bp-asm.h".
36131         (PARMS): Do not use macros from bp-asm.h.
36132         (S): Likewise.
36133         (SIZE): Likewise.
36134         (__mpn_rshift): Do not use BP_SYM.
36135         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36136         "bp-asm.h".
36137         (PARMS): Do not use macros from bp-asm.h.
36138         (STR): Likewise.
36139         (CHR): Likewise.
36140         (strchr): Likewise.  Do not use BP_SYM.
36141         (index): Do not use BP_SYM in weak_alias.
36142         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36143         "bp-asm.h".
36144         (PARMS): Do not use macros from bp-asm.h.
36145         (DEST): Likewise.
36146         (SRC): Likewise.
36147         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36148         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36149         "bp-asm.h".
36150         (PARMS): Do not use macros from bp-asm.h.
36151         (strlen): Do not use BP_SYM.
36152         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36153         "bp-asm.h".
36154         (PARMS): Do not use macros from bp-asm.h.
36155         (S1): Likewise.
36156         (S2): Likewise.
36157         (SIZE): Likewise.
36158         (__mpn_sub_n): Do not use BP_SYM.
36159         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36160         "bp-asm.h".
36161         (PARMS): Do not use macros from bp-asm.h.
36162         (S1): Likewise.
36163         (SIZE): Likewise.
36164         (__mpn_submul_1): Do not use BP_SYM.
36165         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36166         "bp-asm.h".
36167         (PARMS): Do not use macros from bp-asm.h.
36168         (S1): Likewise.
36169         (S2): Likewise.
36170         (SIZE): Likewise.
36171         (__mpn_add_n): Do not use BP_SYM.
36172         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36173         weak_alias.
36174         (bzero): Likewise.
36175         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36176         "bp-asm.h".
36177         (PARMS): Do not use macros from bp-asm.h.
36178         (BLK2): Likewise.
36179         (LEN): Likewise.
36180         (memcmp): Do not use BP_SYM.
36181         (bcmp): Do not use BP_SYM in weak_alias.
36182         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36183         "bp-asm.h".
36184         (PARMS): Do not use macros from bp-asm.h.
36185         (DEST): Likewise.
36186         (SRC): Likewise.
36187         (LEN): Likewise.
36188         (memcpy): Likewise.  Do not use BP_SYM.
36189         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36190         "bp-asm.h".
36191         (PARMS): Do not use macros from bp-asm.h.
36192         (DEST): Likewise.
36193         (SRC): Likewise.
36194         (LEN): Likewise.
36195         (memmove): Likewise.  Do not use BP_SYM.
36196         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36197         "bp-asm.h".
36198         (PARMS): Do not use macros from bp-asm.h.
36199         (DEST): Likewise.
36200         (SRC): Likewise.
36201         (LEN): Likewise.
36202         (__mempcpy): Likewise.  Do not use BP_SYM.
36203         (mempcpy): Do not use BP_SYM in weak_alias.
36204         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36205         "bp-asm.h".
36206         (PARMS): Do not use macros from bp-asm.h.
36207         (DEST): Likewise.
36208         (LEN): Likewise.
36209         [!BZERO_P] (CHR): Likewise.
36210         (memset): Likewise.  Do not use BP_SYM.
36211         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36212         "bp-asm.h".
36213         (PARMS): Do not use macros from bp-asm.h.
36214         (STR2): Likewise.
36215         (strcmp): Do not use BP_SYM.
36216         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36217         "bp-asm.h".
36218         (PARMS): Do not use macros from bp-asm.h.
36219         (STR): Likewise.
36220         (DELIM): Likewise.
36221         [USE_AS_STRTOK_R] (SAVE): Likewise.
36222         (FUNCTION): Likewise.  Do not use BP_SYM.
36223         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36224         aliases.
36225         (strtok_r): Likewise.
36226         (__GI___strtok_r): Likewise.
36227         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36228         (PARMS): Do not use macros from bp-asm.h.
36229         (S): Likewise.
36230         (SIZE): Likewise.
36231         (__mpn_lshift): Do not use BP_SYM.
36232         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36233         (PARMS): Do not use macros from bp-asm.h.
36234         (STR): Likewise.
36235         (CHR): Likewise.
36236         (__memchr): Do not use BP_SYM.
36237         (memchr): Do not use BP_SYM in weak_alias.
36238         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36239         (PARMS): Do not use macros from bp-asm.h.
36240         (BLK2): Likewise.
36241         (LEN): Likewise.
36242         (memcmp): Do not use BP_SYM.
36243         (bcmp): Do not use BP_SYM in weak_alias.
36244         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36245         (PARMS): Do not use macros from bp-asm.h.
36246         (S1): Likewise.
36247         (SIZE): Likewise.
36248         (__mpn_mul_1): Do not use BP_SYM.
36249         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36250         "bp-asm.h".
36251         (PARMS): Do not use macros from bp-asm.h.
36252         (STR): Likewise.
36253         (CHR): Likewise.
36254         (__rawmemchr): Do not use BP_SYM.
36255         (rawmemchr): Do not use BP_SYM in weak_alias.
36256         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36257         (PARMS): Do not use macros from bp-asm.h.
36258         (S): Likewise.
36259         (SIZE): Likewise.
36260         (__mpn_rshift): Do not use BP_SYM.
36261         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36262         (PARMS): Do not use macros from bp-asm.h.
36263         (SIGMSK): Likewise.
36264         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36265         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36266         (_start): Do not use BP_SYM.
36267         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36268         (PARMS): Do not use macros from bp-asm.h.
36269         (DEST): Likewise.
36270         (SRC): Likewise.
36271         (__stpcpy): Likewise.  Do not use BP_SYM.
36272         (stpcpy): Do not use BP_SYM in weak_alias.
36273         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36274         "bp-asm.h".
36275         (PARMS): Do not use macros from bp-asm.h.
36276         (DEST): Likewise.
36277         (SRC): Likewise.
36278         (LEN): Likewise.
36279         (__stpncpy): Likewise.  Do not use BP_SYM.
36280         (stpncpy): Do not use BP_SYM in weak_alias.
36281         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36282         (PARMS): Do not use macros from bp-asm.h.
36283         (STR): Likewise.
36284         (CHR): Likewise.
36285         (strchr): Likewise.  Do not use BP_SYM.
36286         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36287         "bp-asm.h".
36288         (PARMS): Do not use macros from bp-asm.h.
36289         (STR): Likewise.
36290         (CHR): Likewise.
36291         (__strchrnul): Likewise.  Do not use BP_SYM.
36292         (strchrnul): Do not use BP_SYM in weak_alias.
36293         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36294         "bp-asm.h".
36295         (PARMS): Do not use macros from bp-asm.h.
36296         (STOP): Likewise.
36297         (strcspn): Do not use BP_SYM.
36298         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36299         "bp-asm.h".
36300         (PARMS): Do not use macros from bp-asm.h.
36301         (STR): Likewise.
36302         (STOP): Likewise.
36303         (strpbrk): Likewise.  Do not use BP_SYM.
36304         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36305         "bp-asm.h".
36306         (PARMS): Do not use macros from bp-asm.h.
36307         (STR): Likewise.
36308         (CHR): Likewise.
36309         (strrchr): Likewise.  Do not use BP_SYM.
36310         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36311         (PARMS): Do not use macros from bp-asm.h.
36312         (SKIP): Likewise.
36313         (strspn): Do not use BP_SYM.
36314         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36315         (PARMS): Do not use macros from bp-asm.h.
36316         (STR): Likewise.
36317         (DELIM): Likewise.
36318         (SAVE): Likewise.
36319         (FUNCTION): Likewise.  Do not use BP_SYM.
36320         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36321         aliases.
36322         (strtok_r): Likewise.
36323         (__GI___strtok_r): Likewise.
36324         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36325         (PARMS): Do not use macros from bp-asm.h.
36326         (S1): Likewise.
36327         (S2): Likewise.
36328         (SIZE): Likewise.
36329         (__mpn_sub_n): Do not use BP_SYM.
36330         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36331         "bp-asm.h".
36332         (PARMS): Do not use macros from bp-asm.h.
36333         (S1): Likewise.
36334         (SIZE): Likewise.
36335         (__mpn_submul_1): Do not use BP_SYM.
36336         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36337         <bp-sym.h>.
36338         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36339         and <bp-asm.h>.
36340         (PARMS): Do not use macros from bp-asm.h.
36341         (FLAGS): Likewise.
36342         (PTID): Likewise.
36343         (TLS): Likewise.
36344         (CTID): Likewise.
36345         (__clone): Do not use BP_SYM.
36346         (clone): Do not use BP_SYM in weak_alias.
36347         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36348         and <bp-asm.h>.
36349         (PARMS): Do not use macros from bp-asm.h.
36350         (LEN): Likewise.
36351         (__mmap64): Do not use BP_SYM.
36352         (mmap64): Do not use BP_SYM in weak_alias.
36353         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36354         <bp-sym.h> and <bp-asm.h>.
36355         (PARMS): Do not use macros from bp-asm.h.
36356         (__posix_fadvise64_l64): Do not use BP_SYM.
36357         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36358         (PARMS): Do not use macros from bp-asm.h.
36359         (NSOPS): Likewise.
36360         (semtimedop): Do not use BP_SYM.
36361         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36362         and <bp-asm.h>.
36364 2013-02-21  Allan McRae  <allan@archlinux.org>
36366         * manual/message.texi (Charset conversion in gettext):
36367         Move @end statement to beginning of line.
36369 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36371         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36372         static.
36373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36374         Likewise.
36376         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36377         (denorm): Likewise.
36378         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36381 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36383         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36384         tail-call to the resolved function if pltexit isn't needed.
36386 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36388         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36389         or Y being zero as being unlikely.
36390         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36391         Likewise.
36393 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36395         * manual/nss.texi (System Databases and Name Service Switch):
36396         Remove frobnicate @pxref.
36398 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36400         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36401         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36403 2013-02-20  Petr Machata  <pmachata@redhat.com>
36405         * elf/elf.h (R_ARM_TARGET1): New macro.
36406         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36407         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36408         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36409         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36410         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36411         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36412         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36413         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36414         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36415         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36416         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36417         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36418         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36419         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36420         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36421         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36422         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36423         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36424         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36425         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36426         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36427         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36428         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36429         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36430         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36431         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36432         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36433         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36434         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36435         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36436         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36437         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36438         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36439         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36440         (R_ARM_THM_GOT_BREL12): Likewise.
36441         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36442         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36443         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36444         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36445         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36446         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36447         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36448         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36449         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36451 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36453         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36454         __attribute_used__ to __attribute__ ((unused)).
36456 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36458         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36459         powerpc mpa.c.
36460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36461         comment formatting.
36462         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36464 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36466         [BZ #13550]
36467         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36468         Remove macro.
36469         (ENTER): Remove both macro definitions.
36470         (LEAVE): Likewise.
36471         (CHECK_BOUNDS_LOW): Likewise.
36472         (CHECK_BOUNDS_HIGH): Likewise.
36473         (CHECK_BOUNDS_BOTH): Likewise.
36474         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36475         (RETURN_BOUNDED_POINTER): Likewise.
36476         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36477         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36478         (POP_ERRNO_LOCATION_RETURN): Likewise.
36479         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36480         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36481         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36482         macros.
36483         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36484         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36485         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36486         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36487         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36488         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36489         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36490         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36491         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36492         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36493         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36494         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36495         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36496         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36497         removed macros.
36498         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36499         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36500         macros.
36501         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36502         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36503         * sysdeps/i386/i586/memset.S (memset): Likewise.
36504         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36505         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36506         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36507         macros.
36508         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36509         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36510         Change uses of L(2) to L(out).
36511         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36512         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36513         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36514         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36515         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36516         removed macros.
36517         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36518         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36519         macros.
36520         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36521         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36522         (RETURN): Do not use macro LEAVE.
36523         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36524         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36525         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36526         * sysdeps/i386/i686/memset.S (memset): Likewise.
36527         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36528         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36529         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36530         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36531         Likewise.
36532         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36533         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36534         L(1_2) and L(1_3) into L(1).
36535         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36536         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36537         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36538         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36539         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36540         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36541         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36542         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36543         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36544         macros.
36545         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36546         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36547         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36548         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36549         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36550         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36551         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36552         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36553         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36554         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36555         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36556         * sysdeps/i386/strspn.S (strspn): Likewise.
36557         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36558         conditional code.
36559         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36560         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36561         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36562         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36563         L(1_3) into L(1_1).
36564         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36565         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36566         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36567         macros.
36568         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36570 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36572         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36573         macro.
36575 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36577         * math/atest-exp.c (exp_mpn): Remove ROUND.
36578         * math/atest-exp2.c (exp_mpn): Likewise.
36579         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36581         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36582         * stdlib/tst-tls-atexit-lib.c: Likewise.
36583         * stdlib/tst-tls-atexit.c: Likewise.
36585 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36587         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36588         and __attribute_alloc_size__.
36590 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36592         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36593         __attribute_alloc_size__.
36594         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36595         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36597 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36599         * include/programs/xmalloc.h: New file.
36600         * catgets/gencat.c: Include it.
36601         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36602         * elf/pldd.c: Likewise.
36603         * iconv/iconv_charmap.c: Likewise.
36604         * iconv/iconvconfig.c: Likewise.
36605         * iconv/strtab.c: Likewise.
36606         * locale/programs/locale.c: Likewise.
36607         * locale/programs/localedef.h: Likewise.
36608         * locale/programs/simple-hash.c: Likewise.
36609         * nscd/nscd.h: Likewise.
36610         * nss/makedb.c: Likewise.
36611         * sysdeps/generic/ldconfig.h: Likewise.
36613 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36615         * Versions.def: Add GLIBC_2.18.
36616         * include/link.h (struct link_map): New member l_tls_dtor_count.
36617         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36618         (__call_tls_dtors): Likewise.
36619         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36620         __cxa_thread_atexit_impl.
36621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36622         Likewise.
36623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36624         Likewise.
36625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36626         Likewise.
36627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36628         Likewise.
36629         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36631         Likewise.
36632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36633         Likewise.
36634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36636         Likewise.
36637         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36638         (tests): Add test case tst-tls-atexit.
36639         (modules-names): Add shared library for tst-tls-atexit.
36640         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36641         (GLIBC_PRIVATE): Add __call_tls_dtors.
36642         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36643         for libstdc++.
36644         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36645         * stdlib/tst-tls-atexit.c: New test case.
36646         * stdlib/tst-tls-atexit-lib.c: New test case.
36648         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36650         * elf/Versions (ld): Add _dl_find_dso_for_object.
36651         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36652         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36653         (dl_open_worker): Use _dl_find_dso_for_object.
36654         * elf/dl-sym.c (do_sym): Likewise.
36655         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36657 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36659         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36660         Syntactic changes only.
36661         (_dl_runtime_profile): Do a tail-call to the resolved function.
36663 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36665         [BZ #13550]
36666         * sysdeps/x86_64/bp-asm.h: Remove file.
36667         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36668         <bp-sym.h> and <bp-asm.h>.
36669         (__clone): Do not use BP_SYM.
36670         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36671         <bp-sym.h> and <bp-asm.h>.
36672         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36673         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36674         "bp-asm.h".
36675         (_setjmp): Do not use BP_SYM.
36676         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36677         "bp-asm.h".
36678         (setjmp): Do not use BP_SYM.
36679         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36680         libc_hidden_def.
36681         (mempcpy): Do not use BP_SYM in weak_alias.
36682         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36683         "bp-asm.h".
36684         (strchr): Do not use BP_SYM.
36685         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36686         "bp-asm.h".
36687         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36688         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36689         (_start): Do not use BP_SYM.
36690         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36691         "bp-asm.h".
36692         (strcat): Do not use BP_SYM.
36693         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36694         "bp-asm.h".
36695         (STRCMP): Do not use BP_SYM.
36696         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36697         "bp-asm.h".
36698         (STRCPY): Do not use BP_SYM.
36699         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36700         "bp-asm.h".
36701         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36702         "bp-asm.h".
36703         (FUNCTION): Do not use BP_SYM.
36704         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36705         weak_alias.
36706         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36708 2013-02-17  Andreas Jaeger  <aj@suse.de>
36710         * time/Versions: Sort entries.
36711         * string/Versions: Likewise.
36712         * resolv/Versions: Likewise.
36713         * posix/Versions: Likewise.
36714         * iconv/Versions: Likewise.
36715         * elf/Versions: Likewise.
36716         * wcsmbs/Versions: Likewise.
36718 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36720         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36721         loop termination condition.
36723         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36724         variable to calculate EZ.
36725         (__sqr): Likewise.
36727         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36728         the lower precision input.
36730 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
36732         [BZ #13550]
36733         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36734         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36735         (run-via-rtld-prefix): Do not handle %-bp tests.
36736         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36737         (all-object-suffixes): Remove .ob.
36738         (bppfx): Remove variable.
36739         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36740         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36741         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36742         [$(build-bounded) = yes] (libtype.ob): Likewise.
36743         * Makerules (elide-routines.ob): Remove variable.
36744         (do-tests-clean): Do not handle *-bp.out.
36745         (common-mostlyclean): Do not handle *-bp and *-bp.out.
36746         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36747         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36748         (tests): Do not include $(tests-bp.out).
36749         (xtests): Do not include $(xtests-bp.out).
36750         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36751         [$(build-bounded) = yes] ($(addprefix
36752         $(objpfx),$(binaries-bounded))): Remove rule.
36753         ($(objpfx)%-bp.out): Remove rule.
36754         * config.make.in (build-bounded): Remove variable.
36755         * crypt/Makefile [$(build-bounded) = yes]
36756         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36757         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36758         append to variable.
36759         [$(build-bounded) = yes] (install-lib): Likewise.
36760         [$(build-bounded) = yes] (generated): Likewise.
36761         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36762         Remove rule.
36763         * intl/Makefile [$(build-bounded) = yes]
36764         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36765         * math/Makefile [$(build-bounded) = yes]
36766         ($(tests:%=$(objpfx)%-bp): Likewise.
36767         * misc/Makefile [$(build-bounded) = yes]
36768         ($(objpfx)tst-tsearch-bp): Likewise.
36769         * nptl/Makeconfig (bounded-thread-library): Remove variable.
36770         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36771         Remove dependency.
36772         * string/Makefile (o-objects.ob): Remove variable.
36773         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36774         (CFLAGS-.ob): Remove variable.
36775         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36776         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36777         both definitions of variable.
36778         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36779         (ASFLAGS-.ob): Remove variable.
36781 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
36783         [BZ #13550]
36784         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36785         Remove __BOUNDED_POINTERS__ from condition.
36786         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36787         * string/bits/string2.h [!__NO_STRING_INLINES &&
36788         !__BOUNDED_POINTERS__]: Likewise.
36789         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36790         Likewise.
36791         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36792         Remove conditional code.
36793         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36794         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36795         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36796         condition.
36798         [BZ #13550]
36799         * csu/libc-start.c: Do not include <bp-sym.h>.
36800         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36801         * elf/dl-open.c: Do not include <bp-sym.h>.
36802         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36803         * math/fegetenv.c: Do not include <bp-sym.h>.
36804         (fegetenv): Do not use BP_SYM in versioned symbols.
36805         * nptl/sysdeps/pthread/bits/libc-lockP.h
36806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36807         <bp-sym.h>.
36808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36809         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36811         (__pthread_mutex_destroy): Likewise.
36812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36813         (__pthread_mutex_lock): Likewise.
36814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36815         (__pthread_mutex_trylock): Likewise.
36816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36817         (__pthread_mutex_unlock): Likewise.
36818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36819         (__pthread_mutexattr_init): Likewise.
36820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36821         (__pthread_mutexattr_destroy): Likewise.
36822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36823         (__pthread_mutexattr_settype): Likewise.
36824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36825         (__pthread_rwlock_init): Likewise.
36826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36827         (__pthread_rwlock_destroy): Likewise.
36828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36829         (__pthread_rwlock_rdlock): Likewise.
36830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36831         (__pthread_rwlock_tryrdlock): Likewise.
36832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36833         (__pthread_rwlock_wrlock): Likewise.
36834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36835         (__pthread_rwlock_trywrlock): Likewise.
36836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36837         (__pthread_rwlock_unlock): Likewise.
36838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36839         (__pthread_key_create): Likewise.
36840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36841         (__pthread_setspecific): Likewise.
36842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36843         (__pthread_getspecific): Likewise.
36844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36845         Likewise.
36846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36847         (_pthread_cleanup_push_defer): Likewise.
36848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36849         (_pthread_cleanup_pop_restore): Likewise.
36850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36851         (pthread_setcancelstate): Likewise.
36852         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36853         <bp-sym.h>.
36854         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36855         (memchr): Do not use BP_SYM in weak_alias.
36856         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36857         (fegetenv): Do not use BP_SYM in versioned symbols.
36858         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36859         (fesetenv): Do not use BP_SYM in versioned symbols.
36860         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36861         (feupdateenv): Do not use BP_SYM in versioned symbols.
36862         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36863         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36864         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36865         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36866         (open64): Do not use BP_SYM in weak_alias.
36867         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36868         (fegetenv): Do not use BP_SYM in versioned symbols.
36869         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36870         (fesetenv): Do not use BP_SYM in versioned symbols.
36871         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36872         (feupdateenv): Do not use BP_SYM in versioned symbols.
36873         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36874         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36875         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36876         (feraiseexcept): Do not use BP_SYM in versioned symbols.
36877         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36878         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36879         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36880         <bp-sym.h>.
36881         (__libc_start_main): Do not use BP_SYM.
36883 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36886         redundant return line.
36887         (norm): Likewise.
36888         (denorm): Likewise.
36889         (dbl_mp): Likewise.
36890         (sub_magnitudes): Likewise.
36891         (__add): Likewise.
36892         (__sub): Likewise.
36893         (__mul): Likewise.
36894         (__inv): Likewise.
36895         (__dvd): Likewise.
36896         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36897         (norm): Likewise.
36898         (denorm): Likewise.
36899         (dbl_mp): Likewise.
36900         (sub_magnitudes): Likewise.
36901         (__add): Likewise.
36902         (__sub): Likewise.
36903         (__mul): Likewise.
36904         (__inv): Likewise.
36905         (__dvd): Likewise.
36907         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36908         instead of __mul.
36909         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36910         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36911         (cc32): Likewise.
36913         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36914         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36915         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36916         of __mul for squares.
36917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36918         function
36919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36920         Likewise.
36921         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36922         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36924 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
36926         [BZ #13550]
36927         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36928         code.
36929         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36930         prototype or function definition.  Rename ubp_* variables and
36931         parameters.  Remove argv definitions conditional on
36932         [__BOUNDED_POINTERS__].
36933         * debug/backtrace.c (__backtrace): Do not use __unbounded.
36934         * elf/dl-runtime.c (_dl_fixup): Likewise.
36935         * include/set-hooks.h (RUN_HOOK): Likewise.
36936         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36937         definition.
36938         * string/strcpy.c (strcpy): Do not use __unbounded.
36939         * sysdeps/generic/frame.h (struct layout): Likewise.
36940         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36941         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36942         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36943         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36944         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36945         (__backtrace): Likewise.
36946         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36947         use __ptrvalue.
36948         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36949         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36950         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36951         Likewise.
36952         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36953         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36954         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36955         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36956         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36957         Do not use __unbounded.
36958         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36959         Rename __unboundedrlimits parameter to rlimits in prototype.
36960         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36961         Do not use __unbounded.
36962         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36963         not use __ptrvalue.
36964         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36965         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36966         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36967         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36968         __ptrvalue or __unbounded.
36969         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36970         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36971         use __unbounded.
36972         (__new_msgctl): Do not use __ptrvalue.
36973         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36974         __unbounded.
36975         (__libc_msgrcv): Do not use __ptrvalue.
36976         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36977         startup_info): Do not use __unbounded.
36978         (__libc_start_main): Likewise.  Rename ubp_* variables and
36979         parameters.  Remove argv definitions conditional on
36980         [__BOUNDED_POINTERS__].
36981         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36982         __ptrvalue.
36983         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36984         use __unbounded.
36985         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36986         or __ptrvalue.
36987         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36988         use __unbounded.
36989         (__new_shmctl): Do not use __ptrvalue.
36990         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36991         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36992         Likewise.
36993         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36994         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36995         (__libc_sigaction): Likewise.
36996         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36997         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36998         Likewise.
36999         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37001 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37003         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37005         * string/mempcpy.c: Implement by calling memcpy.
37007 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37009         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37011         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37012         evaluation.
37014         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37015         values in the mantissa.
37017         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37018         minimize writes to Z.
37019         (sub_magnitudes): Simplify code a bit.
37021 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37023         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37024         from the message.  The linker prefixes all warnings with that already.
37026 2013-02-12  Andreas Schwab  <schwab@suse.de>
37028         [BZ #15078]
37029         * posix/regexec.c (extend_buffers): Add parameter min_len.
37030         (check_matching): Pass minimum needed length.
37031         (clean_state_log_if_needed): Likewise.
37032         (get_subexp): Likewise.
37033         * posix/Makefile (tests): Add bug-regex34.
37034         (bug-regex34-ENV): Define.
37035         * posix/bug-regex34.c: New file.
37037         [BZ #11561]
37038         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37039         elements compare against the byte sequence of it, not its name.
37040         * posix/Makefile (tests): Add bug-regex35.
37041         (bug-regex35-ENV): Define.
37042         * posix/bug-regex35.c: New file.
37044 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37046         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37047         comment.
37048         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37049         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37050         (CHECK_EOL): Add undef.
37052 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37054         * bits/stdlib-bsearch.h: New file.
37055         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37056         * stdlib/stdlib.h: Likewise.
37058 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37060         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37061         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37062         declaration.
37063         * manual/search.texi (Array Search Function): Add missing const in
37064         lfind prototype.
37065         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37066         declaration to use rlim_t.
37067         (Basic Scheduling Functions): Remove erroneous const from
37068         sched_getparam prototype.  Remove erroneous * from
37069         sched_get_priority_max and sched_get_priority_min prototypes.
37070         (Resource Usage): Fix summary @comment on vtimes to refer to
37071         sys/vtimes.h rather than vtimes.h.
37072         Add missing *s in vtimes prototype.
37073         (Limits on Resources): Fix ulimit prototype to return long int.
37074         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37075         prototypes to use long int rather than double.
37076         (BSD Random): Fix initstate and setstate to use char *, not void *.
37077         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37078         prototype to make second argument 'struct aiocb64 *const[]'.
37079         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37080         (Status of AIO Operations): Remove erroneous const in aio_return and
37081         aio_return64 prototypes.
37082         (Synchronizing I/O): Fix sync prototype to return void.
37083         * manual/startup.texi (Suboptions): Remove an erroneous const in
37084         getsubopt prototype.
37085         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37086         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37087         use size_t rather than int.
37088         (Scanning All Users): Likewise for getpwent_r.
37089         (Setting Groups): Add missing const to setgroups prototype.
37090         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37091         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37092         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37093         'const void *' rather than 'const char *'.
37094         (Host Address Functions): Likewise for inet_ntop.
37095         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37096         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37097         ssize_t for return value.
37098         (Sending Data): Likewise for send, sendto, sendmsg.
37099         (Socket Option Functions): Add a missing const in setsockopt prototype.
37100         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37101         use wchar_t for the argument.
37102         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37103         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37104         take no arguments.
37105         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37106         double/float/long double for second argument.
37107         Fix return types of significand, significandf, significandl.
37108         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37109         argument in fchmod prototype.
37110         (File Owner): Use uid_t and gid_t in fchown prototype.
37111         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37112         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37113         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37114         use 'const struct dirent **' as argument types to CMP function pointer
37115         argument.
37116         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37117         (File Times): Fix summary magic @comment for struct utimbuf and utime
37118         to refer to utime.h, not time.h.
37119         * manual/string.texi (Argz Functions): Add missing const in
37120         argz_extract and argz_next prototypes.
37121         (Finding Tokens in a String): Likewise for basename.
37122         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37123         (Copying and Concatenation): Fix typo in wmemmove prototype.
37124         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37125         (Signal Stack): Remove erroneous const in sigstack prototype.
37126         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37127         prototype.
37128         (Simple Calendar Time): Likewise for stime.
37129         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37130         prototype.
37131         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37132         say sys/sysctl.h instead.
37133         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37134         and vsyslog prototypes.
37136 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37138         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37139         Remove.
37141 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37143         * misc/sys/mman.h: Fix typo in mremap comment.
37145 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37147         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37148         the '\0' terminator.
37150 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37152         [BZ #13550]
37153         * debug/segfault.c: Don't include <bp-checks.h>.
37154         * sysdeps/generic/bp-checks.h: Remove file.
37155         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37156         (__GETDENTS): Don't use CHECK_N.
37157         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37158         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37159         (__getgroups): Don't use CHECK_N.
37160         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37161         (setgroups): Don't use CHECK_N.
37162         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37163         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37164         (__libc_msgrcv): Don't use CHECK_N.
37165         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37166         (__libc_msgsnd): Don't use CHECK_N.
37167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37168         <bp-checks.h>.
37169         (__libc_pread): Don't use CHECK_N.
37170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37171         include <bp-checks.h>.
37172         (__libc_pread64): Don't use CHECK_N.
37173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37174         include <bp-checks.h>.
37175         (__libc_pwrite): Don't use CHECK_N.
37176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37177         include <bp-checks.h>.
37178         (__libc_pwrite64): Don't use CHECK_N.
37179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37180         <bp-checks.h>.
37181         (__libc_pread): Don't use CHECK_N.
37182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37183         include <bp-checks.h>.
37184         (__libc_pread64): Don't use CHECK_N.
37185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37186         include <bp-checks.h>.
37187         (__libc_pwrite): Don't use CHECK_N.
37188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37189         include <bp-checks.h>.
37190         (__libc_pwrite64): Don't use CHECK_N.
37191         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37192         (do_pread): Don't use CHECK_N.
37193         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37194         (do_pread64): Don't use CHECK_N.
37195         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37196         (do_pwrite): Don't use CHECK_N.
37197         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37198         (do_pwrite64): Don't use CHECK_N.
37199         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37200         (__libc_readv): Don't use CHECK_N.
37201         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37202         (semop): Don't use CHECK_N.
37203         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37204         <bp-checks.h>.
37205         (semtimedop): Don't use CHECK_N.
37206         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37207         (__libc_pread): Don't use CHECK_N.
37208         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37209         <bp-checks.h>.
37210         (__libc_pread64): Don't use CHECK_N.
37211         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37212         <bp-checks.h>.
37213         (__libc_pwrite): Don't use CHECK_N.
37214         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37215         <bp-checks.h>.
37216         (__libc_pwrite64): Don't use CHECK_N.
37217         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37218         <bp-checks.h>.
37219         (__libc_msgrcv): Don't use CHECK_N.
37220         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37221         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37222         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37223         (__libc_writev): Don't use CHECK_N.
37225 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37227         * string/strcpy.c: Removed unused variable.
37229         * Makeconfig (+sysdep-includes): Define with := rather than =.
37230         Use an existing include/ subdir of each sysdeps dir before it.
37232 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37234         * nscd/connection.c (register_traced_file): Comment function.
37235         [HAVE_INOTIFY] (union __inev): Define.
37236         [HAVE_INOTIFY] (inotify_check_files): New function.
37237         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37238         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37239         clear_db_cache.
37240         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37242 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37244         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37245         loaded if not already and that a failure is permanent.
37247 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37249         [BZ #15006]
37250         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37251         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37253 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37255         [BZ #13550]
37256         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37257         (CHECK_1_NULL_OK): Likewise.
37258         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37259         (__fxstat): Do not use CHECK_1.
37260         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37261         <bp-checks.h>.
37262         (___fxstat64): Do not use CHECK_1.
37263         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37264         <bp-checks.h>.
37265         (__fxstatat): Do not use CHECK_1.
37266         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37267         <bp-checks.h>.
37268         (__fxstatat64): Do not use CHECK_1.
37269         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37270         <bp-checks.h>.
37271         (__fxstat): Do not use CHECK_1.
37272         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37273         <bp-checks.h>.
37274         (__fxstatat): Do not use CHECK_1.
37275         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37276         <bp-checks.h>.
37277         (__getresgid): Do not use CHECK_1.
37278         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37279         <bp-checks.h>.
37280         (__getresuid): Do not use CHECK_1.
37281         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37282         <bp-checks.h>.
37283         (__lxstat): Do not use CHECK_1.
37284         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37285         <bp-checks.h>.
37286         (__old_msgctl): Do not use CHECK_1.
37287         (__new_msgctl): Likewise.
37288         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37289         <bp-checks.h>.
37290         (__new_setrlimit): Do not use CHECK_1.
37291         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37292         <bp-checks.h>.
37293         (__old_shmctl): Do not use CHECK_1.
37294         (__new_shmctl): Likewise.
37295         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37296         <bp-checks.h>.
37297         (__xstat): Do not use CHECK_1.
37298         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37299         (__lxstat): Do not use CHECK_1.
37300         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37301         <bp-checks.h>.
37302         (___lxstat64): Do not use CHECK_1.
37303         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37304         (__old_msgctl): Do not use CHECK_1.
37305         (__new_msgctl): Likewise.
37306         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37307         <bp-checks.h>.
37308         (__gettimeofday): Do not use CHECK_1.
37309         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37310         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37311         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37312         <bp-checks.h>.
37313         (__gettimeofday): Do not use CHECK_1.
37314         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37315         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37316         (__new_shmctl): Do not use CHECK_1.
37317         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37318         <bp-checks.h>.
37319         (do_sigtimedwait): Do not use CHECK_1.
37320         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37321         <bp-checks.h>.
37322         (do_sigwaitinfo): Do not use CHECK_1.
37323         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37324         <bp-checks.h>.
37325         (msgctl): Do not use CHECK_1.
37326         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37327         <bp-checks.h>.
37328         (shmctl): Do not use CHECK_1.
37329         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37330         (ustat): Do not use CHECK_1.
37331         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37332         <bp-checks.h>.
37333         (__fxstat): Do not use CHECK_1.
37334         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37335         <bp-checks.h>.
37336         (__fxstatat): Do not use CHECK_1.
37337         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37338         <bp-checks.h>.
37339         (__lxstat): Do not use CHECK_1.
37340         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37341         <bp-checks.h>.
37342         (__xstat): Do not use CHECK_1.
37343         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37344         (__xstat): Do not use CHECK_1.
37345         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37346         (___xstat64): Do not use CHECK_1.
37348         [BZ #13550]
37349         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37350         definitions.
37351         (CHECK_BOUNDS_HIGH): Likewise.
37352         * string/strcpy.c: Do not include <bp-checks.h>.
37353         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37355 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37357         * nscd/nscd-client.h (__nscd_drop_map_ref):
37358         Add __attribute__ ((unused)).
37359         * nis/nss-nisplus.h (niserr2nss): Likewise.
37361         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37362         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37364         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37365         Remove inline keyword.
37366         * include/rounding-mode.h (round_away): Likewise.
37367         * libio/wfileops.c (adjust_wide_data): Likewise.
37368         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37369         (__m128i_strloadu_tolower): Likewise.
37370         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37371         (__m128i_strloadu_tolower): Likewise.
37372         * time/mktime.c (ydhms_diff): Likewise.
37373         * locale/elem-hash.h (elem_hash): Likewise.
37374         * locale/setlocale.c (setdata): Likewise.
37375         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37376         (re_string_wchar_at): Likewise.
37377         (bitset_not, bitset_merge, bitset_mask): Likewise.
37378         [!(__GNUC__ > 3)] (inline): Remove macro.
37379         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37380         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37381         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37382         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37383         * string/memcmp.c (memcmp_bytes): Likewise.
37384         * locale/programs/locarchive.c (compute_hashval): Likewise.
37385         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37386         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37387         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37388         * nss/getent.c (print_rpc, print_protocols): Likewise.
37389         (print_passwd, print_group, print_aliases): Likewise.
37390         * nis/nss-nisplus.h (niserr2nss): Likewise.
37391         * nscd/connections.c (restart_p): Likewise.
37392         Change return type to bool.
37394 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37396         * Makeconfig (all-Depend-files): Add existing
37397         $(sorted-subdirs:=/Depend) files.
37398         (all-subdirs): Remove nss.
37399         * sysdeps/unix/inet/Subdirs: Add it here instead.
37400         * hesiod/Depend: New file.
37402         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37403         instead of calling alloca.
37405         * io/lseek.c (__lseek): Rename to __libc_lseek.
37406         Define __lseek as an alias.
37408         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37410 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37412         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37413         else clause and remove check for non-standard endianness.
37415 2013-02-04  David S. Miller  <davem@davemloft.net>
37417         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37419 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37421         [BZ #13550]
37422         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37423         (__ubp_memchr): Remove prototype.
37424         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37425         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37426         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37427         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37428         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37429         Remove alias.
37430         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37431         (__ubp_memchr): Likewise.
37432         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37433         (__ubp_memchr): Likewise.
37434         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37435         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37436         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37437         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37438         CHECK_STRING.
37439         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37440         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37441         (__getcwd): Do not use CHECK_STRING.
37442         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37443         <bp-checks.h>.
37444         (__real_chown): Do not use CHECK_STRING.
37445         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37446         <bp-checks.h>.
37447         (fchownat): Do not use CHECK_STRING.
37448         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37449         CHECK_STRING.
37450         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37451         <bp-checks.h>.
37452         (__lchown): Do not use CHECK_STRING.
37453         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37454         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37455         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37456         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37458         include <bp-checks.h>.
37459         (truncate64): Do not use CHECK_STRING.
37460         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37461         <bp-checks.h>.
37462         (__real_chown): Do not use CHECK_STRING.
37463         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37464         <bp-checks.h>.
37465         (__lchown): Do not use CHECK_STRING.
37466         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37467         <bp-checks.h>.
37468         (__chown): Do not use CHECK_STRING.
37469         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37470         <bp-checks.h>.
37471         (truncate64): Do not use CHECK_STRING.
37472         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37473         Likewise.
37474         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37475         (__xmknod): Do not use CHECK_STRING.
37476         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37477         <bp-checks.h>.
37478         (__xmknodat): Do not use CHECK_STRING.
37479         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37480         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37482 2013-02-04  Andreas Schwab  <schwab@suse.de>
37484         [BZ #14142]
37485         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37486         * include/netdb.h: Likewise for h_errno.
37487         * elf/tst-stackguard1.c: Include <tls.h>.
37489 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37491         * elf/link.h (struct link_map): Extend the l_addr comment.
37492         * include/link.h (struct link_map): Likewise.
37494 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37496         [BZ #13550]
37497         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37498         (BOUNDED_1): Remove macro.
37499         * debug/backtrace.c: Don't include <bp-checks.h>.
37500         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37501         (__backtrace): Likewise.
37502         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37503         <bp-checks.h>.
37504         (__backtrace): Don't use BOUNDED_1.
37505         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37506         <bp-checks.h>.
37507         (__backtrace): Don't use BOUNDED_1.
37508         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37509         (__backtrace): Don't use BOUNDED_1.
37510         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37511         (shmat): Don't use BOUNDED_N.
37513 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37515         [BZ #13550]
37516         * sysdeps/generic/bp-start.h: Remove file.
37517         * csu/libc-start.c: Don't include <bp-start.h>.
37518         (LIBC_START_MAIN): Set up __environ directly instead of using
37519         INIT_ARGV_and_ENVIRON.
37520         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37521         <bp-start.h>.
37523         [BZ #13550]
37524         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37525         definitions.
37526         (CHECK_FCNTL): Likewise.
37527         (CHECK_N_PAGES): Likewise.
37529         [BZ #13550]
37530         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37531         definitions.
37532         (CHECK_SIGSET_NULL_OK): Likewise.
37533         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37534         <bp-checks.h>.
37535         (sigpending): Don't use CHECK_SIGSET.
37536         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37537         <bp-checks.h>.
37538         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37539         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37540         <bp-checks.h>.
37541         (do_sigsuspend): Don't use CHECK_SIGSET.
37542         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37543         use CHECK_SIGSET.
37544         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37545         (do_sigwait): Don't use CHECK_SIGSET.
37546         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37547         use CHECK_SIGSET.
37548         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37549         include <bp-checks.h>.
37550         (sigpending): Don't use CHECK_SIGSET.
37551         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37552         include <bp-checks.h>.
37553         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37554         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37555         <bp-checks.h>.
37556         (sigpending): Don't use CHECK_SIGSET.
37557         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37558         <bp-checks.h>.
37559         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37561         [BZ #13550]
37562         * sysdeps/generic/bp-semctl.h: Remove file.
37563         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37564         <bp-checks.h> and <bp-semctl.h>.
37565         (__old_semctl): Don't use CHECK_SEMCTL.
37566         (__new_semctl): Likewise.
37567         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37568         and <bp-semctl.h>.
37569         (__old_semctl): Don't use CHECK_SEMCTL.
37570         (__new_semctl): Likewise.
37571         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37572         <bp-checks.h> and <bp-semctl.h>.
37573         (__old_semctl): Don't use CHECK_SEMCTL.
37574         (__new_semctl): Likewise.
37575         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37576         <bp-checks.h> and <bp-semctl.h>.
37577         (semctl): Don't use CHECK_SEMCTL.
37579         [BZ #13550]
37580         * Makerules (elide-bp-thunks): Remove variable.
37581         (elide-routines.oS): Don't use $(elide-bp-thunks).
37582         (elide-routines.os): Likewise.
37583         (elide-routines.o): Likewise.
37584         (elide-routines.op): Likewise.
37585         (elide-routines.og): Likewise.
37586         (objects): Don't use $(bp-thunks).
37587         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37588         include.
37589         (common-generated): Do not add s-proto-bp.d.
37590         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37591         (int): Likewise.
37592         (typ): Likewise.
37593         Do not generate makefile rules for bounded-pointer thunks.
37594         * sysdeps/generic/bp-thunks.h: Remove file.
37595         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37596         * sysdeps/unix/s-proto-bp.S: Likewise.
37598         [BZ #15062]
37599         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37600         parts of result separately when argument is not close to line from
37601         -i to i and one part of argument is small.
37602         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37603         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37604         * math/libm-test.inc (cacos_test): Add more tests.
37605         (casin_test): Likewise.
37606         (casinh_test): Likewise.
37607         * sysdeps/i386/fpu/libm-test-ulps: Update.
37608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37610 2013-01-31  David S. Miller  <davem@davemloft.net>
37612         * po/de.po: Update from translation team.
37614 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37616         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37618 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37620         * configure.in (_AC_PROG_CC_C89): New definition.
37621         * configure: Regenerate.
37623         * configure.in (AC_PROG_CPP): New definition.
37624         * configure: Regenerate.
37626 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37628         * debug/tst-backtrace.h: New file.
37629         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37630         (ret): Remove variable.
37631         (x): Likewise.
37632         (FAIL): Remove macro.
37633         (NO_INLINE): Likewise.
37634         (fn1): Use match function instead of strstr.
37635         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37636         (ret): Remove variable.
37637         (x): Likewise.
37638         (FAIL): Remove macro.
37639         (NO_INLINE): Likewise.
37640         (fn): Use match function instead of strstr.
37641         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37642         (ret): Remove variable.
37643         (x): Likewise.
37644         (FAIL): Remove macro.
37645         (NO_INLINE): Likewise.
37646         (handle_signal): Use match function instead of strstr.
37647         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37648         (ret): Remove variable.
37649         (x): Likewise.
37650         (FAIL): Remove macro.
37651         (NO_INLINE): Likewise.
37652         (handle_signal): Use match function instead of strstr.
37654 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37656         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37658 2013-01-23  David S. Miller  <davem@davemloft.net>
37660         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37661         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37662         argument of CAS if possible.
37663         * sysdeps/sparc/sparc64/bits/atomic.h
37664         (__arch_compare_and_exchange_val_32_acq): Likewise.
37665         (__arch_compare_and_exchange_val_64_acq): Likewise.
37667 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37669         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37670         * sysdeps/posix/ulimit.c: ... this.
37671         Include <limits.h>.
37672         * sysdeps/unix/bsd/ulimit.c: Remove file.
37674 2013-01-23  Adam Conrad  <adconrad@0c3.net>
37676         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37677         (LDFLAGS-tst-array5): Likewise.
37679 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37681         [BZ #15036]
37682         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37683         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37684         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37685         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37687 2013-01-21  David S. Miller  <davem@davemloft.net>
37689         * sysdeps/sparc/backtrace.c: New file.
37690         * sysdeps/sparc/sparc32/backtrace.h: New file.
37691         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37692         * sysdeps/sparc/sparc64/backtrace.h: New file.
37693         * sysdeps/sparc/sparc64/backtrace.c: Delete.
37694         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37695         -funwind-tables.
37697 2013-01-21  Andreas Schwab  <schwab@suse.de>
37699         [BZ #15020]
37700         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37701         closed its stdout.
37703 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
37705         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37706         "mpa2.h".
37707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37709 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
37710             Mark Mitchell  <mark@codesourcery.com>
37711             Tom de Vries  <tom@codesourcery.com>
37712             Paul Pluzhnikov  <ppluzhnikov@google.com>
37714         * debug/tst-backtrace2.c: New file.
37715         * debug/tst-backtrace3.c: Likewise.
37716         * debug/tst-backtrace4.c: Likewise.
37717         * debug/tst-backtrace5.c: Likewise.
37718         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37719         (CFLAGS-tst-backtrace3.c): Likewise.
37720         (CFLAGS-tst-backtrace4.c): Likewise.
37721         (CFLAGS-tst-backtrace5.c): Likewise.
37722         (LDFLAGS-tst-backtrace2): Likewise.
37723         (LDFLAGS-tst-backtrace3): Likewise.
37724         (LDFLAGS-tst-backtrace4): Likewise.
37725         (LDFLAGS-tst-backtrace5): Likewise.
37726         (tests): Add new tests tst-backtrace2, tst-backtrace3,
37727         tst-backtrace4 and tst-backtrace5.
37729 2013-01-18  Anton Blanchard  <anton@samba.org>
37730             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37732         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37733         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37734         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37735         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37737         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37738         "+r" and remove output regs list as redundant.  Add explicit inline
37739         asm to specify register of return val to work around compiler codegen
37740         bug.  Remove (int) cast on return value.  Add return type parameter to
37741         use in macro so that this macro does not truncate return value for
37742         64-bit values.
37743         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37744         pass to INTERNAL_VSYSCALL_NCS.
37745         (INLINE_VSYSCALL): Add 'long int' as return type to
37746         INTERNAL_VSYSCALL_NCS macro invocation.
37747         (INTERNAL_VSYSCALL): Add 'long int' as return type to
37748         INTERNAL_VSYSCALL_NCS macro invocation.
37749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37751 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37753         [BZ #14496]
37754         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37755         Fix application of SIMD FP exception mask.
37757         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37758         mp_no from a power of two.
37759         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37760         __mpexp_twomm1.  Use __pow_mp.
37762         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37763         multiplication.
37765 2013-01-17  David S. Miller  <davem@davemloft.net>
37767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37769 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37771         [BZ #15023]
37772         * include/complex.h: Condition contents on [!_COMPLEX_H].
37773         (__kernel_casinhf): New prototype.
37774         (__kernel_casinh): Likewise.
37775         (__kernel_casinhl): Likewise.
37776         * math/Makefile (libm_calls): Add k_casinh.
37777         * math/k_casinh.c: New file.
37778         * math/k_casinhf.c: Likewise.
37779         * math/k_casinhl.c: Likewise.
37780         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37781         finite nonzero arguments.
37782         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37783         finite nonzero arguments.
37784         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37785         finite nonzero arguments.
37786         * math/s_casinh.c: Do not include <float.h>.
37787         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37788         * math/s_casinhf.c: Do not include <float.h>.
37789         (__casinhf): Move code for finite nonzero arguments to
37790         k_casinhf.c.
37791         * math/s_casinhl.c: Do not include <float.h>.
37792         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37793         redefine.
37794         (__casinhl): Move code for finite nonzero arguments to
37795         k_casinhl.c.
37796         * math/libm-test.inc (cacos_test): Add more tests.
37797         * sysdeps/i386/fpu/libm-test-ulps: Update.
37798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37800 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
37802         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37803         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37804         [!HAVE_MREMAP]: Remove [defined linux] case.
37805         * malloc/arena.c: Do not include <malloc-sysdep.h>.
37807 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37809         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37811 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
37813         * elf/elf.h (R_386_SIZE32): New relocation.
37814         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37815         R_386_SIZE32.
37816         (elf_machine_rela): Likewise.
37817         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37818         R_X86_64_SIZE64 and R_X86_64_SIZE32.
37820 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37822         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37823         (FP_FAST_FMA): Do not define.
37824         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37825         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37826         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37827         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37828         !_SOFT_FLOAT]: Likewise.
37829         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37830         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37831         value.
37832         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37833         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37834         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37835         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37836         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37837         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37838         file.
37840 2013-01-16  Andreas Schwab  <schwab@suse.de>
37842         [BZ #14327]
37843         * include/stdlib.h (__mktemp): Add declaration.
37844         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37845         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37847 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37849         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37850         definitions.
37851         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37852         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37853         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37854         definitions here.
37855         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37856         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37857         definitions.
37858         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37859         and ONE.
37860         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37861         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37862         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37863         definitions.
37864         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37865         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37866         definitions.
37867         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37869         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37871 2013-01-15  David S. Miller  <davem@davemloft.net>
37873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37874         trunc{,f} to libm-sysdep_routes.
37875         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37877         file.
37878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37880         file.
37881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37882         file.
37883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37885         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37886         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37887         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37888         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37889         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37890         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37893         nearbyint{,f} to libm-sysdep_routes.
37894         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37896         New file.
37897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37898         file.
37899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37900         New file.
37901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37902         file.
37903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37905         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37906         file.
37907         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37908         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37909         file.
37910         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37911         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37912         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37914         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37915         libc_feholdexcept and libc_fesetenv.
37917 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
37919         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37921 2013-01-14  David S. Miller  <davem@davemloft.net>
37923         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37924         (SPARC_ASM_VIS2_IFUNC): Likewise.
37925         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37927         use of 'siam' instruction.
37928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37929         Likewise.
37930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37931         Likewise.
37932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37933         Likewise.
37934         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37935         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37936         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37937         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37939         file.
37940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37941         file.
37942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37943         file.
37944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37945         file.
37946         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37947         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37948         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37949         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37951         new VIS2 routines.
37952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37955         Likewise.
37956         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37957         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37958         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37959         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37961         routines to libm-sysdep_routines.
37962         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37965         fdim/fdimf to libm-sysdep_routines.
37966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37967         file.
37968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37970         file.
37971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37974         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37975         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37976         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37977         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37979 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37981         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37982         to optimize copies.
37984         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37985         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37988         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37989         local variable MPTWO.
37990         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37991         Likewise.
37993 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37995         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37996         GLOB_NOESCAPE.
37998 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38000         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38002 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38004         * manual/pattern.texi (glob_t): Document gl_flags.
38005         (glob64_t): Likewise.
38007 2013-01-11  David S. Miller  <davem@davemloft.net>
38009         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38010         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38011         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38012         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38013         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38014         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38015         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38016         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38017         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38018         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38019         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38020         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38021         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38023         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38024         sparc V9 rather than using V8 code.
38025         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38026         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38028         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38029         Move to...
38030         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38031         Here.
38033 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38035         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38036         not in the main loop.
38037         * configure: Regenerated.
38039 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38041         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38042         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38043         to just #else.
38044         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38045         [!__GLIBC_HAVE_LONG_LONG] case.
38046         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38047         condition to just #else.
38048         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38049         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38050         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38051         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38052         unconditional.
38053         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38054         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38055         #elif condition to just #else.
38056         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38057         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38058         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38059         #elif condition to just #else.
38061 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38063         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38064         (EF_MIPS_ARCH_64): Fix value.
38065         (EF_MIPS_ARCH_32R2): New.
38066         (EF_MIPS_ARCH_64R2): New.
38068 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38070         * Makeconfig (+link-pie-before-libc): New.
38071         (+link-pie-after-libc): Likewise.
38072         (+link-pie-tests): Likewise.
38073         (+link-pie): Rewritten.
38074         (link-before-libc): Remove $(config-LDFLAGS).
38075         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38076         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38077         (config-LDFLAGS): Renamed to ...
38078         (rtld-LDFLAGS): This.
38079         (rtld-tests-LDFLAGS): New macro.
38080         (link-libc-rpath-link): Likewise.
38081         (link-libc-tests-rpath-link): Likewise.
38082         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38083         (link-libc): Prepand $(link-libc-rpath-link).
38084         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38085         (test-program-prefix): New macro.
38086         (test-via-rtld-prefix): Likewise.
38087         (test-program-cmd): Likewise.
38088         (host-test-program-cmd): Likewise.
38089         * Makefile ($(common-objpfx)testrun.sh): Replace
38090         $(run-program-prefix) with $(test-program-prefix).
38091         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38092         $(rtld-LDFLAGS).
38093         ($(common-objpfx)shlib.lds): Likewise.
38094         (build-module-helper): Likewise.
38095         ($(common-objpfx)format.lds): Likewise.
38096         * Rules (binaries-pie-tests): New.
38097         (binaries-pie-notests): Likewise.
38098         (binaries-pie): Rewritten.
38099         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38100         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38101         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38102         (make-test-out): Replace $(host-built-program-cmd) with
38103         $(host-test-program-cmd).
38104         * config.make.in (build-hardcoded-path-in-tests): New variable.
38105         * configure.in (--enable-hardcoded-path-in-tests): New configure
38106         option.
38107         (hardcoded_path_in_tests): New AC_SUBST.
38108         * configure: Regenerated.
38109         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38110         $(built-program-cmd) with $(test-program-cmd).
38111         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38112         (test_program_cmd): This.
38113         * elf/Makefile ($(objpfx)order.out): Run test with
38114         $(test-program-prefix).
38115         ($(objpfx)order2.out): Likewise.
38116         ($(objpfx)tst-initorder.out): Likewise.
38117         ($(objpfx)tst-initorder2.out): Likewise.
38118         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38119         $(test-program-cmd).
38120         ($(objpfx)tst-array1-static.out): Likewise.
38121         ($(objpfx)tst-array2.out): Likewise.
38122         ($(objpfx)tst-array3.out): Likewise.
38123         ($(objpfx)tst-array4.out): Likewise.
38124         ($(objpfx)tst-array5.out): Likewise.
38125         ($(objpfx)tst-array5-static.out): Likewise.
38126         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38127         $(test-program-cmd).
38128         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38129         $(run-program-prefix) with $(test-program-prefix).
38130         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38131         (test_program_prefix): This.
38132         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38133         $(run-program-prefix) with $(test-program-prefix).
38134         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38135         (test_program_prefix): This.
38136         * iconvdata/tst-tables.sh: Likewise.
38137         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38138         $(run-program-prefix) with $(test-program-prefix).
38139         ($(objpfx)tst-translit.out): Likewise.
38140         ($(objpfx)tst-gettext2.out): Likewise.
38141         ($(objpfx)tst-gettext4.out): Likewise.
38142         ($(objpfx)tst-gettext6.out): Likewise.
38143         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38144         (test_program_prefix): This.
38145         * intl/tst-gettext2.sh: Likewise.
38146         * intl/tst-gettext4.sh  Likewise.
38147         * intl/tst-gettext6.sh: Likewise.
38148         * intl/tst-translit.sh: Likewise.
38149         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38150         with $(test-program-cmd).
38151         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38152         $(run-program-prefix) with $(test-program-prefix).
38153         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38154         (test_program_prefix): This.
38155         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38156         $(run-program-prefix) with $(test-program-prefix).
38157         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38158         (test_program_prefix): This.
38159         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38160         * posix/Makefile ($(objpfx)globtest.out): Replace
38161         $(run-via-rtld-prefix) and $(test-wrapper) with
38162         $(test-program-prefix) and $(test-via-rtld-prefix).
38163         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38164         $(test-program-prefix).
38165         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38166         $(host-test-program-cmd).
38167         (tst-spawn-ARGS): Likewise.
38168         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38169         $(test-program-prefix).
38170         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38171         (test_via_rtld_prefix): This.
38172         (test_wrapper): Renamed to ...
38173         (test_program_prefix): This.
38174         (run_program_prefix): Replaced by test_program_prefix.
38175         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38176         (test_program_prefix): This.
38177         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38178         with $(host-test-program-cmd).
38179         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38180         $(run-program-prefix) with $(test-program-prefix).
38181         ($(objpfx)tst-printf.out): Likewise.
38182         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38183         $(test-program-cmd).
38184         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38185         (test_program_prefix): This.
38186         * stdio-common/tst-unbputc.sh: Likewise.
38187         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38188         $(run-program-prefix) with $(test-program-prefix).
38189         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38190         (test_program_prefix): This.
38191         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38192         $(built-program-cmd) with $(test-program-cmd).
38194 2013-01-11  Andreas Jaeger  <aj@suse.de>
38196         [BZ #15003]
38197         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38198         value. Sync with Linux 3.7.
38200 2013-01-10  David S. Miller  <davem@davemloft.net>
38202         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38203         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38204         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38206 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38208         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38209         never set.
38210         * configure: Regenerated.
38212 2013-01-10  David S. Miller  <davem@davemloft.net>
38214         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38215         sparc V9 rather than using V8 code.
38216         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38217         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38219 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38221         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38222         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38223         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38224         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38225         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38226         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38227         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38228         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38229         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38230         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38231         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38232         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38233         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38234         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38235         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38236         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38237         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38238         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38239         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38240         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38241         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38242         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38243         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38244         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38245         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38246         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38247         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38249 2013-01-10  David S. Miller  <davem@davemloft.net>
38251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38253 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38255         * posix/Makefile (tests-static): New variable.
38256         (tests): Add $(tests-static).
38257         (tst-exec-static-ARGS): New variable.
38258         (tst-spawn-static-ARGS): Likewise.
38259         * posix/tst-exec-static.c: New file.
38260         * posix/tst-spawn-static.c: Likewise.
38261         * posix/tst-exec.c: Support run directly.
38262         * posix/tst-spawn.c: Likewise.
38264 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38266         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38267         long.
38268         * math/bits/mathcalls.h (llrint): Likewise.
38269         (llround): Likewise.
38270         * stdlib/stdlib.h (struct drand48_data): Likewise.
38271         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38272         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38273         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38274         Likewise.
38275         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38276         Likewise.
38277         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38278         (elf_greg_t): Likewise.
38279         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38280         (__jmp_buf): Likewise.
38281         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38282         definitions.
38283         (llrint): Likewise, for all definitions.
38284         (llrintl): Likewise.
38286         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38287         Remove [__GNUC__] condition.
38288         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38289         condition to just [__USE_ISOC99].
38290         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38292 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38294         [BZ #14200]
38295         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38296         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38297         defined.
38298         (_POSIX_V6_ILP32_OFF32): Likewise.
38299         (_XBS5_ILP32_OFF32): Likewise.
38300         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38301         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38303 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38305         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38307         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38308         doubles __mpexp_twomm1.  Adjust usage.
38309         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38310         Remove.
38312 2013-01-10  Andreas Schwab  <schwab@suse.de>
38314         [BZ #14964]
38315         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38316         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38318 2013-01-09  David S. Miller  <davem@davemloft.net>
38320         [BZ #15003]
38321         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38322         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38323         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38324         (TCP_FASTOPEN): Define.
38325         (tcp_repair_opt): New structure.
38326         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38327         enum values.
38328         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38329         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38330         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38331         (tcp_cookie_transactions): New structure.
38333 2013-01-09  Anton Blanchard  <anton@samba.org>
38335         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38336         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38337         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38338         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38340 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38342         * include/features.h (__USE_ANSI): Remove.
38344 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38346         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38348         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38350 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38352         * sysdeps/s390/fpu/libm-test-ulps: Update.
38354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38356         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38357         (__acr): Likewise.
38358         (__cpy): Likewise.
38359         (norm): Likewise.
38360         (denorm): Likewise.
38361         (__mp_dbl): Likewise.
38362         (__dbl_mp): Likewise.
38363         (add_magnitudes): Likewise.
38364         (sub_magnitudes): Likewise.
38365         (__add): Likewise.
38366         (__sub): Likewise.
38367         (__mul): Likewise.
38368         (__inv): Likewise.
38369         (__dvd): Likewise.
38370         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38371         (__acr): Likewise.
38372         (__cpy): Likewise.
38373         (norm): Likewise.
38374         (denorm): Likewise.
38375         (__mp_dbl): Likewise.
38376         (__dbl_mp): Likewise.
38377         (add_magnitudes): Likewise.
38378         (sub_magnitudes): Likewise.
38379         (__add): Likewise.
38380         (__sub): Likewise.
38381         (__mul): Likewise.
38382         (__inv): Likewise.
38383         (__dvd): Likewise.
38384         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38385         (__acr): Likewise.
38386         (__cpy): Likewise.
38387         (norm): Likewise.
38388         (denorm): Likewise.
38389         (__mp_dbl): Likewise.
38390         (__dbl_mp): Likewise.
38391         (add_magnitudes): Likewise.
38392         (sub_magnitudes): Likewise.
38393         (__add): Likewise.
38394         (__sub): Likewise.
38395         (__mul): Likewise.
38396         (__inv): Likewise.
38397         (__dvd): Likewise.
38399 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38401         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38402         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38403         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38404         2 && __USE_EXTERN_INLINES]: Likewise.
38406 2013-01-08  Andreas Jaeger  <aj@suse.de>
38408         [BZ# 14985]
38409         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38410         Remove.
38411         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38412         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38414 2013-01-07  Anton Blanchard  <anton@samba.org>
38416         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38417         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38418         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38419         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38420         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38421         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38422         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38423         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38424         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38425         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38426         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38427         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38428         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38429         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38430         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38431         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38432         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38433         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38434         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38435         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38436         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38437         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38438         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38439         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38440         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38441         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38442         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38443         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38444         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38445         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38446         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38447         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38448         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38449         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38450         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38451         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38452         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38453         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38454         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38455         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38456         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38457         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38458         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38460 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38462         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38463         (__MALLOC_PMT): Likewise.
38464         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38465         [__GNUC__], only on [_LIBC].
38466         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38467         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38468         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38469         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38470         forward declaration.
38471         (realloc_hook_ini): Likewise.
38472         (memalign_hook_ini): Likewise.
38473         (__libc_memalign): Do not use __MALLOC_PMT in variable
38474         declaration.
38475         (__libc_valloc): Likewise.
38476         (__libc_pvalloc): Likewise.
38477         (__libc_calloc): Likewise.
38478         (__posix_memalign): Likewise.
38480         [BZ #14996]
38481         * math/s_casinh.c: Include <float.h>.
38482         (__casinh): Do not do computation with squaring and square root
38483         for large arguments.
38484         * math/s_casinhf.c: Include <float.h>.
38485         (__casinhf): Do not do computation with squaring and square root
38486         for large arguments.
38487         * math/s_casinhl.c: Include <float.h>.
38488         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38489         (__casinhl): Do not do computation with squaring and square root
38490         for large arguments.
38491         * math/libm-test.inc (casin_test): Add more tests.
38492         (casinh_test): Likewise.
38493         * sysdeps/i386/fpu/libm-test-ulps: Update.
38494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38496 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38498         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38499         (__x86_64_raw_data_cache_size): Likewise.
38500         (__x86_64_data_cache_size_half): Likewise.
38501         (__x86_64_raw_data_cache_size_half): Likewise.
38502         (__x86_64_shared_cache_size): Likewise.
38503         (__x86_64_raw_shared_cache_size): Likewise.
38504         (__x86_64_shared_cache_size_half): Likewise.
38505         (__x86_64_raw_shared_cache_size_half): Likewise.
38506         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38507         to ...
38508         (__x86_data_cache_size): This.
38509         (__x86_64_raw_data_cache_size): Renamed to ...
38510         (__x86_raw_data_cache_size): This.
38511         (__x86_64_data_cache_size_half): Renamed to ...
38512         (__x86_data_cache_size_half): This.
38513         (__x86_64_raw_data_cache_size_half): Renamed to ...
38514         (__x86_raw_data_cache_size_half): This.
38515         (__x86_64_shared_cache_size): Renamed to ...
38516         (__x86_shared_cache_size): This.
38517         (__x86_64_raw_shared_cache_size): Renamed to ...
38518         (__x86_raw_shared_cache_size): This.
38519         (__x86_64_shared_cache_size_half): Renamed to ...
38520         (__x86_shared_cache_size_half): This.
38521         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38522         (__x86_raw_shared_cache_size_half): This.
38523         * sysdeps/x86_64/memcpy.S: Updated.
38524         * sysdeps/x86_64/memset.S: Likewise.
38525         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38526         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38527         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38529 2013-01-04  David S. Miller  <davem@davemloft.net>
38531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38533 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38535         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38536         1 to avoid redefinition warning.
38537         (__USE_GNU): Don't define.
38538         (init_signaling_nan): Protoize.
38540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38542 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38544         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38546         (__cpymn): Likewise.
38547         (norm): Remove commented code.
38548         (denorm): Likewise.
38549         (__mp_dbl): Likewise.
38550         (__inv): Likewise.
38551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38552         (__cpymn): Likewise.
38553         (norm): Remove commented code.
38554         (denorm): Likewise.
38555         (__mp_dbl): Likewise.
38556         (__inv): Likewise.
38558         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38559         mp_no value for 1.0 and 2.0.
38560         (norm): Use RADIXI instead of radixi.d.
38561         (denorm): Likewise.
38562         (__mul): Use 0.0 instead of zero.d.
38563         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38564         mp_no value for 1.0 and 2.0.
38565         (norm): Use RADIXI instead of radixi.d.
38566         (denorm): Likewise.
38567         (__mul): Use 0.0 instead of zero.d.
38569 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38571         [BZ #14994]
38572         * math/s_casinh.c (__casinh): Reduce finite argument to first
38573         quadrant then set signs of results at the end.
38574         * math/s_casinhf.c (__casinhf): Likewise.
38575         * math/s_casinhl.c (__casinhl): Likewise.
38576         * math/libm-test.inc (casin_test): Add more tests.
38577         (casinh_test): Likewise.
38578         * sysdeps/i386/fpu/libm-test-ulps: Update.
38579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38581 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38583         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38585         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38587         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38588         declarations.
38589         (denorm): Likewise.
38590         (__mp_dbl): Likewise.
38591         (__inv): Likewise.
38593         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38594         and adjust the header comment.
38596         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38597         variable name from declaration.
38599 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38601         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38602         Initialize COMMON_CPUID_INDEX_7 element.
38603         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38604         (CPUID_RTM): Likewise.
38605         (HAS_RTM): Likewise.
38606         (COMMON_CPUID_INDEX_7): New enum.
38608 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38610         [BZ #14981]
38611         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38612         size is zero, record memory as freed.
38614 2013-01-03  Andreas Jaeger  <aj@suse.de>
38616         * po/ia.po: Add new Interlingua translation.
38618 2012-01-03  Allan McRae  <allan@archlinux.org>
38620         * locale/programs/localedef.c: Fix description of '--posix' flag.
38622 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38624         * NEWS: Update dates in second copyright notice.
38625         * README: Update copyright dates in example.
38626         * manual/libc.texinfo: Update copyright dates.
38627         * scripts/test-installation.pl: Update copyright date in --version
38628         output.
38630         * hurd/ctty-input.c: Fix copyright notice formatting.
38631         * hurd/ctty-output.c: Likewise.
38632         * hurd/dtable.c: Likewise.
38633         * hurd/hurd-raise.c: Likewise.
38634         * hurd/hurdprio.c: Likewise.
38635         * hurd/msgportdemux.c: Likewise.
38636         * misc/sys/file.h: Likewise.
38637         * misc/sys/ioctl.h: Likewise.
38638         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38639         * sysdeps/mach/hurd/chdir.c: Likewise.
38640         * sysdeps/mach/hurd/fchdir.c: Likewise.
38641         * sysdeps/mach/hurd/rename.c: Likewise.
38642         * sysdeps/mach/hurd/rmdir.c: Likewise.
38643         * sysdeps/mach/hurd/seekdir.c: Likewise.
38644         * sysdeps/mach/hurd/setsid.c: Likewise.
38645         * sysdeps/posix/wait3.c: Likewise.
38647         * All files with FSF copyright notices: Update copyright dates
38648         using scripts/update-copyrights.
38649         * intl/plural.c: Regenerated.
38650         * locale/programs/charmap-kw.h: Likewise.
38651         * locale/programs/locfile-kw.h: Likewise.
38653 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38655         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38656         four values.
38658         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38659         calculation loop and add branch prediction.
38661         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38662         check access beyond bounds of m1np.
38664         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38665         MPTWO.
38666         (__inv): Remove local variable MPTWO to use the global
38667         constant.
38668         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38669         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38670         variable MPTWO.
38671         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38672         MP3HALFS static const.
38674 2013-01-01  David S. Miller  <davem@davemloft.net>
38676         * po/ca.po: Update from translation team.
38678 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
38680         * scripts/update-copyrights: New file.
38681         * Makeconfig: Reformat copyright notice.
38682         * ctype/ctype.h: Likewise.
38683         * debug/swprintf_chk.c: Likewise.
38684         * elf/dl-cache.c: Likewise.
38685         * elf/dl-debug.c: Likewise.
38686         * elf/dl-object.c: Likewise.
38687         * grp/initgroups.c: Likewise.
38688         * hurd/Makefile: Likewise.
38689         * hurd/hurd/signal.h: Likewise.
38690         * hurd/hurdfault.c: Likewise.
38691         * hurd/hurdioctl.c: Likewise.
38692         * hurd/hurdlookup.c: Likewise.
38693         * hurd/intr-msg.c: Likewise.
38694         * iconv/gconv_open.c: Likewise.
38695         * libio/swprintf.c: Likewise.
38696         * locale/lc-ctype.c: Likewise.
38697         * locale/nl_langinfo.c: Likewise.
38698         * mach/Machrules: Likewise.
38699         * mach/Makefile: Likewise.
38700         * malloc/obstack.h: Likewise.
38701         * manual/Makefile: Likewise.
38702         * manual/tsort.awk: Likewise.
38703         * misc/bits/stab.def: Likewise.
38704         * nis/nis_print_group_entry.c: Likewise.
38705         * nis/nis_table.c: Likewise.
38706         * nis/nss_compat/compat-pwd.c: Likewise.
38707         * nis/nss_compat/compat-spwd.c: Likewise.
38708         * po/Makefile: Likewise.
38709         * posix/fnmatch.c: Likewise.
38710         * posix/regex.h: Likewise.
38711         * resolv/Makefile: Likewise.
38712         * resolv/nss_dns/dns-network.c: Likewise.
38713         * resolv/res_hconf.c: Likewise.
38714         * scripts/gen-sorted.awk: Likewise.
38715         * soft-fp/soft-fp.h: Likewise.
38716         * stdio-common/printf.h: Likewise.
38717         * stdlib/monetary.h: Likewise.
38718         * stdlib/random.c: Likewise.
38719         * stdlib/random_r.c: Likewise.
38720         * sysdeps/generic/Makefile: Likewise.
38721         * sysdeps/gnu/Makefile: Likewise.
38722         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38723         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38724         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38725         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38726         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38727         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38728         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38729         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38730         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38731         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38732         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38733         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38734         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38735         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38736         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38737         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38738         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38739         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38740         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38741         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38742         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38743         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38744         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38745         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38746         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38747         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38748         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38749         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38750         * sysdeps/mach/hurd/errnos.awk: Likewise.
38751         * sysdeps/mach/hurd/fork.c: Likewise.
38752         * sysdeps/mach/hurd/getcwd.c: Likewise.
38753         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38754         * sysdeps/mach/hurd/mmap.c: Likewise.
38755         * sysdeps/mach/hurd/utimes.c: Likewise.
38756         * sysdeps/mach/hurd/xmknod.c: Likewise.
38757         * sysdeps/posix/profil.c: Likewise.
38758         * sysdeps/posix/readdir_r.c: Likewise.
38759         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38760         * sysdeps/powerpc/bits/setjmp.h: Likewise.
38761         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38762         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38763         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38764         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38765         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38766         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38767         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38768         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38769         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38770         * sysdeps/pthread/lio_listio.c: Likewise.
38771         * sysdeps/sparc/dl-procinfo.h: Likewise.
38772         * sysdeps/unix/i386/sysdep.S: Likewise.
38773         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38774         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38775         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38776         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38778         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38779         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38780         * sysdeps/unix/sysv/linux/speed.c: Likewise.
38781         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38782         * sysdeps/wordsize-32/divdi3.c: Likewise.
38783         * time/sys/time.h: Likewise.
38784         * wcsmbs/Makefile: Likewise.
38786 2013-01-01  David S. Miller  <davem@davemloft.net>
38788         * po/fr.po: Update from translation team.
38790         * catgets/gencat.c: Update copyright year.
38791         * csu/version.c: Likewise.
38792         * debug/catchsegv.sh: Likewise.
38793         * debug/pcprofiledump.c: Likewise.
38794         * debug/xtrace.sh: Likewise.
38795         * elf/ldconfig.c: Likewise.
38796         * elf/ldd.bash.in: Likewise.
38797         * elf/pldd.c: Likewise.
38798         * elf/sotruss.ksh: Likewise.
38799         * elf/sprof.c: Likewise.
38800         * iconv/iconv_prog.c: Likewise.
38801         * iconv/iconvconfig.c: Likewise.
38802         * locale/programs/locale.c: Likewise.
38803         * locale/programs/localedef.c: Likewise.
38804         * login/programs/pt_chown.c: Likewise.
38805         * malloc/memusage.sh: Likewise.
38806         * malloc/memusagestat.c: Likewise.
38807         * malloc/mtrace.pl: Likewise.
38808         * nscd/nscd.c: Likewise.
38809         * nss/getent.c: Likewise.
38810         * nss/makedb.c: Likewise.
38811         * posix/getconf.c: Likewise.
38813 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38815         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38816         numbers.
38818 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
38820         * math/bits/mathcalls.h (modf): Use __nonnull.
38822 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38824         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38825         (split): Use macro CN instead of the bare value.
38826         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38827         could be used.
38828         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38829         instead of the bare value.
38830         (power1): Likewise.
38832 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38834         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38835         __ATAN_TWOM.
38836         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38838         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38839         their values.
38840         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38841         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38842         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38843         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38845 2012-12-28  Andreas Jaeger  <aj@suse.de>
38847         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
38848         values are from Linux 3.7.
38850         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38851         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
38853 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38855         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38856         TRUE case.
38858         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38859         (norm): Likewise.
38860         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38861         variables with preprocessor constants.
38862         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38863         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38864         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38866 2012-12-27  Bruno Haible  <bruno@clisp.org>
38868         [BZ #14317]
38869         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38870         only if needed.
38872 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38874         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38875         and use variable directly.
38876         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38878         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38879         MPONE.
38880         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38881         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38882         variable MPONE.
38883         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38884         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38885         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38886         include directive.  Remove local variable MPONE.
38887         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38888         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38889         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38891 2012-12-25  David S. Miller  <davem@davemloft.net>
38893         * version.h (RELEASE): Set to "development".
38894         (VERSION): Set to "2.17.90".
38895         * NEWS: Add 2.18 section.
38897 2012-12-21  David S. Miller  <davem@davemloft.net>
38899         * po/hr.po: Update from translation team.
38901 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38903         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38905 2012-12-19  Steve Ellcey  <sellcey@mips.com>
38907         * NEWS:  Mention new memcpy for MIPS.
38909 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38911         * manual/contrib.texi (Contributors): Spelling correction.
38913 2012-12-15  David S. Miller  <davem@davemloft.net>
38915         * po/ru.po: Update from translation team.
38917 2012-12-13  David S. Miller  <davem@davemloft.net>
38919         * NEWS: Mention IFUNC testsuite enhancements.
38921         * po/pl.po: Update from translation team.
38922         * po/bg.po: Likewise.
38924         * manual/contrib.texi (Contributors): Update entries for Hongjiu
38925         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
38927 2012-12-11  David S. Miller  <davem@davemloft.net>
38929         * po/sv.po: Update from translation team.
38931         * po/vi.po: Update from translation team.
38933         * po/cs.po: Update from translation team.
38935         * po/de.po: Update from translation team.
38936         * po/eo.po: Likewise.
38937         * po/nl.po: Likewise.
38939 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38941         [BZ #14246]
38942         * manual/argp.texi (Argp Helper Functions): Move node to follow
38943         Argp Parsing State.
38945         [BZ #14872]
38946         * manual/conf.texi (Limits on File System Capacity): Mention if
38947         terminating null is included in the max size.
38949 2012-12-10  Andreas Jaeger  <aj@suse.de>
38951         * po/cs.po: Update from translation team.
38953 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38955         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38956         void pointer and cast to uintptr_t.
38957         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38958         path.
38959         * sysdeps/s390/s390-64/memcpy.S: Likewise.
38960         * sysdeps/s390/s390-64/memset.S: Likewise.
38962 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
38964         [BZ #14833]
38965         * menual/message.texi (Message Translation): Fix typos.
38966         (Helper programs for gettext): Likewise.
38968 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
38970         [BZ #14898]
38971         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38972         Change to -1.
38974 2012-12-07  David S. Miller  <davem@davemloft.net>
38976         * po/libc.pot: Update.
38978 2012-12-07  Richard Henderson  <rth@redhat.com>
38980         [BZ #10114]
38981         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38982         normal/normal case to before the switch.
38983         (_FP_DIV): Likewise.
38985 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
38986             Mike Frysinger  <vapier@gentoo.org>
38988         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38989         check for __NR_fadvise64_64.
38991 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
38993         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38994         0, not just to plain "0" as a statement.
38995         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38996         with cw.
38998 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39000         * NEWS: Use sourceware.org in Bugzilla URL.
39002 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39005         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39007         * stdio-common/tst-put-error.c (do_test): Add newline to the
39008         padded test to ensure flush.
39010 2012-12-05  Jeff Law  <law@redhat.com>
39012         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39014 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39016         * README: Don't refer to ports add-on as distributed separately.
39017         Mention AArch64 in list of systems supported in the ports add-on.
39019         * LICENSES: Add more non-FSF copyright and license notices.
39021         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39022         ((unused)).
39024         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39026         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39027         10000 as width of padded output.
39029 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39031         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39033         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39034         variable LX with __attribute__ ((unused)).
39035         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39036         Likewise.
39037         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39038         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39039         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39040         with __attribute__ ((unused)).
39042 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39044         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39046 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39048         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39049         (CFLAGS-nldbl-acos.c): New variable.
39050         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39051         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39052         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39053         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39054         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39055         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39056         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39057         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39058         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39059         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39060         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39061         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39062         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39063         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39064         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39065         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39066         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39067         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39068         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39069         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39070         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39071         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39072         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39073         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39074         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39075         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39076         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39077         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39078         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39079         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39080         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39081         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39082         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39083         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39084         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39085         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39086         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39087         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39088         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39089         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39090         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39091         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39092         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39093         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39094         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39095         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39096         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39097         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39098         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39099         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39100         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39101         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39102         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39103         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39104         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39105         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39106         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39107         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39108         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39109         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39110         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39111         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39112         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39113         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39114         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39115         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39116         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39117         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39118         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39119         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39120         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39121         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39122         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39123         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39124         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39125         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39126         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39127         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39128         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39129         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39130         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39131         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39132         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39133         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39134         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39135         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39136         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39137         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39138         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39139         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39140         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39141         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39142         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39143         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39144         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39145         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39146         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39149         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39151         [BZ #14914]
39152         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39153         whole low double instead of just low 47 bits when splitting values
39154         into two parts.
39156 2012-12-03  Allan McRae  <allan@archlinux.org>
39158         * manual/stdio.texi (Predefined Printf Handlers): Remove
39159         @hsep and @vsep usage.
39161 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39163         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39164         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39166 2012-12-03  Jeff Law  <law@redhat.com>
39168         * time/sys/time.h (settimeofday): Do not mark TV argument
39169         as __nonnull.
39171 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39173         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39174         when currently writing and seek to current position when not.
39175         * libio/Makefile (tests): Remove bug-fclose1.
39176         * libio/bug-fclose1.c: Delete.
39178 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39180         * manual/arith.texi (feenableexcept): Fix typo.
39181         (fedisableexcept): Likewise.
39183 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39185         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39186         second, differently-typed declaration, rather than a cast.
39188 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39190         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39191         * include/rpc/svc.h: ... here.
39193 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39195         [BZ #13013]
39196         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39197         depending n and resplen2 to catch cases where answer
39198         equals answerp2.
39200 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39202         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39203         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39205 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39207         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39209 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39211         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39213 2012-11-28  Jeff Law  <law@redhat.com>
39215         [BZ #13761]
39216         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39217         dataset_temporary.  Track alloca usage into alloca_used.
39218         If dataset is large allocate and release it via malloc/free.
39220 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39222         [BZ #14197]
39223         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39225 2012-11-28  David S. Miller  <davem@davemloft.net>
39227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39229 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39231         [BZ #14803]
39232         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39233         of pi/2 rounded to nearest to 64 bits.
39234         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39235         nearest to 64 bits.
39236         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39237         bits.
39239 2012-11-28  Jeff Law <law@redhat.com>
39240             Martin Osvald <mosvald@redhat.com>
39242         [BZ #14889]
39243         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39244         * sunrpc/svc.c: Include time.h.
39245         (__svc_accept_failed): New function.
39246         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39247         any reason other than EINTR, call __svc_accept_failed.
39248         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39249         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39251 2012-11-28  Andreas Schwab  <schwab@suse.de>
39253         * scripts/abilist.awk: Also handle indirect functions in .opd
39254         section.
39256 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39258         [BZ #13881]
39259         * sysdeps/x86/fpu/powl_helper.c: New file.
39260         * sysdeps/x86/fpu/Makefile: Likewise.
39261         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39262         (p3): New object.
39263         (__ieee754_powl): Use __powl_helper for finite arguments except
39264         integer exponents below 8.
39265         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39266         (p3): New object.
39267         (__ieee754_powl): Use __powl_helper for finite arguments except
39268         integer exponents below 8.
39269         * math/libm-test.inc (pow_test): Add more tests and enable some
39270         previously disabled tests.
39271         * sysdeps/i386/fpu/libm-test-ulps: Update.
39272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39274 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39275             Carlos O'Donell  <carlos_odonell@mentor.com>
39277         * nss/makedb.c (is_prime): Assert that input is odd and greater
39278         than 4.  Note that fact in a comment too.
39279         (next_prime): Add 4 to input.
39281 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39283         [BZ #11741]
39284         * libio/Makefile (tests): Add test case tst-fwrite-error.
39285         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39286         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39287         * libio/tst-fwrite-error.c: New test case.
39289 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39291         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39292         before casting to void *.
39293         * include/libc-internal.h (__pointer_type): New macro.
39294         (__integer_if_pointer_type_sub): Likewise.
39295         (__integer_if_pointer_type): Likewise.
39296         (cast_to_integer): Likewise.
39297         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39298         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39299         before casting to atomic64_t.
39300         (atomic_exchange_acq): Likewise.
39301         (__arch_exchange_and_add_body): Likewise.
39302         (__arch_add_body): Likewise.
39303         (atomic_add_negative): Likewise.
39304         (atomic_add_zero): Likewise.
39306 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39308         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39309         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39310         (add_fdes): Likewise.
39311         (linear_search_fdes): Likewise.
39312         (binary_search_unencoded_fdes): Likewise.
39314 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39316         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39318 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39320         * configure.in: Autodetect C++ header directories.
39321         * configure: Regenerated.
39323 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39325         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39327 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39331 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39333         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39334         LDBL_MANT_DIG == 106]: Disable some tests.
39335         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39336         Likewise.
39337         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39338         Likewise.
39340         [BZ #14871]
39341         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39342         input for small inputs.  Return +/- pi/2 for large inputs.
39343         * math/libm-test.inc (atan_test): Add more tests.
39345         * sysdeps/generic/unwind-dw2-fde-glibc.c
39346         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39347         __attribute__ ((unused)).
39349         [BZ #14645]
39350         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39351         x * y if x and y are nonzero and z is zero.
39353         [BZ #14811]
39354         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39355         nonzero exponents with absolute value below 0x1p-117 to +/-
39356         0x1p-117.
39358         [BZ #14869]
39359         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39360         up arguments below 2**-450, not just those below 2**-500.
39361         * math/libm-test.inc (hypot_test): Add another test.
39363         [BZ #14868]
39364         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39365         Return a+b for ratio over 2**120, not 2**60.
39366         * math/libm-test.inc (hypot_test): Add another test.
39368         * math/libm-test.inc (clog_test): Use
39369         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39370         (clog10_test): Likewise.
39372         [BZ #6778]
39373         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39375 2012-11-22  Andreas Schwab  <schwab@suse.de>
39377         * sysdeps/i386/fpu/libm-test-ulps: Update.
39379 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39381         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39382         printf output with newline.
39384 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39386         [BZ #14865]
39387         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39388         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39389         -z nodlopen, -z initfirst and -z execstack support.
39390         * configure: Regenerated.
39392         * elf/elf.h (DF_1_NODIRECT): New macro.
39393         (DF_1_IGNMULDEF): Likewise.
39394         (DF_1_NOKSYMS): Likewise.
39395         (DF_1_NOHDR): Likewise.
39396         (DF_1_EDITED): Likewise.
39397         (DF_1_NORELOC): Likewise.
39398         (DF_1_SYMINTPOSE): Likewise.
39399         (DF_1_GLOBAUDIT): Likewise.
39400         (DF_1_SINGLETON): Likewise.
39401         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39402         DT_1_SUPPORTED_MASK bits.
39403         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39405 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39407         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39409 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39411         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39412         macro.
39414         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39415         (sendmmsg): Move declarations...
39416         * socket/sys/socket.h: ... here.
39417         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39418         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39419         include it from...
39420         * socket/recvmmsg.c: ... this new file.
39421         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39422         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39423         definition of __sendmmsg hidden.
39424         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39425         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39426         Move ENOSYS stub into and include it from...
39427         * socket/sendmmsg.c: ... this new file.
39428         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39429         (sysdep_routines): Move recvmmsg and sendmmsg...
39430         * socket/Makefile (routines): ... here.
39431         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39432         (GLIBC_PRIVATE): Add __sendmmsg.
39433         * include/sys/socket.h (__sendmmsg): Add declarations.
39434         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39435         sendmmsg.
39437 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39439         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39440         variable I1 with __attribute__ ((unused)).
39441         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39443 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39445         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39446         DUMMY variables with __attribute__ ((unused)).
39448         * bits/byteswap.h: Include <bits/types.h>.
39449         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39451 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39453         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39454         string_t.  Do not manually set errno.
39455         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39456         length with __strnlen.  Make sure to both set errno and return it on
39457         failure.
39459 2012-11-19  David S. Miller  <davem@davemloft.net>
39461         With help from Joseph Myers.
39462         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39463         very large arguments properly.
39464         * math/libm-test.inc (atan_test): New tests.
39465         (atan2_test): New tests.
39466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39467         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39469 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39471         [BZ #14856]
39472         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39473         Define to 3.
39475         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39476         [POSIX] (EADDRNOTAVAIL): Likewise.
39477         [POSIX] (EAFNOSUPPORT): Likewise.
39478         [POSIX] (EALREADY): Likewise.
39479         [POSIX] (ECONNABORTED): Likewise.
39480         [POSIX] (ECONNREFUSED): Likewise.
39481         [POSIX] (ECONNRESET): Likewise.
39482         [POSIX] (EDESTADDRREQ): Likewise.
39483         [POSIX] (EDQUOT): Likewise.
39484         [POSIX] (EHOSTUNREACH): Likewise.
39485         [POSIX] (EIDRM): Likewise.
39486         [POSIX] (EISCONN): Likewise.
39487         [POSIX] (ELOOP): Likewise.
39488         [POSIX] (EMULTIHOP): Likewise.
39489         [POSIX] (ENETDOWN): Likewise.
39490         [POSIX] (ENETUNREACH): Likewise.
39491         [POSIX] (ENOBUFS): Likewise.
39492         [POSIX] (ENODATA): Likewise.
39493         [POSIX] (ENOLINK): Likewise.
39494         [POSIX] (ENOMSG): Likewise.
39495         [POSIX] (ENOPROTOOPT): Likewise.
39496         [POSIX] (ENOSR): Likewise.
39497         [POSIX] (ENOSTR): Likewise.
39498         [POSIX] (ENOTCONN): Likewise.
39499         [POSIX] (ENOTSOCK): Likewise.
39500         [POSIX] (EOPNOTSUPP): Likewise.
39501         [POSIX] (EOVERFLOW): Likewise.
39502         [POSIX] (EPROTO): Likewise.
39503         [POSIX] (EPROTONOSUPPORT): Likewise.
39504         [POSIX] (EPROTOTYPE): Likewise.
39505         [POSIX] (ESTALE): Likewise.
39506         [POSIX] (ETIME): Likewise.
39507         [POSIX] (ETXTBSY): Likewise.
39508         [POSIX] (EWOULDBLOCK): Likewise.
39509         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39510         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39511         [POSIX] (SEEK_CUR): Likewise.
39512         [POSIX] (SEEK_END): Likewise.
39513         [POSIX || UNIX98] (mode_t): Do not require.
39514         [POSIX] (off_t): Likewise.
39515         [POSIX] (pid_t): Likewise.
39516         [POSIX] (sys/stat.h): Do not allow header.
39517         [POSIX] (unistd.h): Likewise.
39518         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39519         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39520         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39521         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39522         require.
39523         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39524         sigevent): Specify elements.
39525         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39526         entry.
39527         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39528         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39530         * conform/data/cpio.h-data [POSIX]: Disable whole file.
39531         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39532         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39533         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39534         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39535         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39536         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39537         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39538         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39539         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39540         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39541         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39542         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39543         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39544         Likewise.
39545         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39546         Likewise.
39547         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39548         Likewise.
39549         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39550         Likewise.
39551         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39552         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39553         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39554         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39555         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39556         Specify lower bound on value.
39557         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39558         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39559         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39560         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39561         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39562         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39563         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39564         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39565         value.
39566         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39567         as optional.
39568         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39569         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39570         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39571         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39572         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39573         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39574         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39575         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39576         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39577         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39578         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39579         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39580         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39581         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39582         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39583         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39584         entry.
39585         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39586         optional.
39587         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39588         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39589         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39590         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39591         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39592         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39593         Likewise.
39594         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39595         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39596         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39597         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39598         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39599         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39600         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39601         as optional.
39602         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39603         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39604         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39605         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39606         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39607         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39608         specify as optional.
39609         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39610         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39611         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39612         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39613         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39614         [XPG3] (NL_LANGMAX): Likewise.
39615         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39616         [POSIX || XPG3] (NL_NMAX): Likewise.
39617         [POSIX || XPG3] (NL_SETMAX): Likewise.
39618         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39619         [XPG3] (NZERO): Likewise.
39620         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39621         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39622         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39623         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39624         (REG_ERANGE): Expect.
39625         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39626         optional-constant.
39627         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39628         Use (void) in prototype.
39629         [POSIX] (*_t): Allow.
39630         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39631         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39632         (WRDE_BADVAL): Expect.
39634         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39635         expect.
39636         [XPG3 || XPG4] (O_RSYNC): Likewise.
39637         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39638         Likewise.
39639         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39640         [XPG3 || XPG4] (sigqueue): Likewise.
39641         [XPG3 || XPG4] (sigtimedwait): Likewise.
39642         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39643         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39644         [XPG3 || XPG4] (vsnprintf): Likewise.
39645         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39646         Likewise.
39647         [XPG3 || XPG4] (blksize_t): Likewise.
39648         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39649         Likewise.
39650         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39651         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39652         [XPG3 || XPG4] (struct itimerspec): Likewise.
39653         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39654         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39655         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39656         [XPG3 || XPG4] (clockid_t): Likewise.
39657         [XPG3 || XPG4] (timer_t): Likewise.
39658         [XPG3 || XPG4] (clock_getres): Likewise.
39659         [XPG3 || XPG4] (clock_gettime): Likewise.
39660         [XPG3 || XPG4] (clock_settime): Likewise.
39661         [XPG3 || XPG4] (nanosleep): Likewise.
39662         [XPG3 || XPG4] (timer_create): Likewise.
39663         [XPG3 || XPG4] (timer_delete): Likewise.
39664         [XPG3 || XPG4] (timer_gettime): Likewise.
39665         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39666         [XPG3 || XPG4] (timer_settime): Likewise.
39667         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39668         [XPG3 || XPG4] (getlogin_r): Likewise.
39669         [XPG3 || XPG4] (pread): Likewise.
39670         [XPG3 || XPG4] (pthread_atfork): Likewise.
39671         [XPG3 || XPG4] (pwrite): Likewise.
39673         [BZ #14835]
39674         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39675         <bits/siginfo.h>.
39677 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39679         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39680         finalizing MALLSTREAM.
39682         * sysdeps/mach/hurd/syncfs.c: New file.
39684 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39686         [BZ #14719]
39687         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39688         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39689         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39690         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39691         (_nss_dns_gethostbyname4_r): Likewise.
39692         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39693         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39695 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
39697         [BZ #13763]
39698         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39700 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
39702         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39703         * elf/cache.c (print_entry): Print ",AArch64" for
39704         FLAG_AARCH64_LIB64
39706         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39707         * elf/cache.c (print_entry): Print ",hard-float" for
39708         FLAG_ARM_LIBHF.
39710 2012-11-18  David S. Miller  <davem@davemloft.net>
39712         With help from Joseph Myers.
39713         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39714         cutoff to 2**-13.
39715         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39716         cutoff to 2**-25.
39717         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39718         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39719         small.
39720         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39721         * math/libm-test.inc (y0_test): New tests.
39722         (y1_test): New tests.
39723         * sysdeps/i386/fpu/libm-test-ulps: Update.
39724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39727 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
39729         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39730         64-bit targets.
39731         * configure: Regenerated.
39733 2012-11-17  David S. Miller  <davem@davemloft.net>
39735         [BZ #14811]
39736         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39737         nonzero exponents with absolute value below 0x1p-128 to +/-
39738         0x1p-128.
39740 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
39742         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39744         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39746         * posix/getconf-speclist.c: New file.
39747         * posix/posix-envs.def: Likewise.
39748         * posix/confstr.c (START_ENV_GROUP): New macro.
39749         (END_ENV_GROUP): Likewise.
39750         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39751         (KNOWN_PRESENT_ENV_STRING): Likewise.
39752         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39753         (UNKNOWN_ENVIRONMENT): Likewise.
39754         (confstr): Include posix-envs.def instead of handling
39755         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39756         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39757         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39758         (END_ENV_GROUP): Likewise.
39759         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39760         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39761         (UNKNOWN_ENVIRONMENT): Likewise.
39762         (__sysconf): Include posix-envs.def instead of handling associated
39763         cases directly here.
39764         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39765         preprocessing getconf-speclist.c rather than running getconf or
39766         generating empty file.
39768 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
39770         * scripts/check-local-headers.sh: Ignore 'mach' headers.
39772 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
39774         [BZ #14672]
39775         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39777 2012-11-16  David S. Miller  <davem@davemloft.net>
39779         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39780         smaller than LDBL_EPSILON/2.0L, just return xm1.
39782 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
39784         * elf/tst-array1.c (init): Set constructor priority to 1000.
39785         (fini): Set destructor priority to 1000.
39786         * elf/tst-array2dep.c: Likewise.
39788 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39790         [BZ #11741]
39791         * libio/fileops.c (_IO_new_file_write): Correctly return error.
39792         (_IO_new_file_xsputn): Also return EOF if none of the input
39793         data was written when overflow failed.
39794         * libio/iopadn.c (_IO_padn): Likewise.
39795         * libio/iowpadn.c (_IO_wpadn): Likewise.
39796         * stdio-common/tst-put-error.c: Add copyright notice.
39797         (do_test): Add case for printing padded string.
39798         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39799         _IO_padn returned error.
39800         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39801         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39802         return EOF.
39804 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39806         * libio/libioP.h: Add comment note that the references to C++
39807         bits are now obsolete.
39809 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39811         * math/libm-test.inc (check_complex): Use asprintf.
39813 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
39815         * debug/pcprofiledump.c (print_version): Update copyright year.
39816         * malloc/memusagestat.c (print_version): Likewise.
39818 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
39820         [BZ #14831]
39821         * elf/Makefile (tests): Add tst-audit8.
39822         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39823         ($(objpfx)tst-audit8.out): New target.
39824         (tst-audit8-ENV): New variable.
39825         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39826         audit if l_reloc_result is NULL.
39827         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39828         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39829         * elf/tst-audit8.c: New file.
39831 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39833         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39834         * misc/Makefile (CFLAGS-select.c): Define.
39835         * posix/Makefile (CFLAGS-pause.c): Define.
39837 2012-11-13  David S. Miller  <davem@davemloft.net>
39839         * crypt/Makefile: Move test targets after toplevel Rules
39840         inclusion.  Grab any necessary sysdep routines when linking.
39841         * crypt/md5.c (md5_process_block): Remove define, we will always
39842         name it __md5_process_block.
39843         (md5_finish_ctx): Update md5_process_block call.
39844         (md5_stream): Likewise.
39845         (md5_process_bytes): Likewise.
39846         (md5_process_block): Rename to __md5_process_block and move to ...
39847         * crypt/md5-block.c: ... here.
39848         * crypt/sha256.c (sha256_process_block): Move to ...
39849         * crypt/sha256-block.c: ... here.
39850         * crypt/sha512.c (sha512_process_block): Move to ...
39851         * crypt/sha512-block.c: ... here.
39852         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39853         path.
39854         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39855         * sysdeps/sparc/sparc64/multiarch/Makefile
39856         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39857         crypt subdir.
39858         (localedef-aux): Add md5 crypto assembler when in locale subdir.
39859         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39860         multiarch changes.
39861         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39862         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39863         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39864         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39865         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39866         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39867         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39868         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39869         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39870         file.
39871         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39872         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39873         file.
39874         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39876 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
39878         * timezone/tzselect.ksh: Update from tzcode git revision
39879         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39880         * timezone/zdump.c: Likewise.
39881         * timezone/zic.c: Likewise.
39882         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39883         in TZVERSION setting, not $(PKGVERSION).
39884         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
39885         REPORT_BUGS_TO settings.
39887         [BZ #14838]
39888         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39889         macro.
39891 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39893         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39894         detection to immediately after _FP_ROUND().
39895         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39896         bits are 0.
39898 2012-11-11  David S. Miller  <davem@davemloft.net>
39900         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39901         inttypes.h
39902         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39903         __close rather than their public counterparts.
39905 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
39907         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39908         file.
39909         [UNIX98] (sem_timedwait): Do not expect.
39910         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39911         [XPG4 || UNIX98] (sockatmark): Do not expect.
39912         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39913         (clock_getcpuclockid): Do not expect.
39914         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39915         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39916         Do not expect.
39917         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39918         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39919         [UNIX98] (vwscanf): Likewise.
39920         [UNIX98] (vswscanf): Likewise.
39922 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
39924         * timezone/version.h: Remove file.
39925         * timezone/README: Do not refer to version.h.
39926         * timezone/Makefile ($(objpfx)zic.o): New dependency on
39927         $(objpfx)version.h.
39928         ($(objpfx)zdump.o): Likewise.
39929         ($(objpfx)version.h): New target.
39931         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39932         2012i.
39933         * timezone/README: Don't mention modification to tzselect.ksh.
39934         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39935         work on unmodified tzselect.ksh.  Substitute version numbers in
39936         tzselect.ksh.
39938         * Makefile (format-me): Remove.
39939         (INSTALL): Adjust indentation.  Use commands directly instead of
39940         using $(format-me).
39942         * aclocal.m4 (ACX_PKGVERSION): New macro.
39943         (ACX_BUGURL): Likewise.
39944         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39945         (PKGVERSION): New AC_DEFINE_UNQUOTED.
39946         (REPORT_BUGS_TO): Likewise.
39947         * configure: Regenerated.
39948         * config.h.in (PKGVERSION): New macro.
39949         (REPORT_BUGS_TO): Likewise.
39950         * config.make.in (PKGVERSION): New variable.
39951         (PKGVERSION_TEXI): Likewise.
39952         (REPORT_BUGS_TO): Likewise.
39953         (REPORT_BUGS_TEXI): Likewise.
39954         * Makefile (format-me): Use -I$(common-objpfx)manual.
39955         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39956         ($(common-objpfx)manual/%): New target.
39957         (manual/%): Remove target.
39958         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39959         (print_version): Use PKGVERSION.
39960         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39961         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39962         and REPORT_BUGS_TO.
39963         ($(objpfx)xtrace): Likewise.
39964         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39965         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39966         (print_version): Use PKGVERSION.
39967         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39968         (do_version): Use PKGVERSION.
39969         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39970         REPORT_BUGS_TO.
39971         (common-ldd-rewrite): Likewise.
39972         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39973         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39974         (print_version): Use PKGVERSION.
39975         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39976         * elf/pldd.c (argp_program_bug_address): Remove variable.
39977         (more_help): New function.
39978         (argp): Use more_help.
39979         (print_version): Use PKGVERSION.
39980         * elf/sln.c (main): Use PKGVERSION.
39981         (usage): Use REPORT_BUGS_TO.
39982         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39983         (top level): Use PKGVERSION.
39984         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39985         (print_version): Use PKGVERSION.
39986         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39987         (print_version): Use PKGVERSION.
39988         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39989         (print_version): Use PKGVERSION.
39990         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39991         (print_version): Use PKGVERSION.
39992         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39993         (print_version): Use PKGVERSION.
39994         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39995         (print_version): Use PKGVERSION.
39996         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39997         and BUGURL.
39998         ($(objpfx)memusage): Likewise.
39999         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40000         (do_version): Use PKGVERSION.
40001         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40002         (print_version): Use PKGVERSION.
40003         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40004         ($PKGVERSION): New variable.
40005         ($REPORT_BUGS_TO): Likewise.
40006         (usage): Use $REPORT_BUGS_TO.
40007         (top level): Use $PKGVERSION.
40008         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40009         ($(objpfx)pkgvers.texi): New rule.
40010         ($(objpfx)stamp-pkgvers): Likewise.
40011         * manual/install.texi: Include pkgvers.texi.
40012         (--with-pkgversion): Document new configure option.
40013         (--with-bugurl): Likewise.
40014         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40015         than necessarily for this particular distribution.  Use
40016         REPORT_BUGS_TO for where to report bugs.
40017         * INSTALL: Regenerated.
40018         * manual/libc.texinfo: Include pkgvers.texi.
40019         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40020         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40021         (print_version): Use PKGVERSION.
40022         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40023         (print_version): Use PKGVERSION.
40024         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40025         (print_version): Use PKGVERSION.
40026         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40027         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40028         macro.
40029         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40030         (print_version): Use PKGVERSION.
40031         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40032         (print_version): Use PKGVERSION.
40033         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40034         and PKGVERSION.
40036         * timezone/checktab.awk: Update from tzcode 2012i.
40037         * timezone/ialloc.c: Likewise.
40038         * timezone/private.h: Likewise.
40039         * timezone/scheck.c: Likewise.
40040         * timezone/tzfile.h: Likewise.
40041         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40042         (TZVERSION): Hardcode tzcode version number.
40043         * timezone/zdump.c: Update from tzcode 2012i.
40044         * timezone/zic.c: Likewise.
40045         * timezone/version.h: New file.
40046         * timezone/README: Describe version.h.  Update upstream location.
40048         [BZ #14824]
40049         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40050         (mktemp): Enable declaration.
40051         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40052         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40053         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40054         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40055         Likewise.
40056         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40057         Likewise.
40058         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40059         Likewise.
40060         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40061         Likewise.
40062         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40063         Likewise.
40064         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40065         Likewise.
40067         [BZ #14821]
40068         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40069         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40070         for copies of such integer values.
40071         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40072         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40074 2012-11-09  Andreas Jaeger  <aj@suse.de>
40076         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40077         definitions and declarations that are provided by
40078         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40080 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40082         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40083         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40084         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40085         definition.
40087 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40089         * elf/elf.h: Update comment before AArch64 relocations.
40091 2012-11-07  David S. Miller  <davem@davemloft.net>
40093         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40094         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40095         (__start_context): Declare.
40096         (__makecontext_ret): Delete.
40097         (__makecontext): Hook up __start_context instead of
40098         __makecontext_ret.
40099         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40100         (sysdep_routines): Add __start_context when in stdlib.
40102 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40104         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40105         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40106         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40107         hardcoded "nm".
40108         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40109         (READELF): New variable.  Use it instead of hardcoded "readelf".
40111 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40113         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40114         * sysdeps/x86/Makefile: Here.
40115         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40116         * sysdeps/x86/tst-xmmymm.sh: This.
40118 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40120         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40121         expectations.
40122         [UNIX98] (pthread_barrier_t): Do not expect.
40123         [UNIX98] (pthread_barrierattr_t): Likewise.
40124         [UNIX98] (pthread_spinlock_t): Likewise.
40125         [UNIX98] (pthread_barrier_destroy): Likewise.
40126         [UNIX98] (pthread_barrier_init): Likewise.
40127         [UNIX98] (pthread_barrier_wait): Likewise.
40128         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40129         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40130         [UNIX98] (pthread_barrierattr_init): Likewise.
40131         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40132         [UNIX98] (pthread_getcpuclockid): Likewise.
40133         [UNIX98] (pthread_mutex_timedlock): Likewise.
40134         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40135         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40136         [UNIX98] (pthread_sigmask): Likewise.
40137         [UNIX98] (pthread_spin_destroy): Likewise.
40138         [UNIX98] (pthread_spin_init): Likewise.
40139         [UNIX98] (pthread_spin_lock): Likewise.
40140         [UNIX98] (pthread_spin_trylock): Likewise.
40141         [UNIX98] (pthread_spin_unlock): Likewise.
40142         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40143         Do not expect.
40144         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40145         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40146         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40147         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40148         [XPG3 || XPG4] (pthread_key_t): Likewise.
40149         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40150         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40151         [XPG3 || XPG4] (pthread_once_t): Likewise.
40152         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40153         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40154         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40155         [XPG3 || XPG4] (pthread_t): Likewise.
40157         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40158         not expect.
40159         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40161         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40162         Change function return type to int.
40164         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40165         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40166         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40167         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40168         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40169         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40170         [!POSIX] (posix_madvise): Likewise.
40171         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40172         && !UNIX98].
40173         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40174         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40175         (mode_t): Likewise.
40176         (posix_mem_offset): Likewise.
40177         (posix_typed_mem_get_info): Likewise.
40178         (posix_typed_mem_open): Likewise.
40180         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40181         Change condition to [XOPEN2K8].
40183         * conform/conformtest.pl: Preprocess allow-header data with -x c
40184         instead of from stdin.
40185         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40186         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40187         [C99-based standards] (cerfc): Likewise.
40188         [C99-based standards] (cexp2): Likewise.
40189         [C99-based standards] (cexpm1): Likewise.
40190         [C99-based standards] (clog10): Likewise.
40191         [C99-based standards] (clog1p): Likewise.
40192         [C99-based standards] (clog2): Likewise.
40193         [C99-based standards] (clgamma): Likewise.
40194         [C99-based standards] (ctgamma): Likewise.
40195         [C99-based standards] (cerff): Likewise.
40196         [C99-based standards] (cerfcf): Likewise.
40197         [C99-based standards] (cexp2f): Likewise.
40198         [C99-based standards] (cexpm1f): Likewise.
40199         [C99-based standards] (clog10f): Likewise.
40200         [C99-based standards] (clog1pf): Likewise.
40201         [C99-based standards] (clog2f): Likewise.
40202         [C99-based standards] (clgammaf): Likewise.
40203         [C99-based standards] (ctgammaf): Likewise.
40204         [C99-based standards] (cerfl): Likewise.
40205         [C99-based standards] (cerfcl): Likewise.
40206         [C99-based standards] (cexp2l): Likewise.
40207         [C99-based standards] (cexpm1l): Likewise.
40208         [C99-based standards] (clog10l): Likewise.
40209         [C99-based standards] (clog1pl): Likewise.
40210         [C99-based standards] (clog2l): Likewise.
40211         [C99-based standards] (clgammal): Likewise.
40212         [C99-based standards] (ctgammal): Likewise.
40213         * conform/data/inttypes.h-data [C99-based standards]: Include
40214         stdint.h-data.  Remove all expectations for stdint.h contents.
40215         [C99-based standards] (PRI*): Do not allow.
40216         [C99-based standards] (SCN*): Likewise.
40217         [C99-based standards] (*_t): Likewise.
40218         [C99-based-standards] (PRId8): Expect macro.
40219         [C99-based-standards] (PRIi8): Likewise.
40220         [C99-based-standards] (PRIo8): Likewise.
40221         [C99-based-standards] (PRIu8): Likewise.
40222         [C99-based-standards] (PRIx8): Likewise.
40223         [C99-based-standards] (PRIX8): Likewise.
40224         [C99-based-standards] (SCNd8): Likewise.
40225         [C99-based-standards] (SCNi8): Likewise.
40226         [C99-based-standards] (SCNo8): Likewise.
40227         [C99-based-standards] (SCNu8): Likewise.
40228         [C99-based-standards] (SCNx8): Likewise.
40229         [C99-based-standards] (PRIdLEAST8): Likewise.
40230         [C99-based-standards] (PRIiLEAST8): Likewise.
40231         [C99-based-standards] (PRIoLEAST8): Likewise.
40232         [C99-based-standards] (PRIuLEAST8): Likewise.
40233         [C99-based-standards] (PRIxLEAST8): Likewise.
40234         [C99-based-standards] (PRIXLEAST8): Likewise.
40235         [C99-based-standards] (SCNdLEAST8): Likewise.
40236         [C99-based-standards] (SCNiLEAST8): Likewise.
40237         [C99-based-standards] (SCNoLEAST8): Likewise.
40238         [C99-based-standards] (SCNuLEAST8): Likewise.
40239         [C99-based-standards] (SCNxLEAST8): Likewise.
40240         [C99-based-standards] (PRIdFAST8): Likewise.
40241         [C99-based-standards] (PRIiFAST8): Likewise.
40242         [C99-based-standards] (PRIoFAST8): Likewise.
40243         [C99-based-standards] (PRIuFAST8): Likewise.
40244         [C99-based-standards] (PRIxFAST8): Likewise.
40245         [C99-based-standards] (PRIXFAST8): Likewise.
40246         [C99-based-standards] (SCNdFAST8): Likewise.
40247         [C99-based-standards] (SCNiFAST8): Likewise.
40248         [C99-based-standards] (SCNoFAST8): Likewise.
40249         [C99-based-standards] (SCNuFAST8): Likewise.
40250         [C99-based-standards] (SCNxFAST8): Likewise.
40251         [C99-based-standards] (PRId16): Likewise.
40252         [C99-based-standards] (PRIi16): Likewise.
40253         [C99-based-standards] (PRIo16): Likewise.
40254         [C99-based-standards] (PRIu16): Likewise.
40255         [C99-based-standards] (PRIx16): Likewise.
40256         [C99-based-standards] (PRIX16): Likewise.
40257         [C99-based-standards] (SCNd16): Likewise.
40258         [C99-based-standards] (SCNi16): Likewise.
40259         [C99-based-standards] (SCNo16): Likewise.
40260         [C99-based-standards] (SCNu16): Likewise.
40261         [C99-based-standards] (SCNx16): Likewise.
40262         [C99-based-standards] (PRIdLEAST16): Likewise.
40263         [C99-based-standards] (PRIiLEAST16): Likewise.
40264         [C99-based-standards] (PRIoLEAST16): Likewise.
40265         [C99-based-standards] (PRIuLEAST16): Likewise.
40266         [C99-based-standards] (PRIxLEAST16): Likewise.
40267         [C99-based-standards] (PRIXLEAST16): Likewise.
40268         [C99-based-standards] (SCNdLEAST16): Likewise.
40269         [C99-based-standards] (SCNiLEAST16): Likewise.
40270         [C99-based-standards] (SCNoLEAST16): Likewise.
40271         [C99-based-standards] (SCNuLEAST16): Likewise.
40272         [C99-based-standards] (SCNxLEAST16): Likewise.
40273         [C99-based-standards] (PRIdFAST16): Likewise.
40274         [C99-based-standards] (PRIiFAST16): Likewise.
40275         [C99-based-standards] (PRIoFAST16): Likewise.
40276         [C99-based-standards] (PRIuFAST16): Likewise.
40277         [C99-based-standards] (PRIxFAST16): Likewise.
40278         [C99-based-standards] (PRIXFAST16): Likewise.
40279         [C99-based-standards] (SCNdFAST16): Likewise.
40280         [C99-based-standards] (SCNiFAST16): Likewise.
40281         [C99-based-standards] (SCNoFAST16): Likewise.
40282         [C99-based-standards] (SCNuFAST16): Likewise.
40283         [C99-based-standards] (SCNxFAST16): Likewise.
40284         [C99-based-standards] (PRId32): Likewise.
40285         [C99-based-standards] (PRIi32): Likewise.
40286         [C99-based-standards] (PRIo32): Likewise.
40287         [C99-based-standards] (PRIu32): Likewise.
40288         [C99-based-standards] (PRIx32): Likewise.
40289         [C99-based-standards] (PRIX32): Likewise.
40290         [C99-based-standards] (SCNd32): Likewise.
40291         [C99-based-standards] (SCNi32): Likewise.
40292         [C99-based-standards] (SCNo32): Likewise.
40293         [C99-based-standards] (SCNu32): Likewise.
40294         [C99-based-standards] (SCNx32): Likewise.
40295         [C99-based-standards] (PRIdLEAST32): Likewise.
40296         [C99-based-standards] (PRIiLEAST32): Likewise.
40297         [C99-based-standards] (PRIoLEAST32): Likewise.
40298         [C99-based-standards] (PRIuLEAST32): Likewise.
40299         [C99-based-standards] (PRIxLEAST32): Likewise.
40300         [C99-based-standards] (PRIXLEAST32): Likewise.
40301         [C99-based-standards] (SCNdLEAST32): Likewise.
40302         [C99-based-standards] (SCNiLEAST32): Likewise.
40303         [C99-based-standards] (SCNoLEAST32): Likewise.
40304         [C99-based-standards] (SCNuLEAST32): Likewise.
40305         [C99-based-standards] (SCNxLEAST32): Likewise.
40306         [C99-based-standards] (PRIdFAST32): Likewise.
40307         [C99-based-standards] (PRIiFAST32): Likewise.
40308         [C99-based-standards] (PRIoFAST32): Likewise.
40309         [C99-based-standards] (PRIuFAST32): Likewise.
40310         [C99-based-standards] (PRIxFAST32): Likewise.
40311         [C99-based-standards] (PRIXFAST32): Likewise.
40312         [C99-based-standards] (SCNdFAST32): Likewise.
40313         [C99-based-standards] (SCNiFAST32): Likewise.
40314         [C99-based-standards] (SCNoFAST32): Likewise.
40315         [C99-based-standards] (SCNuFAST32): Likewise.
40316         [C99-based-standards] (SCNxFAST32): Likewise.
40317         [C99-based-standards] (PRId64): Likewise.
40318         [C99-based-standards] (PRIi64): Likewise.
40319         [C99-based-standards] (PRIo64): Likewise.
40320         [C99-based-standards] (PRIu64): Likewise.
40321         [C99-based-standards] (PRIx64): Likewise.
40322         [C99-based-standards] (PRIX64): Likewise.
40323         [C99-based-standards] (SCNd64): Likewise.
40324         [C99-based-standards] (SCNi64): Likewise.
40325         [C99-based-standards] (SCNo64): Likewise.
40326         [C99-based-standards] (SCNu64): Likewise.
40327         [C99-based-standards] (SCNx64): Likewise.
40328         [C99-based-standards] (PRIdLEAST64): Likewise.
40329         [C99-based-standards] (PRIiLEAST64): Likewise.
40330         [C99-based-standards] (PRIoLEAST64): Likewise.
40331         [C99-based-standards] (PRIuLEAST64): Likewise.
40332         [C99-based-standards] (PRIxLEAST64): Likewise.
40333         [C99-based-standards] (PRIXLEAST64): Likewise.
40334         [C99-based-standards] (SCNdLEAST64): Likewise.
40335         [C99-based-standards] (SCNiLEAST64): Likewise.
40336         [C99-based-standards] (SCNoLEAST64): Likewise.
40337         [C99-based-standards] (SCNuLEAST64): Likewise.
40338         [C99-based-standards] (SCNxLEAST64): Likewise.
40339         [C99-based-standards] (PRIdFAST64): Likewise.
40340         [C99-based-standards] (PRIiFAST64): Likewise.
40341         [C99-based-standards] (PRIoFAST64): Likewise.
40342         [C99-based-standards] (PRIuFAST64): Likewise.
40343         [C99-based-standards] (PRIxFAST64): Likewise.
40344         [C99-based-standards] (PRIXFAST64): Likewise.
40345         [C99-based-standards] (SCNdFAST64): Likewise.
40346         [C99-based-standards] (SCNiFAST64): Likewise.
40347         [C99-based-standards] (SCNoFAST64): Likewise.
40348         [C99-based-standards] (SCNuFAST64): Likewise.
40349         [C99-based-standards] (SCNxFAST64): Likewise.
40350         [C99-based-standards] (PRIdMAX): Likewise.
40351         [C99-based-standards] (PRIiMAX): Likewise.
40352         [C99-based-standards] (PRIoMAX): Likewise.
40353         [C99-based-standards] (PRIuMAX): Likewise.
40354         [C99-based-standards] (PRIxMAX): Likewise.
40355         [C99-based-standards] (PRIXMAX): Likewise.
40356         [C99-based-standards] (SCNdMAX): Likewise.
40357         [C99-based-standards] (SCNiMAX): Likewise.
40358         [C99-based-standards] (SCNoMAX): Likewise.
40359         [C99-based-standards] (SCNuMAX): Likewise.
40360         [C99-based-standards] (SCNxMAX): Likewise.
40361         [C99-based-standards] (PRIdPTR): Likewise.
40362         [C99-based-standards] (PRIiPTR): Likewise.
40363         [C99-based-standards] (PRIoPTR): Likewise.
40364         [C99-based-standards] (PRIuPTR): Likewise.
40365         [C99-based-standards] (PRIxPTR): Likewise.
40366         [C99-based-standards] (PRIXPTR): Likewise.
40367         [C99-based-standards] (SCNdPTR): Likewise.
40368         [C99-based-standards] (SCNiPTR): Likewise.
40369         [C99-based-standards] (SCNoPTR): Likewise.
40370         [C99-based-standards] (SCNuPTR): Likewise.
40371         [C99-based-standards] (SCNxPTR): Likewise.
40372         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40373         allow.
40374         * conform/data/stdint.h-data: Update comments to clarify
40375         requirements.
40376         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40377         type.
40378         [C99-based standards] (INT8_MAX): Likewise.
40379         [C99-based standards] (INT16_MIN): Likewise.
40380         [C99-based standards] (INT16_MAX): Likewise.
40381         [C99-based standards] (INT32_MIN): Likewise.
40382         [C99-based standards] (INT32_MAX): Likewise.
40383         [C99-based standards] (INT64_MIN): Likewise.
40384         [C99-based standards] (INT64_MAX): Likewise.
40385         [C99-based standards] (UINT8_MAX): Likewise.
40386         [C99-based standards] (UINT16_MAX): Likewise.
40387         [C99-based standards] (UINT32_MAX): Likewise.
40388         [C99-based standards] (UINT64_MAX): Likewise.
40389         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40390         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40391         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40392         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40393         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40394         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40395         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40396         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40397         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40398         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40399         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40400         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40401         [C99-based standards] (INT_FAST8_MIN): Likewise.
40402         [C99-based standards] (INT_FAST8_MAX): Likewise.
40403         [C99-based standards] (INT_FAST16_MIN): Likewise.
40404         [C99-based standards] (INT_FAST16_MAX): Likewise.
40405         [C99-based standards] (INT_FAST32_MIN): Likewise.
40406         [C99-based standards] (INT_FAST32_MAX): Likewise.
40407         [C99-based standards] (INT_FAST64_MIN): Likewise.
40408         [C99-based standards] (INT_FAST64_MAX): Likewise.
40409         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40410         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40411         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40412         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40413         [C99-based standards] (INTPTR_MIN): Likewise.
40414         [C99-based standards] (INTPTR_MAX): Likewise.
40415         [C99-based standards] (UINTPTR_MAX): Likewise.
40416         [C99-based standards] (INTMAX_MIN): Likewise.
40417         [C99-based standards] (INTMAX_MAX): Likewise.
40418         [C99-based standards] (UINTMAX_MAX): Likewise.
40419         [C99-based standards] (PTRDIFF_MIN): Likewise.
40420         [C99-based standards] (PTRDIFF_MAX): Likewise.
40421         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40422         [C99-based standards] (SIZE_MAX): Likewise.
40423         [C99-based standards] (WCHAR_MAX): Likewise.
40424         [C99-based standards] (WINT_MAX): Likewise.
40425         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40426         constraint on value.
40427         [C99-based standards] (WCHAR_MIN): Likewise.
40428         [C99-based standards] (WINT_MIN): Likewise.
40429         [C99-based standards] (*_t): Allow.
40430         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40431         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40432         Include math.h-data and complex.h-data.  Remove all expectations
40433         of math.h and complex.h contents.
40434         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40435         at end of line.
40436         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40437         (struct tm): Expect tag.
40438         [C99-based-standards] (wcstof): Expect function.
40439         [C99-based-standards] (wcstold): Likewise.
40440         [C99-based-standards] (wcstoll): Likewise.
40441         [C99-based-standards] (wcstoull): Likewise.
40442         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40443         macro-int-constant.  Specify type.
40444         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40445         constraint on value.
40446         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40447         Specify type.
40448         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40449         Specify value.
40450         [ISO C standards]: Do not allow headers.
40451         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40452         wcs[abcdefghijklmnopqrstuvwxyz]*.
40453         [ISO C standards] (*_t): Do not allow.
40454         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40455         Expect function.
40456         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40457         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40458         Specify type.
40459         [ISO C standards]: Do not allow headers.
40460         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40461         is[abcdefghijklmnopqrstuvwxyz]*.
40462         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40463         to[abcdefghijklmnopqrstuvwxyz]*.
40464         [ISO C standards] (*_t): Do not allow.
40465         * conform/data/stdalign.h-data: New file.
40466         * conform/data/stdbool.h-data: Likewise.
40467         * conform/data/stdnoreturn.h-data: Likewise.
40469 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40471         [BZ #14815]
40472         * manual/filesys.texi (Directory Entries): Typo fix.
40473         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40475 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40477         * elf/elf.h (EM_AARCH64): New macro.
40478         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40479         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40480         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40481         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40482         (R_AARCH64_TLSDESC): Likewise.
40483         (NT_ARM_TLS): Likewise.
40484         (NT_ARM_HW_BREAK): Likewise.
40485         (NT_ARM_HW_WATCH): Likewise.
40487 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40489         [BZ #14811]
40490         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40491         (__ieee754_powl): Saturate nonzero exponents with absolute value
40492         below 0x1p-79 to +/- 0x1p-79.
40493         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40494         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40495         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40496         nonzero exponents with absolute value below 0x1p-32 to +/-
40497         0x1p-32.
40498         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40499         (__ieee754_powl): Saturate nonzero exponents with absolute value
40500         below 0x1p-79 to +/- 0x1p-79.
40501         * math/libm-test.inc (pow_test): Add more tests.
40503 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40505         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40506         _dl_s390_cap_flags with kernel. Increase string length.
40507         (_dl_s390_platforms): Add z196 and zEC12.
40509 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40511         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40512         Change XOPEN21K to XOPEN2K.
40514 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
40516         * string/memmove.c: Use memcpy when possible.
40518 2012-11-06  Andreas Jaeger  <aj@suse.de>
40520         * po/eo.po: Update from translation team.
40522 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40524         [BZ #14793]
40525         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40526         exponent and small x and y exponents, scale x or y up.  Increase
40527         by 2 the exponent used in scaling up.
40528         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40529         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40530         * math/libm-test.inc (fma_test): Add more tests.
40531         (fma_test_towardzero): Likewise.
40532         (fma_test_downward): Likewise.
40533         (fma_test_upward): Likewise.
40535 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40537         [BZ #14805]
40538         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40539         fenv_t *.
40541         [BZ #14801]
40542         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40543         namespace for names of struct fields.
40544         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40545         fenv_t fields.
40546         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40547         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40549 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40551         [BZ #3665]
40552         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40554 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40556         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40557         PTR_DEMANGLE.
40559         [BZ #5246]
40560         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40561         PTR_DEMANGLE.
40563 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40565         [BZ #14797]
40566         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40567         definitely overflow as x * y not x * y + z.
40568         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40569         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40570         * math/libm-test.inc (fma_test): Add more tests.
40571         (fma_test_towardzero): Likewise.
40572         (fma_test_downward): Likewise.
40573         (fma_test_upward): Likewise.
40575 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40577         [BZ #157]
40579         * include/stub-tag.h: Remove file.
40580         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40581         '#include' of it.
40582         * manual/maint.texi (Porting): Don't reference it.
40583         * Makerules ($(objpfx)stubs): Likewise.
40584         * dirent/closedir.c: Don't include <stub-tag.h>.
40585         * dirent/dirfd.c: Likewise.
40586         * dirent/fdopendir.c: Likewise.
40587         * dirent/getdents.c: Likewise.
40588         * dirent/getdents64.c: Likewise.
40589         * dirent/opendir.c: Likewise.
40590         * dirent/readdir.c: Likewise.
40591         * dirent/readdir64.c: Likewise.
40592         * dirent/readdir64_r.c: Likewise.
40593         * dirent/readdir_r.c: Likewise.
40594         * dirent/rewinddir.c: Likewise.
40595         * dirent/seekdir.c: Likewise.
40596         * dirent/telldir.c: Likewise.
40597         * gmon/profil.c: Likewise.
40598         * grp/setgroups.c: Likewise.
40599         * inet/if_index.c: Likewise.
40600         * io/access.c: Likewise.
40601         * io/chdir.c: Likewise.
40602         * io/chmod.c: Likewise.
40603         * io/chown.c: Likewise.
40604         * io/close.c: Likewise.
40605         * io/dup.c: Likewise.
40606         * io/dup2.c: Likewise.
40607         * io/dup3.c: Likewise.
40608         * io/euidaccess.c: Likewise.
40609         * io/faccessat.c: Likewise.
40610         * io/fchdir.c: Likewise.
40611         * io/fchmod.c: Likewise.
40612         * io/fchmodat.c: Likewise.
40613         * io/fchown.c: Likewise.
40614         * io/fchownat.c: Likewise.
40615         * io/fcntl.c: Likewise.
40616         * io/flock.c: Likewise.
40617         * io/fstatfs.c: Likewise.
40618         * io/fstatfs64.c: Likewise.
40619         * io/fstatvfs.c: Likewise.
40620         * io/fstatvfs64.c: Likewise.
40621         * io/futimens.c: Likewise.
40622         * io/fxstat.c: Likewise.
40623         * io/fxstat64.c: Likewise.
40624         * io/fxstatat.c: Likewise.
40625         * io/fxstatat64.c: Likewise.
40626         * io/getcwd.c: Likewise.
40627         * io/isatty.c: Likewise.
40628         * io/lchmod.c: Likewise.
40629         * io/lchown.c: Likewise.
40630         * io/link.c: Likewise.
40631         * io/linkat.c: Likewise.
40632         * io/lseek.c: Likewise.
40633         * io/lseek64.c: Likewise.
40634         * io/lxstat64.c: Likewise.
40635         * io/mkdir.c: Likewise.
40636         * io/mkdirat.c: Likewise.
40637         * io/mkfifo.c: Likewise.
40638         * io/mkfifoat.c: Likewise.
40639         * io/open.c: Likewise.
40640         * io/open64.c: Likewise.
40641         * io/openat.c: Likewise.
40642         * io/openat64.c: Likewise.
40643         * io/pipe.c: Likewise.
40644         * io/pipe2.c: Likewise.
40645         * io/poll.c: Likewise.
40646         * io/posix_fadvise.c: Likewise.
40647         * io/posix_fadvise64.c: Likewise.
40648         * io/posix_fallocate.c: Likewise.
40649         * io/posix_fallocate64.c: Likewise.
40650         * io/read.c: Likewise.
40651         * io/readlink.c: Likewise.
40652         * io/readlinkat.c: Likewise.
40653         * io/rmdir.c: Likewise.
40654         * io/sendfile.c: Likewise.
40655         * io/sendfile64.c: Likewise.
40656         * io/statfs.c: Likewise.
40657         * io/statfs64.c: Likewise.
40658         * io/statvfs.c: Likewise.
40659         * io/statvfs64.c: Likewise.
40660         * io/symlink.c: Likewise.
40661         * io/symlinkat.c: Likewise.
40662         * io/ttyname.c: Likewise.
40663         * io/ttyname_r.c: Likewise.
40664         * io/umask.c: Likewise.
40665         * io/unlink.c: Likewise.
40666         * io/unlinkat.c: Likewise.
40667         * io/utime.c: Likewise.
40668         * io/utimensat.c: Likewise.
40669         * io/write.c: Likewise.
40670         * io/xmknod.c: Likewise.
40671         * io/xmknodat.c: Likewise.
40672         * io/xstat.c: Likewise.
40673         * io/xstat64.c: Likewise.
40674         * login/getpt.c: Likewise.
40675         * login/grantpt.c: Likewise.
40676         * login/unlockpt.c: Likewise.
40677         * math/e_acoshl.c: Likewise.
40678         * math/e_acosl.c: Likewise.
40679         * math/e_asinl.c: Likewise.
40680         * math/e_atan2l.c: Likewise.
40681         * math/e_atanhl.c: Likewise.
40682         * math/e_coshl.c: Likewise.
40683         * math/e_expl.c: Likewise.
40684         * math/e_fmodl.c: Likewise.
40685         * math/e_gammal_r.c: Likewise.
40686         * math/e_hypotl.c: Likewise.
40687         * math/e_j0l.c: Likewise.
40688         * math/e_j1l.c: Likewise.
40689         * math/e_jnl.c: Likewise.
40690         * math/e_lgammal_r.c: Likewise.
40691         * math/e_log10l.c: Likewise.
40692         * math/e_log2l.c: Likewise.
40693         * math/e_logl.c: Likewise.
40694         * math/e_powl.c: Likewise.
40695         * math/e_rem_pio2l.c: Likewise.
40696         * math/e_sinhl.c: Likewise.
40697         * math/e_sqrtl.c: Likewise.
40698         * math/fclrexcpt.c: Likewise.
40699         * math/fedisblxcpt.c: Likewise.
40700         * math/feenablxcpt.c: Likewise.
40701         * math/fegetenv.c: Likewise.
40702         * math/fegetexcept.c: Likewise.
40703         * math/fegetround.c: Likewise.
40704         * math/feholdexcpt.c: Likewise.
40705         * math/fesetenv.c: Likewise.
40706         * math/fesetround.c: Likewise.
40707         * math/feupdateenv.c: Likewise.
40708         * math/fgetexcptflg.c: Likewise.
40709         * math/fraiseexcpt.c: Likewise.
40710         * math/fsetexcptflg.c: Likewise.
40711         * math/ftestexcept.c: Likewise.
40712         * math/k_cosl.c: Likewise.
40713         * math/k_rem_pio2l.c: Likewise.
40714         * math/k_sinl.c: Likewise.
40715         * math/k_tanl.c: Likewise.
40716         * math/s_asinhl.c: Likewise.
40717         * math/s_atanl.c: Likewise.
40718         * math/s_cbrtl.c: Likewise.
40719         * math/s_erfl.c: Likewise.
40720         * math/s_expm1l.c: Likewise.
40721         * math/s_log1pl.c: Likewise.
40722         * math/s_tanhl.c: Likewise.
40723         * misc/acct.c: Likewise.
40724         * misc/brk.c: Likewise.
40725         * misc/chflags.c: Likewise.
40726         * misc/chroot.c: Likewise.
40727         * misc/fchflags.c: Likewise.
40728         * misc/fgetxattr.c: Likewise.
40729         * misc/flistxattr.c: Likewise.
40730         * misc/fremovexattr.c: Likewise.
40731         * misc/fsetxattr.c: Likewise.
40732         * misc/fsync.c: Likewise.
40733         * misc/ftruncate.c: Likewise.
40734         * misc/futimes.c: Likewise.
40735         * misc/futimesat.c: Likewise.
40736         * misc/getdomain.c: Likewise.
40737         * misc/getdtsz.c: Likewise.
40738         * misc/gethostid.c: Likewise.
40739         * misc/gethostname.c: Likewise.
40740         * misc/getloadavg.c: Likewise.
40741         * misc/getpagesize.c: Likewise.
40742         * misc/getsysstats.c: Likewise.
40743         * misc/getxattr.c: Likewise.
40744         * misc/gtty.c: Likewise.
40745         * misc/ioctl.c: Likewise.
40746         * misc/lgetxattr.c: Likewise.
40747         * misc/listxattr.c: Likewise.
40748         * misc/llistxattr.c: Likewise.
40749         * misc/lremovexattr.c: Likewise.
40750         * misc/lsetxattr.c: Likewise.
40751         * misc/lutimes.c: Likewise.
40752         * misc/madvise.c: Likewise.
40753         * misc/mincore.c: Likewise.
40754         * misc/mlock.c: Likewise.
40755         * misc/mlockall.c: Likewise.
40756         * misc/mmap.c: Likewise.
40757         * misc/mprotect.c: Likewise.
40758         * misc/msync.c: Likewise.
40759         * misc/munlock.c: Likewise.
40760         * misc/munlockall.c: Likewise.
40761         * misc/munmap.c: Likewise.
40762         * misc/preadv.c: Likewise.
40763         * misc/preadv64.c: Likewise.
40764         * misc/ptrace.c: Likewise.
40765         * misc/pwritev.c: Likewise.
40766         * misc/pwritev64.c: Likewise.
40767         * misc/readv.c: Likewise.
40768         * misc/reboot.c: Likewise.
40769         * misc/remap_file_pages.c: Likewise.
40770         * misc/removexattr.c: Likewise.
40771         * misc/revoke.c: Likewise.
40772         * misc/select.c: Likewise.
40773         * misc/setdomain.c: Likewise.
40774         * misc/setegid.c: Likewise.
40775         * misc/seteuid.c: Likewise.
40776         * misc/sethostid.c: Likewise.
40777         * misc/sethostname.c: Likewise.
40778         * misc/setregid.c: Likewise.
40779         * misc/setreuid.c: Likewise.
40780         * misc/setxattr.c: Likewise.
40781         * misc/sstk.c: Likewise.
40782         * misc/stty.c: Likewise.
40783         * misc/swapoff.c: Likewise.
40784         * misc/swapon.c: Likewise.
40785         * misc/sync.c: Likewise.
40786         * misc/syncfs.c: Likewise.
40787         * misc/syscall.c: Likewise.
40788         * misc/truncate.c: Likewise.
40789         * misc/ualarm.c: Likewise.
40790         * misc/usleep.c: Likewise.
40791         * misc/ustat.c: Likewise.
40792         * misc/utimes.c: Likewise.
40793         * misc/vhangup.c: Likewise.
40794         * misc/writev.c: Likewise.
40795         * posix/_exit.c: Likewise.
40796         * posix/alarm.c: Likewise.
40797         * posix/execve.c: Likewise.
40798         * posix/fexecve.c: Likewise.
40799         * posix/fork.c: Likewise.
40800         * posix/fpathconf.c: Likewise.
40801         * posix/getaddrinfo.c: Likewise.
40802         * posix/getegid.c: Likewise.
40803         * posix/geteuid.c: Likewise.
40804         * posix/getgid.c: Likewise.
40805         * posix/getgroups.c: Likewise.
40806         * posix/getlogin.c: Likewise.
40807         * posix/getlogin_r.c: Likewise.
40808         * posix/getpgid.c: Likewise.
40809         * posix/getpid.c: Likewise.
40810         * posix/getppid.c: Likewise.
40811         * posix/getresgid.c: Likewise.
40812         * posix/getresuid.c: Likewise.
40813         * posix/getsid.c: Likewise.
40814         * posix/getuid.c: Likewise.
40815         * posix/glob64.c: Likewise.
40816         * posix/nanosleep.c: Likewise.
40817         * posix/pathconf.c: Likewise.
40818         * posix/pause.c: Likewise.
40819         * posix/posix_madvise.c: Likewise.
40820         * posix/pread.c: Likewise.
40821         * posix/pread64.c: Likewise.
40822         * posix/pwrite.c: Likewise.
40823         * posix/pwrite64.c: Likewise.
40824         * posix/sched_getaffinity.c: Likewise.
40825         * posix/sched_getp.c: Likewise.
40826         * posix/sched_gets.c: Likewise.
40827         * posix/sched_primax.c: Likewise.
40828         * posix/sched_primin.c: Likewise.
40829         * posix/sched_rr_gi.c: Likewise.
40830         * posix/sched_setaffinity.c: Likewise.
40831         * posix/sched_setp.c: Likewise.
40832         * posix/sched_sets.c: Likewise.
40833         * posix/sched_yield.c: Likewise.
40834         * posix/setgid.c: Likewise.
40835         * posix/setlogin.c: Likewise.
40836         * posix/setpgid.c: Likewise.
40837         * posix/setresgid.c: Likewise.
40838         * posix/setresuid.c: Likewise.
40839         * posix/setsid.c: Likewise.
40840         * posix/setuid.c: Likewise.
40841         * posix/sleep.c: Likewise.
40842         * posix/spawni.c: Likewise.
40843         * posix/sysconf.c: Likewise.
40844         * posix/times.c: Likewise.
40845         * posix/wait.c: Likewise.
40846         * posix/wait3.c: Likewise.
40847         * posix/wait4.c: Likewise.
40848         * posix/waitpid.c: Likewise.
40849         * resolv/gai_sigqueue.c: Likewise.
40850         * resource/getpriority.c: Likewise.
40851         * resource/getrlimit.c: Likewise.
40852         * resource/getrusage.c: Likewise.
40853         * resource/nice.c: Likewise.
40854         * resource/setpriority.c: Likewise.
40855         * resource/setrlimit.c: Likewise.
40856         * resource/ulimit.c: Likewise.
40857         * rt/aio_cancel.c: Likewise.
40858         * rt/aio_fsync.c: Likewise.
40859         * rt/aio_read.c: Likewise.
40860         * rt/aio_sigqueue.c: Likewise.
40861         * rt/aio_suspend.c: Likewise.
40862         * rt/aio_write.c: Likewise.
40863         * rt/clock_getres.c: Likewise.
40864         * rt/clock_gettime.c: Likewise.
40865         * rt/clock_nanosleep.c: Likewise.
40866         * rt/clock_settime.c: Likewise.
40867         * rt/lio_listio.c: Likewise.
40868         * rt/mq_close.c: Likewise.
40869         * rt/mq_getattr.c: Likewise.
40870         * rt/mq_notify.c: Likewise.
40871         * rt/mq_open.c: Likewise.
40872         * rt/mq_receive.c: Likewise.
40873         * rt/mq_send.c: Likewise.
40874         * rt/mq_setattr.c: Likewise.
40875         * rt/mq_timedreceive.c: Likewise.
40876         * rt/mq_timedsend.c: Likewise.
40877         * rt/mq_unlink.c: Likewise.
40878         * rt/shm_open.c: Likewise.
40879         * rt/shm_unlink.c: Likewise.
40880         * rt/timer_create.c: Likewise.
40881         * rt/timer_delete.c: Likewise.
40882         * rt/timer_getoverr.c: Likewise.
40883         * rt/timer_gettime.c: Likewise.
40884         * rt/timer_settime.c: Likewise.
40885         * setjmp/__longjmp.c: Likewise.
40886         * setjmp/setjmp.c: Likewise.
40887         * signal/kill.c: Likewise.
40888         * signal/killpg.c: Likewise.
40889         * signal/raise.c: Likewise.
40890         * signal/sigaction.c: Likewise.
40891         * signal/sigaltstack.c: Likewise.
40892         * signal/sigblock.c: Likewise.
40893         * signal/sigignore.c: Likewise.
40894         * signal/sigintr.c: Likewise.
40895         * signal/signal.c: Likewise.
40896         * signal/sigpause.c: Likewise.
40897         * signal/sigpending.c: Likewise.
40898         * signal/sigqueue.c: Likewise.
40899         * signal/sigreturn.c: Likewise.
40900         * signal/sigset.c: Likewise.
40901         * signal/sigsetmask.c: Likewise.
40902         * signal/sigstack.c: Likewise.
40903         * signal/sigsuspend.c: Likewise.
40904         * signal/sigtimedwait.c: Likewise.
40905         * signal/sigvec.c: Likewise.
40906         * signal/sigwait.c: Likewise.
40907         * signal/sigwaitinfo.c: Likewise.
40908         * signal/sysv_signal.c: Likewise.
40909         * socket/accept.c: Likewise.
40910         * socket/accept4.c: Likewise.
40911         * socket/bind.c: Likewise.
40912         * socket/connect.c: Likewise.
40913         * socket/getpeername.c: Likewise.
40914         * socket/getsockname.c: Likewise.
40915         * socket/getsockopt.c: Likewise.
40916         * socket/isfdtype.c: Likewise.
40917         * socket/listen.c: Likewise.
40918         * socket/recv.c: Likewise.
40919         * socket/recvfrom.c: Likewise.
40920         * socket/recvmsg.c: Likewise.
40921         * socket/send.c: Likewise.
40922         * socket/sendmsg.c: Likewise.
40923         * socket/sendto.c: Likewise.
40924         * socket/setsockopt.c: Likewise.
40925         * socket/shutdown.c: Likewise.
40926         * socket/sockatmark.c: Likewise.
40927         * socket/socket.c: Likewise.
40928         * socket/socketpair.c: Likewise.
40929         * stdio-common/ctermid.c: Likewise.
40930         * stdio-common/cuserid.c: Likewise.
40931         * stdio-common/remove.c: Likewise.
40932         * stdio-common/rename.c: Likewise.
40933         * stdio-common/renameat.c: Likewise.
40934         * stdio-common/tempname.c: Likewise.
40935         * stdlib/getcontext.c: Likewise.
40936         * stdlib/makecontext.c: Likewise.
40937         * stdlib/setcontext.c: Likewise.
40938         * stdlib/swapcontext.c: Likewise.
40939         * stdlib/system.c: Likewise.
40940         * streams/fattach.c: Likewise.
40941         * streams/fdetach.c: Likewise.
40942         * streams/getmsg.c: Likewise.
40943         * streams/getpmsg.c: Likewise.
40944         * streams/putmsg.c: Likewise.
40945         * streams/putpmsg.c: Likewise.
40946         * sysdeps/unix/bsd/getpt.c: Likewise.
40947         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40948         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40949         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40951         Likewise.
40952         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40953         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40954         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40955         * sysvipc/msgctl.c: Likewise.
40956         * sysvipc/msgget.c: Likewise.
40957         * sysvipc/msgrcv.c: Likewise.
40958         * sysvipc/msgsnd.c: Likewise.
40959         * sysvipc/semctl.c: Likewise.
40960         * sysvipc/semget.c: Likewise.
40961         * sysvipc/semop.c: Likewise.
40962         * sysvipc/semtimedop.c: Likewise.
40963         * sysvipc/shmat.c: Likewise.
40964         * sysvipc/shmctl.c: Likewise.
40965         * sysvipc/shmdt.c: Likewise.
40966         * sysvipc/shmget.c: Likewise.
40967         * termios/tcdrain.c: Likewise.
40968         * termios/tcflow.c: Likewise.
40969         * termios/tcflush.c: Likewise.
40970         * termios/tcgetattr.c: Likewise.
40971         * termios/tcgetpgrp.c: Likewise.
40972         * termios/tcsendbrk.c: Likewise.
40973         * termios/tcsetattr.c: Likewise.
40974         * termios/tcsetpgrp.c: Likewise.
40975         * time/adjtime.c: Likewise.
40976         * time/clock.c: Likewise.
40977         * time/getitimer.c: Likewise.
40978         * time/gettimeofday.c: Likewise.
40979         * time/setitimer.c: Likewise.
40980         * time/settimeofday.c: Likewise.
40981         * time/stime.c: Likewise.
40982         * time/time.c: Likewise.
40984 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
40986         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40987         /usr/old/bin.
40989         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40990         instead of spaces.
40991         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40993 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
40995         [BZ #14796]
40996         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40997         FE_TONEAREST before applying Dekker multiplication and Knuth
40998         addition.  Clear inexact exceptions and check for exact zero
40999         results afterwards.
41000         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41001         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41002         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41003         * math/libm-test.inc (fma_test): Add more tests.
41004         (fma_test_towardzero): Likewise.
41005         (fma_test_downward): Likewise.
41006         (fma_test_upward): Likewise.
41007         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41008         function.
41009         (libc_fesetround): New macro.
41010         (libc_fesetroundf): Likewise.
41011         (libc_fesetroundl): Likewise.
41012         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41013         function.
41014         (libc_fesetround_387): Likewise.
41015         (libc_fesetroundf): New macro.
41016         (libc_fesetround): Likewise.
41017         (libc_fesetroundl): Likewise.
41018         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41019         function.
41020         (libc_fesetroundf): New macro.
41021         (libc_fesetround): Likewise.
41022         (libc_fesetroundl): Likewise.
41023         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41024         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41025         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41026         libm_hidden_ver.
41027         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41028         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41029         libm_hidden_def.
41030         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41031         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41032         libm_hidden_ver.
41033         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41034         libm_hidden_def.
41036         [BZ #3439]
41037         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41038         integer constant usable in #if and use that to give value to enum
41039         constant.
41040         (FE_DIVBYZERO): Likewise.
41041         (FE_UNDERFLOW): Likewise.
41042         (FE_OVERFLOW): Likewise.
41043         (FE_INVALID): Likewise.
41044         (FE_INVALID_SNAN): Likewise.
41045         (FE_INVALID_ISI): Likewise.
41046         (FE_INVALID_IDI): Likewise.
41047         (FE_INVALID_ZDZ): Likewise.
41048         (FE_INVALID_IMZ): Likewise.
41049         (FE_INVALID_COMPARE): Likewise.
41050         (FE_INVALID_SOFTWARE): Likewise.
41051         (FE_INVALID_SQRT): Likewise.
41052         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41053         (FE_TONEAREST): Likewise.
41054         (FE_TOWARDZERO): Likewise.
41055         (FE_UPWARD): Likewise.
41056         (FE_DOWNWARD): Likewise.
41057         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41058         (FE_DIVBYZERO): Likewise.
41059         (FE_OVERFLOW): Likewise.
41060         (FE_UNDERFLOW): Likewise.
41061         (FE_INEXACT): Likewise.
41062         (FE_TONEAREST): Likewise.
41063         (FE_DOWNWARD): Likewise.
41064         (FE_UPWARD): Likewise.
41065         (FE_TOWARDZERO): Likewise.
41066         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41067         (FE_UNDERFLOW): Likewise.
41068         (FE_OVERFLOW): Likewise.
41069         (FE_DIVBYZERO): Likewise.
41070         (FE_INVALID): Likewise.
41071         (FE_TONEAREST): Likewise.
41072         (FE_TOWARDZERO): Likewise.
41073         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41074         (FE_OVERFLOW): Likewise.
41075         (FE_UNDERFLOW): Likewise.
41076         (FE_DIVBYZERO): Likewise.
41077         (FE_INEXACT): Likewise.
41078         (FE_TONEAREST): Likewise.
41079         (FE_TOWARDZERO): Likewise.
41080         (FE_UPWARD): Likewise.
41081         (FE_DOWNWARD): Likewise.
41082         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41083         (FE_DIVBYZERO): Likewise.
41084         (FE_OVERFLOW): Likewise.
41085         (FE_UNDERFLOW): Likewise.
41086         (FE_INEXACT): Likewise.
41087         (FE_TONEAREST): Likewise.
41088         (FE_DOWNWARD): Likewise.
41089         (FE_UPWARD): Likewise.
41090         (FE_TOWARDZERO): Likewise.
41092 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41094         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41096 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41098         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41099         commands.  Quote $PWD.
41100         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41101         -x" by "export".
41102         (remove_newlines): Remove.
41104 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41106         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41107         * stdlib/stdlib.h (atof): Moved to ...
41108         * include/bits/stdlib-float.h: Here.  New file.
41109         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41110         * stdlib/bits/stdlib-float.h: New file.
41111         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41112         -mno-sse -mno-mmx.
41113         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41114         <xmmintrin.h>.
41116 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41118         * conform/conformtest.pl (@headers): Add fenv.h.
41119         * conform/data/fenv.h-data: New file.
41120         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41121         include of <math/fenv.h>.
41123         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41124         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41125         && !UNIX98].  Enables tests for XOPEN2K8.
41126         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41127         POSIX2008]: Likewise.
41129         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41130         (struct rusage): Do not expect type or its members.
41132         [BZ #3439]
41133         * math/math.h (FP_NAN): Define macro to integer constant usable in
41134         #if and use that to give value to enum constant.
41135         (FP_INFINITE): Likewise.
41136         (FP_ZERO): Likewise.
41137         (FP_SUBNORMAL): Likewise.
41138         (FP_NORMAL): Likewise.
41140 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41142         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41143         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41144         arguments.
41146 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41148         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41149         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41150         autoconf-time if not.
41151         * configure.in: Remove AC_PREREQ.
41153 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41155         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41156         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41157         of the internal implementation.
41159 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41161         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41162         except include of <misc/sys/syslog.h>.
41164 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41167         function returns with a NULL context exit with zero.
41169 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41171         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41173 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41175         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41176         (run_program_cmd): This.
41177         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41178         (tst_langinfo): New variable.  Use it.
41180 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41182         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41183         floating point opcodes.
41185 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41187         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41188         variable.
41190         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41192         * sysdeps/mach/hurd/powerpc: Remove directory.
41193         * sysdeps/mach/powerpc: Likewise.
41195 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41197         * scripts/check-local-headers.sh: Ignore c++ headers.
41199 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41201         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41202         __libc_cleanup_region_start argument.
41204 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41206         [BZ #14784]
41207         [BZ #14785]
41208         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41209         x * y using scaling, not as x * y + z.
41210         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41211         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41212         * math/libm-test.inc (fma_test): Add more tests.
41213         (fma_test_towardzero): Likewise.
41214         (fma_test_downward): Likewise.
41215         (fma_test_upward): Likewise.
41217 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41219         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41221 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41223         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41224         New variable.
41226 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41228         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41230 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41233         Fix sort order.
41234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41235         Likewise.
41237 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41240         Fix the order of the list for glibc 2.17.
41241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41242         Likewise.
41244 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41248 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41250         [BZ #14610]
41251         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41252         for low part of x being zero before using __atanl (y).
41253         * math/libm-test.inc (atan2_test): Add another test.
41255         * manual/install.texi (Configuring and compiling): Document
41256         general use of test-wrapper and test-wrapper-env.
41257         * INSTALL: Regenerated.
41259         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41260         (__fma): Do not extract and scale down low bits on after-rounding
41261         systems when result rounded to normal precision would have normal
41262         exponent.
41263         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41264         (__fmal): Do not extract and scale down low bits on after-rounding
41265         systems when result rounded to normal precision would have normal
41266         exponent.
41267         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41268         (__fmal): Do not extract and scale down low bits on after-rounding
41269         systems when result rounded to normal precision would have normal
41270         exponent.
41271         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41272         macro.
41273         (fma_test): Add more tests.
41274         (fma_test_towardzero): Likewise.
41275         (fma_test_downward): Likewise.
41276         (fma_test_upward): Likewise.
41278 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41280         * sysdeps/i386/tininess.h: Renamed to ...
41281         * sysdeps/x86/tininess.h: This.
41282         * sysdeps/x86_64/tininess.h: Removed.
41284 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41286         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41287         input.  Use $(build-program-cmd).
41288         ($(objpfx)tst-array1-static.out): Likewise.
41289         ($(objpfx)tst-array2.out): Likewise.
41290         ($(objpfx)tst-array3.out): Likewise.
41291         ($(objpfx)tst-array4.out): Likewise.
41292         ($(objpfx)tst-array5.out): Likewise.
41293         ($(objpfx)tst-array5-static.out): Likewise.
41295 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41297         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41298         if defined.
41300         * nss/nsswitch.h (nss_interface_function): Provide new
41301         macro for use with NSS functions.
41302         * grp/initgroups.c: Use new macro.
41303         * nss/getXXbyYY.c: Likewise.
41304         * nss/getXXbyYY_r.c: Likewise.
41305         * nss/getXXent.c: Likewise.
41306         * nss/getXXent_r.c: Likewise.
41307         * sysdeps/posix/getaddrinfo.c: Likewise.
41309 2012-10-30  Andreas Jaeger  <aj@suse.de>
41311         * po/ru.po: Update Russion translation from translation project.
41313 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41315         [BZ #14152]
41316         [BZ #14783]
41317         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41318         result and shift together with sticky bit instead of replicating
41319         round-to-nearest rounding.
41320         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41321         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41322         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41323         missing underflow exceptions.
41324         (fma_test_towardzero): Add more tests.
41325         (fma_test_downward): Likewise.
41326         (fma_test_upward): Likewise.
41328         [BZ #14047]
41329         * sysdeps/generic/tininess.h: New file.
41330         * sysdeps/i386/tininess.h: Likewise.
41331         * sysdeps/sh/tininess.h: Likewise.
41332         * sysdeps/x86_64/tininess.h: Likewise.
41333         * stdlib/tst-strtod-underflow.c: Likewise.
41334         * stdlib/tst-tininess.c: Likewise.
41335         * stdlib/strtod_l.c: Include <tininess.h>.
41336         (round_and_return): Do not set errno for exact underflow cases.
41337         Force an underflow exception when setting errno for underflow.
41338         Determine underflow based on rounding to normal precision if
41339         TININESS_AFTER_ROUNDING.
41340         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41341         ERANGE for exact underflow cases.
41342         * stdlib/Makefile (tests): Add tst-tininess and
41343         tst-strtod-underflow.
41344         ($(objpfx)tst-tininess): Use $(link-libm).
41345         ($(objpfx)tst-strtod-underflow): Likewise.
41347 2012-10-30  Andreas Jaeger  <aj@suse.de>
41349         [BZ#14767]
41350         * elf/Makefile (tests): Remove conditional for have-initfini-array
41351         since this is now always required and the variable does not exist
41352         anymore.
41353         (tests-static): Likewise.
41354         (modules-names): Likewise.
41356         * po/eo.po: Add Esperanto translation from translation project.
41358         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41359         merged with constructor/destructor.
41360         (init_array): Likewise.
41361         * elf/tst-array2dep.c (fini_array): Likewise.
41362         (init_array): Likewise.
41364 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41366         * manual/message.texi: Delete @cartouche tags.
41368 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41370         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41371         EOPNOTSUPP.
41372         * sysdeps/mach/hurd/fsync.c: Likewise.
41374         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41375         [_POSIX_REALTIME_SIGNALS]: Change condition to
41376         [_POSIX_REALTIME_SIGNALS > 0].
41378 2012-10-27  Andreas Jaeger  <aj@suse.de>
41380         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41381         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41382         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41383         [__WORDSIZE != 64]: Likewise.
41385 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41387         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41388         *  iconvdata/tst-tables.sh: Likewise.
41390 2012-10-25  David S. Miller  <davem@davemloft.net>
41392         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41393         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41394         of strtoull.
41396         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41397         ifunc-impl-list.c
41398         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41399         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41400         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41401         file.
41403 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41405         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41406         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41407         __getdirentries.
41409 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41410             Jim Blandy  <jimb@codesourcery.com>
41412         * scripts/cross-test-ssh.sh: New file.
41413         * manual/install.texi (Configuring and compiling): Document use of
41414         cross-test-ssh.sh.
41415         * INSTALL: Regenerated.
41417 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41419         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41420         EOPNOTSUPP.
41422 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41424         * Makeconfig (run-program-prefix): Fix comment.
41426 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41427             Jim Blandy  <jimb@codesourcery.com>
41429         * Makeconfig (test-wrapper): New variable,
41430         (test-wrapper-env): Likewise.
41431         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41432         (run-built-tests): Define to yes.
41433         (run-program-prefix): Use $(test-wrapper).
41434         (built-program-cmd): Likewise.
41435         * Rules (make-test-out): Use $(test-wrapper-env) and
41436         $(host-built-program-cmd).
41437         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41438         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41439         tst-pathopt.sh.
41440         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41441         $(test-wrapper-env) to tst-rtld-load-self.sh.
41442         ($(objpfx)order2.out): Use $(test-wrapper).
41443         ($(objpfx)tst-initorder.out): Likewise.
41444         ($(objpfx)tst-initorder2.out): Likewise.
41445         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41446         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41447         (test_wrapper_env): New variable.  Use it to run ld.so.
41448         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41449         Use it to run ld.so.
41450         (test_wrapper_env): Likewise.
41451         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41452         $(test-wrapper) to run-iconv-test.sh.
41453         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41454         (ICONV): Use $test_wrapper.
41455         * posix/Makefile ($(objpfx)globtest.out): Pass
41456         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41457         globtest.sh, not $(run-program-prefix).
41458         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41459         (test_wrapper): Likewise.
41460         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41461         set together with run_via_rtld_prefix.
41462         (run_program_prefix): Define in terms of test_wrapper and
41463         run_via_rtld_prefix.
41465 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41467         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41468         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41469         Targets removed.
41471         [BZ #14743]
41472         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41473         Declare __clock_getres, __clock_gettime, __clock_settime,
41474         __clock_nanosleep, and __clock_getcpuclockid.
41475         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41476         Remove librt_hidden_def (clock_gettime).
41477         * sysdeps/unix/clock_gettime.c: Likewise.
41478         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41479         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41480         * rt/clock_getres.c: Define __clock_getres as an alias.
41481         * sysdeps/posix/clock_getres.c: Likewise.
41482         * rt/clock_settime.c: Define __clock_settime as an alias.
41483         * sysdeps/unix/clock_settime.c: Likewise.
41484         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41485         * sysdeps/unix/clock_nanosleep.c: Likewise.
41486         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41487         * rt/clock-compat.c: New file.
41488         * rt/Makefile (librt-routines): Add clock-compat and move
41489         $(clock-routines) to ...
41490         (routines): ... here, new variable.
41491         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41492         Don't add get_clockfreq here.
41493         * rt/Versions (libc: GLIBC_2.17): New version set.
41494         Add clock_* symbols here.
41495         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41496         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41497         (GLIBC_2.17): Add clock_* symbols.
41498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41500         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41502         Likewise.
41503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41504         Likewise.
41505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41509         * NEWS: Mention the move.
41511         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41512         Use __open, __read, __close rather than their public counterparts.
41513         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41514         (__get_clockfreq_via_cpuinfo): Likewise.
41515         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41516         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41518         * config.h.in (HAVE_IFUNC): New #undef.
41519         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41520         was successful.
41521         * configure: Regenerated.
41523 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41525         * configure.in: Move READELF check to start of file.
41526         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41527         libc_cv_asm_gnu_indirect_function in the process.
41528         * configure: Regenerated.
41530 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41532         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41533         send the output to /dev/null.
41534         (libc_cv_cc_with_libunwind): Likewise.
41535         (libc_cv_as_noexecstack): Likewise.
41536         * configure: Regenerate.
41538 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41540         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41542         * posix/globtest.sh (TMPDIR): Do not set.
41543         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41544         (testout): Likewise.
41546 2012-10-24  Andreas Jaeger  <aj@suse.de>
41548         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41549         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41550         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41551         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41552         posix_fadvise64, posix_fallocate64.
41554         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41555         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41556         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41557         Likewise.
41558         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41559         Likewise.
41560         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41562         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41563         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41564         <bits/fcntl-linux.h>.
41565         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41567         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41568         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41569         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41570         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41571         [__WORDSIZE != 64]: Likewise.
41573 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41575         * Makeconfig (run-built-tests): New variable.
41576         * Rules [$(cross-compiling) = yes]: Change condition to
41577         [$(run-built-tests) = no].
41578         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41579         to [$(run-built-tests) = yes].
41580         * elf/Makefile [$(cross-compiling) = no]: Likewise
41581         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41582         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41583         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41584         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41585         * io/Makefile [$(cross-compiling) = no]: Likewise.
41586         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41587         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41588         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41589         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41590         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41591         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41592         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41593         * string/Makefile [$(cross-compiling) = no]: Likewise.
41595         * posix/Makefile ($(objpfx)globtest.out): Pass
41596         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41597         $(rtld-installed-name).
41598         * posix/globtest.sh (elf_objpfx): Remove variable.
41599         (rtld_installed_name): Likewise.
41600         (library_path): Likewise.
41601         (run_program_prefix): New variable.  Use for running globtest
41602         binary.
41604 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41605             Joseph Myers  <joseph@codesourcery.com>
41607         * Makeconfig (host-built-program-cmd): New variable.
41608         * elf/Makefile (tst-stackguard1-ARGS): Use
41609         $(host-built-program-cmd).
41610         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41611         (tst-spawn-ARGS): Likewise.
41612         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41614 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41615             Jim Blandy  <jimb@codesourcery.com>
41617         * Makeconfig (run-via-rtld-prefix): New variable.
41618         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41619         (built-program-cmd): Likewise.
41621 2012-10-22  Andreas Jaeger  <aj@suse.de>
41623         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41624         __O_RSYNC if it exists, otherwise to O_SYNC.
41626 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41627             Joseph Myers  <joseph@codesourcery.com>
41629         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41630         /dev/null.
41631         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41632         from /dev/null
41633         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41634         /dev/null.
41636 2012-10-22  Andreas Jaeger  <aj@suse.de>
41638         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41639         Define always.
41640         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41643         bits/fcntl-linux.h.
41645         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41646         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41648         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41649         to __O_LARGEFILE.
41650         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41651         to __O_LARGEFILE.
41653 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41654             Joseph Myers  <joseph@codesourcery.com>
41656         * config.make.in (NM): New variable.
41658 2012-10-21  Andreas Jaeger  <aj@suse.de>
41660         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41661         definitions and declarations that are provided by
41662         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41664 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41666         [BZ #14683]
41667         * elf/Makefile (tests-static): Add tst-leaks1-static.
41668         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41669         ($(objpfx)tst-leaks1-static): New rule.
41670         ($(objpfx)tst-leaks1-static-mem): Likewise.
41671         (tst-leaks1-static-ENV): New macro.
41672         * elf/dl-open.c (dl_open_worker): Check the main application
41673         only if SHARED is defined.
41674         * elf/tst-leaks1-static.c: New file.
41676 2012-10-20  Andreas Jaeger  <aj@suse.de>
41678         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41679         generic values for Linux.
41680         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41681         and declarations that are provided by <bits/fcntl-linux.h> and
41682         include <bits/fcntl-linux.h>.
41683         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41684         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41686 2012-10-20  Roland McGrath  <roland@hack.frob.com>
41688         * io/fcntl.h: Move include of <bits/types.h> to the top and
41689         include it unconditionally.
41691 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41693         * wcsmbs/Makefile (tests-ifunc): New variable.
41694         (tests): Add $(tests-ifunc).
41695         * wcsmbs/test-wcschr-ifunc.c: New file.
41696         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41697         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41698         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41699         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41700         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41702         * string/Makefile (tests-ifunc): New variable.
41703         (tests): Add $(tests-ifunc).
41704         * string/test-memccpy.c (TEST_NAME): New macro.
41705         * string/test-memchr.c (TEST_NAME): Likewise.
41706         * string/test-memcmp.c (TEST_NAME): Likewise.
41707         * string/test-memcpy.c (TEST_NAME): Likewise.
41708         * string/test-memmem.c (TEST_NAME): Likewise.
41709         * string/test-memmove.c (TEST_NAME): Likewise.
41710         * string/test-memset.c (TEST_NAME): Likewise.
41711         * string/test-rawmemchr.c (TEST_NAME): Likewise.
41712         * string/test-stpcpy.c (TEST_NAME): Likewise.
41713         * string/test-stpncpy.c (TEST_NAME): Likewise.
41714         * string/test-strcasecmp.c (TEST_NAME): Likewise.
41715         * string/test-strcasestr.c (TEST_NAME): Likewise.
41716         * string/test-strcat.c (TEST_NAME): Likewise.
41717         * string/test-strchr.c (TEST_NAME): Likewise.
41718         * string/test-strcmp.c(TEST_NAME): Likewise.
41719         * string/test-strcpy.c (TEST_NAME): Likewise.
41720         * string/test-strcspn.c (TEST_NAME): Likewise.
41721         * string/test-strlen.c (TEST_NAME): Likewise.
41722         * string/test-strncasecmp.c (TEST_NAME): Likewise.
41723         * string/test-strncmp.c (TEST_NAME): Likewise.
41724         * string/test-strncpy.c (TEST_NAME): Likewise.
41725         * string/test-strnlen.c (TEST_NAME): Likewise.
41726         * string/test-strpbrk.c (TEST_NAME): Likewise.
41727         * string/test-strrchr.c (TEST_NAME): Likewise.
41728         * string/test-strspn.c (TEST_NAME): Likewise.
41729         * string/test-strstr.c (TEST_NAME): Likewise.
41730         * string/test-bcopy-ifunc.c: New file.
41731         * string/test-bzero-ifunc.c: Likewise.
41732         * string/test-memccpy-ifunc.c: Likewise.
41733         * string/test-memchr-ifunc.c: Likewise.
41734         * string/test-memcmp-ifunc.c: Likewise.
41735         * string/test-memcpy-ifunc.c: Likewise.
41736         * string/test-memmem-ifunc.c: Likewise.
41737         * string/test-memmove-ifunc.c: Likewise.
41738         * string/test-mempcpy-ifunc.c: Likewise.
41739         * string/test-memset-ifunc.c: Likewise.
41740         * string/test-rawmemchr-ifunc.c: Likewise.
41741         * string/test-stpcpy-ifunc.c: Likewise.
41742         * string/test-stpncpy-ifunc.c: Likewise.
41743         * string/test-strcasecmp-ifunc.c: Likewise.
41744         * string/test-strcasestr-ifunc.c: Likewise.
41745         * string/test-strcat-ifunc.c: Likewise.
41746         * string/test-strchr-ifunc.c: Likewise.
41747         * string/test-strchrnul-ifunc.c: Likewise.
41748         * string/test-strcmp-ifunc.c: Likewise.
41749         * string/test-strcpy-ifunc.c: Likewise.
41750         * string/test-strcspn-ifunc.c: Likewise.
41751         * string/test-strlen-ifunc.c: Likewise.
41752         * string/test-strncasecmp-ifunc.c: Likewise.
41753         * string/test-strncat-ifunc.c: Likewise.
41754         * string/test-strncmp-ifunc.c: Likewise.
41755         * string/test-strncpy-ifunc.c: Likewise.
41756         * string/test-strnlen-ifunc.c: Likewise.
41757         * string/test-strpbrk-ifunc.c: Likewise.
41758         * string/test-strrchr-ifunc.c: Likewise.
41759         * string/test-strspn-ifunc.c: Likewise.
41760         * string/test-strstr-ifunc.c: Likewise.
41762         * debug/Makefile (tests-ifunc): New variable.
41763         (tests): Add $(tests-ifunc).
41764         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41765         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41766         * debug/test-stpcpy_chk-ifunc.c: New file.
41767         * debug/test-strcpy_chk-ifunc.c: Likewise.
41769 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41771         [BZ #13601]
41772         * elf/dl-load.c (open_verify): Retry read if the entire ELF
41773         header is not read in.
41775 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
41777         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
41778         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
41779         directly.  Pass built executable to script as
41780         $(built-program-cmd).
41781         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
41782         $testprogram without using LD_LIBRARY_PATH and $ldso.
41784         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41785         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41786         $(rtld-installed-name).
41787         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41788         (rtld_installed_name): Likewise.
41789         (library_path): Likewise.
41790         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
41791         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41792         $(run-program-prefix) to tst-tables.sh.
41793         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
41794         it to run tst-table-from and tst-table-to.
41795         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41796         Pass it to tst-table.sh.
41797         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41798         $(run-program-prefix) to tst-gettext.sh.
41799         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41800         tst-translit.sh.
41801         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41802         tst-gettext2.sh.
41803         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
41804         to run tst-gettext.
41805         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
41806         to run tst-gettext2.
41807         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
41808         to run tst-translit.
41809         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41810         $(run-program-prefix) to tst-mtrace.sh.
41811         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
41812         to run tst-mtrace.
41813         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41814         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41815         $(rtld-installed-name).
41816         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41817         (rtld_installed_name): Likewise.
41818         (run_program_prefix): New variable.  Use it to run wordexp-test.
41820         * Makeconfig (ARCH): Remove all definitions.
41821         (machine): Likewise.
41822         [ARCH]: Remove conditional code.
41823         [!objdir]: Give error.
41824         [!objdir] (objpfx): Remove.
41825         [!objdir] (common-objpfx): Likewise.
41826         [!objdir] (common-objdir): Likewise.
41827         * configure.in (config_makefile): Remove.  Hardcode Makefile in
41828         AC_CONFIG_FILES call.
41829         * configure: Regenerated.
41831         [BZ #13888]
41832         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41833         or TMPDIR.
41834         (testout): Likewise.
41836         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41837         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41838         $(rtld-installed-name).
41839         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41840         (rtld_installed_name): Likwise.
41841         (runit): Remove function.
41842         (run_getconf): New variable,  Use it for running getconf binary.
41844 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
41846         [BZ #14716]
41847         * string/test-memmem.c (check_result): New function.
41848         (do_one_test): Use it.
41849         (check1): New function.
41850         (test_main): Use it.
41852 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
41854         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41856 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
41858         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41859         (_G_LSEEK64): Likewise.
41860         (_G_MMAP64): Likewise.
41861         (_G_FSTAT64): Likewise.
41862         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41863         (_G_LSEEK64): Likewise.
41864         (_G_MMAP64): Likewise.
41865         (_G_FSTAT64): Likewise.
41866         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41867         unconditional.  Call __mmap64 directly.
41868         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41869         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
41870         __lseek64 directly.
41871         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41872         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
41873         __mmap64 directly.
41874         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41875         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41876         __lseek64 directly.
41877         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41878         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41879         __lseek64 directly.
41880         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41881         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
41882         __lseek64 directly.
41883         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41884         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
41885         __fxstat64 directly.
41886         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41887         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41888         unconditional.
41889         (freopen64) [!_G_OPEN64]: Remove conditional code.
41890         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41891         unconditional.
41892         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41893         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41894         unconditional.
41895         (ftello64) [!_G_LSEEK64]: Remove conditional code.
41896         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41897         unconditional.
41898         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41899         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41900         unconditional.
41901         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41902         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41903         unconditional.
41904         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41905         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41906         unconditional.
41907         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41908         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41909         unconditional.
41910         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41912 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41914         [BZ #12140]
41915         * manual/memory.texi (Malloc Tunable Parameters): Add note
41916         about free list pointers overwriting some perturb bytes.
41917         Wording suggested by Roland McGrath.
41919 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
41921         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41922         (lgamma_test): Likewise.
41923         (tgamma_test): Likewise.
41925 2012-10-16  Florian Weimer  <fweimer@redhat.com>
41927         [BZ #14700]
41928         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41929         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41931 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
41933         * NEWS: Mention BZ #14716.
41934         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41935         when removing AVAILABLE1_USES_J macro.
41937 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
41939         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41940         (__bswap_64): __uint64_t for unsigned 64-bit int.
41942 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
41944         * include/string.h (memmem): Declare libc hidden alias.
41945         * string/memmem.c (memmem): Define libc hidden alias.
41946         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41947         __read, __close instead of open, read, close.
41949 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
41951         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41952         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41953         global and hidden.
41954         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41955         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41956         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41957         Likewise.
41958         (__rawmemchr_sse2): Likewise.
41959         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41960         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41961         (__strchr_sse2): Likewise.
41962         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41963         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41964         (__strcasecmp_sse2): Likewise.
41965         (__strncasecmp_sse2): Likewise.
41966         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41967         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41968         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41969         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41970         (__strrchr_sse2): Likewise.
41971         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41972         ifunc-impl-list.c.
41973         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41974         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41975         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41976         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41977         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41978         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41979         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41980         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41981         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41982         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41983         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41984         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41985         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41986         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41987         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41988         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41989         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41990         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41991         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41992         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41993         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41994         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41995         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41996         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41997         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41998         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41999         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42000         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42001         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42002         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42004         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42005         global and hidden.
42006         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42007         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42008         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42009         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42010         Likewise.
42011         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42012         Likewise.
42013         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42014         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42015         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42016         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42017         ifunc-impl-list.c.
42018         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42019         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42020         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42021         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42022         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42023         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42024         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42025         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42026         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42027         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42028         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42029         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42030         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42031         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42032         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42033         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42034         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42035         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42036         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42037         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42038         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42039         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42040         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42041         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42042         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42043         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42044         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42045         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42046         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42047         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42048         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42049         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42050         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42051         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42052         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42053         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42054         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42055         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42056         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42057         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42058         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42060         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42061         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42062         * include/ifunc-impl-list.h: New file.
42063         * misc/ifunc-impl-list.c: Likewise.
42064         * misc/Makefile (routines): Add ifunc-impl-list.
42065         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42066         * string/test-string.h: Include <ifunc-impl-list.h>.
42067         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42068         TEST_NAME]: New variables.
42069         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42070         are defined.
42071         (test_init): Call __libc_ifunc_impl_list to initialize
42072         func_list if TEST_IFUNC and TEST_NAME are defined.
42074         * string/Makefile (strop-tests): Add bcopy and bzero.
42075         * string/test-bcopy.c: New file.
42076         * string/test-bzero.c: Likewise.
42077         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42078         defined.
42079         * string/test-memset.c: Support bzero test if TEST_BZERO is
42080         defined.
42081         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42082         __libc_memmove.
42083         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42084         __libc_memset.
42085         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42086         of memset.
42088 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42090         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42091         * configure: Regenerated.
42093         * Makeconfig (+link-static-before-libc): Don't include
42094         $(link-static-libc).
42096         * libio/libio.h (_IO_pos_t): Remove.
42098 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42100         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42101         McGrath.
42103 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42105         * crypt/crypt-entry.c: Include fips-private.h.
42106         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42107         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42108         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42109         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42111 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42113         * crypt/crypt-private.h: Include stdbool.h.
42114         (_ufc_setup_salt_r): Return bool.
42115         * crypt/crypt-entry.c: Include errno.h.
42116         (__crypt_r): Return NULL with EINVAL for bad salt.
42117         * crypt/crypt_util.c (bad_for_salt): New.
42118         (_ufc_setup_salt_r): Check that salt is long enough and within
42119         the specified alphabet.
42120         * crypt/badsalttest.c: New file.
42121         * crypt/Makefile (tests): Add it.
42122         ($(objpfx)badsalttest): New.
42124 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42126         * NEWS: Add entry for BZ #14602.
42128 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42130         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42131         type-generic.
42132         * math/libm-test.inc: Update comment listing what functions and
42133         macros are tested.
42134         (isgreater_test): New function.
42135         (isgreaterequal_test): Likewise.
42136         (isless_test): Likewise.
42137         (islessequal_test): Likewise.
42138         (islessgreater_test): Likewise.
42139         (isunordered_test): Likewise.
42140         (main): Call the new functions.
42142 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42144         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42145         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42146         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42147         * sysdeps/i386/configure: Regenerated.
42148         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42149         * sysdeps/mach/configure: Regenerated.
42150         * sysdeps/mach/hurd/configure: Regenerated.
42151         * sysdeps/powerpc/configure: Regenerated.
42152         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42153         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42154         * sysdeps/s390/s390-32/configure: Regenerated.
42155         * sysdeps/s390/s390-64/configure: Regenerated.
42156         * sysdeps/sh/configure: Regenerated.
42157         * sysdeps/sparc/configure: Regenerated.
42158         * sysdeps/unix/sysv/linux/configure: Regenerated.
42159         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42160         * sysdeps/x86_64/configure: Regenerated.
42162         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42163         defined.  Don't check if MAP is NULL.
42165 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42167         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42168         (_G_stat64): Likewise.
42169         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42170         (_G_stat64): Likewise.
42171         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42172         instead of struct _G_stat64.
42173         * libio/fileops.c (mmap_remap_check): Likewise.
42174         (decide_maybe_mmap): Likewise.
42175         (_IO_new_file_seekoff): Likewise.
42176         (_IO_file_stat): Likewise.
42177         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42178         _G_off64_t.
42179         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42180         instead of struct _G_stat64.
42181         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42183 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42185         [BZ #14602]
42186         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42187         Replace with ...
42188         (CHECK_EOL): New macro.
42189         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42190         CHECK_EOL.
42191         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42192         Replace with CHECK_EOL.
42193         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42194         Replace with CHECK_EOL.
42196 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42198         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42199         type-generic.
42200         * math/libm-test.inc: Update comment listing what functions and
42201         macros are tested.
42202         (finite_test): New function.
42203         (isinf_test): Likewise.
42204         (isnan_test): Likewise.
42205         (fpclassify_test): Test subnormal input.
42206         (isfinite_test): Likewise.
42207         (isnormal_test): Likewise.
42208         (main): Call the new functions.
42210 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42212         [BZ #14660]
42213         * Makerules (%.dynsym): Force C locale when running
42214         $(OBJDUMP) --dynamic-syms.
42216 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42218         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42219         <stdint.h>.
42221 2012-10-06  David S. Miller  <davem@davemloft.net>
42223         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42224         upper 32-bits of the length value in %o2 since we use branch-on-register
42225         tests which consider the entire 64-bit register.
42227 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42229         * string/test-strstr.c (check2): Add a test for page boundary.
42231 2012-10-05  David S. Miller  <davem@davemloft.net>
42233         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42234         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42235         file.
42236         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42237         sysdep_routines.
42238         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42239         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42240         and bzero when HWCAP_SPARC_CRYPTO is present.
42242 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42244         [BZ #14602]
42245         * string/test-strstr.c (check2): New function.
42246         (test_main): Call check2.
42248         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42249         and bug-strchr1.
42250         * string/bug-strcasestr1.c (do_test): Moved to ...
42251         * string/test-strcasestr.c (check1): Here.  New function.
42252         (do_one_test): Break out result checking code into ...
42253         (check_result): This.  New function.
42254         (do_one_test): Call check_result.
42255         (test_main): Call check1.
42256         * string/bug-strchr1.c (do_test): Moved to ...
42257         * string/test-strchr.c (check1): Here.  New function.
42258         (do_one_test): Break out result checking code into ...
42259         (check_result): This.  New function.
42260         (do_one_test): Call check_result.
42261         (test_main): Call check1.
42262         * string/bug-strstr1.c (main): Moved to ...
42263         * string/test-strstr.c (check1): Here.  New function.
42264         (do_one_test): Break out result checking code into ...
42265         (check_result): This.  New function.
42266         (do_one_test): Call check_result.
42267         (test_main): Call check1.
42268         * string/bug-strcasestr1.c: Removed.
42269         * string/bug-strchr1.c: Likewise.
42270         * string/bug-strstr1.c: Likewise.
42272         * elf/Makefile (dl-routines): Add hwcaps.
42273         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42274         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42275         (_dl_important_hwcaps): Moved to ...
42276         * elf/dl-hwcaps.c: Here.  New file.
42277         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42279         [BZ #14557]
42280         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42281         if IS_IN_rtld isn't defined.
42283         * elf/dl-support.c (_dl_sysinfo_map): New.
42284         Include "get-dynamic-info.h" and "setup-vdso.h".
42285         (_dl_non_dynamic_init): Call setup_vdso.
42286         * elf/dynamic-link.h: Don't include <assert.h>.
42287         (elf_get_dynamic_info): Moved to ...
42288         * elf/get-dynamic-info.h: Here.  New file.
42289         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42290         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42291         * elf/setup-vdso.h: Here.  New file.
42292         * elf/rtld.c: Include "setup-vdso.h".
42293         (dl_main): Call setup_vdso.
42295 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42297         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42298         creal in comment listing functions tested.  List finite, isinf,
42299         isnan, isless, islessequal, isgreater, isgreaterequal,
42300         islessgreater, isunordered, lgamma_r and pow10 as functions and
42301         macros not tested.  Mention which functions not tested are aliases
42302         for other functions.  Fix typo.  Note that signs of NaNs are not
42303         tested.
42305         * scripts/config.guess: Update from config.git.
42306         * scripts/config.sub: Likewise.
42308 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42310         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42311         * misc/madvise.c (madvise): Renamed to __madvise.
42312         Make madvise a weak alias.
42313         * include/sys/mman.h: Declare __madvise.
42314         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42315         * sysdeps/unix/syscalls.list
42316         (madvise): Make __madvise the strong name, and madvise a weak alias.
42317         * sysdeps/unix/sysv/linux/syscalls.list
42318         (madvise, mmap): Remove redundant entries.
42319         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42320         * malloc/malloc.c (mtrim): Likewise.
42321         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42323 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42325         * sysdeps/mach/hurd/dl-cache.c: File removed.
42326         * config.h.in (USE_LDCONFIG): New #undef.
42327         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42328         * configure: Regenerated.
42329         * elf/Makefile (dl-routines): Add dl-cache only under
42330         [$(use-ldconfig) = yes].
42331         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42332         cache on [USE_LDCONFIG].
42333         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42334         [USE_LDCONFIG].
42335         * elf/rtld.c (dl_main): Likewise.
42337 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42339         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42340         _SC_LEVEL4_CACHE_LINESIZE.
42342 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42344         * sysdeps/unix/bsd/confstr.h: File removed.
42346 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42348         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42349         sys/sdt-config.h.
42351 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42353         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42354         Make 'mapoff' field ElfW(Off) rather than off_t.
42356 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42358         * nscd/Makefile: Remove nscd-cflags and all its users.
42359         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42360         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42362         [BZ #10631]
42363         * malloc.c (malloc_printerr): Clarify error message.
42365 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42367         [BZ #14648]
42368         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42369         Set bit_FMA_Usable if FMA is supported.
42370         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42371         macro.
42372         (bit_FMA4_Usable): Updated.
42373         (index_FMA_Usable): New macro.
42374         (CPUID_FMA): Likewise
42375         (HAS_FMA): Defined with bit_FMA_Usable.
42377 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42379         * bits/types.h (__swblk_t): Type removed.
42380         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42381         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42382         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42383         (__SWBLK_T_TYPE): Likewise.
42384         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42385         (__SWBLK_T_TYPE): Likewise.
42386         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42387         (__SWBLK_T_TYPE): Likewise.
42388         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42389         (__SWBLK_T_TYPE): Likewise.
42391 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42392             Honza Horak <hhorak@redhat.com>
42394         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42395         (xdr_mapname): Use YPMAXMAP as maxsize.
42396         (xdr_peername): Use YPMAXPEER as maxsize.
42397         (xdr_keydat): Use YPAXRECORD as maxsize.
42398         (xdr_valdat): Use YPMAXRECORD as maxsize.
42400 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42402         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42404         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42405         * csu/init-first.c: ... here.
42406         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42407         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42408         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42409         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42410         * sysdeps/i386/init-first.c: File removed.
42411         * sysdeps/sh/init-first.c: File removed.
42413 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42415         [BZ #14645]
42416         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42417         if x * y might underflow to zero and z is zero.
42418         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42419         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42420         * math/libm-test.inc (min_subnorm_value): New variable.
42421         (fma_test): Add more tests.
42422         (fma_test_towardzero): Likewise.
42423         (fma_test_downward): Likewise
42424         (fma_test_upward): Likewise.
42425         (initialize): Set min_subnorm_value.
42427 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42429         [BZ #14638]
42430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42431         0 + 0.
42432         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42433         mode for addition resulting in exact zero.
42434         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42435         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42436         exact 0 + 0.
42437         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42438         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42439         * math/libm-test.inc (fma_test): Add more tests.
42440         (fma_test_towardzero): New function.
42441         (fma_test_downward): Likewise.
42442         (fma_test_upward): Likewise.
42443         (main): Call the new functions.
42445 2012-09-28  David S. Miller  <davem@davemloft.net>
42447         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42449 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42451         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42452         instead of SIGALRM.
42454         * sysdeps/gnu/_G_config.h: Moved to ...
42455         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42456         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42457         * sysdeps/generic/_G_config.h: ... here.
42459         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42461         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42463         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42464         Conditionalize target on [libnss_test1.so-version].
42466         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42468         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42469         (elfobjdir): Move out of conditionals.
42471         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42472         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42473         (__nss_lookup_function): Conditionalize label remove_from_tree on
42474         [!DO_STATIC_NSS || SHARED], matching its only use.
42476 2012-09-28  David S. Miller  <davem@davemloft.net>
42478         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42479         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42480         file.
42481         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42482         sysdep_routines.
42483         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42484         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42485         when HWCAP_SPARC_CRYPTO is present.
42487 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42489         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42491 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42493         [BZ #6530]
42494         * stdio-common/vfprintf.c (process_string_arg): Revert
42495         2000-07-22 change.
42497 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42499         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42500         for testcase.
42501         * stdio-common/tst-sprintf.c: Include <locale.h>
42502         (main): Test sprintf's handling of incomplete multibyte
42503         characters.
42505 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42507         * elf/dl-runtime.c (VERSYMIDX): Removed.
42508         * elf/dl-version.c (VERSYMIDX): Likewise.
42509         * elf/do-rel.h (VERSYMIDX): Likewise.
42510         (VALIDX): Likewise.
42511         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42512         * elf/rtld.c (VALIDX): Likewise.
42513         (ADDRIDX): Likewise.
42514         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42515         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42516         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42517         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42518         (VALIDX): Likewise.
42519         (ADDRIDX): Likewise.
42521 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42523         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42525 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
42527         [BZ #11438]
42528         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42529         to global scope.
42530         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42531         addresses are in the same scope as 192.0.2/24.
42532         * posix/gai.conf: Document new scope table defaults.
42534 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42536         [BZ #5298]
42537         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42538         for ftell.  Compute offsets from write pointers instead.
42539         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42541 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42543         [BZ #14543]
42544         * libio/Makefile (tests): New test case tst-fseek.
42545         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42546         combination works in wide mode.
42547         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42548         state when the external buffer state changes.
42550 2012-09-27  David S. Miller  <davem@davemloft.net>
42552         [BZ #14376]
42553         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42554         pass reloc->r_addend in as the 'high' argument to
42555         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42559 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42561         * rt/tst-aio2.c: Include <pthread.h>.
42562         * rt/tst-aio3.c: Likewise.
42564 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42566         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42568 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42570         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42571         contents on [SHARED].
42573 2012-09-26  Marek Polacek  <polacek@redhat.com>
42575         [BZ #14530]
42576         [BZ #13741]
42577         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42578         for C++ and GCC <4.3 as well as for non GCC compilers.
42580 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42582         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42584 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42586         * Makefile.in (all, install): Declare with .PHONY.
42587         Reported by Michael Hope <michael.hope@linaro.org>.
42589 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42591         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42592         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42593         system header.
42594         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42595         Likewise.
42596         (sydep_routines): Add the new and the internal functions.
42597         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42598         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42600         (GLIBC_2.17): Add the new function.
42601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42602         (GLIBC_2.17): Likewise.
42603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42604         (GLIBC_2.17): Likewise.
42605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42606         (GLIBC_2.17): Likewise.
42607         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42609 2012-09-25  Alan Modra  <amodra@gmail.com>
42611         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42612         Add release barrier before setting once_control to say
42613         initialisation is done.  Add hints on lwarx.  Use macro in
42614         place of isync.
42615         (clear_once_control): Add release barrier.
42617 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42619         [BZ #13629]
42620         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42621         specially.
42622         * math/s_clog10.c (__clog10): Likewise.
42623         * math/s_clog10f.c (__clog10f): Likewise.
42624         * math/s_clog10l.c (__clog10l): Likewise.
42625         * math/s_clogf.c (__clogf): Likewise.
42626         * math/s_clogl.c (__clogl): Likewise.
42627         * math/Makefile (libm-calls): Add x2y2m1.
42628         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42629         (__x2y2m1): Likewise.
42630         (__x2y2m1l): Likewise.
42631         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42632         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42633         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42634         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42635         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42636         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42637         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42638         * sysdeps/i386/fpu/libm-test-ulps: Update.
42639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42641         [BZ #14621]
42642         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42643         int as type of variable DEPTH.
42644         (glob): Use size_t instead of int as type of variables NEWCOUNT
42645         and OLD_PATHC.
42647 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42649         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42650         Add s_sincosf-sse2.
42651         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42652         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42653         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42654         macros for using routine as __sincosf_ia32.
42655         Use macro for function declaration and weak_alias.
42656         * sysdeps/i386/fpu/libm-test-ulps: Update.
42658         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42659         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42661         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42662         subnormal argument.
42663         * math/s_cexpf.c (__cexpf): Likewise.
42664         * math/s_csinf.c (__csinf): Likewise.
42665         * math/s_csinhf.c (__csinhf): Likewise.
42666         * math/s_ctanf.c (__ctanf): Likewise.
42667         * math/s_ctanhf.c (__ctanhf): Likewise.
42668         * math/s_ccosh.c (__ccoshf): Likewise.
42669         * math/s_cexp.c (__cexpl): Likewise.
42670         * math/s_csin.c (__csin): Likewise.
42671         * math/s_csinh.c (__csinh): Likewise.
42672         * math/s_ctan.c (__ctan): Likewise.
42673         * math/s_ctanh.c (ctanh): Likewise.
42674         * math/s_ccoshl.c (__ccoshl): Likewise.
42675         * math/s_cexpl.c (__cexpl): Likewise.
42676         * math/s_csinl.c (__csinl): Likewise.
42677         * math/s_csinhl.c (__csinhl): Likewise.
42678         * math/s_ctanl.c (__ctanl): Likewise.
42679         * math/s_ctanhl.c (__ctanhl): Likewise.
42681 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42683         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42684         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42685         (_IO_off_t): Define to __off_t, not _G_off_t.
42686         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42687         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42688         (_IO_wint_t): Define to wint_t, not _G_wint_t.
42689         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42690         type of __dummy and __dummy2 fields.
42691         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42692         (_G_ssize_t): Likewise.
42693         (_G_off_t): Likewise.
42694         (_G_pid_t): Likewise.
42695         (_G_uid_t): Likewise.
42696         (_G_wchar_t): Likewise.
42697         (_G_wint_t): Likewise.
42698         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42699         (_G_ssize_t): Likewise.
42700         (_G_off_t): Likewise.
42701         (_G_pid_t): Likewise.
42702         (_G_uid_t): Likewise.
42703         (_G_wchar_t): Likewise.
42704         (_G_wint_t): Likewise.
42705         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42706         (_G_ssize_t): Likewise.
42707         (_G_off_t): Likewise.
42708         (_G_pid_t): Likewise.
42709         (_G_uid_t): Likewise.
42710         (_G_wchar_t): Likewise.
42711         (_G_wint_t): Likewise.
42713 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42715         * malloc/arena.c: Include malloc-sysdep.h.
42716         (shrink_heap): Use check_may_shrink_heap to decide if madvise
42717         is sufficient to shrink the heap or an unmap is needed.
42718         * sysdeps/generic/malloc-sysdep.h: New file.  Define
42719         new function check_may_shrink_heap.
42720         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
42721         new function check_may_shrink_heap.
42723 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42725         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42726         comments.
42728 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
42730         * catgets/test-gencat.sh: Add "set -e".
42731         * elf/tst-pathopt.sh: Likewise.
42732         * grp/tst_fgetgrent.sh: Likewise.
42733         * iconvdata/run-iconv-test.sh: Likewise.
42734         * intl/tst-gettext.sh: Likewise.
42735         * intl/tst-gettext2.sh: Likewise.
42736         * intl/tst-gettext4.sh: Likewise.
42737         * intl/tst-gettext6.sh: Likewise.
42738         * intl/tst-translit.sh: Likewise.
42739         * io/ftwtest-sh: Likewise.
42740         * libio/test-freopen.sh: Likewise.
42741         * malloc/tst-mtrace.sh: Likewise.
42742         * posix/globtest.sh: Likewise.
42743         * posix/tst-getconf.sh: Likewise.
42744         * posix/wordexp-tst.sh: Likewise.
42745         * stdio-common/tst-printf.sh: Likewise.
42746         * stdio-common/tst-unbputc.sh: Likewise.
42747         * stdlib/tst-fmtmsg.sh: Likewise.
42748         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42749         * catgets/Makefile: Do not specify -e option when running
42750         testsuite shell scripts.
42751         * elf/Makefile: Likewise.
42752         * grp/Makefile: Likewise.
42753         * iconvdata/Makefile: Likewise.
42754         * intl/Makefile: Likewise.
42755         * io/Makefile: Likewise.
42756         * libio/Makefile: Likewise.
42757         * malloc/Makefile: Likewise.
42758         * posix/Makefile: Likewise.
42759         * stdio-common/Makefile: Likewise.
42760         * stdlib/Makefile: Likewise.
42761         * sysdeps/x86_64/Makefile: Likewise.
42763         * io/ftwtest-sh: Add copyright header.
42764         * posix/globtest.sh: Likewise.
42765         * posix/tst-getconf.sh: Likewise.
42766         * posix/wordexp-tst.sh: Likewise.
42767         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42769 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
42771         [BZ #13679]
42772         * Makeconfig (+link): Defined as $(+link-static) if
42773         $(build-shared) isn't yes.
42774         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42775         isn't yes.
42776         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42778         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42780         [BZ #14562]
42781         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42782         new chunk size with MALLOC_ALIGN_MASK.
42784 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
42786         [BZ #5044]
42787         * stdio-common/printf_fphex.c: Include <stdbool.h> and
42788         <rounding-mode.h>.
42789         (__printf_fphex): Determine rounding using get_rounding_mode and
42790         round_away.
42791         * stdio-common/tst-printf-round.c (struct hex_test): New
42792         structure.
42793         (hex_tests): New variable.
42794         (test_hex_in_one_mode): New function.
42795         (do_test): Also run tests for hex float output.
42797 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
42799         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42800         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42801         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42802         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42803         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42804         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42805         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42806         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42808 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
42810         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42811         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42812         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42813         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42815 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
42817         [BZ #14579]
42818         * elf/rtld.c (dl_main): Limit the check for self loading to normal
42819         mode only.
42820         * elf/tst-rtld-load-self.sh: New test.
42821         * elf/Makefile: Run it.
42823 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
42825         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42826         (tst-writev-ENV): Remove.
42827         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42829 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
42831         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42833 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
42835         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42836         unconditional.
42837         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42838         Likewise.
42839         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42840         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42841         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42842         Likewise.
42844 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
42846         [BZ #14587]
42847         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42848         * config.make.in (have-cpp-asm-debuginfo): Removed.
42849         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42850         * configure: Regenerated.
42852 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
42854         [BZ #5044]
42855         * stdio-common/printf_fp.c: Include <stdbool.h> and
42856         <rounding-mode.h>.
42857         (___printf_fp): Determine rounding using get_rounding_mode and
42858         round_away.
42859         * stdio-common/tst-printf-round.c: New file.
42860         * stdio-common/Makefile (tests): Add tst-printf-round.
42861         (link-libm): New variable.
42862         ($(objpfx)tst-printf-round): Depend in $(link-libm).
42864 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
42866         [BZ #14576]
42867         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42868         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42869         Likewise.
42870         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42871         Likewise.
42873 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
42875         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42876         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42877         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42878         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42880 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
42882         [BZ #14518]
42883         * include/rounding-mode.h: New file.
42884         * sysdeps/generic/get-rounding-mode.h: Likewise.
42885         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42886         * stdlib/strtod_l.c: Include <rounding-mode.h>.
42887         (MAX_VALUE): New macro.
42888         (MIN_VALUE): Likewise.
42889         (overflow_value): New function.
42890         (underflow_value): Likewise.
42891         (round_and_return): Use overflow_value and underflow_value to
42892         determine return values in overflow and underflow cases.  Use
42893         round_away to determine rounding depending on rounding mode.
42894         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42895         determine return values in overflow and underflow cases.
42896         * stdlib/tst-strtod-round.c: Include <fenv.h>.
42897         (struct test_results): New structure.
42898         (struct test): Use struct test_results to store expected results
42899         for all rounding modes.
42900         (TEST): Include expected results for all rounding modes.
42901         (test_in_one_mode): New function.
42902         (do_test): Use test_in_one_mode to compute and check results.
42903         Check results for all rounding modes.
42904         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42905         $(link-libm).
42907 2012-12-09  Allan McRae  <allan@archlinux.org>
42909         * sysdeps/i386/fpu/libm-test-ulps: Update
42911 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
42913         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42914         (_G_int32_t): Likewise.
42915         (_G_uint16_t): Likewise.
42916         (_G_uint32_t): Likewise.
42917         (_G_HAVE_BOOL): Likewise.
42918         (_G_HAVE_ATEXIT): Likewise.
42919         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42920         (_G_HAVE_IO_FILE_OPEN): Likewise.
42921         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42922         (_G_int32_t): Likewise.
42923         (_G_uint16_t): Likewise.
42924         (_G_uint32_t): Likewise.
42925         (_G_HAVE_BOOL): Likewise.
42926         (_G_HAVE_ATEXIT): Likewise.
42927         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42928         (_G_HAVE_IO_FILE_OPEN): Likewise.
42929         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42930         (_G_int32_t): Likewise.
42931         (_G_uint16_t): Likewise.
42932         (_G_uint32_t): Likewise.
42933         (_G_HAVE_BOOL): Likewise.
42934         (_G_HAVE_ATEXIT): Likewise.
42935         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42936         (_G_HAVE_IO_FILE_OPEN): Likewise.
42938 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
42940         * csu/libc-tls.c: Update copyright years.
42942 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
42944         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42945         [!_G_USING_THUNKS]: Remove conditional code.
42946         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42947         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42949         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42950         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42951         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42952         (_G_VTABLE_LABEL_PREFIX): Likewise.
42953         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42954         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42955         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42956         (_G_VTABLE_LABEL_PREFIX): Likewise.
42957         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42958         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42959         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42960         (_G_VTABLE_LABEL_PREFIX): Likewise.
42961         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42963 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
42965         * libio/Makefile: Include ../Makeconfig before tests.
42966         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42967         only if $(build-shared) is yes.
42969         * iconv/gconv_db.c: Update copyright years.
42971 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42973         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42974         unwind info if defined PIC. Fix special cases description.
42975         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42977         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42978         DP_HI_MASK entry.
42979         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42981 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
42983         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42985         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42986         is NULL.
42988         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42989         (LDLIBS-tst-chk4): This.
42990         (LDFLAGS-tst-chk5): Renamed to ...
42991         (LDLIBS-tst-chk5): This.
42992         (LDFLAGS-tst-chk6): Renamed to ...
42993         (LDLIBS-tst-chk6): This.
42994         (LDFLAGS-tst-lfschk4): Renamed to ...
42995         (LDLIBS-tst-lfschk4): This.
42996         (LDFLAGS-tst-lfschk5): Renamed to ...
42997         (LDLIBS-tst-lfschk5): This.
42998         (LDFLAGS-tst-lfschk6): Renamed to ...
42999         (LDLIBS-tst-lfschk6): This.
43001         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43002         on $(common-objpfx)soversions.mk.
43004 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43006         [BZ #10014]
43007         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43008         example host name.
43010 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43012         * malloc/arena.c (arena_get_retry): New function that gets
43013         another arena for the caller to try its request on.
43014         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43015         current arena cannot fulfill the request.
43016         (__libc_memalign): Likewise.
43017         (__libc_memalign): Likewise.
43018         (__libc_pvalloc): Likewise.
43019         (__libc_calloc): Likewise.
43021 2012-09-05  John Tobey  <john.tobey@gmail.com>
43023         [BZ #13542]
43024         * manual/arith.texi (Operations on Complex): Fix description
43025         of carg branch cut.
43027 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43029         [BZ #10014]
43030         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43031         host name.
43033         [BZ #10038]
43034         * manual/memory.texi (Memory): Make order of menu items match
43035         order of sections.
43037 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43039         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43040         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43041         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43043 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43045         * csu/libc-tls.c (static_dtv): Renamed to ...
43046         (_dl_static_dtv): This.  Make it global.
43047         (_dl_initial_dtv): Removed.
43048         (__libc_setup_tls): Updated.
43049         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43050         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43051         DL_INITIAL_DTV.
43053 2012-09-06  Petr Machata  <pmachata@redhat.com>
43055         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43056         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43057         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43058         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43060 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43062         [BZ #14545]
43063         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43064         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43065         freeing dtv[-1].
43067 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43069         [BZ #14544]
43070         * Makeconfig (link-static-before-libc): Replace $(+prector)
43071         with $(+prectorT).
43072         (link-static-after-libc): Replace $(+postctor) with
43073         $(+postctorT).
43074         (link-bounded): Replace $(+prector)/$(+postctor) with
43075         $(+prectorT)/$(+postctorT).
43076         (+prectorT): New macro.
43077         (+postctorT): Likewise.
43079 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43081         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43082         (round_str): Handle values above the maximum for IBM long double
43083         as inexact.
43084         * stdlib/tst-strtod-round.c (tests): Regenerated.
43086 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43088         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43089         assembler flag.
43090         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43091         zarch_nohighgprs around the zarch optimized routines.
43092         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43093         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43094         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43095         for zarch.
43097 2012-09-05  David S. Miller  <davem@davemloft.net>
43099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43101         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43102         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43103         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43104         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43105         entries.
43107 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43109         * malloc/arena.c: Fold copyright years.
43110         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43112 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43114         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43116 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43118         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43120 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43122         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43123         change internal state upon failure.
43125 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43127         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43128         * malloc/memusage.c (mmap): Likewise.
43129         (mmap64, mremap): Likewise.  Adjust name in comment.
43131 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43133         * libio/fileops.c: Fix typos in comments.
43134         * libio/oldfileops.c: Likewise.
43135         * libio/wfileops.c: Likewise.
43137 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43139         [BZ #1349]
43140         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43141         (tst-malloc-usable-ENV): Set environment for test case.
43142         * malloc/hooks.c (malloc_check_get_size): New function to get
43143         requested size.
43144         * malloc/malloc.c (musable): Use malloc_check_get_size.
43145         * malloc/tst-malloc-usable.c: New test case.
43147 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43149         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43151 2012-09-05  Allan McRae  <allan@archlinux.org>
43153         [BZ #13966]
43154         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43155         determine header location.
43156         * configure: Regenerated.
43158 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43160         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43161         float format.
43162         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43163         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43164         format.
43165         (test): Regenerate.
43167 2012-09-04  David S. Miller  <davem@davemloft.net>
43169         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43170         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43171         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43173 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43175         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43176         failures.
43178         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43180 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43182         [BZ #9914]
43183         * libio/iogetdelim.c: Include <limits.h>.
43184         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43185         + len + 1 would overflow.
43187 2012-09-03  Andreas Jaeger  <aj@suse.de>
43189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43190         * sysdeps/i386/fpu/libm-test-ulps: Update.
43192 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43194         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43195         Add s_sinf-sse2, s_conf-sse2.
43197         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43198         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43199         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43200         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43202         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43203         for using routine as __sinf_ia32.
43204         Use macro for function declaration and weak_alias.
43205         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43206         for using routine as __cosf_ia32.
43207         Use macro for function declaration and weak_alias.
43209         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43210         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43212         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43213         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43214         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43216         * math/libm-test.inc (cos_test): Add more test cases.
43217         (sin_test): Likewise.
43218         (sincos_test): Likewise.
43220 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43222         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43223         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43224         hidden.
43225         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43227 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43229         [BZ #14538]
43230         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43231         first element of the GOT.
43232         (elf_machine_load_address): Return the difference between
43233         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43235 2012-09-01  Allan McRae  <allan@archlinux.org>
43237         [BZ #13412]
43238         * configure.in (AWK): Require gawk version 3.0 or later.
43239         * configure: Regenerated.
43241 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43243         * sysdeps/unix/sysv/linux/kernel-features.h
43244         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43245         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43246         [__NR_clock_getres]: Make code unconditional.
43247         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43248         (clock_getcpuclockid): Remove code left unreachable by removal of
43249         conditionals.
43250         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43251         code unconditional.
43252         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43253         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43254         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43255         Make code unconditional.
43256         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43257         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43258         * sysdeps/unix/sysv/linux/clock_settime.c
43259         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43260         conditional code.
43261         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43262         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43264 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43266         [BZ #14476]
43267         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43268         scripts/test-installation.pl.
43270         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43271         and $ld_so_version if it is set.
43273 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43275         [BZ #14516]
43276         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43277         failure if reading from procfs failed.
43278         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43280 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43282         * sysdeps/unix/sysv/linux/kernel-features.h
43283         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43284         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43285         Remove conditional code.
43286         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43287         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43288         Remove conditional code.
43289         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43290         * sysdeps/unix/sysv/linux/i386/fxstat.c
43291         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43292         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43293         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43294         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43295         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43296         * sysdeps/unix/sysv/linux/i386/lxstat.c
43297         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43298         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43299         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43300         Remove conditional code.
43301         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43302         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43303         Remove conditional code.
43304         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43305         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43306         <kernel-features.h>.
43307         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43308         Remove.
43309         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43310         Remove conditional code.
43311         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43312         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43313         Remove conditional.
43315 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43317         [BZ #5400]
43318         * NEWS: Add fixed bug number.
43320 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43322         [BZ #14519]
43323         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43324         underflowing exponent in case of negative sign.
43325         * stdlib/tst-strtod-round-data: Add more tests.
43326         * stdlib/tst-strtod-round.c (tests): Regenerated.
43328         [BZ #3479]
43329         * stdlib/strtod_l.c (NDIG): Remove.
43330         (HEXNDIG): Likewise.
43331         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43332         smallest representable value.
43333         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43334         lie within an exact representation of 1/2 ulp of the result.
43335         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43336         unconditionally.
43337         (TENS_P9_IDX): Define unconditionally.
43338         (TENS_P9_SIZE): Likewise.
43339         (TENS_P10_IDX): Likewise.
43340         (TENS_P10_SIZE): Likewise.
43341         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43342         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43343         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43344         entries for 10^2^13 and 10^2^14.
43345         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43346         (TENS_P13_IDX): Define.
43347         (TENS_P13_SIZE): Likewise.
43348         (TENS_P14_IDX): Likewise.
43349         (TENS_P14_SIZE): Likewise.
43350         (_fpioconst_pow10): Change array size to
43351         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43352         unconditional.
43353         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43354         1024]: Add entries for 10^2^13 and 10^2^14.
43355         [LAST_POW10 > _LAST_POW10]: Remove #error.
43356         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43357         (_fpioconst_pow10): Change array size to
43358         FPIOCONST_POW10_ARRAY_SIZE.
43359         * stdlib/gen-fpioconst.c: New file.
43360         * stdlib/gen-tst-strtod-round.c: Likewise.
43361         * stdlib/tst-strtod-round-data: Likewise.
43362         * stdlib/tst-strtod-round.c: Likewise.
43363         * stdlib/Makefile (tests): Add tst-strtod-round.
43365         [BZ #14459]
43366         * stdlib/strtod_l.c: Include <stdint.h>.
43367         (NDEBUG): Do not define.
43368         (round_and_return): Change EXPONENT parameter to type intmax_t.
43369         Rearrange calculations to avoid internal overflow possibilities.
43370         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43371         Rearrange calculations to avoid internal overflow possibilities.
43372         Assert that number fits inside MPNSIZE limbs.
43373         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43374         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43375         calculations and add assertions to avoid internal overflow
43376         possibilities.  Add casts to avoid signed/unsigned operations.
43377         * stdlib/tst-strtod-overflow.c: New file.
43378         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43380 2012-08-25  Marek Polacek  <polacek@redhat.com>
43382         * time/time.h: Fix some typos in comments.
43384 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43386         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43387         * posix/tst-rfc3484-2.c: Likewise.
43388         * posix/tst-rfc3484-3.c: Likewise.
43390 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43392         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43393         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43395 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43397         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43398         #include of fxstatat64.c.
43400 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43402         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43403         * shadow/getspent_r.c: Likewise.
43404         * shadow/getspnam.c: Likewise.
43405         * shadow/getspnam_r.c: Likewise.
43406         * gshadow/getsgent.c: Likewise.
43407         * gshadow/getsgent_r.c: Likewise.
43408         * gshadow/getsgnam.c: Likewise.
43409         * gshadow/getsgnam_r.c: Likewise.
43410         * inet/getnetbyad.c: Likewise.
43411         * inet/getnetbyad_r.c: Likewise.
43412         * inet/getnetbynm.c: Likewise.
43413         * inet/getnetbynm_r.c: Likewise.
43414         * inet/getnetent.c: Likewise.
43415         * inet/getnetent_r.c: Likewise.
43416         * inet/getproto.c: Likewise.
43417         * inet/getproto_r.c: Likewise.
43418         * inet/getprtent.c: Likewise.
43419         * inet/getprtent_r.c: Likewise.
43420         * inet/getprtname.c: Likewise.
43421         * inet/getprtname_r.c: Likewise.
43422         * inet/getrpcbyname.c: Likewise.
43423         * inet/getrpcbyname_r.c: Likewise.
43424         * inet/getrpcbynumber.c: Likewise.
43425         * inet/getrpcbynumber_r.c: Likewise.
43426         * inet/getrpcent.c: Likewise.
43427         * inet/getrpcent_r.c: Likewise.
43428         * inet/getaliasent.c: Likewise.
43429         * inet/getaliasent_r.c: Likewise.
43430         * inet/getaliasname.c: Likewise.
43431         * inet/getaliasname_r.c: Likewise.
43432         * nscd/getgrgid_r.c: Likewise.
43433         * nscd/getgrnam_r.c: Likewise.
43434         * nscd/gethstbyad_r.c: Likewise.
43435         * nscd/gethstbynm3_r.c: Likewise.
43436         * nscd/getpwnam_r.c: Likewise.
43437         * nscd/getpwuid_r.c: Likewise.
43438         * nscd/getsrvbynm_r.c: Likewise.
43439         * nscd/getsrvbypt_r.c: Likewise.
43440         * nscd/gai.c: Likewise.
43442         * configure.in (build_nscd): New substituted variable, set
43443         by --disable-build-nscd and defaults to $use_nscd.
43444         * configure: Regenerated.
43445         * config.make.in (build-nscd): New substituted variable.
43446         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43447         Change conditional to require [$(build-nscd) = yes] as well.
43448         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43450         [BZ# 13696]
43451         * configure.in (use_nscd): New substituted variable, set by
43452         --disable-nscd.  If enabled, define USE_NSCD.
43453         * configure: Regenerated.
43454         * config.h.in: Add USE_NSCD.
43455         * config.make.in (use-nscd): New substituted variable.
43456         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43457         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43458         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43459         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43460         (CFLAGS-getgrnam_r.c): Likewise.
43461         (CFLAGS-initgroups.c): Likewise.
43462         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43463         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43464         Variables removed.
43465         * inet/getnetgrent_r.c
43466         (nscd_setnetgrent): New function, broken out of ...
43467         (setnetgrent): ... here.  Call it.
43468         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43469         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43470         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43471         * nscd/Makefile (routines, aux): Move definitions after include of
43472         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43473         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43474         Conditionalize on [USE_NSCD].
43475         (is_nscd, nscd_init_cb): Likewise.
43476         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43477         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43478         * nss/nss_db/db-init.c: Likewise.
43479         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43480         [USE_NSCD].
43481         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43482         (make_request): Use it.
43483         (cache_valid_p): New function.
43484         (__check_pf): Use it.
43485         * NEWS: Add item for --disable-nscd.
43487 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43489         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43490         to support sed >= 4.2.1-20-ga9bf076.
43491         * configure: Regenerated.
43493 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43495         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43496         Conditionalize whole body on [IREL].
43498 2012-08-22  Jeff Law <law@redhat.com>
43500         [BZ #14505]
43501         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43502         if the family is PF_UNSPEC.
43504 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43506         * Makerules (lib-version): Rename from V.
43507         (install-lib-nosubdir): Change V to lib-version.
43509 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43511         [BZ #14252]
43512         * powerpc32/power6/wcschr.c: New file.
43513         * powerpc32/power6/wcscpy.c: New file.
43514         * powerpc32/power6/wcsrchr.c: New file.
43515         * powerpc64/power6/wcschr.c: New file.
43516         * powerpc64/power6/wcscpy.c: New file.
43517         * powerpc64/power6/wcsrchr.c: New file.
43519 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43521         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43522         (two_way_short_needle): Use it.
43523         * string/strstr.c (AVAILABLE1_USES_J): Define.
43524         * string/strcasestr.c: Likewise.
43526         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43527         array references.
43528         * string/strcasestr.c (TOLOWER): Make side-effect safe.
43530         [BZ #11607]
43531         * NEWS: Add an entry.
43532         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43533         define their defaults.
43534         (two_way_short_needle): Detect end-of-string on-the-fly.
43535         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43536         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43537         * string/bug-strcasestr1.c: New test.
43538         * string/Makefile: Run it.
43540 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43542         [BZ #11607]
43543         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43544         the first character.
43546 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43548         * csu/elf-init.c (__libc_csu_irel): Function removed.
43549         * csu/libc-start.c (apply_irel): New function.
43550         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43552 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43554         * sysdeps/unix/sysv/linux/kernel-features.h
43555         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43556         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43557         <kernel-features.h>.
43558         [__NR_fadvise64_64]: Make code unconditional.
43559         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43560         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43561         !__NR_fadvise64_64)]: Likewise.
43562         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43563         !__NR_fadvise64_64))]: Likewise.
43564         [__NR_fadvise64]: Make code unconditional.
43565         [!__NR_fadvise64]: Remove conditional code.
43566         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43567         <kernel-features.h>.
43568         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43569         unconditional.
43570         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43571         conditional code.
43572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43573         not include <kernel-features.h>.
43574         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43575         unconditional.
43576         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43577         conditional code.
43578         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43579         include <kernel-features.h>.
43580         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43581         unconditional.
43582         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43583         conditional code.
43585 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43587         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43588         slight instruction rearrangements per scrollpipe analysis.
43589         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43591 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43593         * manual/syslog.texi (syslog; vsyslog, closelog):
43594         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43595         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43597         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43598         DSOCAPS to match condition on defining it.
43600 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43602         * sysdeps/unix/sysv/linux/kernel-features.h
43603         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43605         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43606         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43608         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43609         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43611         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43612         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43614         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43615         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43617         * sysdeps/unix/sysv/linux/kernel-features.h
43618         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43619         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43620         unconditional.
43621         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43622         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43623         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43624         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43625         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43626         Make code unconditional.
43627         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43628         (__mmap64) [!__NR_mmap2]: Likewise.
43629         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43630         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43631         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43632         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43633         [__NR_mmap2]: Make code unconditional.
43634         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43635         (__mmap64) [!__NR_mmap2]: Likewise.
43637 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43639         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43641 2012-08-18  Andreas Jaeger  <aj@suse.de>
43643         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43645 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43647         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43648         * include/unistd.h (__have_sock_cloexec): Likewise.
43649         (__have_pipe2): Likewise.
43650         (__have_dup3): Likewise.
43652 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43654         [BZ #9685]
43655         * include/unistd.h (__have_pipe2): Change define into an extern int.
43656         (__have_dup3): Likewise.
43657         * socket/have_sock_cloexec.c: Include fcntl.h.
43658         (__have_pipe2): New variable.
43659         (__have_dup3): Likewise.
43661 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43663         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43665 2012-08-17  Marek Polacek  <polacek@redhat.com>
43667         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43668         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43670 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43672         * configure.in: Add AC_SUBST for sysheaders.
43673         * configure: Regenerated.
43674         * config.make.in (sysheaders): New substituted variable.
43676         * sysdeps/unix/mkfifo.c: Moved ...
43677         * sysdeps/posix/mkfifo.c: ... here.
43678         * sysdeps/unix/mkfifoat.c: Moved ...
43679         * sysdeps/posix/mkfifoat.c: ... here.
43681         * sysdeps/unix/utime.c: Moved ...
43682         * sysdeps/posix/utime.c: ... here.
43684         * sysdeps/unix/time.c: Moved ...
43685         * sysdeps/posix/time.c: ... here.
43686         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43687         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43689         * sysdeps/unix/nice.c: Moved ...
43690         * sysdeps/posix/nice.c: ... here.
43692         * sysdeps/unix/alarm.c: Moved ...
43693         * sysdeps/posix/alarm.c: ... here.
43695         * intl/Makefile ($(codeset_mo)): Depend on the input file.
43697 2012-08-17  Jeff Law <law@redhat.com>
43699         * intl/Makefile (codeset_mo): New variable.
43700         ($(codeset_mo)): New target.
43701         (tst-codeset.out): Depend on that.  Remove explicit rule.
43702         (tst-gettext3.out, tst-gettext5.out): Likewise.
43703         (LOCPATH-ENV, tst-codeset-ENV): New variables.
43704         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43705         * intl/tst-codeset.sh: Remove.
43706         * intl/tst-gettext3.sh: Likewise.
43707         * intl/tst-gettext5.sh: Likewise.
43709 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43711         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
43712         * sysdeps/unix/syscalls.list: ... here.
43714         * sysdeps/posix/getaddrinfo.c
43715         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43716         (gaiconf_init, gaiconf_reload): Use them.
43717         [!_STATBUF_ST_NSEC]
43718         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43719         Define using time_t rather than struct timespec.
43721         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43722         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43723         Macros removed.
43724         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43725         [!NO_THREADS].
43726         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43727         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43728         Likewise.
43730         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43731         __libc_cleanup_push argument.
43733         * bits/param.h: New file.
43734         * misc/sys/param.h: New file.
43735         * include/sys/param.h: New file.
43736         * misc/Makefile (headers): Add bits/param.h.
43737         * sysdeps/generic/sys/param.h: File removed.
43738         * sysdeps/unix/sysv/linux/bits/param.h: New file.
43739         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43740         * sysdeps/mach/hurd/bits/param.h: New file.
43741         * sysdeps/mach/hurd/sys/param.h: File removed.
43743         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43744         last change.
43746         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43747         [_IO_MTSAFE_IO].
43748         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43749         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43750         New macros.
43752         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43753         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43754         rather than -D_IO_MTSAFE_IO conditionally.
43755         * stdio-common/Makefile (CPPFLAGS): Likewise.
43756         * wcsmbs/Makefile (CPPFLAGS): Likewise.
43757         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43758         Use $(libio-mtsafe).
43759         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43760         of -D_IO_MTSAFE_IO.
43761         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43762         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43763         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43764         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43765         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43766         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43767         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43768         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43769         (CFLAGS-fread_u_chk.c): Likewise.
43770         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43771         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43772         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43773         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43774         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43775         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43776         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43777         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43778         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43780         * libio/Makefile: Test [$(libc-reentrant) = yes]
43781         instead of [$(filter %REENTRANT, $(defines)) nonempty].
43783         * Makeconfig
43784         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43785         * sysdeps/pthread/configure: File removed.
43786         * sysdeps/pthread/Makeconfig: New file.
43787         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43788         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43790 2012-08-16  Gary Benson  <gbenson@redhat.com>
43792         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43793         unmapping the first object in a namespace.
43795 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43797         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43798         (__internal_setnetgrent): ... this.  Add internal_function to
43799         definition.  Add libc_hidden_def.
43800         (setnetgrent): Update caller.
43801         (internal_endnetgrent): Renamed to ...
43802         (__internal_endnetgrent): ... this.  Add internal_function to
43803         definition.  Add libc_hidden_def.
43804         (endnetgrent): Update caller.
43805         (internal_getnetgrent_r): Renamed to ...
43806         (__internal_getnetgrent_r): ... this.  Add internal_function to
43807         definition.  Add libc_hidden_def.
43808         (__getnetgrent_r): Update caller.
43809         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
43811 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43813         * stdlib/longlong.h: Update from GCC.
43815 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43817         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43818         on _QL, which is set by umul_ppmm but never used.
43819         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43820         variables, which are set by GMP macros but never used.
43821         * stdio-common/_itowa.c (_itowa): Likewise.
43822         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43823         * stdlib/mod_1.c (mpn_mod_1): Likewise.
43825 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
43827         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43828         struct La_sh_regs is not constant.
43829         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43830         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43831         and struct La_sparc64_regs are not constant.
43833 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43835         * sysdeps/unix/sysv/linux/kernel-features.h
43836         (__ASSUME_POSIX_TIMERS): Remove.
43837         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43838         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43839         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43840         Make code unconditional.
43841         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43842         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43843         Make code unconditional.
43844         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43845         * sysdeps/unix/sysv/linux/clock_nanosleep.c
43846         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43847         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43848         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43849         Make code unconditional.
43850         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43851         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43852         (__libc_missing_posix_timers): Remove.
43854 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43856         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43857         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43859         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43861         * elf/dl-sym.c: Include <stdlib.h>.
43863         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43864         constants, which avoids warnings in 32-bit builds.
43866         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43867         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43869         * misc/lseek.c: File moved to ...
43870         * io/lseek.c: ... here.
43872         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43874         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43875         shifting LEN more than 31 bits at once.
43877 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43879         [BZ #14195]
43880         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43881         segmentation fault for a case of two empty input strings.
43882         * string/test-strncasecmp.c (check1): Renamed to...
43883         (bz12205): ...this.
43884         (bz14195): Add new testcase for two empty input strings and N > 0.
43885         (test_main): Call new testcase, adapt for renamed function.
43887 2012-08-15  Andreas Jaeger  <aj@suse.de>
43889         [BZ #14090]
43890         * crypt/md5test2.c: New test, based on test supplied by Serge
43891         Belyshev <belyshev@depni.sinp.msu.ru>.
43892         * crypt/Makefile (xtests): Add md5test-giant..
43893         * crypt/Makefile ($(objpfx)md5test-giant): Add.
43895 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
43897         [BZ #14090]
43898         * crypt/md5.c (md5_process_block): Don't assume the buffer
43899         length is less than 2**32.
43900         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43901         length is less than 2**64.
43903 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43905         * string/str-two-way.h: Include <sys/param.h>.
43906         (MAX): Macro removed.
43908         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43909         Move #define and #undef of memmove to just before and after
43910         including <string.h>.
43912         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43913         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43914         and after including <string.h>.  Move declarations of
43915         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43916         to before #include "string/memmove.c".
43918         * include/dirent.h: Declare __getdirentries.
43920         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43921         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43923 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
43925         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43926         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43927         * sysdeps/i386/configure: Regenerated.
43928         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43929         STABS_CURRENT_FILE, and STABS_FUN.
43930         (END): Remove call to STABS_FUN_END.
43931         (STABS_CURRENT_FILE1): Delete.
43932         (STABS_CURRENT_FILE): Likewise.
43933         (STABS_FUN): Likewise.
43934         (STABS_FUN_END): Likewise.
43935         (STABS_FUN2): Likewise.
43936         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43937         * sysdeps/x86_64/configure: Regenerated.
43939 2012-08-14  Roland McGrath  <roland@hack.frob.com>
43941         * elf/dl-open.c: Include <atomic.h>.
43942         * elf/dl-lookup.c: Likewise.
43944 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
43946         * sysdeps/unix/sysv/linux/kernel-features.h
43947         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43948         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43949         unconditionally.
43950         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43951         unconditionally.
43952         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43953         condition on __ASSUME_CLONE_THREAD_FLAGS.
43955 2012-08-14  Andreas Jaeger  <aj@suse.de>
43957         * sysdeps/i386/fpu/libm-test-ulps: Update.
43959 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
43961         * include/atomic.h (atomic_exchange_and_add): Split into ...
43962         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43963         New atomic macros.
43965 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
43967         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43969 2012-08-13  Jeff Law <law@redhat.com>
43971         * manual/stdio.texi (snprintf): Clarify handling of the trailing
43972         null byte in the output string.
43974 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
43976         * sysdeps/unix/sysv/linux/kernel-features.h
43977         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43978         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43979         (__ASSUME_ARG_MAX_STACK_BASED): Define.
43980         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43981         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43982         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
43983         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43985 2012-08-09  Jeff Law <law@redhat.com>
43987         [BZ #13939]
43988         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43989         When avoid_arena is set, don't retry in the that arena.  Pick the
43990         next one, whatever it might be.
43991         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43992         (arena_lock): Pass in new parameter to arena_get2.
43993         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43994         arena_get2.
43995         (__libc_malloc): Unify retrying after main arena failure with
43996         __libc_memalign version.
43997         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43999 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44001         [BZ #14166]
44002         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44003         to __redirect_strstr.
44004         (__strstr_sse42): Use typeof __redirect_strstr.
44005         (__strstr_ia32): Likewise.
44006         (__libc_strstr): New prototype.
44007         (strstr): Renamed to ...
44008         (__libc_strstr): This.
44009         (strstr): New strong alias of __libc_strstr.
44010         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44011         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44012         __redirect_time.
44013         Include <time.h>.
44014         (__libc_time): New prototype.
44015         (time_ifunc): Replace time with __libc_time.
44016         (time): New strong alias and hidden definition of __libc_time.
44017         (__GI_time): Remove strong alias.
44018         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44019         Include <stddef.h>.
44020         (memmove): Redefined to __redirect_memmove.
44021         (__memmove_sse2): Use typeof __redirect_memmove.
44022         (__memmove_ssse3): Likewise.
44023         (__memmove_ssse3_back): Likewise.
44024         (__libc_memmove): New prototype.
44025         (memmove): Renamed to ...
44026         (__libc_memmove): This.
44027         (memmove): New strong alias of __libc_memmove.
44029 2012-08-08  Mark Salter  <msalter@redhat.com>
44031         * elf/elf.h
44032         (R_MN10300_TLS_GD): Define.
44033         (R_MN10300_TLS_LD): Likewise.
44034         (R_MN10300_TLS_LDO): Likewise.
44035         (R_MN10300_TLS_GOTIE): Likewise.
44036         (R_MN10300_TLS_IE): Likewise.
44037         (R_MN10300_TLS_LE): Likewise.
44038         (R_MN10300_TLS_DTPMOD): Likewise.
44039         (R_MN10300_TLS_DTPOFF): Likewise.
44040         (R_MN10300_TLS_TPOFF): Likewise.
44041         (R_MN10300_SYM_DIFF): Likewise.
44042         (R_MN10300_ALIGN): Likewise.
44043         (R_MN10300_NUM): Update.
44045 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44047         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44048         Remove.
44050 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44052         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44054         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44055         sysdeps/unix -> sysdeps/posix move.
44056         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44058 2012-08-07      Allan McRae     <allan@archlinux.org>
44060         [BZ #14303]
44061         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44062         (SUNOS_CPP): Likewise.
44063         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44064         not found.
44065         (open_input): Call CPP using execvp.
44067 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44069         * sysdeps/unix/sysv/linux/kernel-features.h
44070         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44071         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44072         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44073         (__ASSUME_WAITID_SYSCALL): Likewise.
44074         * sysdeps/unix/sysv/linux/dl-execstack.c
44075         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44076         code unconditional.
44077         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44078         conditional code.
44079         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44080         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44081         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44082         code.
44083         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44084         unconditional.
44085         [__ASSUME_WAITID_SYSCALL]: Likewise.
44086         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44088 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44090         * sysdeps/unix/closedir.c: Renamed to ...
44091         * sysdeps/posix/closedir.c: ... here.
44092         * sysdeps/unix/dirfd.c: Renamed to ...
44093         * sysdeps/posix/dirfd.c: ... here.
44094         * sysdeps/unix/dirstream.h: Renamed to ...
44095         * sysdeps/posix/dirstream.h: ... here.
44096         * sysdeps/unix/fdopendir.c: Renamed to ...
44097         * sysdeps/posix/fdopendir.c: ... here.
44098         * sysdeps/unix/opendir.c: Renamed to ...
44099         * sysdeps/posix/opendir.c: ... here.
44100         * sysdeps/unix/readdir.c: Renamed to ...
44101         * sysdeps/posix/readdir.c: ... here.
44102         * sysdeps/unix/readdir_r.c: Renamed to ...
44103         * sysdeps/posix/readdir_r.c: ... here.
44104         * sysdeps/unix/rewinddir.c: Renamed to ...
44105         * sysdeps/posix/rewinddir.c: ... here.
44106         * sysdeps/unix/seekdir.c: Renamed to ...
44107         * sysdeps/posix/seekdir.c: ... here.
44108         * sysdeps/unix/telldir.c: Renamed to ...
44109         * sysdeps/posix/telldir.c: ... here.
44110         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44111         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44112         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44113         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44115         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44116         * bits/fcntl.h: ... here.
44118         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44119         not 0.
44120         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44121         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44122         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44123         (struct flock): Move l_start, l_len to the beginning.
44124         Use __pid_t for l_pid.
44125         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44126         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44127         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44128         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44129         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44130         [__USE_LARGEFILE64] (struct flock64): New type.
44131         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44133         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44134         * bits/dirent.h: ... here.
44136         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44137         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44139 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44141         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44142         Change from 2.6.0 to 2.6.16.
44143         * sysdeps/unix/sysv/linux/configure: Regenerated.
44144         * sysdeps/unix/sysv/linux/kernel-features.h
44145         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44146         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44147         version.
44148         (__ASSUME_UTIMES): Likewise.
44149         (__ASSUME_CLONE_STOPPED): Remove.
44150         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44151         architectures, not kernel version.
44152         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44153         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44154         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44155         (__ASSUME_WAITID_SYSCALL): Likewise.
44156         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44157         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44158         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44159         refer to older versions.
44161 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44163         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44164         Define alphasort64 as an alias.
44165         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44166         Define versionsort64 as an alias.
44167         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44168         Define scandir64 as an alias.
44169         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44170         Define scandirat64 as an alias.
44171         * dirent/alphasort64.c (alphasort64):
44172         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44173         * dirent/versionsort64.c: Likewise.
44174         * dirent/scandir64.c: Likewise.
44175         * dirent/scandirat64.c: Likewise.
44176         * sysdeps/wordsize-64/alphasort.c: File removed.
44177         * sysdeps/wordsize-64/alphasort64.c: File removed.
44178         * sysdeps/wordsize-64/scandir.c: File removed.
44179         * sysdeps/wordsize-64/scandir64.c: File removed.
44180         * sysdeps/wordsize-64/scandirat.c: File removed.
44181         * sysdeps/wordsize-64/scandirat64.c: File removed.
44182         * sysdeps/wordsize-64/versionsort.c: File removed.
44183         * sysdeps/wordsize-64/versionsort64.c: File removed.
44184         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44185         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44186         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44187         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44188         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44189         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44190         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44191         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44193         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44194         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44195         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44196         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44197         [defined __arch64__ || defined __sparcv9]
44198         (__INO_T_MATCHES_INO64_T): New macro.
44199         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44200         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44201         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44202         * sysdeps/unix/sysv/linux/bits/dirent.h
44203         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44204         (_DIRENT_MATCHES_DIRENT64): New macro.
44206         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44207         Define lockf64 as an alias.
44208         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44209         Define fseeko64 as an alias.
44210         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44211         Define ftello64 as an alias.
44212         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44213         Define _IO_fgetpos64 and fgetpos64 as aliases.
44214         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44215         Define _IO_fsetpos64 and fsetpos64 as aliases.
44216         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44217         Conditionalize body on this.
44218         * libio/fseeko64.c: Likewise.
44219         * libio/ftello64.c: Likewise.
44220         * libio/iofgetpos64.c: Likewise.
44221         * libio/iofsetpos64.c: Likewise.
44222         * sysdeps/wordsize-64/lockf.c: File removed.
44223         * sysdeps/wordsize-64/lockf64.c: File removed.
44224         * sysdeps/wordsize-64/fseeko.c: File removed.
44225         * sysdeps/wordsize-64/fseeko64.c: File removed.
44226         * sysdeps/wordsize-64/ftello.c: File removed.
44227         * sysdeps/wordsize-64/ftello64.c: File removed.
44228         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44229         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44230         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44231         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44232         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44233         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44234         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44235         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44236         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44237         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44238         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44239         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44240         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44241         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44243         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44244         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44245         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44246         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44247         [defined __arch64__ || defined __sparcv9]
44248         (__OFF_T_MATCHES_OFF64_T): New macro.
44249         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44250         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44251         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44252         (__OFF_T_MATCHES_OFF64_T): New macro.
44254 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44256         * stdlib/secure-getenv.c (__secure_getenv): Replace
44257         GLIBC_2_16 with GLIBC_2_17.
44259 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44261         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44262         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44264 2012-08-03  David S. Miller  <davem@davemloft.net>
44266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44268 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44270         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44271         Remove.
44272         (__ASSUME_CORRECT_SI_PID): Likewise.
44273         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44274         (__ASSUME_TMPFS_NAME): Likewise.
44275         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44276         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44277         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44278         (HAVE_AUX_SECURE): Make definition unconditional.
44279         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44280         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44282 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44284         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44285         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44286         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44287         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44288         __eloop_threshold instead of SYMLOOP_MAX.
44290         * sysdeps/generic/eloop-threshold.h: New file.
44291         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44292         of MAXSYMLINKS.
44293         * elf/chroot_canon.c (chroot_canon): Likewise.
44295 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44297         [BZ #13717]
44298         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44299         Change to 2.6.0 everywhere.
44300         * sysdeps/unix/sysv/linux/configure: Regenerated.
44301         * sysdeps/unix/sysv/linux/kernel-features.h
44302         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44303         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44304         kernel versions.
44305         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44306         (__ASSUME_FUTEX_REQUEUE): Remove.
44307         (__ASSUME_STATFS64): Define unconditionally.
44308         (__ASSUME_AT_SECURE): Likewise.
44309         (__ASSUME_CORRECT_SI_PID): Likewise.
44310         (__ASSUME_TGKILL): Define without depending on kernel version for
44311         i386.
44312         (__ASSUME_UTIMES): Likewise.
44313         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44314         kernel version.
44315         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44316         (__ASSUME_TMPFS_NAME): Likewise.
44317         * README: Update reference to Linux kernel versions.
44319 2012-08-02  Marek Polacek  <polacek@redhat.com>
44321         [BZ# 14150]
44322         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44323         libc_cv_asm_type_prefix with %.
44324         * configure: Regenerated.
44325         * include/libc-symbols.h: Remove comment about
44326         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44327         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44328         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44329         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44330         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44331         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44332         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44333         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44334         * elf/tst-unique2mod1.c: Likewise.
44335         * elf/tst-unique1mod2.c: Likewise.
44336         * elf/tst-unique1mod1.c: Likewise.
44337         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44338         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44339         Replace ASM_TYPE_DIRECTIVE with .type.
44340         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44341         * sysdeps/i386/sysdep.h: Likewise.
44342         * sysdeps/x86_64/sysdep.h: Likewise.
44343         * sysdeps/sh/sysdep.h: Likewise.
44344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44345         Do not define ASM_TYPE_DIRECTIVE.
44346         * sysdeps/powerpc/sysdep.h: Likewise.
44347         * sysdeps/powerpc/powerpc32/sysdep.h:
44348         Replace ASM_TYPE_DIRECTIVE with .type.
44349         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44350         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44351         * sysdeps/i386/fpu/e_powf.S: Likewise.
44352         * sysdeps/i386/fpu/e_expl.S: Likewise.
44353         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44354         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44355         * sysdeps/i386/fpu/e_pow.S: Likewise.
44356         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44357         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44358         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44359         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44360         * sysdeps/i386/fpu/e_log2.S: Likewise.
44361         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44362         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44363         * sysdeps/i386/fpu/e_powl.S: Likewise.
44364         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44365         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44366         * sysdeps/i386/fpu/e_logl.S: Likewise.
44367         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44368         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44369         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44370         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44371         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44372         * sysdeps/i386/fpu/e_log.S: Likewise.
44373         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44374         * sysdeps/i386/fpu/e_logf.S: Likewise.
44375         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44376         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44377         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44378         * sysdeps/i386/fpu/e_log10.S: Likewise.
44379         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44380         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44381         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44382         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44383         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44384         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44385         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44386         * sysdeps/i386/i686/strtok.S: Likewise.
44387         * sysdeps/i386/i386-mcount.S: Likewise.
44388         * sysdeps/i386/strtok.S: Likewise.
44389         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44390         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44391         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44392         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44393         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44394         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44395         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44396         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44397         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44398         * sysdeps/x86_64/_mcount.S: Likewise.
44399         * sysdeps/x86_64/strtok.S: Likewise.
44400         * sysdeps/sh/_mcount.S: Likewise.
44402 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44404         * libio/iofopen.c: Include <fcntl.h>.
44405         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44406         (_IO_fopen64, fopen64): Define as aliases.
44407         * libio/iofopen64.c: Include <fcntl.h>.
44408         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44409         Conditionalize body on this.
44410         * sysdeps/wordsize-64/iofopen.c: File removed.
44411         * sysdeps/wordsize-64/iofopen64.c: File removed.
44413 2012-08-01  Marek Polacek  <polacek@redhat.com>
44415         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44416         Use dlfcn directly instead of a variable.
44417         (binfmt-subdir): Do not define.
44418         (dlfcn): Likewise.
44420 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44422         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44423         Remove all definitions.
44424         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44425         <kernel-features.h>.
44426         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44427         (miss_F_GETOWN_EX): Remove all definitions.
44428         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44429         macro definition.
44430         [!__ASSUME_FCNTL64]: Remove conditional code.
44431         [__ASSUME_FCNTL64]: Make code unconditional.
44432         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44433         <kernel-features.h>.
44434         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44435         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44436         (lockf64) [__NR_fcntl64]: Make code unconditional.
44437         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44439         * sysdeps/unix/sysv/linux/kernel-features.h
44440         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44441         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44442         Make code unconditional.
44443         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44444         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44446         [__NR_vfork]: Make code unconditional.
44447         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44448         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44450         [__NR_vfork]: Make code unconditional.
44451         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44452         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44454 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44456         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44457         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44459         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44460         Define mkstemp64 as an alias.
44461         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44462         Define mkstemps64 as an alias.
44463         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44464         Define mkostemp64 as an alias.
44465         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44466         Define mkostemps64 as an alias.
44467         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44468         Conditionalize body on this.
44469         * misc/mkostemp64.c: Likewise.
44470         * misc/mkostemps64.c: Likewise.
44471         * misc/mkstemps64.c: Likewise.
44472         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44473         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44474         * sysdeps/wordsize-64/mkostemp.c: File removed.
44475         * sysdeps/wordsize-64/mkstemp.c: File removed.
44476         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44477         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44478         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44479         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44481         [BZ #14138]
44482         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44483         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44484         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44485         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44487         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44488         compat_symbol macros from <shlib-compat.h> rather than the underlying
44489         default_symbol_version and symbol_version macros, so that DEFAULT
44490         lines in shlib-versions are respected.
44491         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44493 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44495         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44496         Declare with warn_unused_result.
44497         (setgid, setregid, setegid, setresgid): Likewise.
44498         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44499         Likewise.
44500         * WUR-REPORT: Remove set*id functions.
44502 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44504         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44506 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44508         [BZ #10191]
44509         * include/sys/socket.h (__libc_accept, __libc_accept4):
44510         Add attribute_hidden.
44511         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44513         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44514         use of PTR_MANGLE.
44515         * inet/getnetgrent_r.c (setup): Likewise.
44517         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44519 2012-07-31  David S. Miller  <davem@davemloft.net>
44521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44523 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44525         [BZ #13629]
44526         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44527         value between 1.0 and 2.0 and smaller part has absolute value less
44528         than 1.0.
44529         * math/s_clog10.c (__clog10): Likewise.
44530         * math/s_clog10f.c (__clog10f): Likewise.
44531         * math/s_clog10l.c (__clog10l): Likewise.
44532         * math/s_clogf.c (__clogf): Likewise.
44533         * math/s_clogl.c (__clogl): Likewise.
44534         * math/libm-test.inc (clog_test): Add more tests.
44535         (clog10_test): Likewise.
44536         * sysdeps/i386/fpu/libm-test-ulps: Update.
44537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44539 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44541         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44542         Exit with zero in case no suitable GID is found, and write a
44543         message to standard error.
44545 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44547         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44548         rather than to 1.
44549         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44550         (MAXPATHLEN): Removed.
44551         (NOGROUP, NODEV): New macros.
44552         (setbit, clrbit, isset, isclr): New macros.
44553         (howmany, roundup, powerof2): New macros.
44554         (DEV_BSIZE): New macro.
44556         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44557         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44559         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44560         definition on [!__NO_LONG_DOUBLE_MATH].
44562         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44563         PTR_MANGLE and PTR_DEMANGLE.
44565         * socket/accept4.c (accept4): Rename to __libc_accept4.
44566         Define accept4 as a weak alias.
44568         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44569         on [_DIRENT_HAVE_D_TYPE].
44570         * io/ftw.c (ftw_dir): Likewise.
44572         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44574         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44576         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44577         Use the BSD numbers rather than the arbitrary ones we had.
44578         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44579         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44580         (SIGXCPU, SIGXFSZ): New macros.
44581         (_NSIG): Now 32.
44583         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44584         initializer on [_LIBC_REENTRANT].
44586         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44587         definitions inside [_POSIX_MAPPED_FILES].
44589         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44591         * dirent/opendir.c: Include <fcntl.h>.
44593         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44594         (__libc_getspecific): Likewise.
44595         (__libc_key_create): Likewise.
44597         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44598         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44599         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44600         (tmpfile64): Define as alias.
44601         * sysdeps/wordsize-64/tmpfile.c: File removed.
44602         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44603         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44604         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44606         * stdio-common/vfscanf.c: Include <stdbool.h>.
44607         * nss/makedb.c: Likewise.
44608         * stdio-common/_i18n_number.h: Likewise.
44609         * argp/argp-help.c: Likewise.
44610         * posix/wordexp.c: Likewise.
44611         * sysdeps/posix/spawni.c: Likewise.
44612         * nss/nss_files/files-initgroups.c: Likewise.
44613         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44614         * nss/nss_files/files-initgroups.c: Likewise.
44615         * nss/nss_db/db-netgrp.c: Likewise.
44616         * nss/nss_db/db-initgroups.c: Likewise.
44617         * io/fchmodat.c: Include <sys/stat.h>.
44619         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44620         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44622         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44623         [HAVE_MMAP].
44625         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44626         Add multiple inclusion protection.
44628 2012-07-27  David S. Miller  <davem@davemloft.net>
44630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44632 2012-07-27  Gary Benson  <gbenson@redhat.com>
44634         [BZ #14298]
44635         * elf/rtld.c: Include <stap-probe.h>.
44636         (dl_main): Added static probes "init_start" and "init_complete".
44637         * elf/dl-load.c: Include <stap-probe.h>.
44638         (lose): Take new parameter "nsid".
44639         Added static probe "map_failed".
44640         (_dl_map_object_from_fd): Pass namespace id to lose.
44641         Added static probe "map_start".
44642         (open_verify): Pass namespace id to lose.
44643         * elf/dl-open.c: Include <stap-probe.h>.
44644         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44645         and "reloc_complete".
44646         * elf/dl-close.c: Include <stap-probe.h>.
44647         (_dl_close_worker): Added static probes "unmap_start" and
44648         "unmap_complete".
44649         * elf/rtld-debugger-interface.txt: New file documenting the above.
44651 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44653         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44654         rather than a string variable.
44655         * sunrpc/rpc_main.c (h_output): Likewise.
44656         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44658 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44660         * inet/check_native.c: New file.
44662 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44664         [BZ #13629]
44665         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44666         if larger part has absolute value 1.0.
44667         * math/s_clog10.c (__clog10): Likewise.
44668         * math/s_clog10f.c (__clog10f): Likewise.
44669         * math/s_clog10l.c (__clog10l): Likewise.
44670         * math/s_clogf.c (__clogf): Likewise.
44671         * math/s_clogl.c (__clogl): Likewise.
44672         * math/libm-test.inc (clog_test): Add more tests.
44673         (clog10_test): Likewise.
44674         * sysdeps/i386/fpu/libm-test-ulps: Update.
44675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44677         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44678         (pltexit): Likewise.
44679         (La_regs): Likewise.
44680         (La_retval): Likewise.
44681         (int_retval): Likewise.
44682         Update #error for removed macros to refer only to definitions in
44683         tst-audit.h.
44684         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44685         macro.
44686         (pltexit): Likewise.
44687         (La_regs): Likewise.
44688         (La_retval): Likewise.
44689         (int_retval): Likewise.
44690         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44691         macro.
44692         (pltexit): Likewise.
44693         (La_regs): Likewise.
44694         (La_retval): Likewise.
44695         (int_retval): Likewise.
44696         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44697         macro.
44698         (pltexit): Likewise.
44699         (La_regs): Likewise.
44700         (La_retval): Likewise.
44701         (int_retval): Likewise.
44702         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44703         macro.
44704         (pltexit): Likewise.
44705         (La_regs): Likewise.
44706         (La_retval): Likewise.
44707         (int_retval): Likewise.
44708         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44709         macro.
44710         (pltexit): Likewise.
44711         (La_regs): Likewise.
44712         (La_retval): Likewise.
44713         (int_retval): Likewise.
44714         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44715         macro.
44716         (pltexit): Likewise.
44717         (La_regs): Likewise.
44718         (La_retval): Likewise.
44719         (int_retval): Likewise.
44720         * sysdeps/generic/tst-audit.h: Update comment to refer only to
44721         macro definitions in tst-audit.h.
44722         * sysdeps/i386/tst-audit.h: New file.
44723         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44724         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44725         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44726         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44727         * sysdeps/sh/tst-audit.h: Likewise.
44728         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44729         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44730         * sysdeps/x86_64/tst-audit.h: Likewise.
44732 2012-07-26  Andreas Jaeger  <aj@suse.de>
44734         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44735         ptrace.
44737         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44738         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44739         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44740         PTRACE_O_MASK.
44741         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44742         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44743         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44745         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44746         value.
44748         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44749         _sigsys.
44750         (si_call_addr, si_syscall, si_arch): Define new macro.
44751         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44752         _sigsys.
44753         (si_call_addr, si_syscall, si_arch): Define new marcro.
44754         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44755         _sigsys.
44756         (si_call_addr, si_syscall, si_arch): Define new macro.
44757         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44758         _sigsys.
44759         (si_call_addr, si_syscall, si_arch): Define new macro.
44761 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44763         [BZ #13717]
44764         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44765         Change to 2.4.21 where previously 2.4.1.
44766         * sysdeps/unix/sysv/linux/configure: Regenerated.
44767         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44768         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44769         Linux kernel version.
44770         (__ASSUME_STD_AUXV): Remove.
44771         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44772         kernel version.
44773         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44774         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44775         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44776         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44777         (__ASSUME_NETLINK_SUPPORT): Likewise.
44778         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44779         (__no_netlink_support): Remove conditional definition.
44780         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44781         Remove.
44782         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44783         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44784         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44785         (if_nameindex_ioctl): Remove.
44786         (if_nameindex_netlink): Do not handle __no_netlink_support.
44787         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44788         code.
44789         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44790         Remove conditional code.
44791         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44792         code.
44793         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44794         unconditional.
44795         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44796         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44797         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44798         Remove.
44799         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44800         [!__ASSUME_STD_AUXV]: Remove conditional code.
44801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44802         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44803         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44805         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44806         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44807         code.
44808         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44810         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44811         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44812         conditional code.
44813         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44815         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44816         code.
44817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44818         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44819         conditional code.
44820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44821         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44822         code unconditional.
44823         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44824         conditional code.
44825         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44826         unconditional.
44827         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44828         conditional code.
44829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44830         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44831         unconditional.
44832         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44833         conditional code.
44834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44835         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44836         code unconditional.
44837         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44838         conditional code.
44839         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44840         unconditional.
44841         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44842         conditional code.
44843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44844         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44845         code unconditional.
44846         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44847         conditional code.
44848         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44849         unconditional.
44850         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44851         conditional code.
44853 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
44855         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44856         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44857         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44858         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44859         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44860         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44861         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44862         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44863         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44864         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44865         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44866         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44867         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44868         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44869         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44870         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44871         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44872         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44873         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44874         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44875         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44876         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44877         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44879 2012-07-25  Florian Weimer  <fweimer@redhat.com>
44881         * Versions.def: Add GLIBC_2.17.
44882         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44883         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44884         Introduce __libc_secure_getenv.
44885         * stdlib/Versions (2.17): Add secure_getenv
44886         (GLIBC_PRIVATE): Add __libc_secure_getenv.
44887         * stdlib/secure-getenv.c: Rename __secure_getenv to
44888         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
44889         symbol __secure_getenv for GLIBC_2.0.
44890         * stdlib/tst-secure-getenv.c: New.
44891         * stdlib/Makefile (tests): Add testcase.
44892         * manual/startup.texi (Environment Access): Document
44893         secure_getenv.
44894         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44895         __libc_secure_getenv.
44896         * inet/ruserpass.c (ruserpass): Likewise.
44897         * malloc/mtrace.c (mtrace): Likewise.
44898         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44899         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44900         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44901         * sysdeps/posix/tempname.c: Likewise.  Evaluate
44902         HAVE_SECURE_GETENV.
44903         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44904         __secure_getenv to __libc_secure_getenv.
44905         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44907         Likewise.
44908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44909         Likewise.
44910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44912         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44918 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44920         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44921         (struct La_i86_retval): Likewise.
44922         (struct La_x86_64_regs): Likewise.
44923         (struct La_x86_64_retval): Likewise.
44924         (struct La_x32_regs): Likewise.
44925         (struct La_x32_retval): Likewise.
44926         (struct La_ppc32_regs): Likewise.
44927         (struct La_ppc32_retval): Likewise.
44928         (struct La_ppc64_regs): Likewise.
44929         (struct La_ppc64_retval): Likewise.
44930         (struct La_sh_regs): Likewise.
44931         (struct La_sh_retval): Likewise.
44932         (struct La_s390_32_regs): Likewise.
44933         (struct La_s390_32_retval): Likewise.
44934         (struct La_s390_64_regs): Likewise.
44935         (struct La_s390_64_retval): Likewise.
44936         (struct La_sparc32_regs): Likewise.
44937         (struct La_sparc32_retval): Likewise.
44938         (struct La_sparc64_regs): Likewise.
44939         (struct La_sparc64_retval): Likewise.
44940         (struct audit_ifaces): Remove architecture-specific pltenter and
44941         pltexit members.
44942         * sysdeps/i386/ldsodefs.h: New file.
44943         * sysdeps/powerpc/ldsodefs.h: Likewise.
44944         * sysdeps/s390/ldsodefs.h: Likewise.
44945         * sysdeps/sh/ldsodefs.h: Likewise.
44946         * sysdeps/sparc/ldsodefs.h: Likewise.
44947         * sysdeps/x86_64/ldsodefs.h: Likewise.
44949 2012-07-25  Marek Polacek  <polacek@redhat.com>
44951         [BZ #6808]
44952         * math/libm-test.inc (yn_test): Add another test.
44953         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44954         to ERANGE when the result is +-Inf.
44955         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44956         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44957         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44958         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44960 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
44962         * conform/data/time.h-data (NULL): Use macro-constant.  Require
44963         equal to 0.
44964         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
44965         clock_t.
44966         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
44968 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
44970         * configure.in <sysdeps resolving>: Correct printing
44971         Implies_before.
44972         * configure: Regenerate.
44974 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
44976         * math/w_ilogb.c: Include <limits.h>.
44977         * math/w_ilogbl.c: Likewise.
44979 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44981         * manual/lang.texi (__va_copy): Document primarily as ISO C99
44982         va_copy.  Document allowing for unavailable va_copy only as
44983         pre-C99 compatibility.
44984         * manual/string.texi (Copying and Concatenation): Use va_copy
44985         instead of __va_copy in concat example.
44987 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
44989         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44990         (__sendto): Use create_address_port.  Initialize APORT and deallocate
44991         it if not null.
44993         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44994         with O_NOLINK passed to __file_name_lookup.
44996         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44997         with O_NOLINK passed to __file_name_lookup.
44999         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45000         negative N or less than NGIDS.
45002         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45003         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45004         enough.  Use memcpy instead of strncpy.
45006 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45008         * elf/Makefile (check-data): Remove.
45009         (localplt.data): New vpath directive.
45010         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45011         instead of $(check-data).
45012         * scripts/data/localplt-generic.data: Move to ...
45013         * sysdeps/generic/localplt.data: ... here.
45014         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45015         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45016         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45018         ... here.
45019         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45021         ... here.
45022         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45024         ... here.
45025         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45027         ... here.
45028         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45030         ... here.
45031         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45033         ... here.
45035 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45037         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45038         PPC32 and PPC64 files.
45039         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45040         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45042 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45044         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45045         __makecontext_ret to ...
45046         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45047         ... here and call exit if uc_link is NULL.  New file.
45048         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45049         __makecontext_ret.S.
45050         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45051         __makecontext_ret to ...
45052         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45053         ... here and call exit if uc_link is NULL.  New file.
45054         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45055         __makecontext_ret.S.
45057 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45059         * elf/elf.h (R_390_IRELATIVE): New definition.
45060         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45061         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45062         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45063         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45064         (elf_machine_lazy_rel): Likewise.
45065         * sysdeps/s390/dl-irel.h: New file.
45066         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45067         * sysdeps/s390/s390-64/memset.S: New asm code.
45068         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45069         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45070         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45071         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45072         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45073         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45074         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45075         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45076         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45077         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45078         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45079         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45080         * sysdeps/s390/s390-32/memset.S: New asm code.
45081         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45083 2012-07-17  Marek Polacek  <polacek@redhat.com>
45085         [BZ #14349]
45086         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45087         * sysdeps/s390/s390-64/configure.in: Likewise.
45088         * sysdeps/sparc/configure.in: Likewise.
45089         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45090         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45091         * sysdeps/i386/configure.in: Likewise.
45092         * sysdeps/x86_64/configure.in: Likewise.
45093         * sysdeps/sh/configure.in: Likewise.
45094         * sysdeps/s390/s390-32/configure: Regenerated.
45095         * sysdeps/s390/s390-64/configure: Likewise.
45096         * sysdeps/x86_64/configure: Likewise.
45097         * sysdeps/sh/configure: Likewise.
45098         * sysdeps/powerpc/powerpc64/configure: Likewise.
45099         * sysdeps/powerpc/powerpc32/configure: Likewise.
45100         * sysdeps/sparc/configure: Likwise.
45101         * sysdeps/i386/configure: Likewise.
45103         * elf/dl-open.c: Comment fixes.
45105 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45107         * Makefile [CXX] (check-data): Remove.
45108         [CXX] (c++-types.data): New vpath directive.
45109         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45110         vpath.  Do not allow for C++ type data being missing.
45111         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45112         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45113         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45114         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45115         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45116         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45117         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45119         ... here.
45120         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45122         ... here.
45123         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45125         ... here.
45126         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45128         ... here.
45129         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45131         ... here.
45132         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45134         ... here.
45135         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45137         ... here.
45138         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45141         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45142         definitions to architecture-specific files.
45143         (TLS_IE): Likewise.
45144         (TLS_LD): Likewise.
45145         (TLS_GD): Likewise.
45146         * sysdeps/i386/tls-macros.h: New file.
45147         * sysdeps/powerpc/tls-macros.h: Likewise.
45148         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45149         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45150         * sysdeps/sh/tls-macros.h: Likewise.
45151         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45152         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45153         * sysdeps/x86_64/tls-macros.h: Likewise.
45155 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45157         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45158         zero value for regular exit case.
45160         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45161         (__start_context): Preserve zero value for regular exit case.
45163 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45164             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45166         * manual/setjmp.texi (setcontext): Clarify normal process
45167         termination when uc_link is the null pointer.
45168         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45169         exit call.
45171 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45173         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45174         preprocessor.  Test for each exception mask separately.
45176 2012-07-16  Andreas Jaeger  <aj@suse.de>
45178         * po/ru.po: Update from translation team.
45180 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45182         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45183         equal to 0.
45184         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45185         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45186         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45187         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45188         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45190 2012-07-13  Andreas Jaeger  <aj@suse.de>
45192         * po/fr.po: Update from translation team.
45194 2012-07-12  Marek Polacek  <polacek@redhat.com>
45196         [BZ #14173]
45197         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45198         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45199         loop condition.
45201 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45203         [BZ #13717]
45204         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45205         Change to 2.4.1 where previously 2.4.0.
45206         * sysdeps/unix/sysv/linux/configure: Regenerated.
45207         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45208         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45209         version.
45210         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45211         (__ASSUME_AT_CLKTCK): Remove.
45212         (__ASSUME_AT_PAGESIZE): Likewise.
45213         (__ASSUME_AT_XID): Likewise.
45214         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45215         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45216         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45217         unconditionally.
45218         (HAVE_AUX_PAGESIZE): Likewise.
45219         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45220         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45221         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45223 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45225         [BZ #14307]
45226         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45227         the temporary buffer used to invoke __gethostbyname2_r,
45228         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45229         host_data / struct gaih_addrtuple.
45230         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45231         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45232         header file nss/nsswitch.h.
45233         * nss/nsswitch.h (global scope): Add definition of implementation
45234         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45235         resolv/nss_dns/dns-host.c).
45237 2012-07-11  Andreas Jaeger  <aj@suse.de>
45239         * po/fr.po: Update from translation team.
45241         * po/sv.po: Update from translation team
45242         * po/fr.po: Another update from translation team.
45244 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45246         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45247         for subnormals or multiply small sinh result by itself.
45248         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45251 2012-07-11  David S. Miller  <davem@davemloft.net>
45253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45255 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45257         [BZ #14347]
45258         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45259         (INTERNAL_MARK): Shift it here.
45261 2012-07-10  Marek Polacek  <polacek@redhat.com>
45263         [BZ #14151]
45264         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45265         libc_cv_asm_global_directive with .globl.
45266         * configure: Regenerated.
45267         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45268         with .globl.
45269         * sysdeps/i386/configure: Regenerated.
45270         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45271         with .globl.
45272         * sysdeps/x86_64/configure: Regenerated.
45273         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45274         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45275         * elf/tst-unique2mod2.c: Likewise.
45276         * elf/tst-unique2mod1.c: Likewise.
45277         * elf/tst-unique1mod2.c: Likewise.
45278         * elf/tst-unique1mod1.c: Likewise.
45279         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45280         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45281         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45282         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45283         * sysdeps/mach/sysdep.h: Likewise.
45284         * sysdeps/i386/sysdep.h: Likewise.
45285         * sysdeps/i386/i386-mcount.S: Likewise.
45286         * sysdeps/x86_64/_mcount.S: Likewise.
45287         * sysdeps/x86_64/sysdep.h: Likewise.
45288         * sysdeps/sh/_mcount.S: Likewise.
45289         * sysdeps/sh/sysdep.h: Likewise.
45290         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45291         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45292         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45293         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45294         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45295         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45296         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45297         * locale/localeinfo.h: Likewise.
45298         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45299         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45301 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45303         [BZ #14336]
45304         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45305         system".
45306         * manual/message.texi (The Uniforum approach): Likewise.
45307         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45308         (glibc iconv Implementation): Likewise.
45310 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45312         [BZ #14337]
45313         * math/s_clog.c (__clog): Avoid scaling a value down where that
45314         could result in underflow.
45315         * math/s_clog10.c (__clog10): Likewise.
45316         * math/s_clog10f.c (__clog10f): Likewise.
45317         * math/s_clog10l.c (__clog10l): Likewise.
45318         * math/s_clogf.c (__clogf): Likewise.
45319         * math/s_clogl.c (__clogl): Likewise.
45320         * math/libm-test.inc (clog_test): Add more tests.
45321         (clog10_test): Likewise.
45322         * sysdeps/i386/fpu/libm-test-ulps: Update.
45323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45325 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45327         [BZ #14283]
45328         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45329         by 7 not 8 to examine high bit of fractional part.
45331         [BZ #14042]
45332         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45333         for call to __mcount_internal.
45334         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45335         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45336         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45338 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45340         [BZ #14154]
45341         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45342         approximation for values within 0x1p-13f of an odd multiple of
45343         pi/4.
45344         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45345         exception.  Add more tests.
45346         * sysdeps/i386/fpu/libm-test-ulps: Update.
45348         [BZ #6778]
45349         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45350         inputs and return -1 for them.  Do not check for +Inf in case not
45351         reachable for +Inf.
45352         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45353         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45354         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45355         and return -1 for them.  Do not check for +Inf in case not
45356         reachable for +Inf.
45357         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45358         define.
45359         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45360         and return -1 for them.  Do not check for +Inf in case not
45361         reachable for +Inf.
45362         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45363         spurious underflow.
45364         * sysdeps/i386/fpu/libm-test-ulps: Update.
45365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45367 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45369         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45371 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45373         [BZ #14157]
45374         [BZ #14331]
45375         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45376         could result in spurious underflow.  Scale down values above
45377         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45378         * math/s_csqrtf.c (__csqrtf): Likewise.
45379         * math/s_csqrtl.c (__csqrtl): Likewise.
45380         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45381         spurious underflow.
45382         * sysdeps/i386/fpu/libm-test-ulps: Update.
45383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45385 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45387         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45388         xopen-msg.sed.
45389         * catgets/xopen-msg.awk: New file.
45390         * catgets/xopen-msg.sed: Removed.
45392         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45393         po2text.sed.
45394         * intl/po2test.awk: New file.
45395         * intl/po2test.sed: Removed.
45397 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45399         [BZ #14328]
45400         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45401         or multiply small sinh result by itself.
45402         * math/s_ctanf.c (__ctanf): Likewise.
45403         * math/s_ctanh.c (__ctanh): Likewise.
45404         * math/s_ctanhf.c (__ctanhf): Likewise.
45405         * math/s_ctanhl.c (__ctanhl): Likewise.
45406         * math/s_ctanl.c (__ctanl): Likewise.
45407         * math/libm-test.inc (ctan_test_tonearest): New function.
45408         (ctan_test_towardzero): Likewise.
45409         (ctan_test_downward): Likewise.
45410         (ctan_test_upward): Likewise.
45411         (ctanh_test_tonearest): Likewise.
45412         (ctanh_test_towardzero): Likewise.
45413         (ctanh_test_downward): Likewise.
45414         (ctanh_test_upward): Likewise.
45415         (main): Call these new functions.
45416         * sysdeps/i386/fpu/libm-test-ulps: Update.
45417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45419 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45421         * .gitignore: Delete /ports entry.
45423 2012-07-03  Andreas Jaeger  <aj@suse.de>
45425         * po/bg.po: Update from translation team.
45426         * po/cs.po: Likewise.
45427         * po/de.po: Likewise.
45428         * po/hr.po: Likewise.
45429         * po/nl.pl: Likewise.
45430         * po/pl.po: Likewise.
45431         * po/vi.po: Likewise.
45433 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45435         * Makeconfig [!+link] (+link-before-libc): New variable.
45436         [!+link] (+link-after-libc): Likewise.
45437         [!+link] (+link-tests): Likewise.
45438         [!+link] (+link): Define in terms of $(+link-before-libc) and
45439         $(+link-after-libc).
45440         [!+link-static] (+link-static-before-libc): New variable.
45441         [!+link-static] (+link-static-after-libc): Likewise.
45442         [!+link-static] (+link-static-tests): Likewise.
45443         [!+link-static] (+link-static): Define in terms of
45444         $(+link-static-before-libc) and $(+link-static-after-libc).
45445         [build-shared] (link-libc-before-gnulib): New variable.
45446         [build-shared] (link-libc-tests): Likewise.
45447         [build-shared] (link-libc): Define in terms of
45448         $(link-libc-before-gnulib).
45449         [!build-shared] (link-libc-tests): New variable.
45450         (link-libc-static-tests): New variable.
45451         [!gnulib] (gnulib-arch): New variable.
45452         [!gnulib] (gnulib-tests): Likewise.
45453         [!gnulib] (static-gnulib-arch): Likewise.
45454         [!gnulib] (static-gnulib-tests): Likewise.
45455         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45456         Define with "=" instead of ":=".
45457         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45458         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45459         * Rules (binaries-all-notests): New variable.
45460         (binaries-all-tests): Likewise.
45461         (binaries-static-notests): Likewise.
45462         (binaries-static-tests): Likewise.
45463         (binaries-all): Define using $(binaries-all-notests) and
45464         $(binaries-all-tests).
45465         (binaries-static): Define using $(binaries-static-notests) and
45466         $(binaries-static-tests).
45467         (binaries-shared-tests): New variable.
45468         (binaries-shared-notests): Likewise.
45469         (binaries-shared): Remove variable.
45470         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45471         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45472         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45473         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45474         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45475         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45476         * elf/Makefile (sln-modules): New variable.
45477         (extra-objs): Add $(sln-modules:=.o).
45478         (ldconfig-modules): Add static-stubs.
45479         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45480         * elf/static-stubs.c: New file.
45482         [BZ #14283]
45483         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45484         by 7 not 8 to examine high bit of fractional part.  Use volatile
45485         variables when splitting into final array of floats if
45486         __FLT_EVAL_METHOD__ != 0.
45487         * math/libm-test.inc (cos_test): Add another test.
45488         (sin_test): Likewise.
45489         * sysdeps/i386/fpu/libm-test-ulps: Update.
45491         [BZ #14273]
45492         * math/libm-test.inc (cosh_test): Add more tests.
45494         * version.h (RELEASE): Set to "development".
45495         (VERSION): Set to "2.16.90".
45497 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45499         * NEWS: Update copyright. Remove last-updated date.
45500         Mention math library bug fixes and timezone data changes.
45501         * README: Mention GNU/Hurd, x32, and HPPA support status.
45503 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45505         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45507 2012-06-27  Andreas Jaeger  <aj@suse.de>
45509         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45511 2012-06-25  Andreas Jaeger  <aj@suse.de>
45513         * sysdeps/s390/fpu/libm-test-ulps: Update.
45515 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
45516             Thomas Schwinge  <thomas@codesourcery.com>
45518         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45519         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45520         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45521         fanotify_mark.
45523 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45525         * sysdeps/mach/start.c: Remove file.
45526         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45527         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45528         * sysdeps/sh/init-first.c: Likewise.
45530         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45531         registers for frame unwinding purposes, add CFI directives.
45532         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45533         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45534         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45535         Likewise.
45537         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45538         __fortify_fail returning.
45539         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45541         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45542         sysdeps/sh/____longjmp_chk.S.
45543         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45544         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45545         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45546         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45548         * sysdeps/sh/abort-instr.h: New file.
45549         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45550         process in case exit returns.
45552         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45553         initialize the GOT register before use.
45555         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45556         calculation of ARGC > 4.
45558         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45559         meaningful names to some local labels.
45561 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45562             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45564         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45565         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45566         (__arch_compare_and_exchange_val_16_acq): Likewise.
45567         (__arch_compare_and_exchange_val_32_acq): Likewise.
45568         (atomic_exchange_and_add): Fix gUSA sequence.
45569         (atomic_add): Likewise.
45570         (atomic_add_negative): Likewise.
45571         (atomic_add_zero): Likewise.
45572         (atomic_bit_test_set): Likewise.
45574 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45576         [BZ #13579]
45577         * include/link.h (struct link_map): Add l_free_initfini.
45578         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45579         l_initfini.
45580         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45581         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45582         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45583         set.
45585 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45587         * configure.in: Use AC_LANG_SOURCE.
45588         * configure: Regenerate.
45590 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45592         * configure.in (libc_cv_localstatedir): New substituted variable.
45593         * configure: Regenerated.
45594         * config.make.in (localstatedir): New variable, substituted from
45595         libc_cv_localstatedir.
45596         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45597         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45598         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45599         * sysdeps/gnu/configure: Regenerated.
45601 2012-06-21  Jeff Law  <law@redhat.com>
45603         [BZ #14277]
45604         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45605         free.  Simplify list management for _LIBC case.
45607 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45609         [BZ #14273]
45610         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45611         Clear sign bit of 64-bit integer value before comparing against
45612         overflow value.
45614         * sysdeps/mach/configure: Regenerated.
45616 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45618         [BZ #14278]
45619         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45621 2012-06-21  Jeff Law  <law@redhat.com>
45623         [BZ #13882]
45624         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45625         uint16_t for elements in the "seen" array to avoid char overflows.
45626         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45627         * elf/dl-open.c (dl_open_worker): Likewise.
45629 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45631         * scripts/list-sources.sh: Scan PORTS for translations.
45632         * po/libc.pot: Regenerated.
45634 2012-06-21  Andreas Jaeger  <aj@suse.de>
45636         [BZ #12194]
45637         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45638         warning.
45639         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45640         * bits/byteswap-16.h (__bswap_16): Likewise.
45641         * bits/byteswap.h (__bswap_constant_16): Likewise.
45643 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45645         [BZ #14117]
45646         * sysdeps/i386/fpu_control.h: Removed.
45647         * sysdeps/x86_64/fpu_control.h: Moved to ...
45648         * sysdeps/x86/fpu_control.h: Here.
45650         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45651         (_FPU_SETCW): Likewise.
45653 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45655         [BZ #14117]
45656         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45657         * sysdeps/x86/fpu/bits/mathinline.h: This.
45658         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45660         [BZ #14050]
45661         [BZ #14117]
45662         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45663         functions if __x86_64__ is defined.
45665 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45667         * string/endian.h: Add !__ASSEMBLER__ condition for including
45668         conversion interfaces.
45670 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45672         [BZ #14241]
45673         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45674         of ABS(x) in calculating zero to negative powers other than odd
45675         integers.
45676         * math/libm-test.inc (pow_test): Add more tests.
45678 2012-06-15  Andreas Jaeger  <aj@suse.de>
45680         * manual/contrib.texi (Contributors): Update entry of Liubov
45681         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45682         Machado Filho.
45684 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
45686         * string/string.h: Add __wur to GNU version of strerror_r.
45688 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
45690         [BZ #14229]
45691         * string/Makefile (tests): Add tst-strtok_r.
45692         * string/tst-strtok_r.c: New file.
45693         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45694         RAX_LP/RDX_LP on SAVE_PTR.
45696 2012-06-14  Roland McGrath  <roland@hack.frob.com>
45698         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45700 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
45702         * libm_test.inc (csqrt_test): Allow more spurious underflow
45703         exceptions.
45704         (j0_test): Likewise.
45705         (j1_test): Likewise.
45706         (y0_test): Likewise.
45707         (y1_test): Likewise.
45709 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
45711         * po/Makefile (libc.pot): Use UTF-8 charset.
45713 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
45715         [BZ #14210]
45716         Suppress sign-conversion warning from FD_SET.
45717         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45718         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45719         not unsigned long int.
45720         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45722 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
45724         [BZ #14050]
45725         [BZ #14117]
45726         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45727         __extern_always_inline instead of __extern_inline.
45728         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45729         (__signbit): Likewise.
45730         (__signbitl): Support C++ namespace.
45731         (lrintf): New inline function.
45732         (lrint): Likewise.
45733         (llrintf): Likewise.
45734         (llrint): Likewise.
45735         (fmaxf): Likewise.
45736         (fmax): Likewise.
45737         (fminf): Likewise.
45738         (fmin): Likewise.
45739         (rint): Likewise.
45740         (rintf): Likewise.
45741         (ceil): Likewise.
45742         (ceilf): Likewise.
45743         (floor): Likewise.
45744         (floorf): Likewise.
45745         (nearbyint): Likewise.
45746         (nearbyintf): Likewise.
45748 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
45750         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45751         non-default versions.
45753 2012-06-11  Roland McGrath  <roland@hack.frob.com>
45755         [BZ #14218]
45756         * manual/argp.texi (Argp): Reword argp_parse description slightly.
45758 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
45760         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45761         (FE_UPWARD, FE_DOWNWARD): Don't define.
45762         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45763         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45765         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45766         reading it.
45767         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45768         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45770 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45772         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45773         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45774         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45775         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45777 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
45779         [BZ #14117]
45780         * sysdeps/i386/fpu/bits/fenv.h: Removed.
45781         * sysdeps/i386/fpu/Implies: New file.
45782         * sysdeps/x86_64/fpu/Implies: Likewise.
45783         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45784         * sysdeps/x86/fpu/bits/fenv.h: This.
45786         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45787         __SSE_MATH__.
45789 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45791         [BZ #14134]
45792         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45793         character 0xffff that matches the last element of the
45794         conversion table.
45796 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45798         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45799         fmodl commit.
45801 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45803         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45804         values higher than 25.6283.
45806 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45808         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45809         subnormal exponent extraction and add some __builtin_expect.
45810         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45811         Fix for subnormal mantissa calculation.
45813 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
45815         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45816         cpu2 is -1 and errno is not ENOSYS.
45818 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
45820         [BZ #14117]
45821         * sysdeps/i386/i486/bits/string.h: Renamed to ...
45822         * sysdeps/x86/bits/string.h: This.
45823         * sysdeps/x86_64/bits/string.h: Removed.
45825         * sysdeps/i386/i486/bits/string.h: Define inline functions only
45826         if not compiling for x86-64, but compiling for >= i486.
45828         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45829         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45831         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45832         New macro from Linux kernel 3.4.0.
45833         (FP_XSTATE_MAGIC2): Likewise.
45834         (FP_XSTATE_MAGIC2_SIZE): Likewise.
45835         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45836         (struct _fpx_sw_bytes): New struct.
45837         (struct _xsave_hdr): Likewise.
45838         (struct _ymmh_state): Likewise.
45839         (struct _xstate): Likewise.
45841         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45842         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45843         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45844         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45845         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45846         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45848         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45849         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45850         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45851         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45852         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45853         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45855 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45857         [BZ #13743]
45858         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45859         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45860         (sysdep_headers): Include sys/platform/ppc.h.
45861         * sysdeps/powerpc/test-gettimebase.c: Test for
45862         __ppc_get_timebase() to catch future ISA opcode/insn changes.
45863         * manual/Makefile (appendices): Include platform.texi.
45864         * manual/contrib.texi (Contributors): Update @node pointers.
45865         * manual/maint.texi (Maintenance): Likewise.
45866         (Platform): New node.
45867         * manual/platform.texi: New file.  Document the new features.
45869 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45870             Jakub Jelinek  <jakub@redhat.com>
45872         [BZ #14188]
45873         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45874         where __builtin_expect is unavailable.
45876 2012-06-03  David S. Miller  <davem@davemloft.net>
45878         * stdlib/longlong.h: Updated from GCC.
45880 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
45882         [BZ #14042]
45883         * sysdeps/powerpc/powerpc32/mcount.c: New file.
45884         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45885         __mcount_internal.
45886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45887         (GLIBC_2.16): Likewise.
45889 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45891         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45893 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45896         (default-abi): New variable.
45897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45898         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45899         variable.
45900         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45901         Likewise.
45902         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45903         Likewise.
45904         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45905         Likewise.
45907         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45908         definition.  Document in comment.
45910 2012-06-01  David S. Miller  <davem@davemloft.net>
45912         * stdlib/longlong.h: Updated from GCC.
45914 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45916         [BZ #14117]
45917         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45918         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45919         sys/debugreg.h sys/io.h here.
45920         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45921         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45922         sys/io.h.
45923         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45924         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45925         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45926         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45927         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45928         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45930         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45931         Define only if __x86_64__ is defined.
45933 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45935         [BZ #14048]
45936         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45937         Use int64_t for variable i.
45938         * math/libm-test.inc (fmod_test): Add more tests.
45940         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45941         z computation is not scheduled after fetestexcept.
45942         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45943         Use math_force_eval instead of asm to ensure calculation scheduled
45944         before exception test.
45945         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45946         Ensure a1 + u.d computation is not scheduled after fetestexcept.
45948 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
45950         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45951         computation is not scheduled after fetestexcept.
45953 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45955         [BZ #14117]
45956         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45957         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45959 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45961         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45962         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45964 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45966         [BZ #14117]
45967         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45968         <bits/wordsize.h>.
45969         (__WCHAR_MIN): Support __WORDSIZE == 64.
45970         (__WCHAR_MAX): Likewise.
45972         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45973         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45975         [BZ #14183]
45976         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45977         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45979         [BZ #14117]
45980         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45981         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45983         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45984         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45986         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45987         Defined to 1 if __x86_64__ isn't defined.
45988         (_STAT_VER_LINUX_OLD): New.
45989         (st_atime): Remove duplicate.
45990         (st_mtime): Likewise.
45991         (st_ctime): Likewise.
45993 2012-05-31  David S. Miller  <davem@davemloft.net>
45995         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45996         entries.
45998 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46000         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46001         gen-libm-test.pl.
46003         [BZ #14132]
46004         * elf/dl-reloc.c: Include <_itoa.h>.
46005         (_dl_reloc_bad_type): Remove use of INTUSE.
46006         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46007         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46008         * stdio-common/psiginfo.c (psiginfo): Likewise.
46009         * stdio-common/psignal.c (psignal): Likewise.
46010         * string/strsignal.c (strsignal): Likewise.
46011         * include/signal.h (_sys_siglist): Declare hidden proto.
46012         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46013         INTVARDEF with libc_hidden_data_def.
46014         * stdio-common/itoa-udigits.c: Likewise.
46015         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46016         (_itoa_lower_digits_internal): Remove declaration.
46017         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46018         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46019         (_sys_sigabbrev_internal): Remove aliases.
46020         (_sys_siglist): Define hidden alias.
46022 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46024         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46025         bits/sysctl.h.
46027 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46029         [BZ #14117]
46030         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46031         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46033         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46034         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46035         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46036         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46037         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46038         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46040         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46041         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46042         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46044         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46045         with __addr.
46046         (insw): Likewise.
46047         (insl): Likewise.
46048         (outsb): Likewise.
46049         (outsw): Likewise.
46050         (outsl): Likewise.
46052         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46053         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46054         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46056         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46057         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46058         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46059         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46060         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46061         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46063         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46064         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46066         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46067         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46069         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46070         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46071         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46073         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46074         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46075         to ...
46076         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46078         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46079         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46080         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46082         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46083         for x86-64.
46084         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46086 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46088         * math/math.h (M_El): Use two more decimal places.
46089         (M_LOG2El): Likewise.
46090         (M_LOG10El): Likewise.
46091         (M_LN2l): Likewise.
46092         (M_LN10l): Likewise.
46093         (M_PIl): Likewise.
46094         (M_PI_2l): Likewise.
46095         (M_PI_4l): Likewise.
46096         (M_1_PIl): Likewise.
46097         (M_2_PIl): Likewise.
46098         (M_2_SQRTPIl): Likewise.
46099         (M_SQRT2l): Likewise.
46100         (M_SQRT1_2l): Likewise.
46102 2012-05-31  David S. Miller  <davem@davemloft.net>
46104         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46105         values between float registers.
46106         * sysdeps/sparc/sparc64/memset.S: Likewise.
46107         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46109 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46111         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46112         -D_FORTIFY_SOURCE=1.
46113         (CPPFLAGS-tst-longjmp_chk.c): Define.
46114         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46115         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46116         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46117         CFLAGS-tst-wchar-h.c.
46119 2012-05-31  Marek Polacek  <polacek@redhat.com>
46121         [BZ #14132]
46122         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46123         __endmntent_internal): Remove declaration.
46124         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46125         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46126         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46128 2012-05-30  David S. Miller  <davem@davemloft.net>
46130         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46131         (___Q_simulate_exceptions): Use real FP ops rather than writing
46132         into the %fsr.
46133         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46134         Likewise.
46136 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46138         [BZ #14117]
46139         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46140         * sysdeps/x86/bits/xtitypes.h: This.
46142         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46143         * sysdeps/x86/bits/wordsize.h: This.
46145         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46146         * sysdeps/x86/bits/huge_vall.h: This.
46148         * sysdeps/i386/bits/select.h: Removed.
46149         * sysdeps/x86_64/bits/select.h: Renamed to ...
46150         * sysdeps/x86/bits/select.h: This.
46152         * sysdeps/i386/bits/setjmp.h: Removed.
46153         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46154         * sysdeps/x86/bits/setjmp.h: This.
46156         * sysdeps/i386/bits/mathdef.h: Removed.
46157         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46158         * sysdeps/x86/bits/mathdef.h: This.
46160 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46162         [BZ #14132]
46163         * include/sys/socket.h (__connect_internal)
46164         (__libc_sa_len_internal): Remove declaration.
46165         (__connect, __libc_sa_len): Declare hidden_proto.
46166         (SA_LEN): Remove use of INTUSE.
46167         * socket/connect.c: Add libc_hidden_def.
46168         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46169         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46170         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46171         alias.
46172         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46173         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46174         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46175         of adding _internal alias.
46177 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46179         [BZ #14117]
46180         * sysdeps/i386/bits/link.h: Removed.
46181         * sysdeps/i386/bits/linkmap.h: Likewise.
46182         * sysdeps/x86_64/bits/link.h: Renamed to ...
46183         * sysdeps/x86/bits/link.h: This.
46184         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46185         * sysdeps/x86/bits/linkmap.h: This.
46187         * sysdeps/i386/bits/endian.h: Removed.
46188         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46189         * sysdeps/x86/bits/endian.h: This.
46191         * sysdeps/i386/bits/byteswap.h: Removed.
46192         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46193         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46194         * sysdeps/x86/bits/byteswap.h: This.
46195         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46196         * sysdeps/x86/bits/byteswap-16.h: This.
46197         * sysdeps/i386/Implies: Add x86.
46198         * sysdeps/x86_64/Implies: Likewise.
46200 2012-05-30  David S. Miller  <davem@davemloft.net>
46202         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46203         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46204         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46205         (FP_TRAPPING_EXCEPTIONS): Define.
46206         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46207         (FP_TRAPPING_EXCEPTIONS): Define.
46208         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46209         subnormals only when inexact has been signalled or underflow
46210         exceptions are enabled.
46211         (_FP_PACK_CANONICAL): Likewise.
46213 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46215         [BZ #14183]
46216         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46217         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46219 2012-05-30  Richard Henderson  <rth@twiddle.net>
46221         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46222         with #ifndef NOT_IN_libc.
46224         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46225         marked to avoid plt entry.
46227 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46229         [BZ #14112]
46230         * Makeconfig (default-abi): New macro.
46231         (abi-includes): Likewise.
46232         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46233         $(abi-$(default-abi)-lib-soname) for soname if defined.
46234         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46235         abi-variants.
46236         * Makefile (installed-stubs): Likewise.
46237         * include/stubs-biarch.h: Removed.
46238         * scripts/lib-names.awk: Only handle one library at a time.
46239         * scripts/soversions.awk: Remove WORDSIZE support.
46240         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46241         entries.
46242         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46243         Removed.
46244         (syscall-list-default-condition): Likewise.
46245         (syscall-list-default-condition): Likewise.
46246         (syscall-list-includes): Likewise.
46247         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46248         syscall-list-* with abi-*.  Handle undefined abi-variants.
46249         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46250         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46251         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46252         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46253         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46254         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46255         Removed.
46256         (syscall-list-32-options): Likewise.
46257         (syscall-list-32-condition): Likewise.
46258         (syscall-list-64-options): Likewise.
46259         (syscall-list-64-condition): Likewise.
46260         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46261         macro.
46262         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46263         Renamed to ...
46264         (abi-*): This.
46265         (abi-64-ld-soname): New macro.
46266         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46267         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46268         Renamed to ...
46269         (abi-*): This.
46270         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46271         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46273 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46275         * sysdeps/unix/sysv/linux/kernel-features.h
46276         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46277         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46278         include <kernel-features.h>.
46279         [!__NR_ftruncate64]: Remove conditional code.
46280         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46281         [__NR_ftruncate64]: Make code unconditional.
46282         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46283         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46284         include <kernel-features.h>.
46285         [!__NR_ftruncate64]: Remove conditional code.
46286         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46287         [__NR_ftruncate64]: Make code unconditional.
46288         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46290         include <kernel-features.h>.
46291         [!__NR_ftruncate64]: Remove conditional code.
46292         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46293         [__NR_ftruncate64]: Make code unconditional.
46294         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46296         include <kernel-features.h>.
46297         [!__NR_ftruncate64]: Remove conditional code.
46298         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46299         [__NR_ftruncate64]: Make code unconditional.
46300         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46302         * configure.in (libc_cv_fpie): Weaken to a compile test using
46303         LIBC_TRY_CC_OPTION.
46304         * configure: Regenerated.
46306 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46312         Refreshed.
46313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46319         Refreshed.
46321 2012-05-27  David S. Miller  <davem@davemloft.net>
46323         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46324         (___Q_zero): New.
46325         (__Q_simulate_exceptions): Return void.  Change to simulate
46326         exceptions by writing into the %fsr.
46327         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46328         (__Qp_handle_exceptions): Likewise.
46329         (numbers): Delete.
46330         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46331         __Qp_handle_exceptions.
46332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46333         __Qp_handle_exceptions.
46334         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46335         as unused and give dummy FP_RND_NEAREST initializer.
46336         (FP_INHIBIT_RESULTS): Define.
46337         (___Q_simulate_exceptions): Update declaration.
46338         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46339         formatting.
46340         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46341         as unused and give dummy FP_RND_NEAREST initializer.
46342         (__Qp_handle_exceptions): Update declaration.
46343         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46344         formatting.
46346 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46348         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46349         the temporary FPU control word.
46350         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46351         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46352         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46353         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46354         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46355         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46356         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46357         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46358         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46359         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46360         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46362 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46364         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46365         fields.
46367 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46369         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46370         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46371         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46372         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46373         Likewise.
46374         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46375         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46376         Likewise.
46378 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46380         * po/h.po: Update from translation team.
46382 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46384         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46386         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46387         handling of denormals.
46388         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46389         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46390         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46391         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46392         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46393         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46394         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46395         Likewise.
46397 2012-05-26  Marek Polacek  <polacek@redhat.com>
46399         [BZ #14152]
46400         * math/libm-test.inc (fma_test): Don't always expect underflow
46401         exception.
46403 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46405         [BZ #12416]
46406         * elf/tst-execstack.c: Include stackinfo.h.
46407         (do_test): Adjust test case to ensure that pthread_getattr_np
46408         behaviour remains the same after marking stack executable.
46410 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46412         * sysdeps/unix/sysv/linux/kernel-features.h
46413         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46414         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46415         kernel-features.h.
46416         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46417         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46418         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46419         kernel-features.h.
46420         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46421         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46423 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46425         * configure.in: Define the default includes to being none.
46426         * configure: Regenerated.
46428 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46430         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46431         * sysdeps/x86_64/setjmp.S: Likewise.
46432         * sysdeps/i386/bsd-setjmp.S: Likewise.
46433         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46434         * sysdeps/i386/setjmp.S: Likewise.
46435         * sysdeps/i386/__longjmp.S: Likewise.
46436         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46437         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46439         * include/stap-probe.h: New file.
46440         * configure.in: Handle --enable-systemtap.
46441         * configure: Regenerated.
46442         * config.h.in (USE_STAP_PROBE): New #undef.
46443         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46444         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46445         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46447 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46449         [BZ #13717]
46450         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46451         to 2.4.0 where earlier.
46452         * sysdeps/unix/sysv/linux/configure: Regenerated.
46453         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46454         <kernel-features.h>.
46455         [__ASSUME_32BITUIDS]: Make code unconditional.
46456         [!__ASSUME_32BITUIDS]: Remove conditional code.
46457         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46458         <kernel-features.h>.
46459         [__ASSUME_32BITUIDS]: Make code unconditional.
46460         [!__ASSUME_32BITUIDS]: Remove conditional code.
46461         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46462         [__ASSUME_32BITUIDS]: Make code unconditional.
46463         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46464         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46465         <kernel-features.h>.
46466         [__ASSUME_32BITUIDS]: Make code unconditional.
46467         [!__ASSUME_32BITUIDS]: Remove conditional code.
46468         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46469         <kernel-features.h>.
46470         [__ASSUME_32BITUIDS]: Make code unconditional.
46471         [!__ASSUME_32BITUIDS]: Remove conditional code.
46472         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46473         <kernel-features.h>.
46474         [__ASSUME_32BITUIDS]: Make code unconditional.
46475         [!__ASSUME_32BITUIDS]: Remove conditional code.
46476         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46477         <kernel-features.h>.
46478         [__ASSUME_32BITUIDS]: Make code unconditional.
46479         [!__ASSUME_32BITUIDS]: Remove conditional code.
46480         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46481         <kernel-features.h>.
46482         [__ASSUME_32BITUIDS]: Make code unconditional.
46483         [!__ASSUME_32BITUIDS]: Remove conditional code.
46484         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46485         <kernel-features.h>.
46486         [__ASSUME_32BITUIDS]: Make code unconditional.
46487         [!__ASSUME_32BITUIDS]: Remove conditional code.
46488         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46489         <kernel-features.h>.
46490         [__ASSUME_32BITUIDS]: Make code unconditional.
46491         [!__ASSUME_32BITUIDS]: Remove conditional code.
46492         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46493         <kernel-features.h>.
46494         [__ASSUME_32BITUIDS]: Make code unconditional.
46495         [!__ASSUME_32BITUIDS]: Remove conditional code.
46496         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46497         <kernel-features.h>.
46498         [__ASSUME_32BITUIDS]: Make code unconditional.
46499         [!__ASSUME_32BITUIDS]: Remove conditional code.
46500         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46501         <kernel-features.h>.
46502         [__ASSUME_32BITUIDS]: Make code unconditional.
46503         [!__ASSUME_32BITUIDS]: Remove conditional code.
46504         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46505         <kernel-features.h>.
46506         [__NR_setresgid] (__setresgid): Do not declare.
46507         [__ASSUME_32BITUIDS]: Make code unconditional.
46508         [!__ASSUME_32BITUIDS]: Remove conditional code.
46509         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46510         <kernel-features.h>.
46511         [__NR_setresuid] (__setresuid): Do not declare.
46512         [__ASSUME_32BITUIDS]: Make code unconditional.
46513         [!__ASSUME_32BITUIDS]: Remove conditional code.
46514         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46515         <kernel-features.h>.
46516         [__ASSUME_32BITUIDS]: Make code unconditional.
46517         [!__ASSUME_32BITUIDS]: Remove conditional code.
46518         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46519         <kernel-features.h>.
46520         [__ASSUME_32BITUIDS]: Make code unconditional.
46521         [!__ASSUME_32BITUIDS]: Remove conditional code.
46522         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46523         <kernel-features.h>.
46524         [__ASSUME_32BITUIDS]: Make code unconditional.
46525         [!__ASSUME_32BITUIDS]: Remove conditional code.
46526         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46527         <kernel-features.h>.
46528         [__ASSUME_32BITUIDS]: Make code unconditional.
46529         [!__ASSUME_32BITUIDS]: Remove conditional code.
46530         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46531         <kernel-features.h>.
46532         [__ASSUME_32BITUIDS]: Make code unconditional.
46533         [!__ASSUME_32BITUIDS]: Remove conditional code.
46534         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46535         <kernel-features.h>.
46536         [__ASSUME_32BITUIDS]: Make code unconditional.
46537         [!__ASSUME_32BITUIDS]: Remove conditional code.
46538         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46539         <kernel-features.h>.
46540         [__ASSUME_32BITUIDS]: Make code unconditional.
46541         [!__ASSUME_32BITUIDS]: Remove conditional code.
46542         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46543         <kernel-features.h>.
46544         [__ASSUME_32BITUIDS]: Make code unconditional.
46545         [!__ASSUME_32BITUIDS]: Remove conditional code.
46546         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46547         <kernel-features.h>.
46548         [__ASSUME_32BITUIDS]: Make code unconditional.
46549         [!__ASSUME_32BITUIDS]: Remove conditional code.
46550         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46551         <kernel-features.h>.
46552         [__ASSUME_32BITUIDS]: Make code unconditional.
46553         [!__ASSUME_32BITUIDS]: Remove conditional code.
46554         * sysdeps/unix/sysv/linux/kernel-features.h
46555         (__ASSUME_SETRESUID_SYSCALL): Remove.
46556         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46557         (__ASSUME_32BITUIDS): Likewise.
46558         (__ASSUME_LDT_WORKS): Likewise.
46559         (__ASSUME_O_DIRECTORY): Likewise.
46560         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46561         architecture but not kernel version.
46562         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46563         (__ASSUME_MMAP2_SYSCALL): Likewise.
46564         (__ASSUME_STAT64_SYSCALL): Likewise.
46565         (__ASSUME_IPC64): Likewise.
46566         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46567         <kernel-features.h>.
46568         [__ASSUME_32BITUIDS]: Make code unconditional.
46569         [!__ASSUME_32BITUIDS]: Remove conditional code.
46570         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46571         <kernel-features.h>.
46572         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46573         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46574         132096]: Remove conditional code.
46575         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46576         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46577         <kernel-features.h>.
46578         [__ASSUME_32BITUIDS]: Make code unconditional.
46579         [!__ASSUME_32BITUIDS]: Remove conditional code.
46580         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46581         <kernel-features.h>.
46582         [__ASSUME_32BITUIDS]: Make code unconditional.
46583         [!__ASSUME_32BITUIDS]: Remove conditional code.
46584         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46585         <kernel-features.h>.
46586         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46587         unconditional.
46588         (__setresgid): Do not declare.
46589         [__ASSUME_32BITUIDS]: Make code unconditional.
46590         [!__ASSUME_32BITUIDS]: Remove conditional code.
46591         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46592         <kernel-features.h>.
46593         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46594         unconditional.
46595         (__setresuid): Do not declare.
46596         [__ASSUME_32BITUIDS]: Make code unconditional.
46597         [!__ASSUME_32BITUIDS]: Remove conditional code.
46598         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46599         <kernel-features.h>.
46600         [__ASSUME_32BITUIDS]: Make code unconditional.
46601         [!__ASSUME_32BITUIDS]: Remove conditional code.
46602         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46603         <kernel-features.h>.
46604         [__ASSUME_32BITUIDS]: Make code unconditional.
46605         [!__ASSUME_32BITUIDS]: Remove conditional code.
46607 2012-05-25  Richard Henderson  <rth@twiddle.net>
46609         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46610         dl_hwcap to ifunc resolver.
46611         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46612         elf_ifunc_invoke.
46613         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46614         dl_hwcap to ifunc resolver.
46615         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46617 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46619         [BZ #14153]
46620         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46621         for |x| <= 2**-26, not 2**-57.
46622         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46623         exception.
46625 2012-05-24  Jeff Law  <law@redhat.com>
46627         * stdio-common/Makefile (tests): Add bug25.
46628         * stdio-common/bug25.c: New test.
46630 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46632         [BZ #13576]
46633         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46634         multiple of MALLOC_ALIGNMENT in size.
46635         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46637 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46639         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46640         Require >= 256.
46641         (FILENAME_MAX): Use macro-int-constant.
46642         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46643         (_IOFBF): Use macro-int-constant.
46644         (_IOLBF): Likewise.
46645         (_IONBF): Likewise.
46646         (SEEK_CUR): Likewise.
46647         (SEEK_END): Likewise.
46648         (SEEK_SET): Likewise.
46649         (TMP_MAX): Likewise.
46650         (EOF): Use macro-int-constant.  Require < 0.
46651         (NULL): Use macro-constant.  Require == 0.
46652         (stdin): Require type to be FILE *.
46653         (stdout): Likewise.
46654         (stderr): Likewise.
46655         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46656         macro-int-constant.
46657         (EXIT_SUCCESS): Likewise.
46658         (NULL): Use macro-constant.  Require == 0.
46659         (RAND_MAX): Use macro-int-constant.
46660         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46661         [C99-based standards] (strtof): Require function.
46662         [C99-based standards] (strtold): Likewise.
46663         [C99-based standards] (strtoll): Likewise.
46664         [C99-based standards] (strtoull): Likewise.
46665         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46666         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46667         [ISO || ISO99 || ISO11] (math.h): Likewise.
46668         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46669         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46670         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46672 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46674         [BZ #14132]
46675         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46676         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46677         * intl/dgettext.c (DCGETTEXT): Likewise.
46678         * intl/gettext.c (DCGETTEXT): Likewise.
46679         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46680         * posix/regex_internal.h (gettext): Likewise.
46681         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46682         Remove declaration.
46683         * include/argz.h (__argz_count_internal)
46684         (__argz_stringify_internal): Remove declaration.
46685         (__argz_count, __argz_stringify): Declare hidden proto.
46686         * intl/dcgettext.c: Remove use of INTDEF.
46687         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46688         * string/argz-stringify.c: Likewise.
46689         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46690         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46691         Declare hidden proto.
46692         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46693         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46694         Declare hidden proto.
46695         * include/stdio.h (__asprintf_internal): Don't declare.
46696         (__asprintf): Don't define as macro.  Declare hidden proto.
46697         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46698         (__fsetlocking): Declare hidden proto.
46699         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46700         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46701         hidden proto.
46702         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46703         (_IO_setlinebuf): Remove use of INTUSE.
46704         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46705         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46706         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46707         Remove declaration.
46708         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46709         (_IO_do_flush): Remove use of INTUSE.
46710         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46711         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46712         (_IO_adjust_column, _IO_least_wmarker)
46713         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46714         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46715         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46716         (_IO_default_doallocate, _IO_wdefault_doallocate)
46717         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46718         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46719         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46720         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46721         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46722         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46723         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46724         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46725         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46726         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46727         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46728         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46729         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46730         proto.
46731         (_IO_flush_all_internal, _IO_adjust_column_internal)
46732         (_IO_default_uflow_internal, _IO_default_finish_internal)
46733         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46734         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46735         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46736         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46737         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46738         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46739         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46740         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46741         (_IO_file_close_internal, _IO_file_close_it_internal)
46742         (_IO_file_underflow_internal, _IO_file_overflow_internal)
46743         (_IO_file_init_internal, _IO_file_attach_internal)
46744         (_IO_file_fopen_internal, _IO_file_read_internal)
46745         (_IO_file_sync_internal, _IO_file_seek_internal)
46746         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46747         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46748         (_IO_str_underflow_internal, _IO_str_overflow_internal)
46749         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46750         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46751         (_IO_list_all_internal, _IO_link_in_internal)
46752         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46753         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46754         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46755         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46756         (_IO_do_write_internal, _IO_padn_internal)
46757         (_IO_getline_info_internal, _IO_getline_internal)
46758         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46759         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46760         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46761         (_IO_vfscanf_internal, _IO_vfprintf_internal)
46762         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46763         (_IO_init_internal, _IO_un_link_internal): Don't declare.
46764         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46765         with libc_hidden_ver, remove use of INTUSE.
46766         * libio/genops.c: Likewise.
46767         * libio/freopen.c: Likewise.
46768         * libio/freopen64.c: Likewise.
46769         * libio/iofclose.c: Likewise.
46770         * libio/iofdopen.c: Likewise.
46771         * libio/iofflush.c: Likewise.
46772         * libio/iofflush_u.c: Likewise.
46773         * libio/iofgets.c: Likewise.
46774         * libio/iofgets_u.c: Likewise.
46775         * libio/iofopen.c: Likewise.
46776         * libio/iofopncook.c: Likewise.
46777         * libio/iofread.c: Likewise.
46778         * libio/iofread_u.c: Likewise.
46779         * libio/ioftell.c: Likewise.
46780         * libio/iofwrite.c: Likewise.
46781         * libio/iogetline.c: Likewise.
46782         * libio/iogets.c: Likewise.
46783         * libio/iogetwline.c: Likewise.
46784         * libio/iopadn.c: Likewise.
46785         * libio/iopopen.c: Likewise.
46786         * libio/ioseekoff.c: Likewise.
46787         * libio/ioseekpos.c: Likewise.
46788         * libio/iosetbuffer.c: Likewise.
46789         * libio/iosetvbuf.c: Likewise.
46790         * libio/ioungetc.c: Likewise.
46791         * libio/ioungetwc.c: Likewise.
46792         * libio/iovdprintf.c: Likewise.
46793         * libio/iovsprintf.c: Likewise.
46794         * libio/iovsscanf.c: Likewise.
46795         * libio/memstream.c: Likewise.
46796         * libio/obprintf.c: Likewise.
46797         * libio/oldfileops.c: Likewise.
46798         * libio/oldiofclose.c: Likewise.
46799         * libio/oldiofdopen.c: Likewise.
46800         * libio/oldiofopen.c: Likewise.
46801         * libio/oldiopopen.c: Likewise.
46802         * libio/oldstdfiles.c: Likewise.
46803         * libio/putc.c: Likewise.
46804         * libio/setbuf.c: Likewise.
46805         * libio/setlinebuf.c: Likewise.
46806         * libio/stdfiles.c: Likewise.
46807         * libio/strops.c: Likewise.
46808         * libio/vasprintf.c: Likewise.
46809         * libio/vscanf.c: Likewise.
46810         * libio/vsnprintf.c: Likewise.
46811         * libio/vswprintf.c: Likewise.
46812         * libio/wfiledoalloc.c: Likewise.
46813         * libio/wfileops.c: Likewise.
46814         * libio/wgenops.c: Likewise.
46815         * libio/wmemstream.c: Likewise.
46816         * libio/wstrops.c: Likewise.
46817         * libio/__fpurge.c: Likewise.
46818         * libio/__fsetlocking.c: Likewise.
46819         * assert/assert.c: Likewise.
46820         * debug/fgets_chk.c: Likewise.
46821         * debug/fgets_u_chk.c: Likewise.
46822         * debug/fread_chk.c: Likewise.
46823         * debug/fread_u_chk.c: Likewise.
46824         * debug/gets_chk.c: Likewise.
46825         * debug/obprintf_chk.c: Likewise.
46826         * debug/vasprintf_chk.c: Likewise.
46827         * debug/vdprintf_chk.c: Likewise.
46828         * debug/vsnprintf_chk.c: Likewise.
46829         * debug/vsprintf_chk.c: Likewise.
46830         * malloc/mtrace.c: Likewise.
46831         * misc/error.c: Likewise.
46832         * misc/syslog.c: Likewise.
46833         * stdio-common/asprintf.c: Likewise.
46834         * stdio-common/fxprintf.c: Likewise.
46835         * stdio-common/getw.c: Likewise.
46836         * stdio-common/isoc99_fscanf.c: Likewise.
46837         * stdio-common/isoc99_scanf.c: Likewise.
46838         * stdio-common/isoc99_vfscanf.c: Likewise.
46839         * stdio-common/isoc99_vscanf.c: Likewise.
46840         * stdio-common/isoc99_vsscanf.c: Likewise.
46841         * stdio-common/printf-prs.c: Likewise.
46842         * stdio-common/printf_fp.c: Likewise.
46843         * stdio-common/printf_fphex.c: Likewise.
46844         * stdio-common/printf_size.c: Likewise.
46845         * stdio-common/putw.c: Likewise.
46846         * stdio-common/scanf.c: Likewise.
46847         * stdio-common/sprintf.c: Likewise.
46848         * stdio-common/tmpfile.c: Likewise.
46849         * stdio-common/vfprintf.c: Likewise.
46850         * stdio-common/vfscanf.c: Likewise.
46851         * stdlib/strfmon_l.c: Likewise.
46852         * sunrpc/openchild.c: Likewise.
46853         * sunrpc/xdr_stdio.c: Likewise.
46854         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46855         * sysdeps/mach/hurd/tmpfile.c: Likewise.
46857 2012-05-24  Roland McGrath  <roland@hack.frob.com>
46859         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46861         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46862         in the third column, to generate for the shared library an IFUNC
46863         that uses _dl_vdso_vsym.
46864         * Makerules (COMPILE.c, compile-stdin.c): New variables.
46865         * Makeconfig (object-suffixes-noshared): New variable.
46867         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46868         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46869         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46870         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46872         [BZ #14132]
46873         * include/sys/time.h (__gettimeofday): Remove macro.
46874         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46875         * time/gettimeofday.c (__gettimeofday): Remove #undef.
46876         Remove INTDEF.
46877         (__gettimeofday): Add libc_hidden_def.
46878         (gettimeofday): Add libc_hidden_weak.
46879         * sysdeps/mach/gettimeofday.c: Likewise.
46880         * sysdeps/posix/gettimeofday.c: Likewise.
46881         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46882         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46883         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46884         (__gettimeofday_internal): Remove strong_alias.
46885         (__gettimeofday): Add libc_hidden_def.
46886         (gettimeofday): Add libc_hidden_weak.
46887         * sysdeps/unix/syscalls.list (gettimeofday):
46888         Remove __gettimeofday_internal alias.
46890 2012-05-24  Daniel Jacobowitz  <drow@false.org>
46891             H.J. Lu  <hongjiu.lu@intel.com>
46893         [BZ #12495]
46894         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46895         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46896         (largebin_index_32_big): New.
46897         (largebin_index): Use it for 16-byte alignment.
46898         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
46899         correction with front_misalign.
46901 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46905         Likewise.
46906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46907         Likewise.
46908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46909         Likewise.
46910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46911         Likewise.
46912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46913         Likewise.
46914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46915         Likewise.
46916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46917         Likewise.
46918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46919         Likewise.
46920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46921         Likewise.
46922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46923         Likewise.
46924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46925         Likewise.
46926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46927         Likewise.
46929         * scripts/data/c++-types-x32-linux-gnu.data: New file.
46930         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46932 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46934         [BZ #10846]
46935         [BZ #14036]
46936         * math/libm-test.inc (exp_test): Add test from bug 14036.
46937         (pow_test): Add test from bug 10846.
46939         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46940         and other flags.
46941         (special_function): Do not include flags in test name.
46942         (parse_args): Likewise.
46943         * sysdeps/i386/fpu/libm-test-ulps: Update.
46944         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46945         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46946         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46949         * math/gen-libm-test.pl (%beautify): Add entries for underflow
46950         exceptions.
46951         * math/libm-test.inc ("Philosophy"): Update comment about
46952         exception testing.
46953         (UNDERFLOW_EXCEPTION): New macro.
46954         (UNDERFLOW_EXCEPTION_OK): Likewise.
46955         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46956         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46957         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46958         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46959         (INVALID_EXCEPTION_OK): Update value.
46960         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46961         (OVERFLOW_EXCEPTION_OK): Likewise.
46962         (IGNORE_ZERO_INF_SIGN): Likewise.
46963         (test_exceptions): Handle underflow exceptions.
46964         (acos_test): Update for underflow exception expectations.
46965         (cexp_test): Likewise.
46966         (clog_test): Likewise.
46967         (clog10_test): Likewise.
46968         (csqrt_test): Likewise.
46969         (ctan_test): Likewise.
46970         (ctanh_test): Likewise.
46971         (exp_test): Likewise.
46972         (exp10_test): Likewise.
46973         (exp2_test): Likewise.
46974         (expm1_test): Likewise.
46975         (fma_test): Likewise.
46976         (j0_test): Likewise.
46977         (jn_test): Likewise.
46978         (nexttoward_test): Likewise.
46979         (pow_test): Likewise.
46980         (scalbn_test): Likewise.
46981         (scalbln_test): Likewise.
46982         (tan_test): Likewise.
46983         (y1_test): Likewise.
46984         * sysdeps/i386/fpu/libm-test-ulps: Update.
46985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46987 2012-05-23  David S. Miller  <davem@davemloft.net>
46989         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46990         (__libc_sigaction): Remove unused local variables.
46992 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46994         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46996 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
46998         mktime: avoid signed integer overflow
46999         * time/mktime.c (__mktime_internal): Do not mishandle the case
47000         where diff == INT_MIN.
47002         mktime: simplify computation of average
47003         * time/mktime.c (ranged_convert): Use new time_t_avg function
47004         instead of rolling our own (probably-slower) code.
47006         mktime: do not assume signed right shift propagates sign bit
47007         * time/mktime.c (isdst_differ): New static function.
47008         (__mktime_internal): No need to normalize tm_isdst now.
47009         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47010         tm_isdst values.
47012         mktime: merge another wrapv change from gnulib
47013         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47014         from some compilers.
47016         mktime: remove incorrect attempt at unusual arithmetics
47017         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47018         The code didn't really work on such machines anyway.
47019         (TYPE_MINIMUM): Assume two's complement.
47020         (twos_complement_arithmetic): Verify that long_int and time_t
47021         are two's complement (or unsigned, in the latter case).
47023         mktime: check signed shifts on long_int and time_t, too
47024         * time/mktime.c (SHR): Check that shifts work as desired
47025         on the types long_int and time_t too, as SHR is used on
47026         such types.
47028         mktime: do not assume 'long' is wide enough
47029         * time/mktime.c (verify): Move decl up.
47030         (long_int): New type.
47031         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47032         to remove assumption in the code that 'long' is wide enough to
47033         store year values.  This assumption is not true on x32 and on
47034         some non-glibc platforms.
47036         mktime: merge wrapv change from gnulib
47037         * time/mktime.c (WRAPV): New macro.
47038         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47039         (guess_time_tm, __mktime_internal): Do not assume that signed
47040         integer overflow wraps around; modern compilers generate code
47041         where this assumption is no longer valid.
47043 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47045         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47046         Replace "jmp L(pseudo_end)" with "ret".
47047         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47048         Likewise.
47050 2012-05-23  Andreas Jaeger  <aj@suse.de>
47052         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47053         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47055 2012-05-23  Andreas Jaeger  <aj@suse.de>
47056             Maximilian Attems  <max@stro.at>
47058         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47059         New macros.
47061 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47063         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47064         code so that pseudo_end is just ret and the stack pointer is
47065         correct also for static library in error case.
47067 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47069         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47070         move to syscalls.list.
47071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47076         * manual/install.texi (Running make install): Do not mention Linux
47077         kernel version for which pt_chown is not needed.
47078         (Linux): Do not mention problems with nscd with 2.0 kernels.
47079         * INSTALL: Regenerated.
47081 2012-05-23  Andreas Jaeger  <aj@suse.de>
47083         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47084         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47085         macro.
47086         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47087         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47088         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47089         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47090         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47091         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47092         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47093         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47094         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47095         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47096         * sysdeps/unix/sysv/linux/bits/in.h
47097         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47099 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47101         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47102         (PREPARE_VERSION): Just use assert instead, it will be elided
47103         under [NDEBUG] anyway.
47105 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47107         * sysdeps/unix/sysv/linux/Makefile: Include
47108         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47109         (sysdep_routines): Remove sysctl.
47110         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47111         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47112         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47113         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47114         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47116 2012-05-22  Andreas Jaeger  <aj@suse.de>
47118         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47119         that pseudo_end is just ret and the stack pointer is correct also
47120         for static library in error case.
47122 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47124         [BZ #14122]
47125         * nss/nsswitch.c (defconfig_entries): New variable.
47126         (__nss_database_lookup): Don't leak defconfig entries.
47127         (nss_parse_service_list): Don't leak on error paths.
47128         (free_database_entries): New function.
47129         (free_defconfig): New function.
47130         (free_mem): Move common code to free_database_entries.
47132 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47134         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47135         Add arch_prctl.
47136         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47138         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47139         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47140         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47141         New macro.
47142         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47143         (INTERNAL_SYSCALL_TYPES): Likewise.
47144         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47145         (LOAD_REGS_TYPES_[1-6]): Likewise.
47146         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47147         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47149 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47151         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47152         copysignl for GLIBC_2_0.
47153         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47154         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47155         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47156         logbl for GLIBC_2_0.
47157         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47158         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47160 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47162         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47163         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47165         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47166         Use "neg %eax".
47168         * time/mktime.c: Update copyright years.
47170 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47172         mktime: merge comment-quoting-style change from gnulib
47173         * time/mktime.c: Quote 'like this' in comments.
47174         The GNU coding standards suggest that we no longer quote `like this',
47175         as "`" and "'" are typically rendered asymmetrically nowadays.
47176         The typical gnulib style is to quote 'like this' when quoting
47177         code, and "like this" when quoting English.
47179         * time/mktime.c (compile-command): Add "-I.".
47181         mktime: merge mktime-internal.h change from gnulib
47182         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47184         mktime: merge time_r change from gnulib
47185         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47187         mktime: merge DEBUG change from gnulib
47188         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47189         case system <time.h> has a #define.
47191         mktime: merge <sys/types.h> change from gnulib
47192         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47193         since <time.t> is now guaranteed to define time_t.
47195         mktime: merge HAVE_CONFIG_H change from gnulib
47196         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47198 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47200         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47201         Use "neg %eax".
47203         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47204         __rlim_t cast.
47205         (struct rusage): Use anonymous union to pad each field to
47206         __syscall_slong_t.
47208 2012-05-21  David S. Miller  <davem@davemloft.net>
47210         * Makefules (o-iterator): Remove .s cases.
47211         (compile-command.s): Delete.
47212         (COMPILE.s): Delete.
47213         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47215 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47217         * configure.in (libc_cv_predef_stack_protector): Only consider
47218         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47219         * configure: Regenerated.
47221 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47223         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47224         New macro.  Use R*LP on int and pointer.
47225         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47226         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47227         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47228         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47230         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47231         [__WORDSIZE_TIME64_COMPAT32] instead of
47232         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47233         (struct utmp): Likewise.
47234         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47235         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47236         Renamed to ...
47237         (__WORDSIZE_TIME64_COMPAT32): This.
47238         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47239         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47240         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47241         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47242         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47243         (__WORDSIZE_TIME64_COMPAT32): New macro.
47245 2012-05-21  Andreas Jaeger  <aj@suse.de>
47247         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47248         only if [SHARED]. Add prototype for __wcschr_ia32.
47250 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47252         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47253         of %rbp unmolested in the jmp_buf while mangling the low bits.
47254         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47255         unmolested high bits of %rbp while demangling the low bits.
47256         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47258 2012-05-21  Andreas Jaeger  <aj@suse.de>
47260         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47261         * sunrpc/svc_simple.c: Use it for registerrpc.
47262         * sunrpc/xcrypt.c: Use it for passwd2des.
47264         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47266 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47268         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47269         Don't define if [__SYSCALL_WORDSIZE != 32].
47270         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47271         New macro.
47273 2012-05-21  Bruno Haible  <bruno@clisp.org>
47274             Andreas Jaeger  <aj@suse.de>
47276         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47277         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47278         inptr and inend for must_buffer_ch.
47279         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47280         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47281         * stdio-common/Makefile (tests): Remove bug15.
47282         (bug15-ENV): Remove macro.
47283         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47284         anymore.
47286 2012-05-19  Andreas Jaeger  <aj@suse.de>
47287             Roland McGrath  <roland@hack.frob.com>
47289         * manual/contrib.texi: Completely rewritten. It contains now an
47290         alphabetical list of contributors and their contributions.
47292 2012-05-21  Richard Henderson  <rth@twiddle.net>
47294         * misc/getauxval.c (__getauxval): Use unsigned long int.
47295         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47296         (getauxval): Use unsigned long int.
47298 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47300         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47302 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47304         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47305         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47306         __alignof__ (long double).
47308 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47312 2012-05-20  Richard Henderson  <rth@twiddle.net>
47314         * misc/getauxval.c: New file.
47315         * misc/sys/auxv.h: New file.
47316         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47317         (routines): Add getauxval.
47318         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47319         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47320         * elf/dl-sysdep.c (_dl_auxv): Remove.
47321         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47322         * elf/dl-support.c (_dl_auxv): New variable.
47323         (_dl_aux_init): Initialize it.
47324         * manual/startup.texi (Auxiliary Vector): New node.
47325         * sysdeps/generic/bits/hwcap.h: New file.
47326         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47327         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47328         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47329         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47330         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47331         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47333         Update.
47334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47337         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47343 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47347 2012-05-19  David S. Miller  <davem@davemloft.net>
47349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47351 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47353         [BZ #14123]
47354         * math/s_ccosh.c: Include <float.h>
47355         (__ccosh): Avoid internal overflow calculating sinh and cosh
47356         values before multiplying by sin and cos values.
47357         * math/s_ccoshf.c: Likewise.
47358         * math/s_ccoshl.c: Likewise.
47359         * math/s_csin.c: Likewise.
47360         * math/s_csinf.c: Likewise.
47361         * math/s_csinl.c: Likewise.
47362         * math/s_csinh.c: Likewise.
47363         * math/s_csinhf.c: Likewise.
47364         * math/s_csinhl.c: Likewise.
47365         * math/libm-test.inc (ccos_test): Add more tests.
47366         (ccosh_test): Likewise.
47367         (csin_test): Likewise.
47368         (csinh_test): Likewise.
47369         * sysdeps/i386/fpu/libm-test-ulps: Update.
47370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47372 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47374         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47375         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47377         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47379 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47381         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47382         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47383         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47384         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47385         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47386         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47387         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47388         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47389         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47390         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47391         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47392         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47393         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47394         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47395         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47396         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47397         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47398         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47399         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47400         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47401         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47402         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47403         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47404         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47405         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47406         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47407         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47408         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47409         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47410         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47411         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47413 2012-05-18  Andreas Jaeger  <aj@suse.de>
47415         * csu/.gitignore: Delete.
47417 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47419         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47420         (timex): Use __syscall_slong_t.
47422 2012-05-18  Andreas Jaeger  <aj@suse.de>
47423             Carlos O'Donell  <carlos_odonell@mentor.com>
47425         * manual/install.texi (Configuring and compiling): Update
47426         description about files modified in the source directory.
47427         * INSTALL: Regenerated.
47429 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47431         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47432         value.  Use "or" to set return value to -1.
47433         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47434         negate return value.
47436 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47438         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47439         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47440         failure if the compiler has Graphite support disabled.
47441         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47442         Likewise.
47443         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47444         (CFLAGS-memmove.c): Likewise.
47445         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47446         Likewise.
47448 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47450         * sysdeps/x86_64/x32/_itoa.h: New file.
47452         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47453         getdents system call only if kernel and user dirents have the
47454         same d_ino and d_off.
47456         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47457         LLONG_MAX != LONG_MAX.
47458         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47459         (_fitoa_word): Likewise.
47461         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47462         years.
47463         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47464         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47465         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47467         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47468         include <bits/wordsize.h>.  Check __x86_64__ instead of
47469         __WORDSIZE.
47470         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47471         if __x86_64__ is defined.  Use anonymous union on fpstate.
47473         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47474         anonymous union.
47476 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47478         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47479         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47480         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47481         Refer to _rtld_local_ro instead of _rtld_global_ro.
47482         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47483         Likewise.
47484         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47485         Likewise.
47486         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47487         Likewise.
47488         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47489         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47490         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47492         * sysdeps/powerpc/powerpc32/dl-machine.c
47493         (__elf_machine_runtime_setup) [PROF]: Don't reference
47494         _dl_prof_resolve.
47496 2012-05-18  Andreas Jaeger  <aj@suse.de>
47498         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47499         function only available for GCCs before 3.4 since GCC 3.4
47500         introduced a builtin.
47501         (lrint): Likewise.
47502         (llrintf): Likewise.
47503         (llrint): Likewise.
47504         (fmaxf): Likewise.
47505         (fmax): Likewise.
47506         (fminf): Likewise.
47507         (fmin): Likewise.
47508         (rint): Likewise.
47509         (rintf): Likewise.
47510         (nearbyint): Likewise.
47511         (nearbyintf): Likewise.
47512         (ceil): Likewise.
47513         (ceilf): Likewise.
47514         (floor): Likewise.
47515         (floorf): Likewise.
47517 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47519         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47520         on both fields and cast pointer to __syscall_ulong_t.
47522         * bits/types.h (__fsword_t): New type.
47523         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47524         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47525         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47526         (__FSWORD_T_TYPE): Likewise.
47527         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47528         (__FSWORD_T_TYPE): Likewise.
47529         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47530         (__FSWORD_T_TYPE): Likewise.
47531         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47532         (__FSWORD_T_TYPE): Likewise.
47533         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47534         __SWORD_TYPE with __fsword_t.
47535         (statfs64): Likewise.
47537 2012-05-17  David S. Miller  <davem@davemloft.net>
47539         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47541 2012-05-17  Andreas Jaeger  <aj@suse.de>
47543         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47544         warning.
47546 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47548         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47550 2012-05-17  Andreas Jaeger  <aj@suse.de>
47552         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47553         when it is used.
47555 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47557         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47559 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47561         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47562         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47564 2012-05-17  Andreas Jaeger  <aj@suse.de>
47565             Carlos O'Donell  <carlos_odonell@mentor.com>
47567         [BZ #14059]
47568         * sysdeps/x86_64/multiarch/init-arch.h
47569         (bit_YMM_Usable): Rename to...
47570         (bit_AVX_Usable): ... this.
47571         (bit_FMA4_Usable): New macro.
47572         (bit_XMM_state): New macro.
47573         (bit_YMM_state): New macro.
47574         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47575         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47576         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47577         (CPUID_OSXSAVE): New macro.
47578         (CPUID_AVX): New macro.
47579         (CPUID_FMA4): New macro.
47580         (index_YMM_Usable): Rename to...
47581         (index_AVX_Usable): ... this.
47582         (HAS_AVX): Use HAS_ARCH_FEATURE.
47583         (HAS_FMA4): Likewise.
47584         (HAS_YMM_USABLE): Remove.
47585         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47586         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47587         are present.
47588         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47589         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47590         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47591         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47592         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47594 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47596         * math/libm-test.c: Support platforms without multiple rounding modes.
47597         * math/bug-nextafter.c: Support platforms without FP exceptions.
47598         * math/bug-nexttoward.c: Likewise.
47599         * math/test-fenv.c: Likewise.
47600         * math/test-misc.c: Likewise.
47601         * stdlib/bug-getcontext.c: Likewise.
47603 2012-05-17  Andreas Jaeger  <aj@suse.de>
47605         * manual/examples/search.c (critter_cmp): Change signature to
47606         avoid warnings.
47607         * manual/string.texi (Collation Functions): Likewise.
47609 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47611         * bits/types.h: Fold copyright years.
47612         * bits/typesizes.h: Likewise.
47613         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47614         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47615         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47616         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47617         * time/time.h: Likewise.
47619 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47621         [BZ #208]
47622         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47623         in instead of returning them.  Return void.
47624         (__libc_mallinfo): Accumulate over all arenas.
47625         (__malloc_stats): Adjust for change in int_mallinfo interface.
47627 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47629         [BZ #10375]
47630         * configure.in (NM): Add AC_CHECK_TOOL for it.
47631         (libc_extra_cflags): New substituted variable.
47632         Check for -fstack-protector being used implicitly.
47633         * configure: Regenerated.
47634         * config.make.in (config-extra-cflags): New variable,
47635         gets @libc_extra_cflags@.
47636         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47638         [BZ #10375]
47639         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47640         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47641         * configure: Regenerated.
47642         * config.make.in (CPPUNDEFS): New substituted variable.
47643         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47644         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47645         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47647 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47649         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47650         (mq_attr): Use __syscall_slong_t.
47652 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47654         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47655         Check __x86_64__ instead of __WORDSIZE.
47656         (_STAT_VER_LINUX): Likewise.
47657         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47658         __syscall_ulong_t and __syscall_slong_t.
47659         (stat64): Likewise.
47661 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47663         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47665 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47667         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47669 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47671         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47672         __syscall_ulong_t.
47674         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47675         include <bits/wordsize.h>.  Check __x86_64__ instead of
47676         __WORDSIZE.
47677         (greg_t): Use "__extension__ long long int" if __x86_64__ is
47678         defined.
47679         (mcontext_t): Replace "unsigned long" with "unsigned long long".
47681         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47682         include <bits/wordsize.h>.  Check __x86_64__ instead of
47683         __WORDSIZE.
47684         (user_regs_struct): Use "__extension__ unsigned long long"
47685         instead of "unsigned long" if __x86_64__ is defined.
47686         (user): Likewise.  Pad after pointer field if __ILP32__ is
47687         defined.
47689 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
47691         * configure.in (makeinfo): Require version 4.5 or later.  Allow
47692         versions 5 to 9.
47693         * configure: Regenerated.
47694         * manual/install.texi (texinfo): Increase version requirement to
47695         4.5 or later.
47696         * INSTALL: Regenerated.
47698         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47700 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47702         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47704         * sysdeps/x86_64/x32/ffs.c: New file.
47706         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47707         __syscall_ulong_t.
47708         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47709         defined.  Use __syscall_ulong_t.
47710         (shminfo): Use __syscall_ulong_t.
47711         (shm_info): Likewise.
47713         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47714         __syscall_ulong_t.
47716         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47717         <bits/wordsize.h>.
47718         (msgqnum_t): Use __syscall_ulong_t.
47719         (msglen_t): Likewise.
47720         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
47721         __syscall_ulong_t.
47723         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47724         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47726         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47728         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47729         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47731         * sysvipc/sys/msg.h (msgbuf): Replace long int with
47732         __syscall_slong_t.
47734         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47735         include <bits/wordsize.h>.  Check __x86_64__ instead of
47736         __WORDSIZE.
47738         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47739         "unsigned long long int" if __x86_64__ is defined.
47740         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47742         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47743         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47744         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47746         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47747         <stdint.h>.
47748         (GET_PC): Cast to uintptr_t first.
47749         (GET_FRAME): Likewise.
47750         (GET_STACK): Likewise.
47752         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47753         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47754         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47755         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47756         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47757         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47758         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47759         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47760         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47761         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47762         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47763         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47764         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47765         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47766         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47767         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47768         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47769         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47770         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47771         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47772         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47773         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47774         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47775         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47776         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47777         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47778         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47779         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47780         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47782 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
47784         * Makerules (+depfiles): Also collect depfiles from .oS in
47785         $(extra-objs).
47786         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47787         .oS, $(libnldbl-routines)).
47789         * Makerules (native-compile-mkdep-flags): Define.
47790         * sunrpc/Makefile (extra-objs): Add $(addprefix
47791         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47792         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47793         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
47794         calling $(make-target-directory).
47796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47798         * bits/types.h (__snseconds_t): Removed.
47799         * time/time.h (struct timespec): Replace __snseconds_t with
47800         __syscall_slong_t.
47801         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47802         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47803         Likewise.
47804         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47805         (__SNSECONDS_T_TYPE): Likewise.
47806         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47807         (__SNSECONDS_T_TYPE): Likewise.
47808         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47809         (__SNSECONDS_T_TYPE): Likewise.
47811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47813         * sysdeps/mach/hurd/bits/typesizes.h
47814         (__SYSCALL_SLONG_TYPE): New macro.
47815         (__SYSCALL_ULONG_TYPE): Likewise.
47817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47819         * bits/types.h (__syscall_slong_t): New type.
47820         (__syscall_ulong_t): Likewise.
47822         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47823         (__SYSCALL_ULONG_TYPE): Likewise.
47824         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47825         (__SYSCALL_SLONG_TYPE): Likewise.
47826         (__SYSCALL_ULONG_TYPE): Likewise.
47827         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47828         (__SYSCALL_SLONG_TYPE): Likewise.
47829         (__SYSCALL_ULONG_TYPE): Likewise.
47830         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47831         (__SYSCALL_SLONG_TYPE): Likewise.
47832         (__SYSCALL_ULONG_TYPE): Likewise.
47834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47836         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47837         Add sigaltstack-offsets.sym.
47838         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47839         <sigaltstack-offsets.h>.
47840         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
47841         longjmp_msg pointer.
47842         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
47843         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47844         signal stack.
47845         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47847 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47849         * elf/stackguard-macros.h: Remove file.
47850         * sysdeps/generic/stackguard-macros.h: New file.
47851         * sysdeps/i386/stackguard-macros.h: Likewise.
47852         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47853         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47854         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47855         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47856         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47857         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47858         * sysdeps/x86_64/stackguard-macros.h: Likewise.
47859         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47860         <elf/stackguard-macros.h>.
47862         [BZ #14109]
47863         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47864         __aligned__ in attribute.
47865         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47866         (gregset_t): Likewise.
47868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47870         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47871         * sysdeps/x86_64/64/Implies-after: Here.  New file.
47872         * sysdeps/x86_64/x32/Implies-after: New file.
47874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47876         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47877         and access return value for _dl_profile_fixup.  Use R10_LP to
47878         load frame size.
47880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47882         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47886         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47887         * sysdeps/x86_64/x32/sysdep.h: New file.
47889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47891         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47892         * sysdeps/x86_64/setjmp.S: Likewise.
47894 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47896         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47897         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47898         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47899         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47900         remove unused global constant.
47902 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
47904         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47905         include of <not-cancel.h>.
47907 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47909         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47911 2012-05-15  Jeff Law  <law@redhat.com>
47912             Andreas Jaeger  <aj@suse.de>
47914         [BZ #13594]
47915         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47916         out from...
47917         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47918         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47919         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47920         code changing __hst_map_handle.map.
47922 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47924         * configure.in (sysnames): Look for Implies-before and Implies-after
47925         files.
47926         * configure: Regenerated.
47928 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47930         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47931         8-byte data alignment with LP_SIZE alignment.
47933 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47935         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47936         into R10_LP.
47938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47940         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47944         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47945         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47946         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47947         Likewise.
47948         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47950 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47952         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47953         (stackinfo_sub_sp): Likewise.
47955 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47957         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47958         RAX_LP.
47960 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47962         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47963         into R*_LP.
47965 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47967         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47968         sizes into R*_LP.
47970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47972         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47976         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47977         into R11_LP and load __x86_64_shared_cache_size_half into
47978         R8_LP.
47980 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47982         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47983         R8_LP.
47985 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47987         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47988         logb for POWER7.
47989         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47990         logbf for POWER7.
47991         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47992         logbl for POWER7.
47993         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47994         powerpc32/power7/fpu/s_logb.c via #include.
47995         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47996         powerpc32/power7/fpu/s_logbf.c via #include.
47997         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47998         powerpc32/power7/fpu/s_logbl.c via #include.
48000 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48002         * README.libm: Remove file.
48004 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48006         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48007         count for x32.  Use R*_LP and omit operand-size suffix.
48009 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48011         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48012         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48013         * sysdeps/x86_64/x32/shlib-versions: New file.
48015 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48017         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48018         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48019         Use _dl_fatal_printf instead.
48021 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48023         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48024         set if not set by the user.  Do not allow for being unset.
48025         * sysdeps/unix/sysv/linux/configure: Regenerated.
48027 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48029         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48030         the `q' suffix from lea and replace .quad with ASM_ADDR.
48032 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48034         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48035         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48036         instead of $17.
48037         (PTR_DEMANGLE): Likewise.
48039 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48041         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48042         (LP_OP): Likewise.
48043         (ASM_ADDR): Likewise.
48044         (RAX_LP): Likewise.
48045         (RBP_LP): Likewise.
48046         (RBX_LP): Likewise.
48047         (RCX_LP): Likewise.
48048         (RDI_LP): Likewise.
48049         (RSI_LP): Likewise.
48050         (RSP_LP): Likewise.
48051         (R8_LP): Likewise.
48052         (R9_LP): Likewise.
48053         (R10_LP): Likewise.
48054         (R10_LP): Likewise.
48055         (R11_LP): Likewise.
48056         (R12_LP): Likewise.
48057         (R13_LP): Likewise.
48058         (R14_LP): Likewise.
48059         (R15_LP): Likewise.
48061 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48063         * sysdeps/x86_64/x32/dl-machine.h: New file.
48065 2012-05-14  Andreas Jaeger  <aj@suse.de>
48067         * manual/Makefile (subdir): Remove export of subdir.
48068         (all): Remove target.
48069         (.PHONY): Remove all from list.
48070         (mkinstalldirs): Remove.
48071         (.PHONY): Remove installdirs from list.
48072         ($(inst_infodir)/libc.info): Use make-target-directory.
48073         (installdirs): Remove.
48074         (subdir_%): Remove.
48075         (glibc-targets): Remove.
48076         (lib): Remove.
48077         (stubs): Remove.
48078         ($(objpfx)stubs ../po/manual.pot): Remove.
48079         ($(objpfx)stamp%): Remove.
48080         (make-target-directory): Remove.
48081         (subdir_install): Remove.
48082         (routines): Remove.
48083         (aux): Remove.
48084         (sources): Remove.
48085         (objects): Remove.
48086         (headers): Remove.
48088         [BZ #13750]
48089         * manual/.gitignore: Remove, it's not needed anymore.
48090         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48091         all files in it.
48092         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48093         directory.
48094         (texis): Renamed to $(objpfx)texis.
48095         (texis-path): New, contains path to generated files.
48096         (chapters.%): Use texis-path for complete path, add extra argument
48097         libc-texinfo.sh.
48098         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48099         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48100         (summary,texi, stamp-summary): Use complete path of
48101         files. Generate files in build dir.
48102         (dir-add.texi): Build in build dir.
48103         (libm-err.texi,stamp-libm-err): Likewise.
48104         (version.texi, stamp-version): Likewise.
48105         (.%c.texi): Likewise.
48106         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48107         (mostlyclean): Remove target.
48108         (realclean): Remove target.
48109         (generated): Add new variable with contents from mostlyclean and
48110         realclean, remove entries duplicated in common-mostlyclean, add
48111         stamp-libm-err and stamp-version.
48112         (generated-dirs): Add libc directory.
48113         ($(inst_infodir)/libc.info): Install files from build dir.
48115         * manual/install.texi (Configuring and compiling): Adjust since
48116         the info files are not part of the tar ball anymore.
48118 2012-05-14  Andreas Jaeger  <aj@suse.de>
48120         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48121         variable.
48123 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48125         [BZ #13717]
48126         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48127         to 2.2.0 where earlier.
48128         * sysdeps/unix/sysv/linux/configure: Regenerated.
48129         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48130         Remove conditional code.
48131         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48132         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48133         Remove conditional code.
48134         [!__NR_lchown]: Likewise.
48135         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48136         [__NR_lchown]: Likewise.
48137         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48138         comment referencing __ASSUME_LCHOWN_SYSCALL.
48139         * sysdeps/unix/sysv/linux/i386/sigaction.c
48140         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48141         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48142         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48143         Remove conditional code.
48144         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48145         (__protocol_available): Remove #if 0 code.
48146         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48147         conditional code.
48148         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48149         * sysdeps/unix/sysv/linux/kernel-features.h
48150         (__ASSUME_GETCWD_SYSCALL): Don't define.
48151         (__ASSUME_REALTIME_SIGNALS): Likewise.
48152         (__ASSUME_PREAD_SYSCALL): Likewise.
48153         (__ASSUME_PWRITE_SYSCALL): Likewise.
48154         (__ASSUME_POLL_SYSCALL): Likewise.
48155         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48156         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48157         non-SPARC.
48158         (__ASSUME_SIOCGIFNAME): Don't define.
48159         (__ASSUME_MSG_NOSIGNAL): Likewise.
48160         (__ASSUME_SENDFILE): Define unconditionally.
48161         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48162         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48163         conditional code.
48164         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48165         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48166         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48167         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48168         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48169         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48170         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48172         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48173         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48175         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48176         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48178         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48179         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48181         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48182         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48184         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48185         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48187         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48188         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48190         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48191         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48193         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48194         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48195         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48196         Remove conditional code.
48197         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48198         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48199         Remove conditional code.
48200         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48201         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48202         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48203         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48204         Remove conditional code.
48205         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48206         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48207         Remove conditional code.
48208         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48209         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48210         Remove conditional code.
48211         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48212         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48213         Remove conditional code.
48214         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48215         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48216         Remove conditional code.
48217         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48218         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48219         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48220         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48221         * sysdeps/unix/sysv/linux/sigaction.c
48222         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48223         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48224         * sysdeps/unix/sysv/linux/sigpending.c
48225         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48226         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48227         * sysdeps/unix/sysv/linux/sigprocmask.c
48228         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48229         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48230         * sysdeps/unix/sysv/linux/sigsuspend.c
48231         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48232         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48233         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48234         (__libc_missing_rt_sigs): Remove.
48235         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48236         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48237         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48238         Remove conditional code.
48239         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48240         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48241         return 1.
48242         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48243         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48244         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48245         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48247 2012-05-14  Andreas Jaeger  <aj@suse.de>
48249         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48250         it's not used in glibc.
48251         (__coshm1): Likewise.
48252         (__acosh1p): Likewise.
48253         (__sgn): Likewise.
48255         * manual/string.texi (Copying and Concatenation): Add missing
48256         variable in concat example.
48257         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48259 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48261         [BZ #14103]
48262         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48263         __builtin_clzl with __builtin_clzll.
48265 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48267         [BZ #14104]
48268         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48269         libc_freeres_ptr.
48271 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48273         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48274         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48275         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48276         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48278 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48280         * NEWS: Update ia64 info.
48282 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48284         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48285         used as bcopy.
48287 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48289         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48290         * sysdeps/unix/syscalls.list (dup3): Likewise.
48291         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48292         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48294 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48296         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48297         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48299 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48301         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48302         thread pointer.
48303         (TLS_IE): Use mov/add instead of movq/addq to load thread
48304         pointer.
48305         (TLS_GD_PREFIX): New.
48306         (TLS_GD): Use it.
48308 2012-05-11  David S. Miller  <davem@davemloft.net>
48310         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48311         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48312         (_FPU_SETCW): Likewise.
48314 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48316         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48317         is 32-byte aligned.
48319 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48321         [BZ #11837]
48322         * iconvdata/gb18030.c: Update tables.
48323         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48324         characters specially.
48325         (BODY for TO_LOOP): Add encoding of missing ranges.
48327 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48329         [BZ #13673]
48330         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48331         * sysdeps/mach/hurd/dup3.c: Likewise.
48332         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48333         * sysdeps/powerpc/memmove.c:: Likewise.
48335 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48337         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48338         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48340 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48342         * elf/elf.h (R_X86_64_RELATIVE64): New.
48343         (R_X86_64_NUM): Updated.
48344         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48345         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48346         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48347         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48348         tst-quad1pie tst-quad2pie
48349         (modules-names): Add tst-quadmod1 tst-quadmod2.
48350         ($(objpfx)tst-quad1): New dependency.
48351         ($(objpfx)tst-quad2): Likewise.
48352         ($(objpfx)tst-quad1pie): Likewise.
48353         ($(objpfx)tst-quad2pie): Likewise.
48354         * sysdeps/x86_64/tst-quad1.c: New file.
48355         * sysdeps/x86_64/tst-quad1pie.c: New file.
48356         * sysdeps/x86_64/tst-quad2.c: Likewise.
48357         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48358         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48359         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48360         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48361         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48363 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48365         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48366         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48367         * streams/stropts.h (t_scalar_t): Define type.
48369         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48370         (_PATH_PRESERVE): Set to "/var/lib".
48371         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48373         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48374         instead of int.
48376         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48377         if __dir_mkfile succeeded.
48379         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48380         checking for _hurd_dtablesize.  Unlock it right after having
48381         finished _hurd_dtable allocation.
48383 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48385         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48386         * sysdeps/mach/hurd/configure: Regenerated.
48387         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48388         special-casing to...
48389         * sysdeps/gnu/configure.in: ... this new file.
48390         * sysdeps/unix/sysv/linux/configure: Regenerated.
48391         * sysdeps/gnu/configure: New generated file.
48393         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48394         for Linux: use nsec instead of usec, as well as:
48395         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48396         members of type struct timespec.
48397         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48398         New macros.
48399         (struct stat64): Likewise.
48400         (_STATBUF_ST_NSEC): New macro.
48401         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48403         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48404         __strtoul_internal rather than strtoul.
48406 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48408         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48409         and reject them.
48411 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48413         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48414         which preserves existing values.
48415         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48417 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48419         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48420         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48421         greater than FD_SETSIZE.
48423 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48425         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48426         allocated, call __vm_protect to finish enabling the existing space, and
48427         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48428         allocate the remainder.
48430 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48432         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48433         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48435 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48437         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48438         sysdeps/mach/hurd/readlink.c.
48440         * posix/tst-sysconf.c (posix_options): Only use
48441         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48442         _POSIX_SYNCHRONIZED_IO when they are defined
48443         * sysdeps/mach/hurd/bits/posix_opt.h:
48444         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48445         (_XOPEN_REALTIME): Undefine macro.
48446         (_XOPEN_REALTIME_THREADS): Undefine macro.
48447         (_XOPEN_SHM): Undefine macro.
48448         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48449         macro to -1.
48450         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48451         macro to -1.
48452         (_POSIX_ASYNC_IO): Undefine macro.
48453         (_POSIX_PRIORITIZED_IO): Undefine macro.
48454         (_POSIX_SPIN_LOCKS): Define macro to -1.
48456         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48457         SA_NODEFER, SA_RESETHAND.
48458         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48459         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48460         F_DUPFD_CLOEXEC.
48462 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48464         * elf/Makefile (pldd-modules): Define unconditionally.
48466 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48468         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48470 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48472         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48473         Return ENOENT when name is empty.
48474         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48476 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48478         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48480         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48482 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48484         Fix mlock in all cases except non-readable pages.
48485         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48486         instead of VM_PROT_ALL as parameter to __vm_wire function.
48488         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48489         (__mkdir): When path is `/', just fail with EEXIST.
48490         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48492 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48494         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48495         <sys/uio.h> (for writev).
48496         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48497         and <sys/param.h> (for MIN).
48499 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48501         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48502         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48503         if interrupted.
48505 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48507         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48508         Depend on against $(link-rpcuserlibs).
48510 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48512         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48513         (__libc_stack_end): Do not use attribute_relro.
48514         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48515         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48516         to libthread-provided value.
48517         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48518         attribute_relro.
48520 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48522         [BZ #3748]
48523         * bits/libc-lock.h (__libc_once_get): New macro.
48524         * sysdeps/mach/bits/libc-lock.h: Likewise.
48525         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48526         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48527         instead of using implementation details.
48529         * libio/fileops.c: Unconditionally include <kernel-features.h>.
48530         * libio/freopen.c: Likewise.
48531         * libio/freopen64.c: Likewise.
48532         * misc/syslog.c: Likewise.
48533         * nscd/connections.c: Likewise.
48534         * nscd/netgroupcache.c: Likewise.
48535         * sysdeps/posix/getcwd.c: Likewise.
48537 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48539         * math/w_ilogbf.c: Add #include <limits.h>.
48541 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48543         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48544         path instead of returning without unlocking.
48546         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48547         immediate-write ioctls.
48548         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48550 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48552         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48553         __builtin_frame_address instead of making assumptions about the
48554         location of the return address relative to DATA.  Force early load of
48555         the return address.
48556         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48557         __builtin_frame_address.
48559         dup3 for GNU Hurd.
48560         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48561         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48562         implement dup3 and do some further code clean-ups.
48563         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48564         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48566 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48568         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48570         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48571         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48572         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48573         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48574         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48575         d->port.lock.
48577         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48578         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48579         when handler == SIG_ERR, not when handler != SIG_ERR.
48581 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48583         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48584         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48585         definitions.
48587         accept4 for GNU Hurd.
48588         * include/sys/socket.h (__libc_accept4): New prototype.
48589         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48590         to implement __libc_accept4.
48591         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48592         __libc_accept4.
48593         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48595         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48596         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48597         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48598         signal-defines.sym.
48600 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48602         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48604 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48606         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48607         assertion on O_CLOEXEC flag.
48608         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48609         * hurd/intern-fd.c: Likewise.
48610         * hurd/port2fd.c: Likewise.
48612 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48614         [BZ #3906]
48615         * bits/in.h (IPV6_PKTINFO): Define new macro.
48616         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48618 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48620         [BZ #13954]
48621         [BZ #13955]
48622         [BZ #13956]
48623         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48624         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48625         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48626         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48627         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48628         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48629         * math/libm-test.inc (logb_test) : Additional logb tests.
48631 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48632             Andreas Jaeger  <aj@suse.de>
48634         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48635         * configure: Regenerated.
48636         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48637         * config.make.in (link-obsolete-rpc): New substituted variable.
48638         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48639         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48640         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48641         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48642         so that libc.a contains the symbols.
48643         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48644         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48645         * sunrpc/auth_none.c: Likewise.
48646         * sunrpc/auth_unix.c: Likewise.
48647         * sunrpc/authdes_prot.c: Likewise.
48648         * sunrpc/authuxprot.c: Likewise.
48649         * sunrpc/clnt_gen.c: Likewise.
48650         * sunrpc/clnt_perr.c: Likewise.
48651         * sunrpc/clnt_raw.c: Likewise.
48652         * sunrpc/clnt_simp.c: Likewise.
48653         * sunrpc/clnt_tcp.c: Likewise.
48654         * sunrpc/clnt_udp.c: Likewise.
48655         * sunrpc/clnt_unix.c: Likewise.
48656         * sunrpc/des_crypt.c: Likewise.
48657         * sunrpc/des_soft.c: Likewise.
48658         * sunrpc/get_myaddr.c: Likewise.
48659         * sunrpc/key_call.c: Likewise.
48660         * sunrpc/key_prot.c: Likewise.
48661         * sunrpc/netname.c: Likewise.
48662         * sunrpc/pm_getmaps.c: Likewise.
48663         * sunrpc/pm_getport.c: Likewise.
48664         * sunrpc/pmap_clnt.c: Likewise.
48665         * sunrpc/pmap_prot.c: Likewise.
48666         * sunrpc/pmap_prot2.c: Likewise.
48667         * sunrpc/pmap_rmt.c: Likewise.
48668         * sunrpc/publickey.c: Likewise.
48669         * sunrpc/rpc_cmsg.c: Likewise.
48670         * sunrpc/rpc_common.c: Likewise.
48671         * sunrpc/rpc_dtable.c: Likewise.
48672         * sunrpc/rpc_prot.c: Likewise.
48673         * sunrpc/rpc_thread.c: Likewise.
48674         * sunrpc/rtime.c: Likewise.
48675         * sunrpc/svc.c: Likewise.
48676         * sunrpc/svc_auth.c: Likewise.
48677         * sunrpc/svc_raw.c: Likewise.
48678         * sunrpc/svc_run.c: Likewise.
48679         * sunrpc/svc_tcp.c: Likewise.
48680         * sunrpc/svc_udp.c: Likewise.
48681         * sunrpc/svc_unix.c: Likewise.
48682         * sunrpc/svcauth_des.c: Likewise.
48683         * sunrpc/xcrypt.c: Likewise.
48684         * sunrpc/xdr.c: Likewise.
48685         * sunrpc/xdr_array.c: Likewise.
48686         * sunrpc/xdr_float.c: Likewise.
48687         * sunrpc/xdr_intXX_t.c: Likewise.
48688         * sunrpc/xdr_mem.c: Likewise.
48689         * sunrpc/xdr_rec.c: Likewise.
48690         * sunrpc/xdr_ref.c: Likewise.
48691         * sunrpc/xdr_sizeof.c: Likewise.
48692         * sunrpc/xdr_stdio.c: Likewise.
48694 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48696         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48697         change.  Update copyright years.
48699 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48701         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48703 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
48704             Joseph Myers  <joseph@codesourcery.com>
48705             Paul Pluzhnikov  <ppluzhnikov@google.com>
48707         [BZ #14012]
48708         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48709         requiring rpcgen.
48710         [cross-compiling] (extra-libs): Likewise.
48711         [cross-compiling] (extra-libs-others): Likewise.
48712         [cross-compiling] (librpcsvc-routines): Likewise.
48713         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48714         [cross-compiling] (omit-deps): Likewise.
48715         (sunrpc-CPPFLAGS): New variable.
48716         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48717         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48718         (cross-rpcgen-objs): New variable.
48719         (extra-objs): Append $(cross-rpcgen-objs).
48720         ($(cross-rpcgen-objs)): New rule.
48721         ($(objpfx)cross-rpcgen): Likewise.
48722         (rpcgen-cmd): Define to use $(built-program-file).  Expand
48723         comment.
48724         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48725         ($(objpfx)x%.stmp): Likewise.
48726         * sunrpc/proto.h [IS_IN_build] (_): Define.
48727         [IS_IN_build] (_libc_intl_domainname): Likewise.
48729 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48731         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48732         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48733         and R_X86_64_TPOFF64.
48735 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48737         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48738         sysdeps/unix/sysv/syscalls.list.
48739         (stime): Likewise.
48740         (utime): Likewise.
48741         * sysdeps/unix/sysv/syscalls.list: Remove file.
48743 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
48745         [BZ #3440]
48746         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48747         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48748         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48749         (__LC_IDENTIFICATION): Make these macros useful in #if
48750         expressions, as required by C99.
48752 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
48754         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48755         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
48756         after this.
48758 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
48760         * stdlib/longlong.h: Updated from GCC.
48762 2012-05-09  Andreas Jaeger  <aj@suse.de>
48764         * nscd/nscd.c (run_modes): Make named enum, reorder so that
48765         default is first entry.
48766         (run_mode): Set type.
48767         (main): Remove informal message about syslog.
48768         (options): Fix typo.
48770         [BZ #14053]
48771         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48772         to asm.
48773         (lrint): Likewise.
48774         (llrintf): Likewise.
48775         (llrint): Likewise.
48776         (rint): Likewise.
48777         (rintf): Likewise.
48778         (nearbyint): Likewise.
48779         (nearbyintf): Likewise.
48781 2012-05-09  Andreas Jaeger  <aj@suse.de>
48782             Pedro Alves  <palves@redhat.com>
48784         * nscd/nscd.c (run_mode): Use enum.
48785         (main): Cleanup coding style issue.
48787 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
48788             Andreas Jaeger  <aj@suse.de>
48790         * nscd/nscd.c (go_background): Replaced with...
48791         (run_mode): ... this.
48792         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48793         (options): Add -F --foreground.
48794         (main): Implement it.
48795         (parse_opt): Parse it.
48797 2012-05-09  Andreas Jaeger  <aj@suse.de>
48799         [BZ #14083]
48800         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48801         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48802         -Wconversion warning.
48803         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48804         Likewise.
48806 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
48808         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
48809         == 0.
48810         (LC_ALL): Use macro-int-constant.
48811         (LC_COLLATE): Likewise.
48812         (LC_CTYPE): Likewise.
48813         (LC_MESSAGES): Likewise.
48814         (LC_MONETARY): Likewise.
48815         (LC_NUMERIC): Likewise.
48816         (LC_TIME): Likewise.
48817         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48818         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48819         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48820         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48821         Specify type.
48822         [C99-based standards] (float_t): Expect type.
48823         [C99-based standards] (double_t): Expect type.
48824         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
48825         type.
48826         [C99-based standards] (HUGE_VALL): Likewise.
48827         [C99-based standards] (INFINITY): Likewise.
48828         [C99-based standards] (NAN): Likewise.
48829         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48830         [C99-based standards] (FP_NAN): Likewise.
48831         [C99-based standards] (FP_NORMAL): Likewise.
48832         [C99-based standards] (FP_SUBNORMAL): Likewise.
48833         [C99-based standards] (FP_ZERO): Likewise.
48834         [C99-based standards] (FP_FAST_FMA): Use
48835         optional-macro-int-constant.  Specify type.  Require == 1.
48836         [C99-based standards] (FP_FAST_FMAF): Likewise.
48837         [C99-based standards] (FP_FAST_FMAL): Likewise.
48838         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48839         [C99-based standards] (FP_ILOGBNAN): Likewise.
48840         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48841         Specify type.
48842         [C99-based standards] (MATH_ERREXCEPT): Likewise.
48843         [C99-based standards] (math_errhandling): Specify type.
48844         [ISO99 || ISO11] (signgam): Do not allow.
48845         [non-C99-based standards] (copysignf): Do not allow.
48846         [non-C99-based standards] (exp2f): Likewise.
48847         [non-C99-based standards] (log2f): Likewise.
48848         [non-C99-based standards] (modff): Allow.
48849         [non-C99-based standards] (erff): Do not allow.
48850         [non-C99-based standards] (erfcf): Likewise.
48851         [non-C99-based standards] (gammaf): Likewise.
48852         [non-C99-based standards] (hypotf): Likewise.
48853         [non-C99-based standards] (j0f): Likewise.
48854         [non-C99-based standards] (j1f): Likewise.
48855         [non-C99-based standards] (jnf): Likewise.
48856         [non-C99-based standards] (lgammaf): Likewise.
48857         [non-C99-based standards] (tgammaf): Likewise.
48858         [non-C99-based standards] (y0f): Likewise.
48859         [non-C99-based standards] (y1f): Likewise.
48860         [non-C99-based standards] (ynf): Likewise.
48861         [non-C99-based standards] (isnanf): Likewise.
48862         [non-C99-based standards] (acoshf): Likewise.
48863         [non-C99-based standards] (asinhf): Likewise.
48864         [non-C99-based standards] (atanhf): Likewise.
48865         [non-C99-based standards] (cbrtf): Likewise.
48866         [non-C99-based standards] (expm1f): Likewise.
48867         [non-C99-based standards] (ilogbf): Likewise.
48868         [non-C99-based standards] (log1pf): Likewise.
48869         [non-C99-based standards] (logbf): Likewise.
48870         [non-C99-based standards] (nextafterf): Likewise.
48871         [non-C99-based standards] (remainderf): Likewise.
48872         [non-C99-based standards] (rintf): Likewise.
48873         [non-C99-based standards] (scalbf): Likewise.
48874         [non-C99-based standards] (copysignl): Likewise.
48875         [non-C99-based standards] (exp2l): Likewise.
48876         [non-C99-based standards] (log2l): Likewise.
48877         [non-C99-based standards] (modfl): Allow.
48878         [non-C99-based standards] (erfl): Do not allow.
48879         [non-C99-based standards] (erfcl): Likewise.
48880         [non-C99-based standards] (gammal): Likewise.
48881         [non-C99-based standards] (hypotl): Likewise.
48882         [non-C99-based standards] (j0l): Likewise.
48883         [non-C99-based standards] (j1l): Likewise.
48884         [non-C99-based standards] (jnl): Likewise.
48885         [non-C99-based standards] (lgammal): Likewise.
48886         [non-C99-based standards] (tgammal): Likewise.
48887         [non-C99-based standards] (y0l): Likewise.
48888         [non-C99-based standards] (y1l): Likewise.
48889         [non-C99-based standards] (ynl): Likewise.
48890         [non-C99-based standards] (isnanl): Likewise.
48891         [non-C99-based standards] (acoshl): Likewise.
48892         [non-C99-based standards] (asinhl): Likewise.
48893         [non-C99-based standards] (atanhl): Likewise.
48894         [non-C99-based standards] (cbrtl): Likewise.
48895         [non-C99-based standards] (expm1l): Likewise.
48896         [non-C99-based standards] (ilogbl): Likewise.
48897         [non-C99-based standards] (log1pl): Likewise.
48898         [non-C99-based standards] (logbl): Likewise.
48899         [non-C99-based standards] (nextafterl): Likewise.
48900         [non-C99-based standards] (remainderl): Likewise.
48901         [non-C99-based standards] (rintl): Likewise.
48902         [non-C99-based standards] (scalbl): Likewise.
48903         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48904         [non-C99-based standards] (FP_*): Do not allow.
48905         [C99-based standards] (FP_*): Change to
48906         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48907         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48908         allow.
48909         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48910         (SIG_ERR): Likewise.
48911         [X/Open-based standards] (SIG_HOLD): Likewise.
48912         (SIG_IGN): Likewise.
48913         (SIGABRT): Use macro-int-constant.  Specify type.  Require
48914         positive value.
48915         (SIGFPE): Likewise.
48916         (SIGILL): Likewise.
48917         (SIGINT): Likewise.
48918         (SIGSEGV): Likewise.
48919         (SIGTER): Likewise.
48920         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48921         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48922         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48923         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48924         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48925         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48926         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48927         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48928         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48929         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48930         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48931         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48932         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48933         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48934         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48935         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48936         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48937         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48938         [X/Open-based standards] (SIGTRAP): Likewise.
48939         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48940         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48941         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48942         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48943         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48944         allow.
48946 2012-05-08  Ian Wienand  <ianw@vmware.com>
48948         [BZ #14080]
48949         * time/tzset.c (__tzset_parse_tz): Update default rules for
48950         daylight time changes in the Energy Policy Act of 2005.
48952 2012-05-09  Andreas Jaeger  <aj@suse.de>
48954         [BZ #13983]
48955         * elf/ldconfig.c (parse_conf): Change string to make clear that
48956         ldconfig only issued a warning if ld.so.conf does not exist.
48958 2012-05-08  David S. Miller  <davem@davemloft.net>
48960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48961         movxtod instead of popping the value on the stack.
48963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48965 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
48967         * config.h.in: Add HAVE_ARM_PCS_VFP.
48969 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
48971         [BZ #13979]
48972         * include/features.h: Warn if user requests __FORTIFY_SOURCE
48973         checking but the checks are disabled for any reason.
48975 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
48977         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48978         and ELF64_R_TYPE with ELFW(R_TYPE).
48980 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
48982         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48983         (ulimit): Likewise.
48985         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48986         (settimeofday): Likewise.
48988 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
48990         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
48991         a struct th_u2 inside the union, and move tu_block/tu_code into
48992         a new th_u3 union of tu_block/tu_code inside of that.  Move
48993         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
48994         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
48995         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48996         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48997         (th_stuff): Change to th_u1.tu_stuff.
48998         (th_data): Define.
48999         (th_msg): Change to th_u1.th_u2.tu_data.
49001 2012-05-07  David S. Miller  <davem@davemloft.net>
49003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49005         [BZ #14074]
49006         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49007         (SETUP_PIC_REG): Use it.
49008         (SETUP_PIC_REG_LEAF): Use it.
49010 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49012         [BZ #13885]
49013         [BZ #13923]
49014         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49015         USE_AS_EXPM1L.
49016         (EXPL_FINITE): Likewise.
49017         (FLDLOG): Likewise.
49018         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49019         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49020         e_expl.S.
49021         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49022         USE_AS_EXPM1L.
49023         (EXPL_FINITE): Likewise.
49024         (FLDLOG): Likewise.
49025         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49026         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49027         e_expl.S.
49028         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49029         test of -max_value argument for long double.
49030         * sysdeps/i386/fpu/libm-test-ulps: Update.
49031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49033 2012-05-06  David S. Miller  <davem@davemloft.net>
49035         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49036         quad soft-float symbols whose references which are compiler
49037         generated.
49038         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49040 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49042         [BZ #13884]
49043         [BZ #13914]
49044         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49045         USE_AS_EXP10L.
49046         (EXPL_FINITE): Likewise.
49047         (FLDLOG): Likewise.
49048         (c0): Likewise.
49049         (c1): Likewise.
49050         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49051         Adjust comments for base varying.
49052         (__expl_finite): Change alias to EXPL_FINITE.
49053         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49054         e_expl.S.
49055         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49056         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49057         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49058         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49059         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49060         USE_AS_EXP10L.
49061         (EXPL_FINITE): Likewise.
49062         (FLDLOG): Likewise.
49063         (c0): Likewise.
49064         (c1): Likewise.
49065         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49066         Adjust comments for base varying.
49067         (__expl_finite): Change alias to EXPL_FINITE.
49068         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49069         tests for bugs.
49070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49072         [BZ #14064]
49073         * math/libm-test.inc (check_float_internal): Correct ulp
49074         calculation for subnormal expected results.
49076 2012-05-06  Andreas Jaeger  <aj@suse.de>
49078         * Makeconfig (+math-flags): New, set to -frounding-math.
49079         (+cflags): Add +math-flags so that all of glibc gets compiled with
49080         it.
49082         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49084 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49086         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49087         Disable one test.
49089         [BZ #13787]
49090         [BZ #13922]
49091         [BZ #14036]
49092         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49093         (__ieee754_expl): Allow for and saturate large arguments.
49094         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49095         (u_threshold): Likewise.
49096         (__exp): Call __ieee754_exp before checking for overflow and
49097         underflow.
49098         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49099         (u_threshold): Likewise.
49100         (__expf): Call __ieee754_expf before checking for overflow and
49101         underflow.
49102         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49103         (u_threshold): Likewise.
49104         (__expl): Call __ieee754_expl before checking for overflow and
49105         underflow.
49106         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49107         (__ieee754_expl): Allow for and saturate large arguments.
49108         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49109         missing overflow exception on overflow.
49110         (expm1_test): Do not allow missing overflow exception on overflow.
49112         * sysdeps/i386/fpu/e_expl.c: Move to ...
49113         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49114         rather than using inline asm.
49115         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49116         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49117         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49119         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49120         (nice): Likewise.
49121         (poll): Likewise.
49122         (signal): Likewise.
49123         (time): Likewise.
49124         (times): Likewise.
49126 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49128         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49129         sysdeps/unix/common/syscalls.list.
49130         (fchmod): Likewise.
49131         (fchown): Likewise.
49132         (ftruncate): Likewise.
49133         (getrusage): Likewise.
49134         (gettimeofday): Likewise.
49135         (setpgid): Likewise.
49136         (setregid): Likewise.
49137         (setreuid): Likewise.
49138         (sigaction): Likewise.
49139         (truncate): Likewise.
49140         (vhangup): Likewise.
49141         * sysdeps/unix/common/syscalls.list: Remove file.
49142         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49143         * sysdeps/unix/sysv/linux/Implies: Likewise.
49145 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49147         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49149         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49150         Moved to ...
49151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49152         Here.
49153         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49154         to ...
49155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49156         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49157         to ...
49158         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49159         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49160         to ...
49161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49162         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49163         to ...
49164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49165         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49166         to ...
49167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49168         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49169         to ...
49170         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49171         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49172         to ...
49173         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49174         Here.
49175         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49176         to ...
49177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49178         Here.
49179         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49180         to ...
49181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49182         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49183         Moved to ...
49184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49185         Here.
49186         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49187         to ...
49188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49190 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49192         * sysdeps/unix/common/bits/dirent.h: Remove file.
49193         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49195         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49196         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49197         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49198         * sysdeps/unix/bsd/isatty.c: Likewise.
49199         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49200         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49201         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49203 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49205         [BZ #13563]
49206         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49207         long double comparison inaccuracies.
49208         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49211 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49213         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49214         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49216 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49218         [BZ #14049]
49219         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49220         nonzero digits before rounding a hex value.
49221         * stdlib/tst-strtod.c (tests): Add another test.
49223 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49225         * sysdeps/s390/fpu/libm-test-ulps: Update.
49227 2012-05-03  Andreas Jaeger  <aj@suse.de>
49229         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49230         does not get optimized out.
49231         (malloc_opt_barrier): New.
49233 2012-05-03  Andreas Jaeger  <aj@suse.de>
49234             Roland McGrath  <roland@hack.frob.com>
49236         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49237         intermediate file deletion.
49238         (generated): Add .symlist files.
49240 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49242         [BZ #13775]
49243         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49244         Redirect under this condition.
49245         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49246         [__USE_GNU] (__dprintf_chk): Not under this condition.
49247         [__USE_GNU] (__vdprintf_chk): Likewise.
49248         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49249         under this condition.
49250         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49251         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49252         [__USE_XOPEN2K8] (vdprintf): Likewise.
49253         [__USE_GNU] (__dprintf_chk): Not under this condition.
49254         [__USE_GNU] (__vdprintf_chk): Likewise.
49255         [__USE_GNU] (dprintf): Likewise.
49256         [__USE_GNU] (vdprintf): Likewise.
49258 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49260         * elf/Makefile (common-generated): Set this instead of generated for
49261         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49262         $(all-built-dso)-derived lists.
49264 2012-05-03  Andreas Jaeger  <aj@suse.de>
49266         * sysdeps/i386/fpu/libm-test-ulps: Update.
49268         * FAQ: Removed.
49269         * FAQ.in: Likewise.
49270         * scripts/gen-FAQ.pl: Likewise.
49271         * manual/install.texi (Installation): Point to online location of
49272         FAQ.
49273         * Makefile (files-for-dist): Remove FAQ.
49274         (FAQ): Remove.
49276 2012-05-02  Allan McRae  <allan@archlinux.org>
49278         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49279         (LDFLAGS-reldepmod5.so): Likewise.
49280         (LDFLAGS-reldep6mod1.so): Likewise.
49281         (LDFLAGS-reldep6mod4.so): Likewise.
49282         (LDFLAGS-reldep8mod3.so): Likewise.
49283         (LDFLAGS-unload4mod1.so): Likewise.
49284         (LDFLAGS-unload4mod2.so): Likewise.
49285         (LDFLAGS-tst-initorder): Likewise.
49286         (LDFLAGS-tst-initordera2.so): Likewise.
49287         (LDFLAGS-tst-initordera3.so): Likewise.
49288         (LDFLAGS-tst-initordera4.so): Likewise.
49289         (LDFLAGS-tst-initorderb2.so): Likewise.
49290         (LDFLAGS-noload): Likewise.
49291         (LDFLAGS-next): Likewise.
49292         (LDFLAGS-order2mod1.so): Likewise.
49293         (LDFLAGS-order2mod2.so): Likewise.
49294         (LDFLAGS-tst-initorder2): Likewise.
49295         (LDFLAGS-tst-initorder2a.so): Likewise.
49296         (LDFLAGS-tst-initorder2b.so): Likewise.
49297         (LDFLAGS-tst-initorder2c.so): Likewise.
49298         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49300 2012-05-02  David S. Miller  <davem@davemloft.net>
49302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49304 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49306         [BZ #14055]
49307         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49309 2012-05-02  Andreas Jaeger  <aj@suse.de>
49311         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49312         since we manipulate rounding mode.
49313         (CPPFLAGS-test-idouble.c): Likewise.
49314         (CPPFLAGS-test-ifloat.c): Likewise.
49315         (CFLAGS-test-ldouble.c): Likewise.
49316         (CFLAGS-test-double.c): Likewise.
49317         (CFLAGS-test-float.c): Likewise.
49318         (CFLAGS-test-misc.c): Likewise.
49319         (CFLAGS-test-test-fenv.c): Likewise.
49321 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49323         [BZ #2550]
49324         [BZ #2570]
49325         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49326         comparisons to determine direction to adjust input.
49328 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49330         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49331         output to the target.
49333         * scripts/localplt.awk: New file.
49334         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49335         (check-localplt-CFLAGS): Variable removed.
49336         ($(all-built-dso:=.jmprel)): New static pattern rule.
49337         (generated): Add those targets.
49338         (localplt-built-dso): New variable.
49339         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49341         * elf/check-localplt.c: File removed.
49343         * scripts/check-execstack.awk: New file.
49344         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49345         (check-execstack-CFLAGS): Variable removed.
49346         ($(objpfx)check-execstack.h): Target removed.
49347         ($(objpfx)execstack-default): New target.
49348         (generated): Add that instead of check-execstack.h.
49349         ($(all-built-dso:=.phdr)): New static pattern rule.
49350         (generated): Add those targets.
49351         * elf/check-execstack.c: File removed.
49353         * scripts/check-textrel.awk: New file.
49354         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49355         (check-textrel-CFLAGS): Variable removed.
49356         (all-built-dso): Use := to define.o
49357         ($(all-built-dso:=.dyn)): New static pattern rule.
49358         (generated): Add those targets.
49359         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49360         * config.make.in (READELF): New substituted variable.
49361         * elf/check-textrel.c: File removed.
49363 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49365         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49366         allow.
49367         * conform/data/ctype.h-data [C99-based standards] (isblank):
49368         Expect function.
49369         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49370         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49371         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49372         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49373         Specify type.  Require positive value.
49374         (EILSEQ): Likewise.
49375         (ERANGE): Likewise.
49376         [ISO || POSIX] (EILSEQ): Do not expect.
49377         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49378         Specify type.  Require positive value.
49379         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49380         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49381         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49382         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49383         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49384         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49385         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49386         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49387         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49388         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49389         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49390         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49391         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49392         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49393         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49394         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49395         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49396         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49397         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49398         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49399         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49400         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49401         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49402         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49403         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49404         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49405         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49406         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49407         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49408         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49409         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49410         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49411         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49412         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49413         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49414         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49415         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49416         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49417         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49418         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49419         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49420         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49421         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49422         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49423         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49424         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49425         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49426         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49427         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49428         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49429         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49430         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49431         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49432         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49433         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49434         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49435         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49436         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49437         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49438         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49439         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49440         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49441         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49442         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49443         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49444         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49445         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49446         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49447         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49448         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49449         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49450         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49451         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49452         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49453         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49454         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49455         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49456         Require >= 2.
49457         (FLT_ROUNDS): Expect as macro, not constant.
49458         (FLT_MANT_DIG): Use macro-int-constant.
49459         (DBL_MANT_DIG): Likewise.
49460         (LDBL_MANT_DIG): Likewise.
49461         (FLT_DIG): Likewise.
49462         (DBL_DIG): Likewise.
49463         (LDBL_DIG): Likewise.
49464         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49465         (DBL_MIN_EXP): Likewise.
49466         (LDBL_MIN_EXP): Likewise.
49467         (FLT_MAX_EXP): Use macro-int-constant.
49468         (DBL_MAX_EXP): Likewise.
49469         (LDBL_MAX_EXP): Likewise.
49470         (FLT_MAX_10_EXP): Likewise.
49471         (DBL_MAX_10_EXP): Likewise.
49472         (LDBL_MAX_10_EXP): Likewise.
49473         (FLT_MAX): Use macro-constant.
49474         (DBL_MAX): Likewise.
49475         (LDBL_MAX): Likewise.
49476         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49477         (DBL_EPSILON): Likewise.
49478         (LDBL_EPSILON): Likewise.
49479         (FLT_MIN): Likewise.
49480         (DBL_MIN): Likewise.
49481         (LDBL_MIN): Likewise.
49482         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49483         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49484         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49485         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49486         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49487         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49488         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49489         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49490         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49491         [ISO11] (FLT_TRUE_MIN): Likewise.
49492         [ISO11] (LDBL_TRUE_MIN): Likewise.
49493         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49494         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49495         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49496         (SCHAR_MAX): Likewise.
49497         (UCHAR_MAX): Likewise.
49498         (CHAR_MIN): Likewise.
49499         (CHAR_MAX): Likewise.
49500         (MB_LEN_MAX): Use macro-int-constant.
49501         (SHRT_MIN): Use macro-int-constant.  Specify type.
49502         (SHRT_MAX): Likewise.
49503         (USHRT_MAX): Likewise.
49504         (INT_MAX): Likewise.
49505         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49506         bound negative.
49507         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49508         bound with "U".
49509         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49510         bound with "L".
49511         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49512         bound negative.  Suffix upper bound with "L".
49513         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49514         bound with "UL".
49515         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49516         Specify type.
49517         [C99-based standards] (LLONG_MAX): Likewise.
49518         [C99-based standards] (ULLONG_MAX): Likewise.
49519         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49520         == 0.
49521         [ISO11] (max_align_t): Require type.
49522         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49524         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49525         from $CFLAGS, without defining away __attribute__ calls.
49526         (checknamespace): Use $CFLAGS_namespace.
49528         * conform/conformtest.pl (@keywords): Only include C99 keywords
49529         for standards based on C99 or C11.
49531         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49532         Disable tests.
49533         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49534         UNIX98]: Likewise.
49536         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49537         usability of symbols in #if.
49539         * conform/conformtest.pl: If macro or constant types start
49540         "promoted:", expect the symbol to be of the following type
49541         promoted by the integer promotions.
49543         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49544         in one place.  Also handle "macro-constant".
49546         * conform/conformtest.pl: Only accept expected macro values with
49547         "==".  Parse all "macro" lines in one place.
49548         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49550         * conform/conformtest.pl: Handle braced types on "constant" lines
49551         instead of handling "typed-constant".
49552         * conform/data/signal.h-data: Use "constant" instead of
49553         "typed-constant".
49555         * conform/conformtest.pl: Handle "optional-" at start of lines in
49556         one place rather than duplicating several cases.  Handle each
49557         format of "macro" line with initial "optional-".
49559         * conform/conformtest.pl: Only accept expected constant or
49560         optional-constant values with "==".  Parse all "constant" lines in
49561         one place.  Parse all "optional-constant" lines in one place.
49562         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49563         * conform/data/fmtmsg.h-data: Likewise.
49564         * conform/data/netinet/in.h-data: Likewise.
49565         * conform/data/tar.h-data: Likewise.
49566         * conform/data/limits.h-data: Use "==" form on "constant" and
49567         "optional-constant" lines.
49569         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49570         Use -std=c99 for XOPEN2K.
49571         (@knownproblems): Remove.
49572         (newtoken): Don't check %isknown.
49574         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49575         Do not expect macro.
49576         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49577         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49578         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49579         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49580         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49581         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49582         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49583         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49584         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49585         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49586         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49587         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49588         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49589         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49590         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49591         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49592         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49593         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49594         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49595         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49596         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49597         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49598         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49599         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49600         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49601         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49602         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49603         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49604         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49605         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49606         [XPG3] (acosh): Likewise.
49607         [XPG3] (asinh): Likewise.
49608         [XPG3] (atanh): Likewise.
49609         [XPG3] (cbrt): Likewise.
49610         [XPG3] (expm1): Likewise.
49611         [XPG3] (ilogb): Likewise.
49612         [XPG3] (log1p): Likewise.
49613         [XPG3] (logb): Likewise.
49614         [XPG3] (nextafter): Likewise.
49615         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49616         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49617         [XPG3] (remainder): Likewise.
49618         [XPG3] (rint): Likewise.
49619         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49620         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49621         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49622         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49623         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49624         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49625         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49626         [UNIX98 || XOPEN2K] (scalb): Expect.
49627         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49628         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49629         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49630         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49631         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49632         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49633         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49634         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49635         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49636         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49637         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49638         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49639         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49640         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49641         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49642         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49643         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49644         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49645         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49646         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49647         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49648         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49649         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49650         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49651         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49652         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49653         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49654         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49655         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49656         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49657         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49658         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49659         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49660         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49661         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49662         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49663         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49664         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49665         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49666         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49667         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49668         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49669         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49670         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49671         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49672         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49673         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49674         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49675         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49676         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49677         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49678         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49679         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49680         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49681         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49682         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49683         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49684         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49685         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49686         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49687         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49688         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49689         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49690         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49691         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49692         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49693         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49694         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49695         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49696         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49697         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49698         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49699         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49700         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49701         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49702         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49703         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49704         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49705         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49706         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49707         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49708         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49709         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49710         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49711         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49712         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49713         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49714         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49715         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49716         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49717         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49718         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49719         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49720         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49721         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49722         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49723         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49724         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49725         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49726         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49727         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49728         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49729         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49730         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49731         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49732         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49733         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49734         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49735         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49736         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49737         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49738         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49739         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49740         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49741         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49742         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49743         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49744         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49745         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49746         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49747         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49748         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49749         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49750         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49751         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49752         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49753         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49754         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49755         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49756         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49757         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49758         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49759         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49760         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49761         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49762         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49763         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49765         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49766         _XOPEN_SOURCE_EXTENDED for XPG4.
49768         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49770         * Makeconfig (localtime): Remove variable.
49771         (inst_localtime-file): Likewise.
49773 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49776         Update.
49777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49778         Update.
49779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49780         Update.
49781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49782         Update.
49783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49784         Update.
49785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49786         Update.
49787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49788         Update.
49789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49790         Update.
49791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49792         Update.
49794 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49796         [BZ #2550]
49797         [BZ #2570]
49798         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49799         comparisons to determine direction to adjust input.
49800         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49801         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49802         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49803         Likewise.
49804         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49805         Likewise.
49806         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49807         Likewise.
49808         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49809         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49810         Likewise.
49811         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49812         Likewise.
49813         * math/libm-test.inc (nexttoward_test): Add more tests.
49815 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49817         [BZ #14040]
49818         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49819         in version GLIBC_2.1, not GLIBC_2.0.
49820         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49821         Likewise.
49823 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
49825         [BZ #13942]
49826         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49827         (1 - x) * (1 + x).
49828         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49829         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49830         * math/libm-test.inc (acos_test): Add more tests.
49831         (asin_test): Likewise.
49832         * sysdeps/i386/fpu/libm-test-ulps: Update.
49833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49835         [BZ #14034]
49836         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49837         of square root.
49838         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49839         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49840         * math/libm-test.inc (acos_test_tonearest): New function.
49841         (acos_test_towardzero): Likewise.
49842         (acos_test_downward): Likewise.
49843         (acos_test_upward): Likewise.
49844         (asin_test_tonearest): Likewise.
49845         (asin_test_towardzero): Likewise.
49846         (asin_test_downward): Likewise.
49847         (asin_test_upward): Likewise.
49848         (main): Call the new functions.
49849         * sysdeps/i386/fpu/libm-test-ulps: Update.
49850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49852         [BZ #13884]
49853         [BZ #13924]
49854         * math/e_exp10.c: Include <float.h>.
49855         (__ieee754_exp10): Handle underflow here rather than multiplying
49856         large negative argument by M_LN10.
49857         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49858         of __ieee754_expf.
49859         * math/e_exp10l.c: Include <float.h>.
49860         (__ieee754_exp10l): Handle underflow here rather than multiplying
49861         large negative argument by M_LN10l.
49862         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
49863         spurious overflow exception on underflow.
49865 2012-04-29  Marek Polacek  <polacek@redhat.com>
49867         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49868         (__fortify_function): New macro.
49869         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49870         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49871         __extern_always_inline.
49872         * libio/bits/stdio2.h: Likewise.
49873         * libio/bits/stdio.h: Likewise.
49874         * string/string.h: Likewise.
49875         * string/bits/string3.h: Likewise.
49876         * include/stdio.h: Likewise.
49877         * stdlib/bits/stdlib.h: Likewise.
49878         * stdlib/stdlib.h: Likewise.
49879         * rt/bits/mqueue2.h: Likewise.
49880         * rt/mqueue.h: Likewise.
49881         * posix/bits/unistd.h: Likewise.
49882         * posix/unistd.h: Likewise.
49883         * io/bits/poll2.h: Likewise.
49884         * io/bits/fcntl2.h: Likewise.
49885         * io/fcntl.h: Likewise.
49886         * io/sys/poll.h: Likewise.
49887         * misc/bits/syslog.h: Likewise.
49888         * misc/bits/syslog-ldbl.h: Likewise.
49889         * misc/sys/syslog.h: Likewise.
49890         * socket/bits/socket2.h: Likewise.
49891         * socket/sys/socket.h: Likewise.
49892         * debug/tst-chk1.c: Likewise.
49893         * wcsmbs/bits/wchar2.h: Likewise.
49894         * wcsmbs/bits/wchar-ldbl.h: Likewise.
49895         * wcsmbs/wchar.h: Likewise.
49897 2012-04-29  Andreas Jaeger  <aj@suse.de>
49899         * Makerules (tests): Remove enable-check-abi protection.
49900         (check-abi-warn): Remove.
49901         (check-abi-%): Remove check-abi-warn usage.
49903         * configure.in: Remove check-abi configure option.
49904         * configure: Regenerated.
49905         * config.make.in (enable-check-abi): Remove.
49907 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
49909         [BZ #14033]
49910         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49911         double functions to double *_finite functions.
49913         [BZ #13941]
49914         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49915         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49916         LDBL_MIN_EXP.
49917         * stdio-common/Makefile (tests): Add tst-sprintf3.
49918         * stdio-common/tst-sprintf3.c: New file.
49920         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49921         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49923 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49925         * conform/conformtest.pl: Remove duplicate typed-constant
49926         handling.
49928 2012-04-28  David S. Miller  <davem@davemloft.net>
49930         * Makerules (%.abilist): Add vpath on sysdep_dirs.
49931         (check-abi-%): Remove AWK script prerequisite and explicit
49932         abilist directory.
49933         (check-abi): Rewrite to just diff the symlist with the abilist.
49934         (config-tls, config-abi-config): Delete, no longer used.
49935         (update-abi-%): Remove AWK script and explicit abilist directory.
49936         (update-abi): Rewrite to simply compare and conditionally copy the
49937         symlist and the sysdep abilist file.  Remove update-abi-config
49938         checks.
49939         * abilist/ld.abilist: Remove.
49940         * abilist/libBrokenLocale.abilist: Remove.
49941         * abilist/libanl.abilist: Remove.
49942         * abilist/libcrypt.abilist: Remove.
49943         * abilist/libdl.abilist: Remove.
49944         * abilist/librt.abilist: Remove.
49945         * abilist/libthread_db.abilist: Remove.
49946         * abilist/libutil.abilist: Remove.
49947         * scripts/extract-abilist.awk: Remove.
49948         * scripts/merge-abilist.awk: Remove.
49949         * sysdeps/generic/libcidn.abilist: New file.
49950         * sysdeps/generic/libnss_compat.abilist: New file.
49951         * sysdeps/generic/libnss_db.abilist: New file.
49952         * sysdeps/generic/libnss_dns.abilist: New file.
49953         * sysdeps/generic/libnss_files.abilist: New file.
49954         * sysdeps/generic/libnss_hesiod.abilist: New file.
49955         * sysdeps/generic/libnss_nis.abilist: New file.
49956         * sysdeps/generic/libnss_nisplus.abilist: New file.
49957         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49958         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49959         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49960         file.
49961         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49962         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49963         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49964         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49965         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49966         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49967         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49968         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49969         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49970         file.
49971         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49972         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49973         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49974         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49975         file.
49976         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49977         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49978         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49979         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49980         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49981         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49982         file.
49983         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49984         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49985         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49986         file.
49987         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49988         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49989         New file.
49990         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49991         New file.
49992         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49993         New file.
49994         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49995         New file.
49996         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49997         New file.
49998         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49999         New file.
50000         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50001         New file.
50002         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50003         New file.
50004         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50005         New file.
50006         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50007         New file.
50008         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50009         New file.
50010         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50011         New file.
50012         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50013         New file.
50014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50015         file.
50016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50017         New file.
50018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50019         New file.
50020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50021         file.
50022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50023         New file.
50024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50025         New file.
50026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50027         file.
50028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50029         New file.
50030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50031         New file.
50032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50033         New file.
50034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50035         New file.
50036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50037         New file.
50038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50039         New file.
50040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50042         file.
50043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50044         New file.
50045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50046         file.
50047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50048         file.
50049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50050         file.
50051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50052         file.
50053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50054         file.
50055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50056         New file.
50057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50058         file.
50059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50060         file.
50061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50062         New file.
50063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50064         file.
50065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50067         file.
50068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50069         New file.
50070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50071         file.
50072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50073         file.
50074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50075         file.
50076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50077         file.
50078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50079         file.
50080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50081         New file.
50082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50083         file.
50084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50085         file.
50086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50087         New file.
50088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50089         file.
50090         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50091         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50092         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50093         file.
50094         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50095         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50096         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50097         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50098         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50099         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50100         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50101         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50102         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50103         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50106         file.
50107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50108         New file.
50109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50110         file.
50111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50112         file.
50113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50114         file.
50115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50116         file.
50117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50118         file.
50119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50120         New file.
50121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50122         New file.
50123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50124         file.
50125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50126         New file.
50127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50128         file.
50129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50131         file.
50132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50133         New file.
50134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50135         file.
50136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50137         file.
50138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50139         file.
50140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50141         file.
50142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50143         file.
50144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50145         New file.
50146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50147         New file.
50148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50149         file.
50150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50151         New file.
50152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50153         file.
50155 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50157         * conform/conformtest.pl: Fix typo in handling typed-constant from
50158         allow-header.
50160 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50162         * README: Cut down references to pre-2.6 Linux kernels and
50163         Linuxthreads.  Update lists of configurations in libc and ports
50164         and sort alphabetically.  Say "or newer" with Linux kernel version
50165         requirements.
50167         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50169 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50171         [BZ #887]
50172         * math/libm-test.inc (logb_test_downward): New test to expose
50173         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50174         rounding mode.
50176 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50178         [BZ #14027]
50179         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50180         to be done.
50181         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50182         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50184 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50186         * sysdeps/unix/i386/brk.S: Remove file.
50187         * sysdeps/unix/i386/dl-brk.S: Likewise.
50188         * sysdeps/unix/i386/pipe.S: Likewise.
50189         * sysdeps/unix/i386/sigreturn.S: Likewise.
50190         * sysdeps/unix/i386/syscall.S: Likewise.
50191         * sysdeps/unix/i386/vfork.S: Likewise.
50192         * sysdeps/unix/i386/wait.S: Likewise.
50194         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50195         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50197         * configure.in (arm*-none*): Do not allow without
50198         --enable-hacker-mode.
50199         (netbsd*): Remove case setting base_os.
50200         (386bsd*): Likewise.
50201         (freebsd*): Likewise.
50202         (bsdi*): Likewise.
50203         (osf*): Likewise.
50204         (sunos*): Likewise.
50205         (ultrix*): Likewise.
50206         (newsos*): Likewise.
50207         (dynix*): Likewise.
50208         (*bsd*): Likewise.
50209         (sysv*): Likewise.
50210         (isc*): Likewise.
50211         (esix*): Likewise.
50212         (sco*): Likewise.
50213         (minix*): Likewise.
50214         (irix4*): Likewise.
50215         (irix6*): Likewise.
50216         (solaris[2-9]*): Likewise.
50217         (none): Likewise.
50218         * configure: Regenerated.
50220 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50222         [BZ #11521]
50223         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50224         overflow or cancellation in calculating denominator.
50225         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50226         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50227         down expression to avoid unexpected rounding in newer GCCs.
50228         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50230 2012-04-26  David S. Miller  <davem@davemloft.net>
50232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50233         long-double compat symbols.
50234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50248 2012-04-25  David S. Miller  <davem@davemloft.net>
50250         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50251         HWCAP_* values only after the memory barriers have been defined.
50252         (atomic_full_barrier): Define.
50253         (atomic_read_barrier): Define.
50254         (atomic_write_barrier): Define.
50256 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50258         * shlib-versions: Add libgcc_s version information.
50259         * sysdeps/generic/libgcc_s.h: Remove.
50260         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50261         libgcc_s.h.
50262         * sysdeps/gnu/unwind-resume.c: Likewise.
50263         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50265 2012-04-25  David S. Miller  <davem@davemloft.net>
50267         * sysdeps/unix/sparc/brk.S: Delete.
50268         * sysdeps/unix/sparc/dl-brk.S: Delete.
50269         * sysdeps/unix/sparc/pipe.S: Delete.
50270         * sysdeps/unix/sparc/sysdep.S: Delete.
50271         * sysdeps/unix/sparc/sysdep.h: Delete.
50272         * sysdeps/unix/sparc/vfork.S: Delete.
50273         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50274         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50275         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50276         (ret_ERRVAL, r0, r1, MOVE): Define.
50277         (JUMPTARGET): Remove.
50278         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50279         sysdeps/unix/sparc/sysdep.h
50280         (ENTRY, END): Remove.
50281         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50283 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50285         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50286         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50287         -DIS_IN_build.
50289         * timezone/README: Update upstream location and email address for
50290         tzcode and tzdata.
50291         * timezone/zdump.c: Update from tzcode 2012b.
50292         * timezone/zic.c: Likewise.
50294         * configure.in (libc_cv_as_needed): Remove test.
50295         * configure: Regenerated.
50296         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50297         conditional definition.
50298         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50299         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50300         * config.make.in (have-as-needed): Remove variable.
50302 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50303             Paul Pluzhnikov  <ppluzhnikov@google.com>
50305         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50306         strings correctly.
50308 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50310         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50311         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50312         * sysdeps/sh/strlen.S: Likewise.
50314 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50316         * sysdeps/unix/fork.S: Remove file.
50317         * sysdeps/unix/i386/fork.S: Likewise.
50318         * sysdeps/unix/sparc/fork.S: Likewise.
50320         * sysdeps/unix/system.c: Remove file.
50321         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50323         * sysdeps/unix/getegid.S: Remove file.
50324         * sysdeps/unix/geteuid.S: Likewise.
50326 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50328         * scripts/check-localplt.awk: New file.
50329         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50330         of diff.
50331         * scripts/data/localplt-generic.data: Add a comment.
50333         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50334         NODE when __dir_mkfile failed.
50335         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50336         Reported by Ludovic Courtès <ludo@gnu.org>.
50338 2012-04-24  Andreas Jaeger  <aj@suse.de>
50340         * Makerules (common-clean): Also remove gen-as-const-headers
50341         files.
50343 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50345         * Makerules (native-compile): Do not change working directory for
50346         build.  Use $(OUTPUT_OPTION) in command.
50347         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50349 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50351         [BZ #13886]
50352         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50353         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50354         * math/libm-test.inc (floor_test): Add more tests.
50355         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50357 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50359         * sysdeps/unix/getdents.c: Remove file.
50360         * sysdeps/unix/sysv/getdents.c: Likewise.
50361         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50363         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50364         sysdeps/unix/mman/syscalls.list.
50365         (mmap): Likewise.
50366         (mprotect): Likewise.
50367         (msync): Likewise.
50368         (munmap): Likewise.
50369         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50370         * sysdeps/unix/mman/syscalls.list: Remove.
50371         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50373         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50374         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50375         * configure: Regenerated.
50376         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50377         $(libgcc_s_suffix).
50378         * config.make.in (libgcc_s_suffix): Remove variable.
50380 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50382         * sysdeps/unix/sysv/gethostname.c: Move to ...
50383         * sysdeps/posix/gethostname.c: ... here.
50385         * sysdeps/unix/execve.S: Remove file.
50387         * sysdeps/unix/_exit.S: Remove file.
50389 2012-04-23  Andreas Jaeger  <aj@suse.de>
50391         [BZ #13739]
50392         * manual/Makefile: Remove make dist support, there's no
50393         need for a stand-alone documentation tar ball.
50394         (TEXI2DVI): Define always, it's not in Makeconfig.
50395         (dist): Removed.
50396         (tar-it): Removed.
50397         (edition): Removed.
50398         (glibc-doc-$(edition).tar): Removed
50399         (%.Z): Removed.
50400         (%.gz): Removed.
50401         (%.uu): Removed.
50402         (ETAGS): Remove, it's in Makeconfig.
50403         (move-if-change): Remove, it's in Makeconfig.
50405 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50407         [BZ #13970]
50408         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50409         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50410         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50411         (strtod_l, strtof_l, strtold_l): Remove __wur.
50412         It is not necessarily an error to ignore strtol's return value.
50413         One can reliably look at the stored endptr to decide whether
50414         the number had valid syntax.
50416 2012-04-21  Andreas Jaeger  <aj@suse.de>
50418         [BZ #13739]
50419         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50421 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50423         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50424         * sysdeps/unix/sysv/Versions: Remove file.
50426 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50428         [BZ #13927]
50429         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50431 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50433         [BZ #7064]
50434         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50435         version from __vm86.
50437 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50439         * sysdeps/unix/common/lxstat.c: Remove file.
50440         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50442         * sysdeps/unix/sysv/Makefile: Remove file.
50444         * sysdeps/unix/sysv/direct.h: Remove file.
50446         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50447         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50448         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50449         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50450         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50451         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50452         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50454         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50456         * sysdeps/unix/xmknod.c: Remove file.
50457         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50459         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50461         * sysdeps/unix/sysv/i386/time.S: Remove file.
50463         * sysdeps/unix/fxstat.c: Remove file.
50464         * sysdeps/unix/xstat.c: Likewise.
50465         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50467         * sysdeps/unix/sysv/sigaction.c: Remove file.
50469         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50470         (sysdep_headers): Remove variable.
50471         [termio.h not in sysdep_headers] (generated): Likewise.
50472         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50473         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50474         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50475         * sysdeps/unix/sysv/tcflow.c: Likewise.
50476         * sysdeps/unix/sysv/tcflush.c: Likewise.
50477         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50478         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50479         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50480         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50481         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50483         * sysdeps/unix/siglist.c: Remove file.
50485         * sysdeps/unix/getppid.S: Remove file.
50487         * sysdeps/unix/mkdir.c: Remove file.
50488         * sysdeps/unix/rmdir.c: Likewise.
50490 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50492         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50493         ERR_MAX value.
50494         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50495         errlist-compat value.
50497 2012-04-18  David S. Miller  <davem@davemloft.net>
50499         * sysdeps/generic/memcopy.h (reg_char): Delete.
50500         * debug/strcat_chk.c: Use char, not reg_char.
50501         * debug/strcpy_chk.c: Likewise.
50502         * debug/strncat_chk.c: Likewise.
50503         * debug/strncpy_chk.c: Likewise.
50504         * string/memchr.c: Likewise.
50505         * string/memrchr.c: Likewise.
50506         * string/rawmemchr.c: Likewise.
50507         * string/strcat.c: Likewise.
50508         * string/strchr.c: Likewise.
50509         * string/strchrnul.c: Likewise.
50510         * string/strcmp.c: Likewise.
50511         * string/strcpy.c: Likewise.
50512         * string/strncat.c: Likewise.
50513         * string/strncmp.c: Likewise.
50514         * string/strncpy.c: Likewise.
50516 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50518         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50519         __builtin_memcopy is called when src and dest ranges are known to not
50520         overlap.
50522 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50524         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50525         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50526         fwd_align_merge macro call.
50527         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50528         bwd_align_merge macro call.
50529         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50531 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50533         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50534         bwd_align_merge macros.
50535         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50536         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50537         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50539 2012-04-18  David S. Miller  <davem@davemloft.net>
50541         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50543 2012-04-18  Andreas Jaeger  <aj@suse.de>
50545         [BZ# 6794]
50546         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50547         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50548         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50550         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50551         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50552         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50554         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50555         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50556         Adjust for changed ldbl-128 files.
50558         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50559         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50560         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50562 2012-04-17  David S. Miller  <davem@davemloft.net>
50564         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50566 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50568         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50569         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50570         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50571         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50572         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50573         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50575 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50577         [BZ #6794]
50578         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50579         * math/libm-test.inc: Add ilogb errno and exception tests.
50580         * math/w_ilogb.c: New file: ilogb wrapper.
50581         * math/w_ilogbf.c: New file: ilogbf wrapper.
50582         * math/w_ilogbl.c: New file: ilogbl wrapper.
50583         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50584         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50585         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50586         exception being thrown with 0.0 as argument.
50587         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50588         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50589         exception being thrown with 0.0 as argument.
50590         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50591         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50592         exception being thrown with 0.0 as argument.
50593         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50594         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50595         exception being thrown with 0.0 as argument.
50596         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50597         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50598         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50599         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50600         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50601         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50602         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50603         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50604         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50606 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50608         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50609         with altivec.
50611 2012-04-16  Marek Polacek  <polacek@redhat.com>
50613         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50615 2012-04-16  Marek Polacek  <polacek@redhat.com>
50617         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50618         operands of fdivp instruction.
50620 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50622         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50623         * elf/tst-auditmod3b.c: Likewise.
50624         * elf/tst-auditmod4b.c: Likewise.
50625         * elf/tst-auditmod5b.c: Likewise.
50626         * elf/tst-auditmod6b.c: Likewise.
50627         * elf/tst-auditmod6c.c: Likewise.
50628         * elf/tst-auditmod7b.c: Likewise.
50629         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50630         * sysdeps/x86_64/preconfigure.in: Likewise.
50631         * sysdeps/x86_64/preconfigure: Regenerated.
50633 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50635         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50636         __ILP32__.
50638 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50640         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50641         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50643 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50645         [BZ #13973]
50646         * locale/iso-639.def: Fix gl language name. Spotted by
50647         Yaron Shahrabani.
50649 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50651         [BZ #2074]
50652         * libio/libio.h (__io_write_fn): Update comment.
50654 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50656         [BZ #2074]
50657         * stdio.texi (Hook Functions): The user provided writer function
50658         is not allowed to return -1.
50660 2012-04-11  David S. Miller  <davem@davemloft.net>
50662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50664 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50666         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50667         Add a leading slash to rtkaio.
50669 2012-04-11  Jim Meyering  <meyering@redhat.com>
50671         [BZ #11959]
50672         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50673         It is not necessarily an error to ignore fwrite's return
50674         value.  One can reliably use ferror to test for errors after
50675         the fact.
50677 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50679         * bits/types.h (__snseconds_t): New type.
50680         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50682         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50683         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50684         (__SNSECONDS_T_TYPE): Likewise.
50685         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50686         (__SNSECONDS_T_TYPE): Likewise.
50687         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50688         (__SNSECONDS_T_TYPE): Likewise.
50690 2012-04-10  Andreas Jaeger  <aj@suse.de>
50692         [BZ #2636]
50693         * manual/time.texi (Processor Time): Return type of times is
50694         elapsed real time since an arbitrary point in the past.
50695         (CPU Time): Move CLK_TCK from here...
50696         (Processor Time): ...to here.  Correct description.
50697         * manual/conf.texi (Constants for Sysconf): Correct description of
50698         _SC_CLK_TCK.
50700 2012-04-10  David S. Miller  <davem@davemloft.net>
50702         [BZ #13967]
50703         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50704         where the is a gap between DT_REL(A) and DT_JMPREL.
50706 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50708         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50709         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50710         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50712 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50714         * elf/dl-support.c (_dl_inhibit_cache): New variable.
50715         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50716         (dl_main): Handle --inhibit-cache.
50717         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50718         _dl_inhibit_cache.
50719         * elf/dl-load.c (_dl_map_object): Use it.
50720         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50722 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50724         [BZ #13872]
50725         * sysdeps/i386/fpu/e_powl.S (p78): New object.
50726         (__ieee754_powl): Saturate large exponents rather than testing for
50727         overflow of y*log2(x).
50728         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50729         * math/libm-test.inc (pow_test): Do not permit spurious overflow
50730         exceptions.
50732         [BZ #11521]
50733         * math/s_ctan.c: Include <float.h>.
50734         (__ctan): Avoid internal overflow or cancellation in calculating
50735         denominator.
50736         * math/s_ctanf.c: Likewise.
50737         * math/s_ctanl.c: Likewise.
50738         * math/s_ctanh.c: Likewise.
50739         * math/s_ctanhf.c: Likewise.
50740         * math/s_ctanhl.c: Likewise.
50741         * math/libm-test.inc (ctan_test): Add more tests.
50742         (ctanh_test): Likewise.
50743         * sysdeps/i386/fpu/libm-test-ulps: Update.
50744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50746 2012-04-09  Andreas Jaeger  <aj@suse.de>
50748         [BZ #6894]
50749         * manual/filesys.texi (Directory Entries): Mention that d_namlen
50750         is an optional BSD extension.
50752         [BZ #10254]
50753         * manual/stdio.texi (Opening Streams): Document additional fopen
50754         parameters.
50756 2012-04-09  Roland McGrath  <roland@hack.frob.com>
50758         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50759         %eax without telling the compiler.
50761 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
50763         [BZ # 13963]
50764         * manual/install.texi: Use sourceware.org.
50766 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50768         [BZ #13873]
50769         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50770         (__ieee754_pow): Generate overflow and underflow using huge*huge
50771         and tiny*tiny rather than just returning constant infinity or zero
50772         for large exponents.
50773         * math/libm-test.inc (pow_test): Require overflow exceptions for
50774         applicable cases of large exponents.
50776         [BZ #706]
50777         * sysdeps/i386/fpu/e_pow.S (p10): New object.
50778         (__ieee754_pow): Use iterative multiplication algorithm only for
50779         integer exponents with absolute value below 1024.  Check for odd
50780         integer exponents when using algorithm for real exponents.
50781         * math/libm-test.inc (pow_test): Add more tests.
50782         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50784 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
50786         [BZ #13705]
50787         * math/libm-test.inc (exp_test): Do not allow overflow exception
50788         on underflow test.
50790 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
50792         [BZ #13705]
50793         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50794         instead of __kernel_standard_f.
50796 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
50798         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50799         * sysdeps/x86_64/memset_chk.S: Likewise.
50801 2012-04-08  Andreas Jaeger  <aj@suse.de>
50803         [BZ #10153]
50804         * manual/startup.texi (Environment Access): Describe return value
50805         for putenv and setenv.
50807         [BZ #6895]
50808         * manual/filesys.texi (Directory Entries): Add description for
50809         DT_LNK.
50811         [BZ #6890]
50812         * manual/filesys.texi (Directory Entries): Clarify that it's file
50813         system not operating system in the description of DT_UNKNOWN.
50815         [BZ #6578]
50816         * manual/syslog.texi (closelog): Fix reference, it's openlog.
50818 2012-04-08  Stephen Compall  <s11@member.fsf.org>
50820         [BZ #6649]
50821         * manual/llio.texi (Opening and Closing Files): Add cross
50822         reference to explain mode argument.
50824 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
50826         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50827         * sysdeps/x86_64/memset_chk.S: Likewise.
50829 2012-04-07  David S. Miller  <davem@davemloft.net>
50831         * elf/elf.h (R_SPARC_WDISP10): Define.
50832         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50833         R_SPARC_SIZE32.
50834         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50835         R_SPARC_SIZE64 and R_SPARC_H34.
50837 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
50839         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50840         conditions and remove no longer applicable assertion.
50842 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50844         * bits/byteswap.h: Include <features.h>.
50845         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50846         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50848 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50850         * bits/byteswap.h (__bswap_16): Removed.
50851         Include <bits/byteswap-16.h> to get __bswap_16.
50852         * sysdeps/i386/bits/byteswap.h: Likewise.
50853         * sysdeps/s390/bits/byteswap.h: Likewise.
50854         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50855         * bits/byteswap-16.h: New file.
50856         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50857         * sysdeps/s390/bits/byteswap-16.h: Likewise.
50858         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50859         * string/Makefile (headers): Add bits/byteswap-16.h.
50861 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50863         [BZ #13895]
50864         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50865         extra indirection.
50866         * nss/Makefile (tests-static, tests): Add tst-nss-static.
50867         * nss/tst-nss-static.c: New.
50869 2012-04-06  Robert Millan  <rmh@gnu.org>
50871         [BZ #6486]
50872         * manual/llio.texi (File Position Primitive): lseek
50873         refers to WHENCE when it really means OFFSET.
50875 2012-04-06  Andreas Jaeger  <aj@suse.de>
50877         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50878         strncmp declarations.
50880         * abilist/libc.abilist: Add __poll and __ppoll.
50882 2012-04-05  David S. Miller  <davem@davemloft.net>
50884         * scripts/check-local-headers.sh: Accept a host triplet in the
50885         path matched by the exclude regexp.
50887         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50888         definition.
50889         * sysdeps/powerpc/powerpc32/dl-machine.h
50890         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50891         * sysdeps/s390/s390-32/dl-machine.h
50892         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50893         * sysdeps/sparc/sparc32/dl-machine.h
50894         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50895         * sysdeps/sparc/sparc64/dl-machine.h
50896         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50898         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50899         lazy binding.
50900         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50901         undefined symbol errors.
50903         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50904         DT_NEEDED entries.
50906 2012-04-05  Michael Matz  <matz@suse.de>
50908         [BZ #13592]
50909         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50911 2012-04-05  Andreas Jaeger  <aj@suse.de>
50913         [BZ #13908]
50914         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50915         comment.
50917 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50919         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50920         which ROUND is no valid rounding mode.
50922 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50924         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50925         read again.
50926         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50928 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50930         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50931         an exception using FPU order intentionally.
50933 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50935         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50936         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50937         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50938         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50940 2012-04-05  Simon Josefsson  <simon@josefsson.org>
50942         [BZ #12340]
50943         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50944         EINVAL when BUFLEN is too smal.
50946 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50948         [BZ #13553]
50949         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50950         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50952 2012-04-03  Andreas Jaeger  <aj@suse.de>
50954         [BZ #13938]
50955         * manual/setjmp.texi (System V contexts): Fix sentence.
50957         [BZ #13926]
50958         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50959         New macro for this case.
50960         [!__GNUC__] (__bswap_64): New inline function for this case.
50961         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50962         * bits/byteswap.h: Likewise.
50963         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50964         ull, guard with __GLIBC_HAVE_LONG_LONG.
50966         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50967         __GLIBC_HAVE_LONG_LONG.
50969         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50970         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50972 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50974         [BZ #13691]
50975         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50976         inptr and inend, rather than using last_ch.
50978 2012-04-02  David S. Miller  <davem@davemloft.net>
50980         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50981         * stdio-common/printf-parse.h (read_int): Change return type to
50982         'int', return -1 on INT_MAX overflow.
50983         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50984         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
50985         overflows INT_MAX.  Check for overflow of in-format-string precision
50986         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
50987         SIZE_MAX not INT_MAX for integer overflow test.
50988         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50989         skip the construct in the format string but do not record anything.
50990         * stdio-common/bug22.c: Adjust to test both width/prevision
50991         INT_MAX overflow as well as total length INT_MAX overflow.  Check
50992         explicitly for proper errno values.
50994 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50996         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50997         CHAR_MAX.
50998         * string/test-strcmp.c [! WIDE]: Likewise.
50999         * time/tst-mktime2.c: Likewise for INT_MAX.
51000         * string/test-string.h: #include <sys/param.h> for MIN.
51002         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51003         * sysdeps/i386/init-first.c (init): Likewise.
51004         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51005         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51006         * sysdeps/sh/init-first.c (init): Likewise.
51008 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51010         * po/ru.po: Update from translation team.
51011         * po/vi.po: Likewise.
51013 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51015         * resolv/nss_dns/dns-host.c: Merge copyright years.
51017 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51019         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51020         Optimize memcpy with prefetch if
51021         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51022         src, dst pointers have unequal 16 byte alignments.
51024 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51026         [BZ #13928]
51027         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51028         from a CNAME entry and return the minimum ttl for the query.
51029         (gaih_getanswer_slice): Likewise.
51031 2012-03-30  Jeff Law  <law@redhat.com>
51033         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51034         due to long keys.
51035         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51036         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51038         * resolv/nss_dns/dns-host.c: Update copyright year.
51040 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51042         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51043         requests to save a system call.  Fix check that all bytes are sent.
51045         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51046         comments for sendmmsg.
51048 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51050         [BZ #13691]
51051         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51052         with only 1 character between 0x0041 and 0x01b0.
51053         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51054         * wcsmbs/tst-mbsnrtowcs.c: New file.
51056 2012-03-29  David S. Miller  <davem@davemloft.net>
51058         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51059         small copies by hand.
51061 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51063         [BZ #13761]
51064         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51065         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51066         group memberships.
51068 2012-03-28  David S. Miller  <davem@davemloft.net>
51070         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51071         that branches into memcpy.
51072         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51073         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51074         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51075         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51076         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51077         bits.
51078         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51079         implementation too.
51080         * sysdeps/sparc/mempcpy.S: New file.
51082         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51083         the IFUNC routine in the libc case.
51084         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51086         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51087         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51088         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51089         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51090         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51091         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51092         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51093         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51095         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51096         loop to 256 bytes instead of 64 bytes and fix test signedness.
51098         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51099         * sysdeps/sparc/sparc32/Makefile: rather than here...
51100         * sysdeps/sparc/sparc64/Makefile: and here.
51102 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51104         * malloc/mallocbug.c: Avoid warnings about unused variables.
51106 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51108         [BZ #13760]
51109         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51110         in the right place. Discard and retry query if response is
51111         larger than input buffer size.
51113 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51115         [BZ #369]
51116         [BZ #2678]
51117         [BZ #3866]
51118         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51119         x for large integer exponent.
51120         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51121         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51122         sign of result as needed afterwards.
51123         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51124         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51125         result for underflowing pow the same as for overflow.
51126         (__kernel_standard_l): Handle powl overflow and underflow here
51127         rather than calling __kernel_standard.
51128         * math/libm-test.inc (pow_test): Add more tests.
51130         [BZ #3868]
51131         [BZ #13879]
51132         [BZ #13910]
51133         [BZ #13911]
51134         [BZ #13912]
51135         [BZ #13913]
51136         [BZ #13915]
51137         [BZ #13916]
51138         [BZ #13917]
51139         [BZ #13918]
51140         [BZ #13919]
51141         [BZ #13920]
51142         [BZ #13921]
51143         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51144         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51145         (__kernel_standard_l): New function.
51146         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51147         __kernel_standard.
51148         * math/w_acosl.c (__acosl): Likewise.
51149         * math/w_asinl.c (__asinl): Likewise.
51150         * math/w_atan2l.c (__atan2l): Likewise.
51151         * math/w_atanhl.c (__atanhl): Likewise.
51152         * math/w_coshl.c (__coshl): Likewise.
51153         * math/w_exp10l.c (__exp10l): Likewise.
51154         * math/w_exp2l.c (__exp2l): Likewise.
51155         * math/w_fmodl.c (__fmodl): Likewise.
51156         * math/w_hypotl.c (__hypotl): Likewise.
51157         * math/w_j0l.c (__j0l, __y0l): Likewise.
51158         * math/w_j1l.c (__j1l, __y1l): Likewise.
51159         * math/w_jnl.c (__jnl, __ynl): Likewise.
51160         * math/w_lgammal.c (__lgammal): Likewise.
51161         * math/w_log10l.c (__log10l): Likewise.
51162         * math/w_log2l.c (__log2l): Likewise.
51163         * math/w_logl.c (__logl): Likewise.
51164         * math/w_powl.c (__powl): Likewise.
51165         * math/w_remainderl.c (__remainderl): Likewise.
51166         * math/w_scalbl.c (sysv_scalbl): Likewise.
51167         * math/w_sinhl.c (__sinhl): Likewise.
51168         * math/w_sqrtl.c (__sqrtl): Likewise.
51169         * math/w_tgammal.c (__tgammal): Likewise.
51170         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51171         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51172         * math/libm-test.inc (acos_test): Add more tests.
51173         (acosh_test): Likewise.
51174         (asin_test): Likewise.
51175         (atanh_test): Likewise.
51176         (exp_test): Likewise.
51177         (exp10_test): Likewise.
51178         (exp2_test): Likewise.
51179         (expm1_test): Likewise.
51180         (lgamma_test): Likewise.
51181         (log_test): Likewise.
51182         (log10_test): Likewise.
51183         (log1p_test): Likewise.
51184         (log2_test): Likewise.
51185         (pow_test): Do not allow some spurious overflow exceptions.
51186         (sqrt_test): Add more tests.
51187         (tgamma_test): Likewise.
51188         (y0_test): Likewise.
51189         (y1_test): Likewise.
51190         (yn_test): Likewise.
51192 2012-03-27  Anton Blanchard  <anton@samba.org>
51194         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51195         MAP_HUGETLB.
51196         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51197         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51198         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51200 2012-03-27  David S. Miller  <davem@davemloft.net>
51202         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51204         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51205         have-as-vis3 check.
51207 2012-03-27  Andreas Jaeger  <aj@suse.de>
51209         * sysdeps/x86_64/elf/configure.in: Moved to ...
51210         * sysdeps/x86_64/configure.in: ... here.
51211         * sysdeps/x86_64/elf/start.S: Moved to ...
51212         * sysdeps/x86_64/start.S: ... here.
51213         * sysdeps/x86_64/elf/configure: Delete.
51215         * sysdeps/x86_64/configure.in: Merge contents from
51216         sysdeps/i386/configure.in (without i686 check).
51218         * sysdeps/i386/elf/Versions: Merge into ...
51219         * sysdeps/i386/Versions: ... this.
51220         * sysdeps/i386/elf/Versions: Delete file.
51221         * sysdeps/i386/elf/start.S: Moved to ...
51222         * sysdeps/i386/start.S: ...here.
51223         * sysdeps/i386/elf/configure.in: Merge into...
51224         * sysdeps/i386/configure.in: ...here.
51225         * sysdeps/i386/elf/configure.in: Delete file.
51226         * sysdeps/i386/elf/configure: Delete file.
51228         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51229         * debug/backtracesyms.c: ... here.
51230         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51231         * debug/backtracesymsfd.c: ... here.
51232         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51233         * sysdeps/generic/ifunc-sel.h: ... here.
51235         * sysdeps/unix/i386/start.c: Delete file.
51236         * sysdeps/unix/sparc/start.c: Delete file.
51237         * sysdeps/unix/start.c: Delete file.
51239         * sysdeps/sh/elf/configure.in: Moved to ...
51240         * sysdeps/sh/configure.in: ... here.
51241         * sysdeps/sh/elf/start.S: Moved to ...
51242         * sysdeps/sh/start.S: ... here.
51243         * sysdeps/sh/elf/configure: Delete file.
51245         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51246         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51247         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51248         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51249         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51250         * sysdeps/powerpc/powerpc64/start.S: here.
51251         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51252         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51253         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51254         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51255         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51257         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51258         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51259         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51260         * sysdeps/powerpc/powerpc32/start.S: ... here.
51261         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51262         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51263         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51265         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51266         * sysdeps/powerpc/ifunc-sel.h: ... here.
51267         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51268         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51270         * sysdeps/sparc/elf/configure.in: Moved to ...
51271         * sysdeps/sparc/configure.in: ... here.
51272         * sysdeps/sparc/elf/configure: Delete file.
51273         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51274         * sysdeps/sparc/sparc32/start.S: ... here.
51275         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51276         * sysdeps/sparc/sparc64/start.S: ... here.
51277         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51278         * sysdeps/sparc/sparc32/Makefile: ... this.
51279         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51280         * sysdeps/sparc/sparc64/Makefile: ... this.
51282         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51283         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51284         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51285         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51286         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51287         * sysdeps/s390/s390-32/setjmp.S: ... here.
51288         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51289         * sysdeps/s390/s390-32/configure.in: ... here.
51290         * sysdeps/s390/s390-32/elf/configure: Delete file.
51291         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51292         * sysdeps/s390/s390-32/start.S: ... here.
51294         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51295         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51296         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51297         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51298         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51299         * sysdeps/s390/s390-64/setjmp.S: ... here.
51300         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51301         * sysdeps/s390/s390-64/configure.in: ... here
51302         * sysdeps/s390/s390-64/elf/configure: Delete file.
51303         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51304         * sysdeps/s390/s390-64/start.S: ... here.
51305         * sysdeps/s390/s390-64/elf/configure: Delete.
51307         * configure.in: Remove support for elf directories in sysdeps.
51309         * configure: Regenerated.
51310         * sysdeps/i386/configure: Regenerated.
51311         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51312         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51313         * sysdeps/s390/s390-32/configure: Regenerated.
51314         * sysdeps/s390/s390-64/configure: Regenerated.
51315         * sysdeps/sh/configure: Regenerated.
51316         * sysdeps/sparc/configure: Regenerated.
51317         * sysdeps/x86_64/configure: Regenerated.
51319 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51323         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51324         denormal result into account.
51326 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51328         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51329         Reported by Allan McRae <allan@archlinux.org>.
51331 2012-03-23  Jeff Law  <law@redhat.com>
51333         * nss/getnssent.c (__nss_getent): Fix typo.
51335 2012-03-23  David S. Miller  <davem@davemloft.net>
51337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51339 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51341         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51342         to pad to uint64_t for each field.
51343         (dl_tls_index): Replace unsigned long with uint64_t.
51345 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51346         Paul Pluzhnikov  <ppluzhnikov@google.com>
51348         [BZ #6528]
51349         * grp/Makefile (otherlibs): Don't set it.
51350         * inet/Makefile (otherlibs): Likewise.
51351         * login/Makefile (otherlibs): Likewise.
51352         * nscd/Makefile (otherlibs): Likewise.
51353         * posix/Makefile (otherlibs): Likewise.
51354         * pwd/Makefile (otherlibs): Likewise.
51355         * rt/Makefile (otherlibs): Likewise.
51356         * sunrpc/Makefile (otherlibs): Likewise.
51357         * nss/Makefile (otherlibs): Likewise.
51358         Add libnss_files to routines and static-only-routines.
51359         ($(objpfx)getent): Remove rule.
51360         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51361         static-only-routines.
51363 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51365         [BZ #13892]
51366         * math/s_cexp.c: Include <float.h>.
51367         (__cexp): Handle exp result overflowing not necessarily
51368         overflowing both real and imaginary parts of result.
51369         * math/s_cexpf.c: Likewise.
51370         * math/s_cexpl.c: Likewise.
51371         * math/libm-test.inc (cexp_test): Add more tests.
51372         * sysdeps/i386/fpu/libm-test-ulps: Update.
51373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51375 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51377         * include/link.h (ELFW): New macro.
51378         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51379         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51381 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51383         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51384         with uint64_t.
51386 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51388         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51389         declaration.
51390         (struct La_x32_retval): Likewise.
51392 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51394         * sysdeps/x86_64/preconfigure.in: New file.
51395         * sysdeps/x86_64/preconfigure: New generated file.
51397 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51399         [BZ #13824]
51400         * math/e_exp2l.c: Include <float.h>.
51401         (__ieee754_exp2l): Handle overflow and underflow cases
51402         separately.  Only pass fractional part of argument to
51403         __ieee754_expl.
51404         * math/libm-test.inc (exp2_test): Add more tests.
51406         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51407         negating x to take absolute value.
51408         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51409         Likewise.
51410         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51411         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51412         Likewise.
51413         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51414         computing low part if x was negated.
51415         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51417 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51419         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51420         la_x32_gnu_pltexit.
51421         (pltexit): Cast int_retval to ptrdiff_t.
51422         * elf/tst-auditmod3b.c: Likewise.
51423         * elf/tst-auditmod4b.c: Likewise.
51424         * elf/tst-auditmod5b.c: Likewise.
51425         * elf/tst-auditmod6b.c: Likewise.
51426         * elf/tst-auditmod6c.c: Likewise.
51427         * elf/tst-auditmod7b.c: Likewise.
51429         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51430         and x32_gnu_pltexit.
51432         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51433         __ELF_NATIVE_CLASS.
51434         (La_x32_regs): New macro.
51435         (La_x32_retval): Likewise.
51436         (la_x32_gnu_pltenter): New function prototype.
51437         (la_x32_gnu_pltexit): Likewise.
51439 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51441         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51442         exponent.
51444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51446         * configure.in (libc_cv_cc_nofma): Check for option to disable
51447         generation of FMA instructions.
51448         * configure: Regenerate.
51449         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51450         * sysdeps/ieee754/dbl-64/Makefile: New file.
51451         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51452         Remove brandred-fma4.
51453         (CFLAGS-brandred-fma4.c): Remove.
51454         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51455         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51456         define.
51457         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51458         define.
51460 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51462         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51463         LLONG_MAX != LONG_MAX.
51464         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51465         (_fitoa_word): Likewise.
51466         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51467         LLONG_MAX != LONG_MAX.
51468         * stdio-common/_itowa.h: Include <_itoa.h>.
51469         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51470         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51471         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51472         only if not defined.
51473         (_ITOA_WORD_TYPE): Likewise.
51474         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51475         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51477 2012-03-21  David S. Miller  <davem@davemloft.net>
51479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51481 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51483         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51484         of x86_64 when setting libc_cv_slibdir, libdir and
51485         libc_cv_localedir.
51486         * sysdeps/unix/sysv/linux/configure: Regenerated.
51488 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51490         * manual/lang.texi (Old Varargs): Remove section.
51491         (How Variadic): Update menu.
51492         (va_start): Do not mention varargs.h.
51494 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51495             Joseph Myers  <joseph@codesourcery.com>
51497         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51498         link test.
51499         * configure: Regenerated.
51501 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51503         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51504         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51505         conformtest.pl
51507 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51509         * NOTES: Remove.
51510         * Makefile (files-for-dist): Remove NOTES.
51511         (NOTES): Remove rule.
51512         * README: Don't refer to NOTES.
51513         * manual/creature.texi: Don't include macros.texi.
51514         * manual/intro.texi (creature.texi): Remove comment referring to
51515         NOTES.
51517         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51518         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51519         * configure: Regenerated.
51520         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51521         LIBC_TRY_CC_OPTION.
51522         (libc_cv_as_i686): Likewise.
51523         (libc_cv_cc_avx): Likewise.
51524         (libc_cv_cc_sse2avx): Likewise.
51525         (libc_cv_cc_fma4): Likewise.
51526         (libc_cv_cc_novzeroupper): Likewise.
51527         * sysdeps/i386/configure: Regenerated.
51529         [BZ #13883]
51530         * sysdeps/i386/fpu/s_cexp.S: Remove.
51531         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51532         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51533         * math/libm-test.inc (cexp_test): Add more tests.
51534         * sysdeps/i386/fpu/libm-test-ulps: Update.
51535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51537 2012-03-21  Allan McRae  <allan@archlinux.org>
51539         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51541 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51543         [BZ #13871]
51544         * math/w_exp2.c: Do not include <float.h>.
51545         (o_threshold, u_threshold): Remove.
51546         (__exp2): Calculate result before checking finiteness and calling
51547         __kernel_standard.
51548         * math/w_exp2f.c: Likewise.
51549         * math/w_exp2l.c: Likewise.
51550         * math/libm-test.inc (exp2_test): Require overflow exception for
51551         1e6 input.
51553         [BZ #3866]
51554         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51555         range of signed 64-bit integers before using fistpll.  Remove
51556         checks for whether integers fit in mantissa bits.
51557         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51558         the range of signed 32-bit integers before using fistpl.  Remove
51559         checks for whether integers fit in mantissa bits.
51560         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51561         (__ieee754_powl): Test for y outside the range of signed 64-bit
51562         integers before using fistpll.  Reduce 64-bit values to 63-bit
51563         ones as needed.
51564         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51565         divide-by-zero is raised for zero to large negative powers.
51566         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51567         (__ieee754_powl): Test for y outside the range of signed 64-bit
51568         integers before using fistpll.  Reduce 64-bit values to 63-bit
51569         ones as needed.
51570         * math/libm-test.inc (pow_test): Add more tests.
51572 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51574         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51575         <stdio-common/_itoa.h>.
51576         * debug/segfault.c: Likewise.
51577         * elf/dl-cache.c: Likewise.
51578         * elf/dl-minimal.c: Likewise.
51579         * elf/dl-misc.c: Likewise.
51580         * elf/dl-sysdep.c: Likewise.
51581         * elf/dl-version.c: Likewise.
51582         * elf/rtld.c: Likewise.
51583         * hurd/hurdsock.c: Likewise.
51584         * hurd/lookup-retry.c: Likewise.
51585         * malloc/malloc.c: Likewise.
51586         * malloc/mtrace.c: Likewise.
51587         * nscd/nscd_getgr_r.c: Likewise.
51588         * nscd/nscd_getpw_r.c: Likewise.
51589         * nscd/nscd_getserv_r.c: Likewise.
51590         * posix/getopt_init.c: Likewise.
51591         * posix/wordexp.c: Likewise.
51592         * stdio-common/_itoa.c: Likewise.
51593         * stdio-common/printf_fphex.c: Likewise.
51594         * stdio-common/vfprintf.c: Likewise.
51595         * string/_strerror.c: Likewise.
51596         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51597         * sysdeps/i386/i686/hp-timing.h: Likewise.
51598         * sysdeps/mach/_strerror.c: Likewise.
51599         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51600         * sysdeps/mach/hurd/sethostid.c: Likewise.
51601         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51602         * sysdeps/mach/xpg-strerror.c: Likewise.
51603         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51604         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51605         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51606         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51607         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51608         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51609         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51610         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51611         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51612         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51613         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51614         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51615         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51616         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51617         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51618         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51619         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51620         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51621         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51622         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51623         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51625         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51627         * stdio-common/_itoa.h: Moved to ...
51628         * sysdeps/generic/_itoa.h: Here.
51630         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51632         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51633         instead of "_itoa.h" and "_itowa.h".
51634         * stdio-common/vfprintf.: Likewise.
51636 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51638         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51639         <bits/wordsize.h>.
51640         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51641         (__signbit): Likwise.
51642         (llrintf): Likwise.
51643         (llrint): Likwise.
51645 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51647         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51648         __WORDSIZE != 64.
51650 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51652         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51653         OVERFLOW_EXCEPTION_OK.
51654         * math/libm-test.inc ("Philosophy"): Update comment about
51655         exception testing.
51656         (OVERFLOW_EXCEPTION): Define.
51657         (OVERFLOW_EXCEPTION_OK): Likewise.
51658         (INVALID_EXCEPTION_OK): Renumber.
51659         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51660         (IGNORE_ZERO_INF_SIGN): Likewise.
51661         (test_exceptions): Handle FE_OVERFLOW.
51662         (exp10_test): Expect overflow exceptions.
51663         (exp2_test): Likewise.
51664         (expm1_test): Likewise.
51665         (nextafter_test): Likewise.
51666         (pow_test): Likewise.
51667         (scalbn_test): Likewise.
51668         (scalbln_test): Likewise.
51670 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51672         * sysdeps/x86_64/bits/atomic.h
51673         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51674         64bit integer.
51675         (atomic_exchange_acq): Likewise.
51676         (__arch_exchange_and_add_body): Likewise.
51677         (__arch_add_body): Likewise.
51678         (atomic_add_negative): Likewise.
51679         (atomic_add_zero): Likewise.
51681 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51683         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51684         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51686 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51688         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51689         Check __x86_64__ instead of __WORDSIZE.
51691 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51693         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51695 2012-03-19  David S. Miller  <davem@davemloft.net>
51697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51699         * sysdeps/sparc/fpu/fenv_private.h: New file.
51700         * sysdeps/sparc/fpu/math_private.h: Use it.
51701         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51702         Remove.
51703         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51704         (libc_feholdexcept_setroundl): Remove.
51705         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51706         Remove.
51707         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51708         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51710 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51712         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51713         int64_t instead of long int.
51714         (INSERT_WORDS64): Likwise.
51716 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51718         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51719         _Unwind_GetCFA return to _Unwind_Ptr first.
51721 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
51723         [BZ #13629]
51724         * math/s_clog.c: Include <float.h>.
51725         (__clog): Scale large or subnormal inputs.
51726         * math/s_clogf.c: Likewise.
51727         * math/s_clogl.c: Likewise.
51728         * math/s_clog10.c: Include <float.h>.
51729         (M_LOG10_2): Define.
51730         (__clog10): Scale large or subnormal inputs.
51731         * math/s_clog10f.c: Likewise.
51732         * math/s_clog10l.c: Likewise.
51733         * math/libm-test.inc (clog_test): Add more tests.
51734         (clog10_test): Likewise.
51735         * sysdeps/i386/fpu/libm-test-ulps: Update.
51736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51738         [BZ #11451]
51739         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51740         x and y.
51741         * math/libm-test.inc (atan2_test): Add another test.
51743         * Makerules (common-objdir-compile): Remove.
51744         * sysdeps/unix/Makefile (config-generated): Do not add
51745         $(unix-generated) to variable.
51746         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51747         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51748         Remove rule.
51749         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51750         Likewise.
51751         [generic bits/local_lim.h] (before-compile): Do not append to
51752         variable.
51753         [generic bits/local_lim.h] (common-generated): Likewise.
51754         [generic sys/param.h] (before-compile): Do not append to variable.
51755         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51756         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51757         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51758         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51759         include.
51760         [generic sys/param.h] (sys/param.h-includes): Remove variable.
51761         [generic sys/param.h] (sys/param.h-includes): Remove rule.
51762         [generic sys/param.h] ($(addprefix
51763         $(common-objpfx),$(sys/param.h-includes))): Likewise.
51764         [generic sys/param.h] (common-generated): Do not append to
51765         variable.
51766         [generic sys/param.h] (sysdep_headers): Likewise.
51767         [generic bits/errno.h] (before-compile): Do not append to
51768         variable.
51769         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51770         rule.
51771         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51772         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51773         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51774         [generic bits/errno.h] (common-generated): Do not append to
51775         variable.
51776         [generic bits/ioctls.h] (before-compile): Do not append to
51777         variable.
51778         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51779         rule.
51780         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51781         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51782         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51783         rule.
51784         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51785         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51786         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51787         [generic bits/ioctls.h] (common-generated): Do not append to
51788         variable.
51789         [generic sys/syscall.h] (syscall.h): Remove variable.
51790         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51791         rule.
51792         [generic sys/syscall.h] (before-compile): Do not append to
51793         variable.
51794         [generic sys/syscall.h] (common-generated): Likewise.
51795         * sysdeps/unix/errnos-tmpl.c: Remove file.
51796         * sysdeps/unix/errnos.awk: Likewise.
51797         * sysdeps/unix/ioctls-tmpl.c: Likewise.
51798         * sysdeps/unix/ioctls.awk: Likewise.
51799         * sysdeps/unix/mk-local_lim.c: Likewise.
51800         * sysdeps/unix/snarf-ioctls: Likewise.
51802 2012-03-19  Richard Henderson  <rth@twiddle.net>
51804         * sysdeps/i386/fpu/fenv_private.h: New file.
51805         * sysdeps/i386/fpu/math_private.h: Use it.
51806         (math_opt_barrier, math_force_eval): Remove.
51807         (libc_feholdexcept_setround_53bit): Remove.
51808         (libc_feupdateenv_53bit): Remove.
51809         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51810         (math_opt_barrier, math_force_eval): Remove.
51811         (libc_feholdexcept): Remove.
51812         (libc_feholdexcept_setround): Remove.
51813         (libc_fetestexcept, libc_fesetenv): Remove.
51814         (libc_feupdateenv_test): Remove.
51815         (libc_feupdateenv, libc_feholdsetround): Remove.
51816         (libc_feresetround): Remove.
51818         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51819         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51821         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51822         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51823         (libc_feupdateenv_testl): New.
51824         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51825         (libc_feupdateenv_testf): New.
51826         (libc_feupdateenv): Use libc_feupdateenv_test.
51827         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51828         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51830         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51831         (libc_feholdsetroundf, libc_feholdsetroundl): New.
51832         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51833         (libc_feresetround_noex): New.
51834         (libc_feresetround_noexf): New.
51835         (libc_feresetround_noexl): New.
51836         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51837         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51838         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51839         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51840         SET_RESTORE_ROUND.
51841         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51842         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51843         (__cos): Likewise.
51844         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51845         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51846         SET_RESTORE_ROUND_NOEX.
51847         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51848         SET_RESTORE_ROUND_NOEXF.
51849         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51850         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51851         (libc_feholdsetroundf): New.
51852         (libc_feresetround, libc_feresetroundf): New.
51854         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51855         (libc_feholdexcept_setround_53bit): Convert from macro to function.
51856         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
51858         * sysdeps/generic/math_private.h: Include <fenv.h>.
51859         (default_libc_feholdexcept): New.
51860         (default_libc_feholdexcept_setround): New.
51861         (default_libc_fesetenv, default_libc_feupdateenv): New.
51862         (libc_feholdexcept): Only define if undefined.
51863         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51864         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51865         (libc_feholdexcept_setroundl): Likewise.
51866         (libc_feholdexcept_setround_53bit): Likewise.
51867         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51868         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51869         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51870         (libc_feupdateenv_53bit): Likewise.
51871         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51872         (libc_feholdexcept): Convert from macro to inline function.
51873         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51874         (libc_fesetenv, libc_feupdateenv): Likewise.
51876         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51877         not previously defined.
51878         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51879         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51880         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51881         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51882         * sysdeps/ieee754/flt-32/math_private.h: New file.
51883         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51884         math_private.h below SET_FLOAT_WORD.
51885         (__isnan, __isinf_ns, __finite): Remove.
51886         (__isnanf, __isinf_nsf, __finitef): Remove.
51888 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
51890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51892 2012-03-17  David S. Miller  <davem@davemloft.net>
51894         [BZ #6471]
51895         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51896         for 2.16.
51898 2012-03-16  David S. Miller  <davem@davemloft.net>
51900         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51901         warnings.
51903         [BZ #6471]
51904         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51905         properly.
51906         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51907         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51908         sysdep_routines when subdir is sysvipc.
51909         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51910         __getshmlba helper.
51912         * sysdeps/sparc/fpu/libm-test/ulps: Update.
51914 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51916         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51917         [__LP64__].
51919 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51921         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51922         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51923         (__lround): Renamed to ...
51924         (__llround): This.  Replace long int with long long int.
51925         Define lround functions as aliases of llround functions.
51926         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51928 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51930         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51931         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
51932         adresses to uintptr_t.  Replace "long int" and "unsigned long
51933         int" with "greg_t" on va_arg.
51935 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51937         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51938         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51940         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51941         Move e_machine check before EI_CLASS check.  Handle x32
51942         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51943         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51944         SKIP_EM_IA_64 and include
51945         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51947         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51948         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51949         (add_system_dir): New macro.
51951         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51952         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51954 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51956         [BZ #2551]
51957         [BZ #2552]
51958         [BZ #2553]
51959         [BZ #2554]
51960         [BZ #2562]
51961         [BZ #2563]
51962         [BZ #2565]
51963         [BZ #2566]
51964         [BZ #2576]
51965         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51966         (y0): Likewise.
51967         * math/w_j0f.c (j0f): Likewise.
51968         (y0f): Likewise.
51969         * math/w_j0l.c (__j0l): Likewise.
51970         (__y0l): Likewise.
51971         * math/w_j1.c (j1): Likewise.
51972         (y1): Likewise.
51973         * math/w_j1f.c (j1f): Likewise.
51974         (y1f): Likewise.
51975         * math/w_j1l.c (__j1l): Likewise.
51976         (__y1l): Likewise.
51977         * math/w_jn.c (jn): Likewise.
51978         (yn): Likewise.
51979         * math/w_jnf.c (jnf): Likewise.
51980         (ynf): Likewise.
51981         * math/w_jnl.c (__jnl): Likewise.
51982         (__ynl): Likewise.
51983         * math/libm-test.inc (j0_test): Add more tests.
51984         (j1_test): Likewise.
51985         (jn_test): Likewise.  Add trailing semicolon to existing test.
51986         (y0_test): Likewise.
51987         (y1_test): Likewise.
51988         * sysdeps/i386/fpu/libm-test-ulps: Update.
51989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51991         [BZ #13851]
51992         [BZ #13854]
51993         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51994         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51995         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51996         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51997         (__tanl): Set errno for infinite argument.
51998         * sysdeps/i386/fpu/mptan.c: Remove.
51999         * sysdeps/i386/fpu/s_tan.S: Likewise.
52000         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52001         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52002         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52003         * math/libm-test.inc (tan_test): Add more tests and enable more
52004         tests for double and long double.
52005         * sysdeps/i386/fpu/libm-test-ulps: Update.
52006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52008 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52010         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52011         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52013 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52015         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52016         * configure.in: Use it for both main tree and add-ons.
52017         * configure: Regenerated.
52019 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52021         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52023 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52025         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52026         in comment.
52028         [BZ #13851]
52029         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52030         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52031         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52032         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52033         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52034         infinite argument.
52035         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52036         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52037         != 0 for prec == 2.
52038         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52039         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52040         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52041         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52042         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52043         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52044         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52045         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52046         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52047         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52048         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52049         * math/libm-test.inc (cos_test): Add more tests and enable more
52050         tests for long double.
52051         (sin_test): Likewise.
52052         (sincos_test): Likewise.
52053         * sysdeps/i386/fpu/libm-test-ulps: Update.
52054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52056 2012-03-16  David S. Miller  <davem@davemloft.net>
52058         * sysdeps/sparc/fpu/math_private.h: New file.
52060 2012-03-15  David S. Miller  <davem@davemloft.net>
52062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52063         file.
52064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52066         file.
52067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52068         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52069         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52070         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52071         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52072         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52073         sysdep routines.
52074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52076         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52077         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52079         * sysdeps/sparc/sparc-ifunc.h: New file.
52080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52081         sparc-ifunc.h
52082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52084         Likewise.
52085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52086         Likewise.
52087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52091         Likewise.
52092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52097         Likewise.
52098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52099         Likewise.
52100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52104         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52105         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52106         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52107         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52108         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52109         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52114         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52115         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52116         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52117         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52118         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52119         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52120         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52121         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52122         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52123         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52125 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52127         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52128         scaling.
52129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52131 2012-03-15  Andreas Jaeger  <aj@suse.de>
52133         [BZ #13852]
52134         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52135         ieee754/flt-32 implementation for sin, cos and sincos.
52136         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52137         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52138         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52139         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52140         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52141         ieee754/flt-32 implementation for tan.
52143         * math/libm-test.inc (cos_test): Enable some large input tests for
52144         float as well
52145         (sin_test): Likewise.
52146         (sincos_test): Likewise.
52147         (tan_test): Add tests for large input.
52149         * sysdeps/i386/fpu/libm-test-ulps: Update.
52151 2012-03-15  Andreas Jaeger  <aj@suse.de>
52153         [BZ #13658]
52154         * math/libm-test.inc (cos_test): Add more test cases.
52155         (sin_test): Likewise.
52156         (sincos_test): Likewise.
52158 2012-03-15  Andreas Jaeger  <aj@suse.de>
52160         [BZ #13837]
52161         * math/libm-test.inc (cos_test): Add a test case for large input
52162         value.
52163         (sin_test): Likewise.
52164         (sincos_test): Likewise.
52166 2012-03-15  Andreas Jaeger  <aj@suse.de>
52167             Joseph Myers  <joseph@codesourcery.com>
52169         [BZ #13658]
52170         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52171         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52172         * sysdeps/i386/fpu/branred.c: Likewise.
52173         * sysdeps/i386/fpu/dosincos.c: Likewise.
52174         * sysdeps/i386/fpu/mpa.c: Likewise.
52175         * sysdeps/i386/fpu/s_cos.S: Likewise.
52176         * sysdeps/i386/fpu/s_sin.S: Likewise.
52177         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52178         * sysdeps/i386/fpu/sincos32.c: Likewise.
52180         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52181         Define.
52182         (libc_feupdateenv_53bit): Define.
52183         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52184         Define.
52185         (libc_feupdateenv_53bit): Define.
52187         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52188         53 bit (without extend i386 double precision).
52190         * math/libm-test.inc (sincos_test): Add tests for large input.
52191         (sin): Likewise.
52192         (cos): Likewise.
52194         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52196 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52200 2012-03-15  David S. Miller  <davem@davemloft.net>
52202         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52203         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52204         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52205         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52210         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52211         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52212         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52213         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52214         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52215         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52216         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52218         file.
52219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52221         file.
52222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52224         file.
52225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52227         file.
52228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52229         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52230         fmin/fmax sysdep routines.
52231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52233 2012-03-14  David S. Miller  <davem@davemloft.net>
52235         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52236         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52237         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52238         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52239         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52240         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52241         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52242         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52243         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52244         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52245         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52246         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52247         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52248         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52249         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52250         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52251         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52252         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52253         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52254         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52255         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52256         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52257         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52258         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52259         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52260         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52261         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52262         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52263         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52264         routines.
52265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52266         file.
52267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52269         file.
52270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52272         file.
52273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52275         file.
52276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52278         file.
52279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52281         file.
52282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52283         file.
52284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52285         file.
52286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52287         file.
52288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52289         New file.
52290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52291         file.
52292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52293         file.
52294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52296         file.
52297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52299         file.
52300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52302         file.
52303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52305         VIS3 routines.
52307         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52308         New file.
52310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52312         * sysdeps/sparc/configure.in: New file.
52313         * sysdeps/sparc/configure: Generate.
52314         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52315         * configure: Regenerate.
52316         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52317         * config.make.in (have-as-vis3): New.
52318         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52319         available use -Av9d instead of -Av9a.
52320         * sysdeps/sparc/sparc64/Makefile: Likewise.
52321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52323         New file.
52324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52325         file.
52326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52327         New file.
52328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52329         file.
52330         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52331         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52332         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52333         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52334         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52336         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52337         fzeros/fnegs to load 0x80000000 into a float register instead of
52338         using the stack.
52339         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52341 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52343         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52344         bits/syscall.h.
52345         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52346         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52347         ($(inst_includedir)/bits/syscall.h): Remove rule.
52348         ($(objpfx)bits/syscall.d): Include instead of
52349         $(objpfx)syscall-list.d.
52350         (generated): Change syscall-list.h and syscall-list.d to
52351         bits/syscall.h and bits/syscall.d.
52353 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52355         [BZ #13846]
52356         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52358 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52360         [BZ #13841]
52361         * math/s_csqrt.c: Include <float.h>.
52362         (__csqrt): Scale large or subnormal inputs.
52363         * math/s_csqrtf.c: Likewise.
52364         * math/s_csqrtl.c: Likewise.
52365         * math/libm-test.inc (csqrt_test): Add more tests.
52366         * sysdeps/i386/fpu/libm-test-ulps: Update.
52367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52369         [BZ #13840]
52370         * math/libm-test.inc (hypot_test): Add more tests.
52372 2012-03-13  David S. Miller  <davem@davemloft.net>
52374         [BZ #13840]
52375         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52376         double-precision for the calculation instead of scaling.
52378 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52380         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52381         manipulate bits before adding and subtracting TWO52[sx].
52382         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52383         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52384         Likewise.
52385         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52387 2012-03-13  David S. Miller  <davem@davemloft.net>
52389         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52390         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52391         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52392         rtld-global-offsets.h
52393         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52395         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52396         large parameters.
52398         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52400         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52401         'err' in the ifdef scope in which it is actually used.
52403         * nss/nss_db/db-init.c: Include string.h
52405 2012-03-12  David S. Miller  <davem@davemloft.net>
52407         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52408         masking out of the most significant byte of random value used.
52409         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52410         Fix coding style in previous change.
52412         * sysdeps/unix/sysv/linux/kernel-features.h
52413         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52414         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52415         expression.
52416         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52417         later.
52419 2012-03-11  David S. Miller  <davem@davemloft.net>
52421         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52422         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52423         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52424         for 'resultvar' otherwise things get truncated on 64-bit.
52426         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52427         Fix masking out of the most significant byte of random value used.
52429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52431 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52435 2012-03-09  David S. Miller  <davem@davemloft.net>
52437         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52438         variables with appropriate CPP guards.
52439         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52440         from the frame pointer, not the stack pointer.  Correct layout
52441         comments.  Fix test on resulting framesize and the management of
52442         the outregs buffer for pltexit.  Preserve floating point return
52443         values across _dl_call_pltexit call.
52444         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52445         framesize and the management of the outregs buffer for pltexit.
52446         Preserve floating point return values across _dl_call_pltexit
52447         call.
52448         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52449         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52450         (la_sparc64_gnu_pltexit): New functions.
52451         (print_exit): Fix format string for return register value.
52453 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52455         * sunrpc/Makefile (others): Add rpcgen.
52456         ($(objpfx)rpcgen): Remove special build rule and dependency on
52457         libc.
52458         * sunrpc/rpcgen.c: New file.
52460 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52462         [BZ #13673]
52463         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52464         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52465         * sysdeps/i386/crti.S: Likewise.
52466         * sysdeps/i386/crtn.S: Likewise.
52467         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52468         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52469         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52470         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52471         * sysdeps/sh/crti.S: Likewise.
52472         * sysdeps/sh/crtn.S: Likewise.
52473         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52475         [BZ #13673]
52476         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52477         with URL.
52478         * locale/programs/locfile-kw.gperf: Likewise.
52479         * locale/programs/charmap-kw.h: Regenerated.
52480         * locale/programs/locfile-kw.h: Likewise.
52482         [BZ #13673]
52483         * intl/plural.y: Replace FSF snail mail address with URL.
52484         * intl/plural.c: Regenerated.
52486 2012-03-09  Richard Henderson  <rth@twiddle.net>
52488         * include/math_private.h: Remove file.
52489         * math/math_private.h: Move file ...
52490         * sysdeps/generic/math_private.h: ... here.
52492         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52493         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52494         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52496         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52497         and <math_private.h>.
52498         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52499         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52500         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52501         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52502         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52503         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52504         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52505         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52506         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52507         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52508         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52509         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52510         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52511         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52512         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52513         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52514         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52515         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52516         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52517         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52518         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52519         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52520         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52521         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52522         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52523         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52524         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52525         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52526         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52527         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52528         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52529         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52530         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52531         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52532         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52533         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52534         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52535         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52536         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52537         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52538         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52539         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52540         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52541         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52542         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52543         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52544         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52545         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52546         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52547         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52548         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52549         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52550         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52551         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52552         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52553         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52554         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52555         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52556         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52557         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52558         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52559         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52560         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52561         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52562         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52563         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52564         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52565         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52566         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52567         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52568         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52569         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52570         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52571         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52572         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52573         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52574         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52575         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52576         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52577         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52578         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52579         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52580         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52581         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52582         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52583         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52584         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52585         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52586         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52587         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52588         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52589         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52590         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52591         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52592         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52593         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52594         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52595         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52596         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52597         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52598         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52599         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52600         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52601         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52602         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52603         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52604         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52605         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52606         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52607         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52608         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52609         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52610         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52611         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52612         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52613         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52614         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52615         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52616         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52617         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52618         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52619         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52620         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52621         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52622         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52623         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52624         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52625         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52626         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52627         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52628         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52629         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52630         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52631         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52632         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52633         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52634         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52635         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52636         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52637         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52638         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52639         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52640         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52641         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52642         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52643         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52644         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52645         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52646         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52647         * sysdeps/ieee754/k_standard.c: Likewise.
52648         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52649         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52650         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52651         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52652         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52653         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52654         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52655         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52656         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52657         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52658         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52659         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52660         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52661         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52662         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52663         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52664         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52665         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52666         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52667         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52668         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52669         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52670         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52671         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52672         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52673         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52674         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52675         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52676         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52677         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52678         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52679         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52680         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52681         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52682         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52683         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52684         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52685         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52686         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52687         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52688         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52689         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52690         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52691         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52692         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52693         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52694         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52695         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52696         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52697         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52698         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52699         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52700         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52701         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52702         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52703         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52704         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52705         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52706         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52707         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52708         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52709         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52710         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52711         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52712         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52713         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52714         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52715         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52716         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52717         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52718         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52719         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52720         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52721         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52722         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52723         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52724         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52725         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52726         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52727         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52728         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52729         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52730         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52731         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52732         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52733         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52734         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52735         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52736         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52737         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52738         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52739         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52740         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52741         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52742         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52743         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52744         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52745         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52746         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52747         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52748         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52749         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52750         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52751         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52752         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52753         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52754         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52755         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52756         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52757         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52758         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52759         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52760         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52761         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52762         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52763         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52764         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52765         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52766         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52767         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52768         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52769         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52770         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52771         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52772         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52773         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52774         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52775         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52776         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52777         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52778         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52779         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52780         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52781         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52782         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52783         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52784         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52785         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52786         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52787         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52788         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52789         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52790         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52791         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52792         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52793         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52794         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52795         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52796         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52797         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52798         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52799         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52800         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52801         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52802         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52803         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52804         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52805         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52806         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52807         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52808         * sysdeps/ieee754/s_lib_version.c: Likewise.
52809         * sysdeps/ieee754/s_matherr.c: Likewise.
52810         * sysdeps/ieee754/s_signgam.c: Likewise.
52811         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52812         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52813         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52814         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52815         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52816         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52817         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52818         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52819         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52820         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52821         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52822         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52823         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52824         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52825         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52826         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52827         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52828         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52829         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52830         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52831         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52833 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52835         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52836         * sunrpc/rpc_main.c: Likewise.
52837         * sunrpc/rpc_svcout.c: Likewise.
52839 2012-03-09  David S. Miller  <davem@davemloft.net>
52841         * include/math_private.h: New file.
52843 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52845         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52846         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52847         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52848         from <bits/socket_type.h>.
52849         (enum __socket_type): Don't define here.
52850         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52851         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52852         bits/socket_type.h.
52854         [BZ #13566]
52855         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52856         checking __USE_GNU.
52858         * Makerules ($(inst_includedir)/%.h): New rule.
52859         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52860         (install-others): Remove variable setting.
52861         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52863 2012-03-08  Richard Henderson  <rth@twiddle.net>
52865         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52866         from macro to inline function; merge with the
52867         !__LIBC_INTERNAL_MATH_INLINES version.
52868         (__ieee754_sqrtf): Likewise.
52870         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52871         to inline function.
52872         (__rintf, __floor, __floorf): Likewise.
52874         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52875         macro to inline function.
52876         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52878         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52879         not <math/math_private.h>.
52881 2012-03-08  David S. Miller  <davem@davemloft.net>
52883         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52884         copyright year.
52885         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52887 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
52889         * resolv/gai_misc.c (handle_requests): Fix struct timespec
52890         normalization.
52891         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52892         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52894 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
52896         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
52897         be defined individually, they must be defined as a block.  Define
52898         S for printing a string instead of hidint the different by using a
52899         macro for adding the 'l'.
52900         * stdio-common/tst-fphex-wide.c: Adjust.
52902 2012-03-07  Marek Polacek  <polacek@redhat.com>
52904         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52906 2012-03-08  Marek Polacek  <polacek@redhat.com>
52908         [BZ #13806]
52909         * stdio-common/Makefile (tests): Add tst-fphex-wide.
52910         * stdio-common/tst-fphex.c: Define a few macros to make the
52911         test reusable.  Use them.
52912         * stdio-common/tst-fphex-wide.c: New file.
52914 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
52916         [BZ #6911]
52917         * manual/macros.texi (gnusystems): New macro.
52918         (nongnusystems): Likewise.
52919         (gnulinuxhurdsystems): Likewise.
52920         (gnuhurdsystems): Likewise..
52921         (gnulinuxsystems): Likewise.
52922         * manual/charset.texi: Use new macros or @theglibc{} to refer to
52923         variants of the GNU system, not "GNU system".
52924         * manual/conf.texi: Likewise.
52925         * manual/errno.texi: Likewise.  Update example of errno macro
52926         expansion.
52927         * manual/filesys.texi: Likewise.
52928         (getumask): Document as specific to GNU/Hurd.
52929         * manual/install.texi: Likewise.  Reword some references to
52930         GNU/Linux.
52931         * manual/intro.texi: Likewise.
52932         * manual/io.texi: Likewise.
52933         (File Name Portability): Detail which constraints are inapplicable
52934         to all GNU systems and which are only inapplicable to GNU/Hurd.
52935         * manual/job.texi: Likewise.
52936         * manual/llio.texi: Likewise.
52937         (O_NOCTTY): Document as present on GNU/Linux.
52938         * manual/maint.texi: Likewise.
52939         * manual/memory.texi: Likewise.
52940         * manual/pattern.texi: Likewise.
52941         * manual/pipe.texi: Likewise.
52942         * manual/process.texi: Likewise.
52943         * manual/resource.texi: Likewise.
52944         (RUSAGE_CHILDREN): Remove statement about specifying a particular
52945         child on GNU/Hurd.
52946         * manual/setjmp.texi: Likewise.
52947         * manual/signal.texi: Likewise.
52948         * manual/startup.texi: Likewise.
52949         * manual/stdio.texi: Likewise.
52950         * manual/terminal.texi: Likewise.
52951         (ONLCR): Document as POSIX.
52952         (OXTABS): Document availability on GNU/Linux as XTABS.
52953         (ONOEOT): Document availability separately from other bits.
52954         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52955         * manual/time.texi: Likewise.
52956         * manual/users.texi: Likewise.
52957         * INSTALL: Regenerated.
52958         * sysdeps/gnu/errlist.c: Regenerated.
52960         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52961         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52962         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
52963         puts.
52964         * configure: Regenerated.
52966 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
52968         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52969         default includes instead of AC_HEADER_CHECK.
52970         * sysdeps/i386/configure: Regenerated.
52972         [BZ #10716]
52973         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52974         * math/s_cacoshf.c (__cacoshf): Likewise.
52975         * math/s_cacoshl.c (__cacoshl): Likewise.
52976         * math/s_casinh.c (__casinh): Set signs of result from argument.
52977         * math/s_casinhf.c (__casinhf): Likewise.
52978         * math/s_casinhl.c (__casinhl): Likewise.
52979         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52980         (casinh_test): Add more tests.
52981         * sysdeps/i386/fpu/libm-test-ulps: Update.
52982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52984 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
52986         * po/zh_TW.po: Update from translation team.
52988         * login/Makefile (distribute): Remove variable.
52989         * catgets/Makefile: Likewise.
52990         * mach/Makefile: Likewise.
52991         * malloc/Makefile: Likewise.
52992         * misc/Makefile: Likewise.
52993         * iconv/Makefile: Likewise.
52994         * nscd/Makefile: Likewise.
52995         * hurd/Makefile: Likewise.
52996         * manual/Makefile: Likewise.
52997         * locale/Makefile: Likewise.
52998         * intl/Makefile: Likewise.
52999         * conform/Makefile: Likewise.
53000         * nss/Makefile: Likewise.
53001         * time/Makefile: Likewise.
53002         * soft-fp/Makefile: Likewise.
53003         * dirent/Makefile: Likewise.
53004         * gmon/Makefile: Likewise.
53005         * po/Makefile: Likewise.
53006         * rt/Makefile: Likewise.
53007         * socket/Makefile: Likewise.
53008         * math/Makefile: Likewise.
53009         * signal/Makefile: Likewise.
53010         * debug/Makefile: Likewise.
53011         * elf/Makefile: Likewise.
53012         * timezone/Makefile: Likewise.
53013         * stdlib/Makefile: Likewise.
53014         * iconvdata/Makefile: Likewise.
53015         * sunrpc/Makefile: Likewise.
53016         * io/Makefile: Likewise.
53017         * argp/Makefile: Likewise.
53018         * inet/Makefile: Likewise.
53019         * hesiod/Makefile: Likewise.
53020         * grp/Makefile: Likewise.
53021         * csu/Makefile: Likewise.
53022         * wctype/Makefile: Likewise.
53023         * crypt/Makefile: Likewise.
53024         * libio/Makefile: Likewise.
53025         * string/Makefile: Likewise.
53026         * nis/Makefile: Likewise.
53027         * resolv/Makefile: Likewise.
53028         * stdio-common/Makefile: Likewise.
53029         * wcsmbs/Makefile: Likewise.
53030         * dlfcn/Makefile: Likewise.
53031         * posix/Makefile: Likewise.
53033         [BZ #6959]
53034         * timezone/Makefile: Don't install timezone files, just the programs
53035         and scripts.
53037 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53039         * nss/databases.def: Add missing gshadow entry.
53041         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53043 2012-03-06  Marek Polacek  <polacek@redhat.com>
53045         [BZ #13726]
53046         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53047         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53048         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53049         * stdio-common/tst-long-dbl-fphex.c: New file.
53051 2012-03-06  David S. Miller  <davem@davemloft.net>
53053         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53054         (set_obp_int): New function.
53055         (get_obp_int): New function.
53056         (__get_clockfreq_via_dev_openprom): Likewise.
53057         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53058         Avoid unused variable warnings on 'val' and use builtin_expect.
53059         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53060         __builtin_expect.
53061         (INLINE_CLONE_SYSCALL): Likewise.
53063 2012-03-05  David S. Miller  <davem@davemloft.net>
53065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53067 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53071         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53072         only for |x| >= 40.
53073         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53075 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53077         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53078         Replace gettimeofday with __vdso_gettimeofday.
53080         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53081         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53082         __vdso_clock_gettime and __vdso_getcpu.
53084         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53085         time with __vdso_time.
53087 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53089         * manual/lang.texi (size_t): Note types to which size_t may be
53090         equivalent with the GNU C Library, but do not describe when
53091         differences between them are significant.
53093 2012-03-05  Andreas Jaeger  <aj@suse.de>
53095         * sysdeps/i386/fpu/libm-test-ulps: Update.
53097 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53099         [BZ #3976]
53100         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53101         (__ieee754_pow): Save and restore rounding mode and use
53102         round-to-nearest for main computations.
53103         * math/libm-test.inc (pow_test_tonearest): New function.
53104         (pow_test_towardzero): Likewise.
53105         (pow_test_downward): Likewise.
53106         (pow_test_upward): Likewise.
53107         (main): Call the new functions.
53108         * sysdeps/i386/fpu/libm-test-ulps: Update.
53109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53111         [BZ #3976]
53112         * math/libm-test.inc (cosh_test_tonearest): New function.
53113         (cosh_test_towardzero): Likewise.
53114         (cosh_test_downward): Likewise.
53115         (cosh_test_upward): Likewise.
53116         (sinh_test_tonearest): Likewise.
53117         (sinh_test_towardzero): Likewise.
53118         (sinh_test_downward): Likewise.
53119         (sinh_test_upward): Likewise.
53120         (main): Call the new functions.
53121         * sysdeps/i386/fpu/libm-test-ulps: Update.
53122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53124 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53126         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53127         default stack guard is set in last bytes.
53128         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53130 2012-03-05  Kees Cook  <keescook@chromium.org>
53132         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53134         [BZ #13656]
53135         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53136         possibly allocate from heap instead of stack.
53137         * stdio-common/bug-vfprintf-nargs.c: New file.
53138         * stdio-common/Makefile (tests): Add nargs overflow test.
53140 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53144 2012-03-03  Marek Polacek  <polacek@redhat.com>
53146         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53147         * math/math_private.h: Likewise.
53148         * stdlib/tst-strtod.c: Likewise.
53149         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53150         * sysdeps/x86_64/bits/atomic.h: Likewise.
53152 2012-03-02  David S. Miller  <davem@davemloft.net>
53154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53158         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53159         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53160         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53161         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53163 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53165         [BZ #13792]
53166         * manual/examples/README: New file, says the example source files
53167         can be used under GPL>=2.
53168         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53169         line containing just "*/".
53170         * manual/examples/add.c: Add copyright header (GPL>=2).
53171         * manual/examples/argp-ex1.c: Likewise.
53172         * manual/examples/argp-ex2.c: Likewise.
53173         * manual/examples/argp-ex3.c: Likewise.
53174         * manual/examples/argp-ex4.c: Likewise.
53175         * manual/examples/atexit.c: Likewise.
53176         * manual/examples/db.c: Likewise.
53177         * manual/examples/dir.c: Likewise.
53178         * manual/examples/dir2.c: Likewise.
53179         * manual/examples/execinfo.c: Likewise.
53180         * manual/examples/filecli.c: Likewise.
53181         * manual/examples/filesrv.c: Likewise.
53182         * manual/examples/fmtmsgexpl.c: Likewise.
53183         * manual/examples/genpass.c: Likewise.
53184         * manual/examples/inetcli.c: Likewise.
53185         * manual/examples/inetsrv.c: Likewise.
53186         * manual/examples/isockad.c: Likewise.
53187         * manual/examples/longopt.c: Likewise.
53188         * manual/examples/memopen.c: Likewise.
53189         * manual/examples/memstrm.c: Likewise.
53190         * manual/examples/mkfsock.c: Likewise.
53191         * manual/examples/mkisock.c: Likewise.
53192         * manual/examples/mygetpass.c: Likewise.
53193         * manual/examples/pipe.c: Likewise.
53194         * manual/examples/popen.c: Likewise.
53195         * manual/examples/rprintf.c: Likewise.
53196         * manual/examples/search.c: Likewise.
53197         * manual/examples/select.c: Likewise.
53198         * manual/examples/setjmp.c: Likewise.
53199         * manual/examples/sigh1.c: Likewise.
53200         * manual/examples/sigusr.c: Likewise.
53201         * manual/examples/stpcpy.c: Likewise.
53202         * manual/examples/strdupa.c: Likewise.
53203         * manual/examples/strftim.c: Likewise.
53204         * manual/examples/strncat.c: Likewise.
53205         * manual/examples/subopt.c: Likewise.
53206         * manual/examples/swapcontext.c: Likewise.
53207         * manual/examples/termios.c: Likewise.
53208         * manual/examples/testopt.c: Likewise.
53209         * manual/examples/testpass.c: Likewise.
53210         * manual/examples/timeval_subtract.c: Likewise.
53212         [BZ #13792]
53213         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53214         function to ...
53215         * manual/timeval_subtract.c.texi: ... here, new file.
53217 2012-03-02  David S. Miller  <davem@davemloft.net>
53219         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53221 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53223         [BZ #3976]
53224         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53225         (__sin): Save and restore rounding mode and use round-to-nearest
53226         for all computations.
53227         (__cos): Save and restore rounding mode and use round-to-nearest
53228         for all computations.
53229         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53230         <fenv.h>.
53231         (tan): Save and restore rounding mode and use round-to-nearest for
53232         all computations.
53233         * math/libm-test.inc (cos_test_tonearest): New function.
53234         (cos_test_towardzero): Likewise.
53235         (cos_test_downward): Likewise.
53236         (cos_test_upward): Likewise.
53237         (sin_test_tonearest): Likewise.
53238         (sin_test_towardzero): Likewise.
53239         (sin_test_downward): Likewise.
53240         (sin_test_upward): Likewise.
53241         (tan_test_tonearest): Likewise.
53242         (tan_test_towardzero): Likewise.
53243         (tan_test_downward): Likewise.
53244         (tan_test_upward): Likewise.
53245         (main): Call the new functions.
53246         * sysdeps/i386/fpu/libm-test-ulps: Update.
53247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53249         [BZ #10135]
53250         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53251         small n, then large n, before computing and testing k+n.
53252         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53253         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53254         Likewise.
53255         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53256         Likewise.
53257         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53258         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53259         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53260         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53261         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53262         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53263         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53264         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53265         * math/libm-test.inc (scalbn_test): Add more tests.
53266         (scalbln_test): Likewise.
53268         * manual/filesys.texi (mode_t): Describe constraints on size and
53269         signedness, not exact equivalence to a particular type.
53270         (ino_t): Likewise.
53271         (ino64_t): Likewise.
53272         (dev_t): Likewise.
53273         (nlink_t): Likewise.
53274         (blkcnt_t): Likewise.
53275         (blkcnt64_t): Likewise.
53276         * manual/llio.texi (off_t): Likewise.
53278         [BZ #3976]
53279         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53280         (__ieee754_exp): Save and restore rounding mode and use
53281         round-to-nearest for all computations.
53282         * math/libm-test.inc (exp_test_tonearest): New function.
53283         (exp_test_towardzero): Likewise.
53284         (exp_test_downward): Likewise.
53285         (exp_test_upward): Likewise.
53286         (main): Call the new functions.
53287         * sysdeps/i386/fpu/libm-test-ulps: Update.
53288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53290 2012-03-01  Chris Demetriou  <cgd@google.com>
53292         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53293         have predictable order.
53295 2012-03-01  David S. Miller  <davem@davemloft.net>
53297         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53299         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53300         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53301         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53302         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53304         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53305         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53306         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53308         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53309         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53310         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53311         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53312         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53316         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53317         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53318         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53320         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53321         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53322         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53323         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53324         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53325         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53326         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53327         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53328         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53329         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53330         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53331         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53332         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53333         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53334         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53335         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53336         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53337         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53338         * sysdeps/sparc/elf/configure: Regenerated.
53340 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53342         * configure.in (AS, LD): Require binutils 2.20 or later.
53343         * configure: Regenerated.
53344         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53345         as required minimum version.
53346         * INSTALL: Regenerated.
53348         [BZ #2541]
53349         [BZ #4108]
53350         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53351         before squaring exponent.
53352         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53353         bottom long double and 27 bits of top long double before squaring
53354         exponent.
53355         * math/libm-test.inc (erfc_test): Add more tests.
53356         * sysdeps/i386/fpu/libm-test-ulps: Update.
53357         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53360 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53362         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53363         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53364         containing bit-fields.
53365         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53366         * soft-fp/single.h (_FP_UNION_S): Likewise.
53367         * soft-fp/double.h (_FP_UNION_D): Likewise.
53369 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53371         [BZ #13786]
53372         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53373         not include ../strcmp.S.
53374         [USE_AS_STRNCASECMP_L]: Likewise.
53375         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53376         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53377         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53378         (__strncasecmp_l_ia32): Define as alias to
53379         __strncasecmp_l_nonascii.
53381         [BZ #5794]
53382         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53383         * sysdeps/i386/fpu/libm-test-ulps: Update.
53384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53386         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53389 2012-02-29  Jeff Law  <law@redhat.com>
53391         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53392         out of bounds read.
53394 2012-02-29  Marek Polacek  <polacek@redhat.com>
53396         [BZ #13706]
53397         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53398         * elf/Makefile: Add rules to run tst-unused-dep.out.
53400 2012-02-28  David S. Miller  <davem@davemloft.net>
53402         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53403         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53404         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53405         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53406         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53407         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53409 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53411         * math/libm-test.inc (llround_test): Move one test from
53412         lround_test.  Use TEST_f_L in moved test.
53413         (lround_test): Move misplaced test to llround_test.  Add testcase
53414         from bug 2561.
53416 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53418         * sysdeps/x86_64/fpu/e_expf.S: New file.
53419         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53421 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53423         [BZ #13637]
53424         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53425         of remain_len that may cause incomplete multi-byte character and
53426         false match.
53427         * posix/bug-regex33.c: New file.
53428         * posix/Makefile (tests): Add bug-regex33.
53430 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53432         * manual/macros.texi: New file.
53433         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53434         * manual/libc.texinfo: Include macros.texi.
53435         * manual/creatute.texi: Likewise.
53436         * manual/install.texi: Likewise.
53437         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53438         @glibcadj{} in references to the GNU C Library.
53439         * manual/charset.texi: Likewise.
53440         * manual/conf.texi: Likewise.
53441         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53442         when not using those macros.
53443         * manual/creature.texi: Likewise.
53444         * manual/crypt.texi: Likewise.
53445         * manual/errno.texi: Likewise.
53446         * manual/filesys.texi: Likewise.
53447         * manual/header.texi: Likewise.
53448         * manual/install.texi: Likewise.
53449         * manual/intro.texi: Likewise.
53450         * manual/io.texi: Likewise.
53451         * manual/job.texi: Likewise.
53452         * manual/lang.texi: Likewise.
53453         * manual/libc.texiinfo: Likewise.
53454         * manual/llio.texi: Likewise.
53455         * manual/locale.texi: Likewise.
53456         * manual/maint.texi: Likewise.
53457         * manual/math.texi: Likewise.
53458         * manual/memory.texi: Likewise.
53459         * manual/message.texi: Likewise.
53460         * manual/nss.texi: Likewise.
53461         * manual/pattern.texi: Likewise.
53462         * manual/process.texi: Likewise.
53463         * manual/resource.texi: Likewise.
53464         * manual/search.texi: Likewise.
53465         * manual/setjmp.texi: Likewise.
53466         * manual/signal.texi: Likewise.
53467         * manual/socket.texi: Likewise.
53468         * manual/startup.texi: Likewise.
53469         * manual/stdio.texi: Likewise.
53470         * manual/string.texi: Likewise.
53471         * manual/sysinfo.texi: Likewise.
53472         * manual/syslog.texi: Likewise.
53473         * manual/terminal.texi: Likewise.
53474         * manual/time.texi: Likewise.
53475         * manual/users.texi: Likewise.
53476         * INSTALL: Regenerated.
53477         * NOTES: Regenerated.
53478         * sysdeps/gnu/errlist.c: Regenerated.
53480 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53482         * include/dirent.h: Include <dirstream.h> before
53483         <dirent/dirent.h>.
53485 2012-02-28  David S. Miller  <davem@davemloft.net>
53487         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53488         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53489         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53490         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53492 2012-02-27  David S. Miller  <davem@davemloft.net>
53494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53496         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53497         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53500         frame pointer instead of stack pointer relative arg slot.
53501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53502         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53503         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53505 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53507         [BZ #3992]
53508         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53510 2012-02-27  David S. Miller  <davem@davemloft.net>
53512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53516         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53517         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53518         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53519         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53521 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53523         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53524         later.  Allow versions 5-9.
53525         * configure: Regenerated.
53526         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53527         required minimum version and 4.6 as recommended version.  Do not
53528         mention bugs in GCC 2.7 and 2.8.
53529         * INSTALL: Regenerated.
53531 2012-02-27  David S. Miller  <davem@davemloft.net>
53533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53537         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53538         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53539         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53540         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53542         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53543         manipulate bits before adding and subtracting TWO112[sx].
53544         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53546 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53548         [BZ #13775]
53549         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53550         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53551         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53552         being in POSIX, because they are in 1003.1-2008.
53554         * rt/tst-aio.c: Include <fcntl.h>.
53555         * rt/tst-aio7.c: Likewise.
53556         * rt/tst-aio64.c: Likewise.
53558         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53560 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53562         * manual/install.texi (--with-headers): Describe headers as
53563         interface headers, not private headers.
53564         (Specific advice for GNU/Linux systems): Describe use of headers
53565         from "make headers_install", not private headers from older
53566         kernels.
53567         * INSTALL: Regenerated.
53568         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53569         Change to 2.6.19.
53570         * sysdeps/unix/sysv/linux/configure: Regenerated.
53572         * manual/llio.texi (fclean): Remove documentation.
53574         * manual/Makefile (libc-texi-generated): New variable.  Include
53575         version.texi.
53576         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53577         $(libc-texi-generated), not duplicated list of files.
53578         (version.texi, stamp-version): New rules.
53579         (realclean): Remove $(libc-texi-generated), not individual files
53580         from that list.  Do not remove dir-add.texinfo.
53581         * manual/libc.texinfo: Comment out uses of edition numbers and
53582         references to printed manual.  Remove last-updated dates.
53583         (EDITION): Comment out.
53584         (ISBN): Likewise.
53585         (VERSION, UPDATED): Remove.
53586         (version.texi): Include.
53588 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53590         * sysdeps/posix/spawni.c: Include <signal.h>.
53591         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53592         * sysdeps/pthread/aio_fsync.c: Likewise.
53594 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53596         * conform/Makefile (tests): Run only when not cross-compiling and
53597         when fast-check is not defined.
53599         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53600         * conform/data/limits.h-data: Fixes for POSIX2008.
53601         * conform/run-conformtest.sh: Run all tests.
53602         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53603         headers.
53604         * include/bits/dlfcn.h: Likewise.
53605         * include/langinfo.h: Likewise.
53606         * include/monetary.h: Likewise.
53607         * include/sys/poll.h: Likewise.
53609         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53610         for __USE_GNU.
53611         * posix/spawn.h: Define __need_sigset_t.
53612         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53613         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53614         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53615         to get sigevent_t only.
53616         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53617         only for __USE_GNU.
53618         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53619         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53620         process_vm_writev only for __USE_GNU.
53621         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53623         * conform/Makefile: For now ignore errors from run-conformtest.
53624         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53625         POSIX to avoid namespace pollution.  Don't prepend headers.
53626         * conform/data/aio.h-data: Fixes for POSIX testing.
53627         * conform/data/fcntl.h-data: Likewise.
53628         * conform/data/glob.h-data: Likewise.
53629         * conform/data/grp.h-data: Likewise.
53630         * conform/data/pthread.h-data: Likewise.
53631         * conform/data/pwd.h-data: Likewise.
53632         * conform/data/signal.h-data: Likewise.
53633         * conform/data/spawn.h-data: Likewise.
53634         * conform/data/stdio.h-data: Likewise.
53635         * conform/data/stdlib.h-data: Likewise.
53636         * conform/data/stropts.h-data: Likewise.
53637         * conform/data/sys/mman.h-data: Likewise.
53638         * conform/data/sys/stat.h-data: Likewise.
53639         * conform/data/sys/types.h-data: Likewise.
53640         * conform/data/sys/wait.h-data: Likewise.
53641         * conform/data/time.h-data: Likewise.
53642         * conform/data/unistd.h-data: Likewise.
53643         * conform/data/utime.h-data: Likewise.
53645         * io/sys/stat.h: fchmod was always in POSIX.
53646         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53647         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53648         * rt/aio.h: Define __need_timespec before including <time.h>.
53649         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53650         struct.  Add forward declaration of pthread_attr_t and use it in
53651         sigevent.
53652         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53653         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53654         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53655         always remove CLK_TCK definition.
53657 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53659         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53661 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53663         * conform/run-conformtest.sh: New file.
53664         * conform/Makefile: Run run-conformtest for tests.
53665         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53666         support.
53668         * conform/data/uchar.h-data: New file.
53669         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53670         * conform/data/arpa/inet.h-data: Likewise.
53671         * conform/data/assert.h-data: Likewise.
53672         * conform/data/complex.h-data: Likewise.
53673         * conform/data/cpio.h-data: Likewise.
53674         * conform/data/ctype.h-data: Likewise.
53675         * conform/data/dirent.h-data: Likewise.
53676         * conform/data/dlfcn.h-data: Likewise.
53677         * conform/data/errno.h-data: Likewise.
53678         * conform/data/fcntl.h-data: Likewise.
53679         * conform/data/float.h-data: Likewise.
53680         * conform/data/fmtmsg.h-data: Likewise.
53681         * conform/data/fnmatch.h-data: Likewise.
53682         * conform/data/ftw.h-data: Likewise.
53683         * conform/data/glob.h-data: Likewise.
53684         * conform/data/grp.h-data: Likewise.
53685         * conform/data/iconv.h-data: Likewise.
53686         * conform/data/inttypes.h-data: Likewise.
53687         * conform/data/langinfo.h-data: Likewise.
53688         * conform/data/libgen.h-data: Likewise.
53689         * conform/data/limits.h-data: Likewise.
53690         * conform/data/locale.h-data: Likewise.
53691         * conform/data/math.h-data: Likewise.
53692         * conform/data/monetary.h-data: Likewise.
53693         * conform/data/mqueue.h-data: Likewise.
53694         * conform/data/ndbm.h-data: Likewise.
53695         * conform/data/net/if.h-data: Likewise.
53696         * conform/data/netdb.h-data: Likewise.
53697         * conform/data/netinet/in.h-data: Likewise.
53698         * conform/data/nl_types.h-data: Likewise.
53699         * conform/data/poll.h-data: Likewise.
53700         * conform/data/pthread.h-data: Likewise.
53701         * conform/data/pwd.h-data: Likewise.
53702         * conform/data/regex.h-data: Likewise.
53703         * conform/data/sched.h-data: Likewise.
53704         * conform/data/search.h-data: Likewise.
53705         * conform/data/semaphore.h-data: Likewise.
53706         * conform/data/setjmp.h-data: Likewise.
53707         * conform/data/signal.h-data: Likewise.
53708         * conform/data/spawn.h-data: Likewise.
53709         * conform/data/stdarg.h-data: Likewise.
53710         * conform/data/stdio.h-data: Likewise.
53711         * conform/data/stdlib.h-data: Likewise.
53712         * conform/data/string.h-data: Likewise.
53713         * conform/data/strings.h-data: Likewise.
53714         * conform/data/stropts.h-data: Likewise.
53715         * conform/data/sys/ipc.h-data: Likewise.
53716         * conform/data/sys/mman.h-data: Likewise.
53717         * conform/data/sys/msg.h-data: Likewise.
53718         * conform/data/sys/resource.h-data: Likewise.
53719         * conform/data/sys/select.h-data: Likewise.
53720         * conform/data/sys/sem.h-data: Likewise.
53721         * conform/data/sys/shm.h-data: Likewise.
53722         * conform/data/sys/socket.h-data: Likewise.
53723         * conform/data/sys/stat.h-data: Likewise.
53724         * conform/data/sys/statvfs.h-data: Likewise.
53725         * conform/data/sys/time.h-data: Likewise.
53726         * conform/data/sys/timeb.h-data: Likewise.
53727         * conform/data/sys/times.h-data: Likewise.
53728         * conform/data/sys/types.h-data: Likewise.
53729         * conform/data/sys/uio.h-data: Likewise.
53730         * conform/data/sys/un.h-data: Likewise.
53731         * conform/data/sys/utsname.h-data: Likewise.
53732         * conform/data/sys/wait.h-data: Likewise.
53733         * conform/data/syslog.h-data: Likewise.
53734         * conform/data/tar.h-data: Likewise.
53735         * conform/data/termios.h-data: Likewise.
53736         * conform/data/utime.h-data: Likewise.
53737         * conform/data/utmpx.h-data: Likewise.
53738         * conform/data/varargs.h-data: Likewise.
53739         * conform/data/wchar.h-data: Likewise.
53740         * conform/data/wctype.h-data: Likewise.
53741         * conform/data/wordexp.h-data: Likewise.
53743         * include/stropts.h: New file.
53744         * include/uchar.h: New file.
53745         * include/aio.h: Changes to allow conformtest.pl to use the headers.
53746         * include/assert.h: Likewise.
53747         * include/ctype.h: Likewise.
53748         * include/dirent.h: Likewise.
53749         * include/dlfcn.h: Likewise.
53750         * include/fcntl.h: Likewise.
53751         * include/fnmatch.h: Likewise.
53752         * include/glob.h: Likewise.
53753         * include/grp.h: Likewise.
53754         * include/libio.h: Likewise.
53755         * include/locale.h: Likewise.
53756         * include/math.h: Likewise.
53757         * include/net/if.h: Likewise.
53758         * include/netdb.h: Likewise.
53759         * include/netinet/in.h: Likewise.
53760         * include/pthread.h: Likewise.
53761         * include/pwd.h: Likewise.
53762         * include/regex.h: Likewise.
53763         * include/sched.h: Likewise.
53764         * include/search.h: Likewise.
53765         * include/setjmp.h: Likewise.
53766         * include/signal.h: Likewise.
53767         * include/stdio.h: Likewise.
53768         * include/stdlib.h: Likewise.
53769         * include/string.h: Likewise.
53770         * include/sys/cdefs.h: Likewise.
53771         * include/sys/mman.h: Likewise.
53772         * include/sys/msg.h: Likewise.
53773         * include/sys/resource.h: Likewise.
53774         * include/sys/select.h: Likewise.
53775         * include/sys/socket.h: Likewise.
53776         * include/sys/stat.h: Likewise.
53777         * include/sys/statvfs.h: Likewise.
53778         * include/sys/time.h: Likewise.
53779         * include/sys/times.h: Likewise.
53780         * include/sys/uio.h: Likewise.
53781         * include/sys/utsname.h: Likewise.
53782         * include/sys/wait.h: Likewise.
53783         * include/termios.h: Likewise.
53784         * include/time.h: Likewise.
53785         * include/ulimit.h: Likewise.
53786         * include/unistd.h: Likewise.
53787         * include/utime.h: Likewise.
53788         * include/wchar.h: Likewise.
53789         * include/wctype.h: Likewise.
53790         * include/wordexp.h: Likewise.
53792         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53794         * time/time.h: TIME_UTC must be a macro.
53795         Make timespec_get available for ISO C11 only as well.
53797 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
53799         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53800         Reported by Peng Haitao <penght@cn.fujitsu.com>.
53802 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53804         * configure.in: Use -o not -a in test for unsupported multi-arch.
53806 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53808         * manual/texinfo.tex: Update to version 2012-01-19.16.
53810 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53812         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53814 2012-02-24  Roland McGrath  <roland@hack.frob.com>
53816         [BZ #13738]
53817         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53818         * manual/fdl-1.3.texi: New file.
53819         * manual/fdl-1.1.texi: File removed.
53821         [BZ #13738]
53822         * manual/libc.texinfo (FDL_VERSION): New @set.
53823         Use it for mention of FDL in cover text.
53824         (Documentation License): Use it in @include file name.
53826 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53827             Roland McGrath  <roland@hack.frob.com>
53829         [BZ #5461]
53830         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53831         (not LONG_LONG_MAX and LONG_LONG_MIN.
53832         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53833         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
53834         name.
53835         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53837 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53839         [BZ #2547]
53840         [BZ #11365]
53841         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53842         manipulate bits before adding and subtracting TWO23[sx].
53843         * math/libm-test.inc (nearbyint_test): Add more tests.
53845 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53847         [BZ #2548]
53848         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53849         bits before adding and subtracting TWO23[sx].
53850         * math/libm-test.inc (rint_test): Add more tests.
53851         (rint_test_tonearest): Likewise.
53852         (rint_test_towardzero): Likewise.
53853         (rint_test_downward): Likewise.
53854         (rint_test_upward: Likewise.
53856 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53858         [BZ #10110]
53859         * include/stdc-predef.h: New file.  Extracted from features.h.
53860         * include/features.h: Include stdc-predef.h.
53861         * Makefile (headers): Add stdc-predef.h.
53862         * CONFORMANCE (Compiler limitations): Update.
53864 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53866         * manual/libc.texinfo (VERSION, UPDATED): Revert.
53868 2012-02-21  David S. Miller  <davem@davemloft.net>
53870         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53871         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53873 2012-02-20  David S. Miller  <davem@davemloft.net>
53875         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53876         using a normal save/restore sequence, rather than allocating a
53877         dummy stack frame just to store a frame pointer and restore.
53878         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53880 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53882         * manual/install.texi: Fix stray word in line-wrapped comment.
53884 2012-02-20  David S. Miller  <davem@davemloft.net>
53886         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53887         both binutils and gcc support GOTDATA.
53889         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53890         "rd %pc" in the PIC register setup sequences.
53892         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53893         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53894         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53895         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53896         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53897         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53898         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53899         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53900         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53901         (SYSCALL_ERROR_HANDLER): Likewise.
53902         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53903         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53904         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53905         (SYSCALL_ERROR_HANDLER): Likewise.
53907         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53908         (HAVE_GCC_GOTDATA): New.
53909         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53910         relocation support in both binutils and gcc.
53911         * sysdeps/sparc/elf/configure: Regenerate.
53913         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53914         * sysdeps/sparc/sparc32/elf/configure: Delete.
53915         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53916         * sysdeps/sparc/sparc64/elf/configure: Delete.
53917         * sysdeps/sparc/elf/configure.in: New file.
53918         * sysdeps/sparc/elf/configure: Generate.
53920         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53921         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53922         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53923         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53924         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53926 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53928         * manual/install.texi: Do not mention specific glibc version
53929         numbers.
53930         * manual/libc.texinfo (VERSION, UPDATED): Update.
53931         (@copying): Use @copyright{} and range of years.
53933 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53935         [BZ #13695]
53936         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53937         [crti.S not in sysdirs] (generated): Do not append.
53938         [crti.S not in sysdirs] (omit-deps): Likewise.
53939         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53940         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53941         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53942         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53943         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53944         Likewise.
53945         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53946         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53947         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53948         * csu/defs.awk: Remove file.
53949         * sysdeps/generic/initfini.c: Likewise.
53950         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53951         variable.
53952         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53953         Likewise.
53955 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53957         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53958         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53959         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53960         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53961         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53962         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53963         <bits/epoll.h>.
53964         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53965         (__EPOLL_PACKED): Define to empty if not defined by
53966         <bits/epoll.h>.
53967         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53968         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53969         bits/epoll.h.
53971 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53973         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53974         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53975         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53976         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53977         <bits/timerfd.h>.
53978         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53979         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53980         bits/timerfd.h.
53982 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53984         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53985         in C locale.
53986         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53987         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53988         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53991 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
53993         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53994         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53996 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
53998         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53999         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54000         defined.
54001         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54002         Likewise.
54003         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54004         entry for 2.16.
54006 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54008         * math/w_acos.c: Use non-signaling floating-point comparisons.
54009         * math/w_acosf.c: Likewise.
54010         * math/w_acosh.c: Likewise.
54011         * math/w_acoshf.c: Likewise.
54012         * math/w_acoshl.c: Likewise.
54013         * math/w_acosl.c: Likewise.
54014         * math/w_asin.c: Likewise.
54015         * math/w_asinf.c: Likewise.
54016         * math/w_asinl.c: Likewise.
54017         * math/w_atanh.c: Likewise.
54018         * math/w_atanhf.c: Likewise.
54019         * math/w_atanhl.c: Likewise.
54020         * math/w_exp2.c: Likewise.
54021         * math/w_exp2f.c: Likewise.
54022         * math/w_exp2l.c: Likewise.
54023         * math/w_j0.c: Likewise.
54024         * math/w_j0f.c: Likewise.
54025         * math/w_j0l.c: Likewise.
54026         * math/w_j1.c: Likewise.
54027         * math/w_j1f.c: Likewise.
54028         * math/w_j1l.c: Likewise.
54029         * math/w_jn.c: Likewise.
54030         * math/w_jnf.c: Likewise.
54031         * math/w_log.c: Likewise.
54032         * math/w_log10.c: Likewise.
54033         * math/w_log10f.c: Likewise.
54034         * math/w_log10l.c: Likewise.
54035         * math/w_log2.c: Likewise.
54036         * math/w_log2f.c: Likewise.
54037         * math/w_log2l.c: Likewise.
54038         * math/w_logf.c: Likewise.
54039         * math/w_logl.c: Likewise.
54040         * math/w_sqrt.c: Likewise.
54041         * math/w_sqrtf.c: Likewise.
54042         * math/w_sqrtl.c: Likewise.
54043         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54044         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54045         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54046         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54047         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54049 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54051         [BZ #9739]
54052         * manual/string.texi (strnlen): Use correct parameter name in
54053         equivalent expression.
54055 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54057         [BZ #11174]
54058         * manual/users.texi (seteuid): Consistently use neweuid for
54059         argument name.
54061 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54063         [BZ #13704]
54064         * manual/nss.texi (Services in the NSS configuration): Correct
54065         list of services in example configuration file.
54067 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54069         [BZ #11322]
54070         * manual/arith.texi: Remove statements about negative zero
54071         behaving identically to zero.
54073 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54075         [BZ #5993]
54076         * manual/install.texi: Do not document upgrading from libc5.
54078 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54080         [BZ #4596]
54081         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54083 2012-02-18  David S. Miller  <davem@davemloft.net>
54085         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54086         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54087         %o7 across the call.
54088         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54089         instead.
54090         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54091         SETUP_PIC_REG_LEAF.
54092         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54093         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54094         * sysdeps/sparc/crtn.S: Likewise.
54096 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54098         * aout/Makefile: Remove.
54100 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54102         [BZ #13058]
54103         * manual/examples/argp-ex1.c (main): Format definition in GNU
54104         style.
54105         * manual/examples/argp-ex2.c (main): Likewise.
54106         * manual/examples/argp-ex3.c (main): Likewise.
54107         * manual/examples/argp-ex4.c (main): Likewise.
54108         * manual/examples/longopt.c (main): Use new-style prototype
54109         definition.
54110         * manual/examples/strncat.c (main): Specify return type and use
54111         (void) for arguments.
54112         * manual/examples/subopt.c (main): Use char **argv argument.
54114 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54116         [BZ #5077]
54117         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54118         rounding modes.
54120 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54122         [BZ #6907]
54123         * manual/string.texi (strchr): Change when strchrnul is
54124         recommended.
54126 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54128         [BZ #174]
54129         * manual/locale.texi (setlocale): Document LOCPATH.
54131 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54133         [BZ #10210]
54134         * manual/process.texi (execle): Move @dots{} before last argument.
54136 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54138         [BZ #12047]
54139         * manual/charset.texi (Generic Charset Conversion): Fix typo
54140         (LC_TYPE -> LC_CTYPE).
54142 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54144         [BZ #5805]
54145         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54146         (scalbnf): Likewise.
54147         (scalbnl): Likewise.
54148         (scalbln): Likewise.
54149         (scalblnf): Likewise.
54150         (scalblnl): Likewise.
54151         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54152         (vwarnx): Likewise.
54153         (verr): Likewise.
54154         (verrx): Likewise.
54155         * manual/filesys.texi (telldir): Use braces around return type.
54156         * manual/llio.texi (mmap): Add space after comma.
54157         (mmap64): Likewise.
54158         * manual/math.texi (jn): Use @var{} on parameter names.
54159         (jnf): Likewise.
54160         (jnl): Likewise.
54161         (yn): Likewise.
54162         (ynf): Likewise.
54163         (ynl): Likewise.
54164         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54165         line.
54166         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54167         "...".
54168         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54169         (sched_get_priority_max): Likewise.
54170         * manual/signal.texi (sigvec): Add space after comma.
54171         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54172         names.
54173         (if_indextoname): Likewise.
54174         (if_freenameindex): Likewise.
54175         (sendto): Use ',' instead of '.' in prototype.
54176         * manual/startup.texi (syscall): Use @dots{} instead of literal
54177         "...".
54178         * manual/stdio.texi (__fpending): Separate initial words of
54179         paragraph from @deftypefun line.
54180         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54181         "...".
54182         (vsyslog): Use @var{} on parameter names.
54183         * manual/terminal.texi (stty): Use @var{} on parameter names.
54184         * manual/users.texi (getutmp): Use @var{} on parameter names.
54185         (getutmpx): Likewise.
54187 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54189         [BZ #6884]
54190         * manual/stdio.texi (fopen): Fix typos in description of
54191         ",ccs=STRING".
54193 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54195         [BZ #4026]
54196         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54197         get clock_id definition.
54199 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54201         [BZ #4822]
54202         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54203         (madvise): Cast every argument to void on its own.
54205 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54207         [BZ #9902]
54208         * manual/startup.texi (Exit Status): Fix typo.
54210 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54212         [BZ #10140]
54213         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54214         * manual/examples/argp-ex2.c: Likewise.
54215         * manual/examples/argp-ex3.c: Likewise.
54217 2012-02-16  Richard Henderson  <rth@redhat.com>
54219         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54220         * sysdeps/s390/s390-32/initfini.c: Remove.
54221         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54222         * sysdeps/s390/s390-64/initfini.c: Remove.
54224 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54226         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54227         compiler output for sysdeps/generic/initfini.c.
54228         * sysdeps/sh/elf/initfini.c: Remove file.
54230 2012-02-16  David S. Miller  <davem@davemloft.net>
54232         [BZ #11494]
54233         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54235         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54236         * sysdeps/sparc/crti.S: New file.
54237         * sysdeps/sparc/crtn.S: New file.
54238         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54239         * sysdeps/sparc/sparc64/Makefile: Likewise.
54241 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54243         [BZ #3335]
54244         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54246 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54248         [BZ #4822]
54249         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54251         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54252         (write, read, close): Likewise.
54253         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54255 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54257         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54258         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54259         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54260         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54261         <bits/signalfd.h>.
54262         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54263         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54264         bits/signalfd.h.
54266 2012-02-14  Marek Polacek  <polacek@redhat.com>
54268         * sysdeps/x86_64/crti.S: New file.
54269         * sysdeps/x86_64/crtn.S: New file.
54270         * sysdeps/x86_64/elf/initfini.c: Remove file.
54272 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54274         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54275         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54276         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54277         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54278         <bits/inotify.h>.
54279         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54281         bits/inotify.h.
54283 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54285         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54286         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54287         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54288         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54289         <bits/eventfd.h>.
54290         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54291         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54292         bits/eventfd.h.
54294 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54296         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54297         __feraiseexcept instead of feraiseexcept.
54299         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54300         nanosleep invocations.
54301         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54302         strings, and add error checking for a nanosleep invocations.
54304 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54306         Replace FSF snail mail address with URLs, as per GNU coding standards.
54307         Most of the snail mail addresses were wrong anyway, and omitting
54308         them makes the source code easier to maintain.  Almost all of the
54309         changes are to license notices and to locale LC_IDENTIFICATION
54310         addresses, except for this one:
54311         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54312         not its snail mail address.
54314 2012-02-09  Richard Henderson  <rth@twiddle.net>
54316         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54317         of kernel-features.h.
54319         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54321 2012-02-08  Marek Polacek  <polacek@redhat.com>
54323         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54324         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54325         * sysdeps/gnu/_G_config.h: Likewise.
54326         * sysdeps/generic/_G_config.h: Likewise.
54328 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54330         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54331         tests.
54332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54334         * sysdeps/powerpc/powerpc32/crti.S: New file.
54335         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54336         * sysdeps/powerpc/powerpc64/crti.S: New file.
54337         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54339         * Makeconfig (have-initfini): Don't set.
54340         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54341         * configure.in (nopic_initfini): Don't substitute.
54342         * config.h.in (HAVE_INITFINI): Don't #undef.
54343         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54344         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54346 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54348         Support crti.S and crtn.S provided directly by architectures.
54349         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54350         [crti.S in sysdirs] (omit-deps): Likewise.
54351         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54352         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54353         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54354         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54355         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54356         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54357         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54358         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54359         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54360         compiler output for sysdeps/generic/initfini.c.
54361         * sysdeps/i386/elf/Makefile: Remove file.
54362         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54364 2012-02-07  Marek Polacek  <polacek@redhat.com>
54366         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54367         * sysdeps/gnu/_G_config.h: Likewise.
54368         * sysdeps/mach/hurd/_G_config.h: Likewise.
54370 2012-02-07  Marek Polacek  <polacek@redhat.com>
54372         * math/Makefile (tests): Add tst-CMPLX2.
54373         * math/tst-CMPLX2.c: New file.
54375 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54377         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54379         * math/libm-test.inc (jn_test): Add missing L suffix.
54381 2012-02-06  Marek Polacek  <polacek@redhat.com>
54383         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54384         * sysdeps/i386/fpu/e_powf.S: Likewise.
54385         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54386         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54387         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54388         * sysdeps/i386/fpu/e_pow.S: Likewise.
54389         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54390         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54391         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54392         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54393         * sysdeps/i386/fpu/e_log2.S: Likewise.
54394         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54395         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54396         * sysdeps/i386/fpu/e_powl.S: Likewise.
54397         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54398         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54399         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54400         * sysdeps/i386/fpu/e_logl.S: Likewise.
54401         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54402         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54403         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54404         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54405         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54406         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54407         * sysdeps/i386/fpu/e_log.S: Likewise.
54408         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54409         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54410         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54411         * sysdeps/i386/fpu/e_logf.S: Likewise.
54412         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54413         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54414         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54415         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54416         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54417         * sysdeps/i386/fpu/e_log10.S: Likewise.
54418         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54419         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54420         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54421         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54422         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54423         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54424         * sysdeps/i386/asm-syntax.h: Likewise.
54425         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54426         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54427         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54428         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54429         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54430         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54431         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54432         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54433         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54434         * sysdeps/powerpc/sysdep.h: Likewise.
54435         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54436         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54438 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54440         [BZ #411]
54441         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54443 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54445         * sysdeps/i386/sysdep.h: Include <features.h>.
54446         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54447         version.
54449 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54451         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54452         Define.
54453         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54454         LOAD_PIC_REG_STR.
54456 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54458         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54459         (SETUP_PIC_REG): Use GET_PC_THUNK.
54460         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54461         macro.
54463 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54465         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54466         for non-PIC compilation.
54467         (SETUP_PIC_REG): Add .p2align directive.
54468         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54469         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54470         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54471         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54472         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54473         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54474         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54475         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54476         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54477         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54478         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54479         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54480         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54481         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54482         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54483         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54484         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54485         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54486         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54487         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54488         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54489         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54490         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54491         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54492         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54493         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54494         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54495         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54496         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54497         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54498         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54499         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54500         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54501         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54502         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54503         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54504         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54505         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54506         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54507         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54508         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54510 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54512         * math/tst-CMPLX.c: Include <stdio.h>.
54514 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
54516         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54517         float.
54518         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54519         * sysdeps/sparc/bits/mathdef.h: Likewise.
54521 2012-01-31  Marek Polacek  <polacek@redhat.com>
54523         * libio/libio.h: Don't define _PARAMS.
54524         * locale/programs/config.h: Don't define PARAMS.
54525         * stdlib/strtol_l.c: Likewise.
54526         (__strtol_l): Remove PARAMS from the prototype.
54528 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
54530         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
54531         names.  Just use the correct names.  Remove unnecessary wrapper
54532         functions.
54533         * malloc/arena.c: Likewise.
54534         * malloc/hooks.c: Likewise.
54536         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54537         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54538         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54540 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54542         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54543         into tail calls.
54544         (update_get_addr): New function.
54545         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54546         GET_ADDR_MODULE parameter.
54548 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54550         * crypt/cert.c: Remove __STDC__ conditionals.
54551         * crypt/crypt-entry.c: Likewise.
54552         * crypt/crypt_util.c: Likewise.
54553         * libio/filedoalloc.c: Likewise.
54554         * libio/fileops.c: Likewise.
54555         * libio/genops.c: Likewise.
54556         * libio/iofclose.c: Likewise.
54557         * libio/iofdopen.c: Likewise.
54558         * libio/iofopen.c: Likewise.
54559         * libio/iofopen64.c: Likewise.
54560         * libio/iogetdelim.c: Likewise.
54561         * libio/iopopen.c: Likewise.
54562         * libio/obprintf.c: Likewise.
54563         * libio/oldfileops.c: Likewise.
54564         * libio/oldiofclose.c: Likewise.
54565         * libio/oldiofdopen.c: Likewise.
54566         * libio/oldiofopen.c: Likewise.
54567         * libio/oldiopopen.c: Likewise.
54568         * libio/wfiledoalloc.c: Likewise.
54569         * libio/wgenops.c: Likewise.
54570         * locale/programs/xmalloc.c: Likewise.
54571         * misc/syslog.c: Likewise.
54572         * stdio-common/xbug.c: Likewise.
54573         * string/memchr.c: Likewise.
54574         * string/memcmp.c: Likewise.
54575         * string/memrchr.c: Likewise.
54576         * string/rawmemchr.c: Likewise.
54577         * sysdeps/posix/getcwd.c: Likewise.
54578         * time/strftime_l.c: Likewise.
54580 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54582         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54583         * config.make.in (config-cflags-sse2avx): Define.
54584         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54585         Fix typo.
54587 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54589         * scripts/config.guess: Update from upstream config git repository.
54590         * scripts/config.sub: Likewise.
54592 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54594         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54595         (EM_NUM): Update.
54596         (R_TILEPRO_*, R_TILEGX_*): New macros.
54598         * scripts/firstversions.awk: Fix bug in version range handling.
54600         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54602         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54604         * include/sys/epoll.h: New file.
54605         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54606         libc_hidden_def.
54608 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54610         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54611         Avoid unnecessary __WORDSIZE == 64 test.
54612         (fmaxf): Use VEX format if possible.
54613         (fmax): Likewise.
54614         (fminf): Likewise.
54615         (fmin): Likewise.
54617         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54618         * math/math_private.h: Remove libc_fegetround* and
54619         libc_fesetround*.
54620         * sysdeps/i386/configure.in: Check for -msse2avx.
54621         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54622         also if SSE2AVX is defined.
54623         Remove libc_fegetround* and libc_fesetround*.
54624         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54625         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54626         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54627         of HAS_YMM_USABLE.
54628         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54629         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54630         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54631         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54632         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54634         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54636 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54638         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54639         size is not set.
54640         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54642 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54644         [BZ #13618]
54645         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54646         relocation.
54647         * Makeconfig (libm): Define.
54648         * elf/Makefile: Add rules to build and run tst-relsort1.
54649         * elf/tst-relsort1.c: New file.
54650         * elf/tst-relsort1mod1.c: New file.
54651         * elf/tst-relsort1mod2.c: New file.
54653 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54655         * math/s_ldexp.c: Remove __STDC__ conditionals.
54656         * math/s_ldexpf.c: Likewise.
54657         * math/s_ldexpl.c: Likewise.
54658         * math/s_nextafter.c: Likewise.
54659         * math/s_nexttowardf.c: Likewise.
54660         * math/s_significand.c: Likewise.
54661         * math/s_significandf.c: Likewise.
54662         * math/s_significandl.c: Likewise.
54663         * math/w_jnl.c: Likewise.
54664         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54665         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54666         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54667         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54668         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54669         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54670         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54671         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54672         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54673         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54674         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54675         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54676         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54677         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54678         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54679         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54680         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54681         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54682         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54683         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54684         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54685         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54686         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54687         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54688         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54689         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54690         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54691         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54692         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54693         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54694         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54695         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54696         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54697         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54698         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54699         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54700         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54701         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54702         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54703         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54704         * sysdeps/ieee754/k_standard.c: Likewise.
54705         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54706         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54707         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54708         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54709         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54710         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54711         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54712         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54713         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54714         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54715         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54716         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54717         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54718         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54719         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54720         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54721         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54722         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54723         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54724         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54725         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54726         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54727         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54728         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54729         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54730         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54731         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54732         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54733         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54734         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54735         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54736         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54737         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54738         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54739         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54740         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54741         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54742         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54743         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54744         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54745         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54746         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54747         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54748         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54749         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54750         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54751         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54752         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54753         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54754         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54755         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54756         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54757         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54758         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54759         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54760         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54761         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54762         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54763         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54764         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54765         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54766         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54767         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54768         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54769         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54770         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54771         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54772         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54773         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54774         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54775         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54776         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54777         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54778         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54779         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54780         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54781         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54782         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54783         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54784         * sysdeps/ieee754/s_matherr.c: Likewise.
54785         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54786         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54787         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54788         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54790 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54792         * crypt/md5.h: Remove __STDC__ conditionals.
54793         * libio/libioP.h: Likewise.
54794         * locale/programs/config.h: Likewise.
54795         * sysdeps/generic/sysdep.h: Likewise.
54796         * sysdeps/i386/asm-syntax.h: Likewise.
54797         * sysdeps/s390/asm-syntax.h: Likewise.
54798         * sysdeps/unix/sysdep.h: Likewise.
54799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54802 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54804         * libio/libio.h: Remove __STDC__ conditionals.
54805         * malloc/obstack.h: Likewise.
54806         * math/complex.h: Likewise.
54807         * math/math.h: Likewise.
54808         * sysdeps/generic/_G_config.h: Likewise.
54809         * sysdeps/gnu/_G_config.h: Likewise.
54810         * sysdeps/mach/hurd/_G_config.h: Likewise.
54811         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54812         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54813         * sysdeps/sparc/bits/mathdef.h: Likewise.
54815 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
54817         [BZ #13583]
54818         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54819         Clean up HAS_* macros.
54820         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54821         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54822         possible.
54823         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54824         HAS_AVX.
54825         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54826         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54827         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54828         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54829         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54831 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
54833         * elf/tst-unique3.cc (gets): Remove declaration.
54834         * elf/tst-unique3lib.cc (gets): Likewise.
54835         * elf/tst-unique3lib2.cc (gets): Likewise.
54836         * elf/tst-unique4.cc (gets): Likewise.
54838 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
54840         * include/stdio.h: Add C++ protection.  Add gets declarations and
54841         definitions.
54842         * debug/tst-chk1.c: Don't declare gets here.
54843         * stdio-common/tst-gets.c: Likewise.
54845 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54847         * posix/glob: Remove directory.
54849 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54851         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54853 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
54855         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54856         of the non-standard EPFNOSUPPORT.
54858 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54860         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54861         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54862         ANYWHERE set to 1 only on KERN_NO_SPACE error.
54864 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
54866         * wcsmbs/uchar.h: Test __STDC_VERSION__.
54868 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
54870         * nscd/aicache.c (addhstaiX): Do not cache negative results of
54871         transient errors.
54872         * nscd/grpcache.c (cache_addgr): Likewise.
54873         * nscd/hstcache.c (cache_addhst): Likewise.
54874         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54875         * nscd/pwdcache.c (cache_addpw): Likewise.
54876         * nscd/servicescache.c (cache_addserv): Likewise.
54878 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
54880         * malloc/malloc.c: Various cleanups.
54881         * malloc/hooks.c: Likewise.
54883         * stdlib/Makefile (tests): Add bug-fmtmsg1.
54884         * stdlib/bug-fmtmsg1.c: New file.
54886         * stdlib/fmtmsg.c (init): Add missing unlock.
54887         Patch by Peng Haitao <penght@cn.fujitsu.com>.
54889 2012-01-12  Marek Polacek  <polacek@redhat.com>
54891         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54892         and _GNU_SOURCE.
54894 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54896         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54897         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54898         macro to ensure uniqueness of label name.
54899         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54900         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54902 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
54904         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54906         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54907         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54908         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54909         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54911 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
54913         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54915         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54916         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54917         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54919         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54921         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54922         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54923         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54924         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54926         * math/bits/math-finite.h: Add ldexp support.
54928 2012-01-10  Marek Polacek  <polacek@redhat.com>
54930         * locale/programs/localedef.h (show_archive_content): Add noreturn
54931         attribute.
54933 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
54935         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54937 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54939         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54941         * io/Makefile (headers): Add bits/poll2.h.
54943 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
54945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54946         typo #include statement.
54948 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54950         * include/sys/cdefs.h: Define __attribute_alloc_size.
54951         * catgets/gencat.c: Add alloc_size attribute and apply consistently
54952         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54953         * elf/pldd.c: Likewise.
54954         * iconv/iconv_charmap.c: Likewise.
54955         * iconv/iconvconfig.c: Likewise.
54956         * iconv/strtab.c: Likewise.
54957         * locale/programs/locale.c: Likewise.
54958         * locale/programs/localedef.h: Likewise.
54959         * locale/programs/simple-hash.c: Likewise.
54960         * nscd/nscd.h: Likewise.
54961         * nss/makedb.c: Likewise.
54962         * sysdeps/generic/ldconfig.h: Likewise.
54963         * locale/programs/localedef.c: Remove xmalloc prototype.
54964         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54966 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54968         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54969         appropriate.
54971 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54973         * math/Makefile (tests): Add tst-CMPLX.
54974         * math/tst-CMPLX.c: New file.
54976         * math/complex.h (CMPLXL): Fix typo.
54978         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54979         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54980         GLIBC_2.16.
54981         * debug/tst-chk1.c: Add poll and ppoll tests.
54982         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54983         * include/sys/poll.h: Add hidden proto for ppoll.
54984         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54985         * sysdeps/mach/hurd/ppoll.c: Likewise.
54986         * io/ppoll.c: Likewise.
54987         * debug/poll_chk.c: New file.
54988         * debug/ppoll_chk.c: New file.
54989         * include/bits/poll2.h: New file.
54990         * io/bits/poll2.h: New file.
54992         [BZ #1350]
54993         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54995         * configure.in: static is always set to yes.  Remove.
54996         * config.make.in: Don't set build-static.
54997         * Makeconfig: Remove use of build-static.
54998         * dlfcn/Makefile: Likewise.
54999         * elf/Makefile: Likewise.
55000         * math/Makefile: Likewise.
55001         * misc/Makefile: Likewise.
55002         * nptl/Makefile: Likewise.
55003         * sysdeps/mach/hurd/Makefile: Likewise.
55005         * configure.in: PWD_P is not used anymore.
55006         * config.make.in: Remove PWD_P entry.
55008         * configure.in: Remove last remnants of RANLIB.
55009         No need to check for signed size_t anymore.
55010         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55011         and IA-64.
55012         Remove __builtin_expect test because we require at least gcc 3.4.
55013         * aclocal.m4: Likewise.
55015         * wcsmbs/mbrtoc16.c: Implement using towc function.
55016         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55017         * wcsmbs/wcsmbsload.c: Likewise.
55018         * iconv/gconv_simple.c: Likewise.
55019         * iconv/gconv_int.h: Likewise.
55020         * iconv/gconv_builtin.h: Likewise.
55021         * iconv/iconv_prog.c: Remove CHAR16 handling.
55023         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55025         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55027         * configure.in: Remove --with-elf and --enable-bounded options.
55028         Dont set base_machine for ia64.  More non-ELF conditions removed.
55029         Remove testing and setting of leading underscore information.
55030         * config.make.in (build-bounded): Set to no.
55031         * config.h.in: Remove NO_UNDERSCORES entry.
55032         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55033         them.
55034         * csu/start.c: Remove !NO_UNDERSCORE code.
55035         * locale/localeinfo.h: Likewise.
55036         * sysdeps/generic/machine-gmon.h: Likewise.
55037         * sysdeps/generic/sysdep.h: Likewise.
55038         * sysdeps/i386/sysdep.h: Likewise.
55039         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55040         * sysdeps/mach/sysdep.h: Likewise.
55041         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55042         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55043         * sysdeps/sh/sysdep.h: Likewise.
55044         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55045         * sysdeps/unix/i386/sysdep.S: Likewise.
55046         * sysdeps/unix/sparc/start.c: Likewise.
55047         * sysdeps/unix/sparc/sysdep.S: Likewise.
55048         * sysdeps/unix/sparc/sysdep.h: Likewise.
55049         * sysdeps/unix/start.c: Likewise.
55050         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55051         * sysdeps/x86_64/sysdep.h: Likewise.
55053 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55055         [BZ #13553]
55056         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55057         for non-gcc.
55058         * argp/argp-fmtstream.h: Use const instead __const.
55059         * argp/argp.h: Likewise.
55060         * assert/assert.h: Likewise.
55061         * bits/fenv.h: Likewise.
55062         * bits/sched.h: Likewise.
55063         * bits/sigset.h: Likewise.
55064         * bits/sigthread.h: Likewise.
55065         * catgets/nl_types.h: Likewise.
55066         * conform/data/pthread.h-data: Likewise.
55067         * crypt/crypt-private.h: Likewise.
55068         * crypt/crypt.h: Likewise.
55069         * crypt/crypt_util.c: Likewise.
55070         * ctype/ctype.h: Likewise.
55071         * debug/execinfo.h: Likewise.
55072         * debug/mbsnrtowcs_chk.c: Likewise.
55073         * debug/mbsrtowcs_chk.c: Likewise.
55074         * debug/wcsnrtombs_chk.c: Likewise.
55075         * debug/wcsrtombs_chk.c: Likewise.
55076         * debug/wcstombs_chk.c: Likewise.
55077         * dirent/dirent.h: Likewise.
55078         * dlfcn/dlfcn.h: Likewise.
55079         * elf/neededtest4.c: Likewise.
55080         * grp/grp.h: Likewise.
55081         * gshadow/gshadow.h: Likewise.
55082         * iconv/gconv.h: Likewise.
55083         * iconv/gconv_int.h: Likewise.
55084         * iconv/gconv_simple.c: Likewise.
55085         * iconv/iconv.h: Likewise.
55086         * iconv/loop.c: Likewise.
55087         * iconv/skeleton.c: Likewise.
55088         * include/aio.h: Likewise.
55089         * include/aliases.h: Likewise.
55090         * include/argz.h: Likewise.
55091         * include/arpa/inet.h: Likewise.
55092         * include/assert.h: Likewise.
55093         * include/dirent.h: Likewise.
55094         * include/dlfcn.h: Likewise.
55095         * include/execinfo.h: Likewise.
55096         * include/fcntl.h: Likewise.
55097         * include/fenv.h: Likewise.
55098         * include/glob.h: Likewise.
55099         * include/grp.h: Likewise.
55100         * include/libintl.h: Likewise.
55101         * include/mntent.h: Likewise.
55102         * include/netdb.h: Likewise.
55103         * include/pwd.h: Likewise.
55104         * include/rpc/netdb.h: Likewise.
55105         * include/sched.h: Likewise.
55106         * include/search.h: Likewise.
55107         * include/shadow.h: Likewise.
55108         * include/signal.h: Likewise.
55109         * include/stdio.h: Likewise.
55110         * include/stdlib.h: Likewise.
55111         * include/string.h: Likewise.
55112         * include/sys/socket.h: Likewise.
55113         * include/sys/stat.h: Likewise.
55114         * include/sys/statfs.h: Likewise.
55115         * include/sys/statvfs.h: Likewise.
55116         * include/sys/syslog.h: Likewise.
55117         * include/sys/time.h: Likewise.
55118         * include/sys/uio.h: Likewise.
55119         * include/time.h: Likewise.
55120         * include/unistd.h: Likewise.
55121         * include/utmp.h: Likewise.
55122         * include/wchar.h: Likewise.
55123         * include/wctype.h: Likewise.
55124         * inet/aliases.h: Likewise.
55125         * inet/arpa/inet.h: Likewise.
55126         * inet/netinet/ether.h: Likewise.
55127         * inet/netinet/in.h: Likewise.
55128         * intl/libintl.h: Likewise.
55129         * io/bits/fcntl2.h: Likewise.
55130         * io/fcntl.h: Likewise.
55131         * io/ftw.h: Likewise.
55132         * io/sys/poll.h: Likewise.
55133         * io/sys/stat.h: Likewise.
55134         * io/sys/statfs.h: Likewise.
55135         * io/sys/statvfs.h: Likewise.
55136         * io/utime.h: Likewise.
55137         * libio/bits/stdio.h: Likewise.
55138         * libio/bits/stdio2.h: Likewise.
55139         * libio/libio.h: Likewise.
55140         * libio/libioP.h: Likewise.
55141         * libio/stdio.h: Likewise.
55142         * locale/lc-ctype.c: Likewise.
55143         * locale/locale.h: Likewise.
55144         * login/utmp.h: Likewise.
55145         * malloc/arena.c: Likewise.
55146         * malloc/malloc.c: Likewise.
55147         * malloc/malloc.h: Likewise.
55148         * malloc/mcheck.c: Likewise.
55149         * malloc/mtrace.c: Likewise.
55150         * math/bits/mathcalls.h: Likewise.
55151         * math/fenv.h: Likewise.
55152         * math/math_private.h: Likewise.
55153         * misc/bits/error.h: Likewise.
55154         * misc/bits/syslog.h: Likewise.
55155         * misc/err.h: Likewise.
55156         * misc/error.h: Likewise.
55157         * misc/fstab.h: Likewise.
55158         * misc/mntent.h: Likewise.
55159         * misc/regexp.h: Likewise.
55160         * misc/search.h: Likewise.
55161         * misc/sgtty.h: Likewise.
55162         * misc/sys/mman.h: Likewise.
55163         * misc/sys/syslog.h: Likewise.
55164         * misc/sys/uio.h: Likewise.
55165         * misc/sys/xattr.h: Likewise.
55166         * misc/ttyent.h: Likewise.
55167         * nis/rpcsvc/ypclnt.h: Likewise.
55168         * nss/nss.h: Likewise.
55169         * posix/bits/unistd.h: Likewise.
55170         * posix/fnmatch.h: Likewise.
55171         * posix/glob.h: Likewise.
55172         * posix/sched.h: Likewise.
55173         * posix/spawn.h: Likewise.
55174         * posix/sys/wait.h: Likewise.
55175         * posix/unistd.h: Likewise.
55176         * posix/wordexp.h: Likewise.
55177         * pwd/pwd.h: Likewise.
55178         * resolv/netdb.h: Likewise.
55179         * resource/sys/resource.h: Likewise.
55180         * rt/aio.h: Likewise.
55181         * rt/bits/mqueue2.h: Likewise.
55182         * rt/mqueue.h: Likewise.
55183         * shadow/shadow.h: Likewise.
55184         * signal/signal.h: Likewise.
55185         * socket/send.c: Likewise.
55186         * socket/sendto.c: Likewise.
55187         * socket/sys/socket.h: Likewise.
55188         * stdio-common/printf.h: Likewise.
55189         * stdlib/bits/stdlib.h: Likewise.
55190         * stdlib/fmtmsg.h: Likewise.
55191         * stdlib/monetary.h: Likewise.
55192         * stdlib/stdlib.h: Likewise.
55193         * stdlib/ucontext.h: Likewise.
55194         * streams/stropts.h: Likewise.
55195         * string/argz.h: Likewise.
55196         * string/bits/string2.h: Likewise.
55197         * string/string.h: Likewise.
55198         * string/strings.h: Likewise.
55199         * sunrpc/rpc/auth.h: Likewise.
55200         * sunrpc/rpc/auth_des.h: Likewise.
55201         * sunrpc/rpc/clnt.h: Likewise.
55202         * sunrpc/rpc/netdb.h: Likewise.
55203         * sunrpc/rpc/pmap_clnt.h: Likewise.
55204         * sunrpc/rpc/xdr.h: Likewise.
55205         * sysdeps/generic/inttypes.h: Likewise.
55206         * sysdeps/generic/net/if.h: Likewise.
55207         * sysdeps/generic/sys/swap.h: Likewise.
55208         * sysdeps/gnu/net/if.h: Likewise.
55209         * sysdeps/gnu/utmpx.h: Likewise.
55210         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55211         * sysdeps/i386/i486/bits/string.h: Likewise.
55212         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55213         * sysdeps/s390/bits/string.h: Likewise.
55214         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55215         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55216         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55217         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55218         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55219         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55220         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55221         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55222         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55223         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55224         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55225         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55226         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55227         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55228         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55229         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55230         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55231         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55232         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55233         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55234         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55235         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55236         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55237         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55238         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55239         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55240         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55241         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55242         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55243         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55244         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55245         * sysvipc/sys/ipc.h: Likewise.
55246         * sysvipc/sys/msg.h: Likewise.
55247         * sysvipc/sys/sem.h: Likewise.
55248         * sysvipc/sys/shm.h: Likewise.
55249         * termios/termios.h: Likewise.
55250         * time/sys/time.h: Likewise.
55251         * time/time.h: Likewise.
55252         * wcsmbs/bits/wchar2.h: Likewise.
55253         * wcsmbs/uchar.h: Likewise.
55254         * wcsmbs/wchar.h: Likewise.
55255         * wctype/wctype.h: Likewise.
55257         [BZ #13551]
55258         * Makeconfig: Remove all but ELF support including AIX support.
55259         * Makerules: Likewise.
55260         * config.h.in: Likewise.
55261         * config.make.in: Likewise.
55262         * configure: Likewise.
55263         * configure.in: Likewise.
55264         * csu/Makefile: Likewise.
55265         * csu/version.c: Likewise.
55266         * debug/Makefile: Likewise.
55267         * dlfcn/Makefile: Likewise.
55268         * elf/Makefile: Likewise.
55269         * extra-lib.mk: Likewise.
55270         * iconv/Makefile: Likewise.
55271         * include/libc-symbols.h: Likewise.
55272         * include/shlib-compat.h: Likewise.
55273         * resolv/Makefile: Likewise.
55274         * resolv/res_libc.c: Likewise.
55275         * rt/Makefile: Likewise.
55276         * sysdeps/i386/asm-syntax.h: Likewise.
55277         * sysdeps/i386/sysdep.h: Likewise.
55278         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55279         * sysdeps/mach/sysdep.h: Likewise.
55280         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55281         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55282         * sysdeps/s390/asm-syntax.h: Likewise.
55283         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55284         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55285         * sysdeps/sh/sysdep.h: Likewise.
55286         * sysdeps/unix/sparc/sysdep.h: Likewise.
55287         * sysdeps/wordsize-32/divdi3.c: Likewise.
55288         * sysdeps/x86_64/sysdep.h: Likewise.
55290         * argp/Versions: Remove _argp_unlock_xxx.
55292         [BZ #13559]
55293         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55294         * abilist/libBrokenLocale.abilist: Likewise.
55295         * abilist/libanl.abilist: Likewise.
55296         * abilist/libc.abilist: Likewise.
55297         * abilist/libcrypt.abilist: Likewise.
55298         * abilist/libdl.abilist: Likewise.
55299         * abilist/libm.abilist: Likewise.
55300         * abilist/libnsl.abilist: Likewise.
55301         * abilist/libpthread.abilist: Likewise.
55302         * abilist/libresolv.abilist: Likewise.
55303         * abilist/librt.abilist: Likewise.
55304         * abilist/libthread_db.abilist: Likewise.
55305         * abilist/libutil.abilist: Likewise.
55306         * abilist/libnss_db.abilist: New file.
55308         * scripts/abilist.awk: Add support for indirect functions.
55310         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55312         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55314         * shlib-versions: Remove entries for ports architectures.
55316         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55317         files in ports.
55318         * elf/stackguard-macros.h: Remove support for IA-64.
55319         * elf/tst-auditmod1.c: Likewise.
55320         * sysdeps/generic/ldsodefs.h: Likewise.
55322         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55323         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55324         configure files.
55326         [BZ #13552]
55327         * configure.in: Remove --enable-omitfp support.
55328         * FAQ.in: Adjust.
55329         * config.make.in: Likewise.
55330         * Makeconfig: Likewise.
55331         * manual/install.texi: Likewise.
55333         In case anyone cares, the IA-64 architecture could move to ports.
55334         * sysdeps/ia64/*: Removed.
55335         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55336         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55338         [BZ #13555]
55339         * configure.in: Remove entries for unsupported architectures.
55341         [BZ #13533]
55342         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55343         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55344         routines.
55345         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55346         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55347         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55348         fall back to using wcrtomb.
55349         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55350         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55351         renaming.
55352         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55353         * wcsmbs/tst-c16c32-1.c: New file.
55355         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55356         local variable.
55358         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55360         * elf/tst-unique3.cc: Add explicit declaration of gets.
55361         * elf/tst-unique3lib.cc: Likewise.
55362         * elf/tst-unique3lib2.cc: Likewise.
55363         * elf/tst-unique4.cc: Likewise.
55365         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55367 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55369         [BZ #13566]
55370         * assert/assert.h (static_assert): Don't define for C++.
55371         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55372         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55374 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55376         * iconv/loop.c (single loop): Fix assertion in storing of
55377         remaining bytes.
55379         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55381 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55383         * posix/getconf.c: Update copyright year.
55384         * nss/getent.c: Likewise.
55385         * nss/makedb.c: Likewise.
55386         * iconv/iconvconfig.c: Likewise.
55387         * iconv/iconv_prog.c: Likewise.
55388         * elf/ldconfig.c: Likewise.
55389         * elf/pldd.c: Likewise.
55390         * elf/sotruss.ksh: Likewise.
55391         * catgets/gencat.c: Likewise.
55392         * csu/version.c: Likewise.
55393         * elf/ldd.bash.in: Likewise.
55394         * elf/sprof.c (print_version): Likewise.
55395         * locale/programs/locale.c: Likewise.
55396         * locale/programs/localedef.c: Likewise.
55397         * login/programs/pt_chown.c: Likewise.
55398         * nscd/nscd.c (print_version): Likewise.
55399         * debug/xtrace.sh: Likewise.
55400         * malloc/memusage.sh: Likewise.
55401         * malloc/mtrace.pl: Likewise.
55402         * debug/catchsegv.sh: Likewise.
55404 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55406         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55407         pure attribute.
55409 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55411         [BZ #13533]
55412         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55413         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55414         transformations.
55415         * iconv/gconv_int.h: Likewise.
55416         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55417         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55418         from libc for GLIBC_2.16.
55419         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55420         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55421         * wcsmbs/uchar.h: Really define mbstate_t.
55422         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55423         * wcsmbs/c16rtomb.c: New file.
55424         * wcsmbs/mbrtoc16.c: New file.
55425         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55426         for C/POSIX locale.
55427         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55428         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55430         * wcsmbs/wchar.h: Add missing __restrict.
55432 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55434         [BZ #13532]
55435         * time/Makefile (routines): Add timespec_get.
55436         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55437         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55438         timespec for ISO C11.
55439         * time/timespec_get.c: New file.
55440         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55441         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55443         [BZ #13531]
55444         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55445         * stdlib/stdlib.h: Declare aligned_alloc.
55446         * Versions.def: Add GLIBC_2.16 for libc.
55447         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55449         [BZ 13527]
55450         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55451         ISO C11.
55453         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55454         code.
55456         [BZ #13528]
55457         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55459         [BZ #13529]
55460         * assert/assert.h (static_assert): Define.
55462         * version.h: Update for 2.16 development version.
55464         [BZ #13526]
55465         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55466         _ISOC11_SOURCE.
55468         * version.h (RELEASE): Bump for 2.15 release.
55469         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55471         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55472         Patch by Marek Polacek <mpolacek@redhat.com>.
55474         * bits/byteswap.h: Protect long long constants with __extension__.
55475         * sysdeps/i386/bits/byteswap.h: Likewise.
55476         * sysdeps/ia64/bits/byteswap.h: Likewise.
55477         * sysdeps/s390/bits/byteswap.h: Likewise.
55478         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55480 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55482         [BZ #13540]
55483         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55484         destination buffer.
55485         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55487 2011-12-23  Marek Polacek  <polacek@redhat.com>
55489         * elf/dl-addr.c (determine_info): Add inline keyword.
55490         * elf/tst-auditmod4b.c (check_avx): Likewise.
55491         * elf/tst-auditmod6b.c (check_avx): Likewise.
55492         * elf/tst-auditmod6c.c (check_avx): Likewise.
55493         * elf/tst-auditmod7b.c (check_avx): Likewise.
55495 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55497         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55498         !__SSE_MATH__.
55500 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55502         [BZ #13540]
55503         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55504         processing for last bytes.
55506 2011-08-06  Bruno Haible  <bruno@clisp.org>
55508         [BZ #13061]
55509         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55510         U+0385, not to U+1FEE.
55512         [BZ #13062]
55513         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55514         entry for U+00A5 U+0301.
55516 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55518         [BZ #13166]
55519         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55520         buffer for the output is too small.
55522         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55523         optimization.
55525         [BZ #13185]
55526         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55527         SSE flags if possible.
55529 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55531         [BZ #13540]
55532         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55533         processing for last bytes.
55535 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55537         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55538         (syscall-list-default-options, syscall-list-default-condition)
55539         (syscall-list-includes): Define.
55540         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55541         list of ABIs and options and #if conditions for each ABI.  Do not
55542         handle common syscalls between ABIs specially.
55543         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55544         Remove.
55545         (syscall-list-variants, syscall-list-32bit-options)
55546         (syscall-list-32bit-condition, syscall-list-64bit-options)
55547         (syscall-list-64bit-condition): Define.
55548         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55549         (syscall-list-variants, syscall-list-32bit-options)
55550         (syscall-list-32bit-condition, syscall-list-64bit-options)
55551         (syscall-list-64bit-condition): Define.
55552         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55553         Remove.
55554         (syscall-list-variants, syscall-list-32bit-options)
55555         (syscall-list-32bit-condition, syscall-list-64bit-options)
55556         (syscall-list-64bit-condition): Define.
55557         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55558         Remove.
55559         (syscall-list-variants, syscall-list-32bit-options)
55560         (syscall-list-32bit-condition, syscall-list-64bit-options)
55561         (syscall-list-64bit-condition): Define.
55563 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55565         * locale/iso-639.def: Add brx entry.
55567         [BZ #13328]
55568         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55569         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55571         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55572         __feraiseexcept_renamed.
55574 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55576         [BZ #13538]
55577         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55578         EPOLLET with unsigned values.
55579         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55580         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55582         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55583         to large cancellation.
55584         * math/s_cacoshf.c: Likewise.
55585         * math/s_cacoshl.c: Likewise.
55587 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55589         [BZ #13305]
55590         [BZ #12786]
55591         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55592         * math/s_cacoshf.c: Likewise.
55593         * math/s_cacoshl.c: Likewise.
55595 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55597         [BZ #13439]
55598         * iconv/gconv.h: Define __GCONV_SWAP.
55599         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55600         * iconvdata/utf-16.c: Likewise.
55601         * iconvdata/utf-32.c: Likewise.
55603 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55605         [BZ #13524]
55606         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55607         numerator after shifting it by one limb.
55609 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55611         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55612         under [__USE_EXTERN_INLINES].
55614 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55616         [BZ #13446]
55617         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55619 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55621         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55622         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55623         optimized code.
55624         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55625         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55626         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55627         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55628         for strncasecmp/strncasecmp_l compilation.
55629         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55630         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55632 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55634         [BZ #13484]
55635         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55636         of __asm__.
55638 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55640         [BZ #13506]
55641         * time/tzfile.c (__tzfile_read): Check values from file header.
55643 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55645         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55646         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55647         * powerpc/powerpc32/dl-start.S: Likewise.
55648         * powerpc/powerpc32/elf/start.S: Likewise.
55649         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55650         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55651         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55652         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55653         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55654         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55655         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55656         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55657         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55658         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55659         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55660         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55661         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55662         * powerpc/powerpc32/memset.S: Likewise.
55663         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55664         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55665         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55666         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55667         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55668         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55669         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55670         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55671         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55672         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55673         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55674         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55675         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55677 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55679         * math/libm-test.inc: Added more nearbyint tests.
55680         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55681         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55682         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55683         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55685 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
55687         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55688         FD_CLOEXEC.
55690 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55692         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55693         Add wcscpy-ssse3 wcscpy-c.
55694         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55695         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55696         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55697         * sysdeps/x86_64/wcschr.S: New file.
55698         * sysdeps/x86_64/wcsrchr.S: New file.
55699         * string/test-strcmp.c: Remove checking of wcscmp function for
55700         wrong alignments.
55701         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55702         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55703         wcsrchr-sse2 wcsrchr-c.
55704         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55705         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55706         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55707         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55708         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55709         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55710         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55711         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55712         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55713         * wcsmbc/wcschr.c (WCSCHR): New macro.
55715 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55717         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55718         * wcsmbs/test-wcsrchr.c: New file.
55719         * string/test-strrchr.c: Add wcsrchr support.
55720         (WIDE): New macro.
55721         * wcsmbs/test-wcscpy.c: New file.
55722         * string/test-strcpy.c: Add wcscpy support.
55723         (WIDE): New macro.
55725 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
55727         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55728         the inner loop.
55730 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
55732         [BZ #13472]
55733         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55735 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
55737         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55738         Minor optimizations.
55740         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55741         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55742         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55744 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
55746         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55747         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55748         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55749         for gcc to avoid warnings.
55750         * inet/Makefile (tests): Add tst-checks.
55751         * inet/tst-checks.c: New file.
55753         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55754         warning.
55756         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55757         __wmemcmp_sse2.
55759         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55760         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55762         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55764 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
55766         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55767         problem.
55769         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55771 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
55773         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55774         conditional on GCC version.
55775         (__arch_compare_and_exchange_val_8_acq)
55776         (__arch_compare_and_exchange_val_16_acq)
55777         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55778         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55779         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55781 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
55783         * sysdeps/sh/backtrace.c: New file.
55785 2011-12-02  Andreas Schwab  <schwab@redhat.com>
55787         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
55788         parenthesis.
55790 2011-12-01  Andreas Schwab  <schwab@redhat.com>
55792         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55793         falling back to utime.
55795 2011-11-30  Andreas Schwab  <schwab@redhat.com>
55797         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55798         expectations for float.
55800 2011-11-29  Andreas Schwab  <schwab@redhat.com>
55802         * locale/weight.h (findidx): Add parameter len.
55803         * locale/weightwc.h (findidx): Likewise.
55804         * posix/fnmatch_loop.c (FCT): Adjust caller.
55805         * posix/regcomp.c (build_equiv_class): Likewise.
55806         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55807         * posix/regexec.c (check_node_accept_bytes): Likewise.
55808         * string/strcoll_l.c (STRCOLL): Likewise.
55809         * string/strxfrm_l.c (STRXFRM): Likewise.
55811 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
55813         * Makefile.in: Remove CVSOPT handling.
55814         * configure.in: Remove use of AC_REVISION.
55815         * iconvdata/Makefile (distribute): No need to filter out CVS.
55816         * scripts/list-sources.sh: Remove CVS, subversion and monotone
55817         handling.
55819 2011-11-16  Andreas Schwab  <schwab@redhat.com>
55821         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55822         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55823         [USE_AS_STRNCASECMP_L]: Likewise.
55824         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55825         NO_TLS_DIRECT_SEG_REFS.
55826         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55827         Fix argument offsets for non-PIC.
55828         [USE_AS_STRNCASECMP_L]: Likewise.
55829         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55830         NO_TLS_DIRECT_SEG_REFS.
55832 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55834         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55835         O_CLOEXEC.
55836         * locale/loadlocale.c (_nl_load_locale): Likewise.
55838 2011-11-15  Andreas Schwab  <schwab@redhat.com>
55840         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55841         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55842         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55843         (SYSCALL_GETTIME): Set errno on error.
55845         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55846         count references to noai6ai_cached.
55848 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55850         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55852         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55853         FD_CLOEXEC for /proc/self/maps.
55855         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55856         FD_CLOEXEC for /proc/meminfo.
55858         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55859         gai.conf.
55861         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
55862         FD_CLOEXEC for given file.
55864         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55866         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55867         FD_CLOEXEC for /etc/hosts.
55868         (_gethtent): Likewise.
55870         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55872         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55873         cancellation and set FD_CLOEXEC for /etc/netgroup.
55875         * nss/nss_files/files-key.c (search): Don't allow cancellation when
55876         reading /etc/publickey.
55878         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55879         allow cancellation when reading /etc/group.
55881         * nss/nss_files/files-alias.c (internal_setent): Don't allow
55882         cancellation.
55883         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
55885         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55886         when using data file.
55888         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55890         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55891         (write_nis_obj): Use "c" and "e" in fopen.
55893         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55895         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55897         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55899         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55901         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55902         locale.alias.
55904         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55906         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55908         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55910         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55911         file parsing and set FD_CLOEXEC.
55913 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55915         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55917 2011-11-14  Andreas Schwab  <schwab@redhat.com>
55919         * malloc/arena.c (arena_get2): Don't call reused_arena when
55920         _int_new_arena failed.
55922 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55924         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55925         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55926         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55927         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55928         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55929         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55930         to compile strcasecmp and strncasecmp.
55931         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55932         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55934         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55936 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
55938         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55939         locale-defines.sym to gen-as-const-headers.
55940         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55941         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55942         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55943         to compile strcasecmp and strncasecmp.
55944         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55945         strcasecmp_l and strncasecmp_l.
55946         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55947         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55948         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55949         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55950         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55951         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55952         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55953         * sysdeps/i386/i686/multiarch/strncase.S: New file.
55954         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55955         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55956         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55958 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
55960         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55961         result of SYSDEP_GETTIME_CPU to retval.
55962         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55963         parameter list to macro.  Remove trailing semicolon.  Adjust users.
55965         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55966         variable.
55968         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55969         mantissa words.
55970         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55972         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55973         from unused variable.
55975         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55976         DWARF definitions.
55977         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55978         for assembling.
55980         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55981         over namespaces.
55983         * sunrpc/rpc_prot.c (rejected): Fix case value.
55985         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55986         unsigned long long int to avoid warnings in shift.
55988         * posix/regex_internal.c (re_string_reconstruct): Actually use result
55989         of use of trans.
55990         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55991         variable tmp.
55993         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55994         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55995         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55997         * nis/nis_table.c (nis_list): Use variable of correct type for
55998         result of __follow_path call.
56000 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56002         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56003         of math functions ceil, trunc, floor, round, and sqrt, when
56004         avaliable on the platform.
56005         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56006         name clash.
56007         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56008         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56009         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56011 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56013         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56014         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56016 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56018         * include/unistd.h: Fix __readlink return type.
56019         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56021 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56023         * stdlib/ucontext.h: Undo last change for makecontext.
56025 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56027         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56029         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56030         * setjmp/setjmp.h: Mark functions as non-leaf.
56031         * setjmp/bits/setjmp2.h: Likewise.
56032         * stdlib/ucontext.h: Likewise.
56034 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56036         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56037         (reused_arena): Don't check arena limit.
56038         (arena_get2): Atomically check arena limit.
56040 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56042         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56043         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56045         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56046         instructions.
56048 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56050         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56051         handler when locking.
56053         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56054         Fix size of allocated buffer.
56056 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56058         [BZ #10103]
56059         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56060         declarations for long double functions.
56061         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56063         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56065 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56067         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56068         installed.
56070         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56071         is disabled.
56073 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56075         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56077 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56079         * include/alloca.h (stackinfo_alloca_round): Define.
56080         (extend_alloca): Use it.
56081         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56082         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56083         here.
56085         * scripts/check-local-headers.sh: Ignore libaudit.h.
56087         * nscd/Makefile (extra-objs): Make recursively expanded.
56089 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56091         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56092         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56094         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56095         * posix/tst-rfc3484-2.c: Likewise.
56096         * posix/tst-rfc3484-3.c: Likewise.
56098         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56099         process_vm_writev.
56100         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56101         process_vm_writev.
56102         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56103         process_vm_writev from libc using GLIBC_2.15 version.
56105         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56107 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56109         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56110         stack usage.
56112 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56114         [BZ #13367]
56115         * nss/getent.c (initgroups_keys): Show error message in case no group
56116         names are given.
56118         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56119         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56120         __bump_nl_timestamp.
56121         * nscd/connections (nscd_init): When host database is served open
56122         netlink socket and request notification about configuration changes.
56123         (main_loop_poll): Track netlink file descriptor and bump timestamp
56124         in case data becomes available.
56125         (main_loop_epoll): Likewise.
56126         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56127         (database_pers_head): Add extra_data fileds.
56128         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56129         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56130         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56131         Adjust caller.
56132         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56133         in6ai data, call __free_in6ai.
56134         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56135         Add -DHAVE_NETLINK.
56136         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56137         interface information.  Reuse previous data if netlink timestamp
56138         is not changed.
56139         (__bump_nl_timestamp): New function.
56140         (__free_in6ai): New function.
56142 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56144         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56145         close_not_cancel_no_status here.
56146         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56148 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56150         [BZ #13276]
56151         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56152         return value.
56154         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56155         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56156         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56158 2011-07-03  Andreas Jaeger  <aj@suse.de>
56160         [BZ #10709]
56161         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56162         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56163         * math/libm-test.inc (sin_test): Add test case.
56165 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56167         [BZ #13337]
56168         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56169         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56171         * elf/chroot_canon.c (chroot_canon): Cleanups.
56173         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56175         [BZ #13335]
56176         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56177         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56179         * string/test-strchr.c: Make usable for strchrnul testing.
56180         * string/test-strchrnul.c: New file.
56181         * string/Makefile (strop-tests): Add strchrnul.
56183         * po/it.po: Update from translation team.
56184         * po/es.po: Likewise.
56186 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56188         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56189         the three constants needed as parameters.  Drop the others.
56190         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56191         __m128i_strloadu_tolower.
56192         Create and initialize variable zero and use it in all the places
56193         where _mm_setzero_si128 was used.
56195         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56196         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56197         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56198         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56199         anymore.
56200         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56201         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56202         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56203         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56204         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56205         __mpranred, __mptan.
56206         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56207         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56208         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56209         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56210         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56211         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56212         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56213         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56214         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56216 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56218         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56219         redefine if SHARED.
56220         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56222         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56223         wide char related routines to wcsmbs subdir.
56225 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56227         [BZ #13344]
56228         * misc/sys/cdefs.h (__THROWNL): Define.
56229         * posix/unistd.h: Use __THREADNL instead of __THREAD
56230         for memory synchronization functions.
56232 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56234         [BZ #13349]
56235         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56236         doesn't exist.
56237         * manual/stdio.texi (Obstack Streams): Node removed.
56239 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56241         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56242         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56243         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56245         * math/math_private.h (math_force_eval): Allow non-addressable
56246         arguments.
56247         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56249 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56251         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56252         file is not needed.
56254         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56255         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56256         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56257         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56258         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56259         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56260         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56261         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56262         Add AVX variants.
56263         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56264         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56265         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56266         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56267         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56268         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56269         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56270         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56271         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56272         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56273         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56274         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56275         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56276         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56277         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56278         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56279         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56280         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56281         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56283         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56284         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56286         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56287         place.  Use VEX encoding when compiling for AVX.
56289 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56291         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56292         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56294         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56296 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56298         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56299         useless if() expression.
56300         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56301         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56302         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56303         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56304         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56305         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56306         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56307         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56308         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56309         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56310         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56311         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56312         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56313         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56314         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56315         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56316         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56317         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56318         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56320         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56322 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56324         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56325         condition.
56326         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56328 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56330         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56331         .text section.  Avoid duplicate constants.
56332         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56333         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56334         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56335         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56336         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56337         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56338         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56339         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56340         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56341         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56342         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56343         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56344         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56345         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56346         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56347         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56348         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56349         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56350         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56351         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56352         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56353         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56354         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56355         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56356         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56357         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56358         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56359         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56360         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56361         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56362         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56363         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56364         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56365         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56366         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56367         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56368         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56369         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56370         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56371         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56372         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56373         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56374         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56375         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56376         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56378 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56380         * sysdeps/x86_64/dla.h: Move to ...
56381         * sysdeps/x86_64/fpu/dla.h: ...here.
56382         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56383         situations.  Use __builtin_fma only for gcc 4.6 and up.
56385         * config.make.in: Add have-mfma4 entry.
56386         * configure.in: Substitute libc_cv_cc_fma4.
56387         * math/Makefile (dbl-only-routines): Add sincostab.
56388         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56389         Use __sincostab not sincos.
56390         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56391         name is a macro.
56392         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56393         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56394         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56395         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56396         using __copysign.
56397         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56398         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56399         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56400         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56401         and __inv.
56402         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56403         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56404         __copysign.
56405         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56406         define aliases when function name is a macro.
56407         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56408         sysdeps/ieee754/dbl-64/sincos.tbl.
56409         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56410         fma4-enabled routines.
56411         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56412         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56413         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56414         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56415         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56416         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56417         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56418         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56419         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56420         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56421         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56422         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56423         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56424         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56425         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56426         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56427         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56428         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56429         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56430         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56431         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56432         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56433         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56434         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56435         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56436         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56437         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56438         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56439         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56440         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56442         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56443         rename.
56444         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56445         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56446         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56447         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56448         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56449         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56450         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56451         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56453 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56455         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56457 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56459         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56461         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56462         prediction.
56463         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56465         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56466         Remove unused variable magic_bits.
56467         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56469         * string/strnlen.c: Define and use STRNLEN macro.
56470         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56471         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56472         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56473         * wcsmbs/wcslen.c: Define and use WCSLEN.
56474         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56475         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56476         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56477         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56478         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56479         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56480         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56482 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56484         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56485         strnlen-sse2-no-bsf.
56486         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56487         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56488         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56489         Add strnlen support.
56490         (USE_AS_STRNLEN): New macro.
56491         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56492         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56493         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56494         * sysdeps/x86_64/wcslen.S: New file.
56496 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56498         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56499         XMM-moves are used for copying on small sizes.
56501 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56503         * wcsmbs/Makefile (strop-tests): Add wcschr.
56504         * wcsmbs/test-wcschr.c: New file.
56505         * string/test-strchr.c: Update.
56506         Add wcschr support.
56507         (WIDE): New macro.
56509 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56511         * wcsmbs/Makefile (strop-tests): Add wcslen.
56512         * wcsmbs/test-wcslen.c: New file.
56513         * string/test-strlen.c: Update.
56514         Add wcslen support.
56515         (WIDE): New macro.
56517 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56519         * po/it.po: Update from translation team.
56521 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56523         * sysdeps/x86_64/wcscmp.S: Update.
56524         Fix wrong comparison semantics.
56525         wcscmp shall use signed comparison not unsigned.
56526         Don't use substraction to avoid overflow bug.
56527         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56528         * wcsmbc/wcscmp.c: Likewise.
56529         * string/test-strcmp.c: Likewise.
56530         Add new tests to check cases with negative values.
56532 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56534         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56535         * sysdeps/x86_64/dla.h: ...here.  New file.
56536         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56537         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56538         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56539         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56540         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56541         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56542         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56543         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56544         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56546 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56548         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56549         __ynl_finite aliases.
56551 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56555         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56556         define DLA_FMA.
56557         [DLA_FMA] (EMULV): Use DLA_FMA.
56558         [DLA_FMA] (MUL12): Use EMULV.
56559         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56560         that are not needed.
56561         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56562         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56563         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56564         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56565         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56566         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56567         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56569 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56571         * math/s_nan.c: Undef __nan.
56572         * math/s_nanf.c: Undef __nanf.
56573         * math/s_nanl.c: Undef __nanl.
56574         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56575         "math_private.h".
56577 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56579         * math/s_catan.c: Add branch predictions.
56580         * math/s_catanf.c: Likewise.
56581         * math/s_catanh.c: Likewise.
56582         * math/s_catanhf.c: Likewise.
56583         * math/s_catanhl.c: Likewise.
56584         * math/s_catanl.c: Likewise.
56585         * math/s_cexp.c: Likewise.
56586         * math/s_cexpf.c: Likewise.
56587         * math/s_cexpl.c: Likewise.
56588         * math/s_clog.c: Likewise.
56589         * math/s_clog10.c: Likewise.
56590         * math/s_clog10f.c: Likewise.
56591         * math/s_clog10l.c: Likewise.
56592         * math/s_clogf.c: Likewise.
56593         * math/s_clogl.c: Likewise.
56594         * math/s_csqrt.c: Likewise.
56595         * math/s_csqrtf.c: Likewise.
56596         * math/s_csqrtl.c: Likewise.
56597         * math/s_ctanf.c: Likewise.
56598         * math/s_ctanh.c: Likewise.
56599         * math/s_ctanhf.c: Likewise.
56600         * math/s_ctanhl.c: Likewise.
56601         * math/s_ctanl.c: Likewise.
56603         * math/math_private.h: Define __nan, __nanf, __nanl.
56604         * math/s_cacosh.c: Include <math_private.h>.
56605         * math/s_cacoshl.c: Likewise.
56606         * math/s_casinh.c: Likewise.
56607         * math/s_casinhf.c: Likewise.
56608         * math/s_casinhl.c: Likewise.
56609         * math/s_ccos.c: Rely entire on ccosh.
56610         * math/s_ccosf.c: Rely entire on ccoshf.
56611         * math/s_ccosl.c: Rely entirely on ccoshl.
56612         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56613         Remove tests for FE_INVALID.
56614         * math/s_ccoshf.c: Likewise.
56615         * math/s_ccoshl.c: Likewise.
56616         * math/s_csin.c: Likewise.
56617         * math/s_csinf.c: Likewise.
56618         * math/s_csinh.c Likewise.
56619         * math/s_csinhf.c: Likewise.
56620         * math/s_csinhl.c: Likewise.
56621         * math/s_csinl.c: Likewise.
56622         * math/s_ctan.c: Likewise.
56623         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56624         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56625         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56627 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56630         compilation problems.
56632         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56633         __builtin_expect.
56635 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56637         * sysdeps/i386/configure.in: Test for -mfma4 option.
56638         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56639         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56640         COMMON_CPUID_INDEX_80000001.
56641         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56642         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56643         use it if FMA3 is not supported.
56644         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56646         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56647         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56649 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56651         [BZ #12892]
56652         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56653         it would create a cycle with a link time dependency.
56655 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56657         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56658         instruction.
56659         * string/Makefile (strop-tests): Add rawmemchr.
56660         * string/test-rawmemchr.c: New file.
56662         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56663         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56664         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56665         when compiling str{,n}casecmp and when AVX is available.  Hook up
56666         new optimized code in initializers.
56668 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56670         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56671         __feraiseexcept instead of feraiseexcept.
56673 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
56675         * math/math_private.h: Define defaults for libc_fetestexcept and
56676         libc_feupdateenv.
56677         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56678         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56679         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56680         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56681         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56682         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56683         libc_fetestexcept and libc_feupdateenv.
56685         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56686         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56687         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56688         * sysdeps/x86_64/fpu/math_private.h: Define special version of
56689         libc_feholdexcept_setround.
56691         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56692         Add s_nearbyint-c and s_nearbyintf-c.
56693         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56694         nearbyintf inlines.
56695         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56696         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56697         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56698         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56700         * math/math_private.h: Define defaults for libc_fegetround,
56701         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56702         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56703         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56704         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56705         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56706         standard functions.
56707         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56708         Remove comments and hacks for old compiler versions.
56709         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56710         libc_fegetround, libc_fesetround, libc_feholdexcept, and
56711         libc_feholdexceptl.
56713 2011-10-18  Andreas Schwab  <schwab@redhat.com>
56715         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56716         (__feraiseexcept_renamed): Add __NTH.
56717         (feraiseexcept): Add __NTH.  Rename local variables to fix
56718         namespace violations.
56720 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
56722         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56724         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56726         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56727         recently added interfaces.
56728         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56730         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56731         about macro parameter expansion.
56733         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56734         __NO_MATH_INLINES is defined.  Cleanups.
56736         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56737         and __floorf is target has SSE4.1.
56738         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56739         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56740         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56741         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56743         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56744         name.
56745         (floorf): Likewise.
56747         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56749 2011-10-17  Andreas Schwab  <schwab@redhat.com>
56751         * misc/sys/cdefs.h: Fix last change.
56753         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56754         database lookup.
56756 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
56758         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56760         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56761         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56762         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56763         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56764         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56765         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56766         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56767         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56768         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56769         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56770         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56771         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56772         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56773         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56774         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56775         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56776         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56777         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56778         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56779         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56780         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56781         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56783         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56784         ceil, ceilf, floor, floorf.
56786         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56787         Perform IRELATIVE relocations last.
56789         * elf/do-rel.h: Add another parameter nrelative, replacing the
56790         local variable with the same name.  Change name of the function
56791         to end in Rel or Rela (uppercase).
56792         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56793         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
56794         elf_dynamic_do_##reloc function.
56796 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56798         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56799         is sufficient, at least on modern CPUs.
56801         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56803         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56804         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56806         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56807         __expl_finite.
56808         * math/bits/math-finite.h: Add entries for exp.
56809         * math/e_expl.c: Add __*_finite alias.
56810         * sysdeps/i386/fpu/e_exp.S: Likewise.
56811         * sysdeps/i386/fpu/e_expf.S: Likewise.
56812         * sysdeps/i386/fpu/e_expl.c: Likewise.
56813         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56814         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56815         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56816         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56817         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56818         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56819         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56821         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56822         is sufficient, at least on modern CPUs.
56824         * ctype/ctype-info.c (__ctype_init): Define.
56825         * include/ctype.h (__ctype_init): Declare.
56826         (__ctype_b_loc): The variable is always initialized.
56827         (__ctype_toupper_loc): Likewise.
56828         (__ctype_tolower_loc): Likewise.
56829         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56830         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56832 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
56834         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56836         * configure.in: Also look in $cxxmachine/include for C++ system
56837         headers.
56839 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56841         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56842         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56843         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56844         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
56845         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56846         (USE_AS_WMEMCMP): New macro.
56847         Fixing indents.
56848         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56849         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56850         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56851         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56852         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56853         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56854         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56855         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56856         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56857         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56858         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56859         (USE_AS_WMEMCMP): New macro.
56860         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56861         * sysdeps/string/test-memcmp.c: Update.
56862         Fix simple_wmemcmp.
56863         Add new tests.
56864         * wcsmbs/wmemcmp.c: Update.
56865         (WMEMCMP): New macro.
56866         Fix overflow bug.
56868 2011-10-12  Andreas Jaeger  <aj@suse.de>
56870         [BZ #13268]
56871         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56873 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56875         * libio/iofwide.c (do_length): Avoid warning.
56877         * ctype/ctype.h (__isctype_f): Add missing __THROW.
56879 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
56881         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56883         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56884         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56885         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56886         * sysdeps/i386/i686/fpu/e_log.S: New file.
56887         * sysdeps/i386/i686/fpu/e_logf.S: New file.
56888         * sysdeps/i386/i686/fpu/e_logl.S: New file.
56890         * ctype/ctype.h: Add support for inlined isXXX functions when
56891         compiling C++ code.
56893 2011-10-14  Andreas Schwab  <schwab@redhat.com>
56895         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56897         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56899 2011-10-13  Roland McGrath  <roland@hack.frob.com>
56901         [BZ #13291]
56902         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56904 2011-10-13  Andreas Schwab  <schwab@redhat.com>
56906         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56907         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56908         feraiseexcept.
56910         * sysdeps/x86_64/memrchr.S: Check for zero size.
56912         * string/stratcliff.c: Add memrchr tests.
56914 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56916         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56917         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56918         rawmemchr-sse2 rawmemchr-sse2-bsf.
56919         * sysdeps/i386/i686/multiarch/memchr.S: New file.
56920         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56921         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56922         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56923         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56924         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56925         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56926         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56927         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56928         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56929         * string/memrchr.c (MEMRCHR): New macro.
56931 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
56933         Add integration with gcc's -ffinite-math-only and optimize wrapper
56934         functions in libm.
56935         * Versions.def: Define GLIBC_2.15 version for libm.
56936         * math/Makefile (headers): Add bits/math-finite.h.
56937         * math/bits/math-finite.h: New file.
56938         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56939         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56940         * math/e_acoshl.c: Add __*_finite alias.
56941         * math/e_acosl.c: Likewise.
56942         * math/e_asinl.c: Likewise.
56943         * math/e_atan2l.c: Likewise.
56944         * math/e_atanhl.c: Likewise.
56945         * math/e_coshl.c: Likewise.
56946         * math/e_exp10.c: Likewise.
56947         * math/e_exp10f.c: Likewise.
56948         * math/e_exp10l.c: Likewise.
56949         * math/e_exp2l.c: Likewise.
56950         * math/e_fmodl.c: Likewise.
56951         * math/e_gammal_r.c: Likewise.
56952         * math/e_hypotl.c: Likewise.
56953         * math/e_j0l.c: Likewise.
56954         * math/e_j1l.c: Likewise.
56955         * math/e_jnl.c: Likewise.
56956         * math/e_lgammal_r.c: Likewise.
56957         * math/e_log10l.c: Likewise.
56958         * math/e_log2l.c: Likewise.
56959         * math/e_logl.c: Likewise.
56960         * math/e_powl.c: Likewise.
56961         * math/e_sinhl.c: Likewise.
56962         * math/e_sqrtl.c: Likewise.
56963         * math/e_scalb.c: Completely rewritten and optimized.
56964         * math/e_scalbf.c: Likewise.
56965         * math/e_scalbl.c: Likewise.
56966         * math/w_acos.c: Likewise.
56967         * math/w_acosf.c: Likewise.
56968         * math/w_acosl.c: Likewise.
56969         * math/w_acosh.c: Likewise.
56970         * math/w_acoshf.c: Likewise.
56971         * math/w_acoshl.c: Likewise.
56972         * math/w_asin.c: Likewise.
56973         * math/w_asinf.c: Likewise.
56974         * math/w_asinl.c: Likewise.
56975         * math/w_atan2.c: Likewise.
56976         * math/w_atan2f.c: Likewise.
56977         * math/w_atan2l.c: Likewise.
56978         * math/w_atanh.c: Likewise.
56979         * math/w_atanhf.c: Likewise.
56980         * math/w_atanhl.c: Likewise.
56981         * math/w_exp10.c: Likewise.
56982         * math/w_exp10f.c: Likewise.
56983         * math/w_exp10l.c: Likewise.
56984         * math/w_fmod.c: Likewise.
56985         * math/w_fmodf.c: Likewise.
56986         * math/w_fmodl.c: Likewise.
56987         * math/w_j0.c: Likewise.
56988         * math/w_j0f.c: Likewise.
56989         * math/w_j0l.c: Likewise.
56990         * math/w_j1.c: Likewise.
56991         * math/w_j1f.c: Likewise.
56992         * math/w_j1l.c: Likewise.
56993         * math/w_jn.c: Likewise.
56994         * math/w_jnf.c: Likewise.
56995         * math/w_log.c: Likewise.
56996         * math/w_logf.c: Likewise.
56997         * math/w_logl.c: Likewise.
56998         * math/w_log10.c: Likewise.
56999         * math/w_log10f.c: Likewise.
57000         * math/w_log10l.c: Likewise.
57001         * math/w_log2.c: Likewise.
57002         * math/w_log2f.c: Likewise.
57003         * math/w_log2l.c: Likewise.
57004         * math/w_pow.c: Likewise.
57005         * math/w_powf.c: Likewise.
57006         * math/w_powl.c: Likewise.
57007         * math/w_remainder.c: Likewise.
57008         * math/w_remainderf.c: Likewise.
57009         * math/w_remainderl.c: Likewise.
57010         * math/w_scalb.c: Likewise.
57011         * math/w_scalbf.c: Likewise.
57012         * math/w_scalbl.c: Likewise.
57013         * math/w_sqrt.c: Likewise.
57014         * math/w_sqrtf.c: Likewise.
57015         * math/w_sqrtl.c: Likewise.
57016         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57017         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57018         used.
57019         * math/math_private.h: Declare __kernel_standard_f.
57020         * math/w_cosh.c: Remove cruft and optimize a bit.
57021         * math/w_coshf.c: Likewise.
57022         * math/w_coshl.c: Likewise.
57023         * math/w_exp2.c: Likewise.
57024         * math/w_exp2f.c: Likewise.
57025         * math/w_exp2l.c: Likewise.
57026         * math/w_hypot.c: Likewise.
57027         * math/w_hypotf.c: Likewise.
57028         * math/w_hypotl.c: Likewise.
57029         * math/w_lgamma.c: Likewise.
57030         * math/w_lgamma_r.c: Likewise.
57031         * math/w_lgammaf.c: Likewise.
57032         * math/w_lgammaf_r.c: Likewise.
57033         * math/w_lgammal.c: Likewise.
57034         * math/w_lgammal_r.c: Likewise.
57035         * math/w_sinh.c: Likewise.
57036         * math/w_sinhf.c: Likewise.
57037         * math/w_sinhl.c: Likewise.
57038         * math/w_tgamma.c: Likewise.
57039         * math/w_tgammaf.c: Likewise.
57040         * math/w_tgammal.c: Likewise.
57041         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57042         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57043         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57044         Minor optimizations.  Pretty printing.  Remove cruft.
57045         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57046         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57047         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57048         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57049         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57050         * sysdeps/i386/fpu/e_asin.S: Likewise.
57051         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57052         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57053         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57054         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57055         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57056         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57057         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57058         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57059         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57060         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57061         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57062         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57063         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57064         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57065         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57066         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57067         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57068         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57069         * sysdeps/i386/fpu/e_log.S: Likewise.
57070         * sysdeps/i386/fpu/e_log10.S: Likewise.
57071         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57072         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57073         * sysdeps/i386/fpu/e_log2.S: Likewise.
57074         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57075         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57076         * sysdeps/i386/fpu/e_logf.S: Likewise.
57077         * sysdeps/i386/fpu/e_logl.S: Likewise.
57078         * sysdeps/i386/fpu/e_pow.S: Likewise.
57079         * sysdeps/i386/fpu/e_powf.S: Likewise.
57080         * sysdeps/i386/fpu/e_powl.S: Likewise.
57081         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57082         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57083         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57084         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57085         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57086         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57087         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57088         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57089         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57090         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57091         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57092         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57093         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57094         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57095         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57096         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57097         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57098         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57099         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57100         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57101         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57102         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57103         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57104         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57105         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57106         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57107         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57108         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57109         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57110         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57111         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57112         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57113         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57114         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57115         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57116         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57117         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57118         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57119         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57120         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57121         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57122         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57123         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57124         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57125         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57126         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57127         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57128         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57129         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57130         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57131         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57132         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57133         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57134         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57135         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57136         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57137         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57138         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57139         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57140         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57141         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57142         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57143         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57144         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57145         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57146         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57147         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57148         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57149         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57150         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57151         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57152         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57153         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57154         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57155         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57156         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57157         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57158         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57159         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57160         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57161         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57162         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57163         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57164         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57165         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57166         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57167         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57168         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57169         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57170         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57171         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57172         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57173         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57174         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57175         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57176         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57177         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57178         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57179         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57180         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57181         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57182         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57183         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57184         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57185         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57186         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57187         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57188         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57189         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57190         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57191         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57192         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57193         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57194         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57195         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57196         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57197         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57198         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57199         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57200         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57201         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57202         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57203         (__isnanf): Likewise.
57204         (__isinf_ns): Likewise.
57205         (__isinf_nsf): Likewise.
57206         (__finite): Likewise.
57207         (__finitef): Likewise.
57208         (__ieee754_sqrt): Define as macro.
57209         (__ieee754_sqrtf): Define as macro.
57210         (__ieee754_sqrtl): Define as macro.
57211         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57212         inlined copy.
57213         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57214         __FINITE_MATH_ONLY__ consistent.
57215         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57217 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57219         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57220         of rawmemchr.
57222         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57224 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57226         * po/ja.po: Update from translation team.
57228 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57230         * locale/programs/locarchive.c (prepare_address_space): New function.
57231         (create_archive, enlarge_archive, open_archive): Use it.
57233         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57234         inside [SHARED], where it is used.
57236         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57238         * nss/getent.c (netgroup_keys): Remove unused variable.
57239         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57241 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57243         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57244         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57245         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57246         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57247         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57248         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57249         * math/Makefile (libm-calls): Add s_isinf_ns.
57250         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57251         * math/multc3.c: Likewise.
57252         * math/s_casin.c: Likewise.
57253         * math/s_casinf.c: Likewise.
57254         * math/s_casinl.c: Likewise.
57255         * math/s_ccos.c: Likewise.
57256         * math/s_ccosf.c: Likewise.
57257         * math/s_ccosl.c: Likewise.
57258         * math/s_ctan.c: Likewise.
57259         * math/s_ctanf.c: Likewise.
57260         * math/s_ctanh.c: Likewise.
57261         * math/s_ctanhf.c: Likewise.
57262         * math/s_ctanhl.c: Likewise.
57263         * math/s_ctanl.c: Likewise.
57264         * math/w_fmod.c: Likewise.
57265         * math/w_fmodf.c: Likewise.
57266         * math/w_fmodl.c: Likewise.
57267         * math/w_remainder.c: Likewise.
57268         * math/w_remainderf.c: Likewise.
57269         * math/w_remainderl.c: Likewise.
57270         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57271         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57272         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57273         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57274         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57275         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57276         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57277         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57279         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57280         of the number.
57281         * stdio-common/printf_fphex.c: Likewise.
57282         * stdio-common/printf_size.c: Likewise.
57284         * math/e_exp10.c: Include math_private.h using <...> not "...".
57285         * math/e_exp10f.c: Likewise.
57286         * math/e_exp10l.c: Likewise.
57287         * math/e_exp2l.c: Likewise.
57288         * math/e_j0l.c: Likewise.
57289         * math/e_j1l.c: Likewise.
57290         * math/e_jnl.c: Likewise.
57291         * math/e_lgammal_r.c: Likewise.
57292         * math/e_rem_pio2l.c: Likewise.
57293         * math/e_scalb.c: Likewise.
57294         * math/e_scalbf.c: Likewise.
57295         * math/e_scalbl.c: Likewise.
57296         * math/k_cosl.c: Likewise.
57297         * math/k_sinl.c: Likewise.
57298         * math/k_tanl.c: Likewise.
57299         * math/s_cacoshf.c: Likewise.
57300         * math/s_catan.c: Likewise.
57301         * math/s_catanf.c: Likewise.
57302         * math/s_catanh.c: Likewise.
57303         * math/s_catanhf.c: Likewise.
57304         * math/s_catanhl.c: Likewise.
57305         * math/s_catanl.c: Likewise.
57306         * math/s_ccosh.c: Likewise.
57307         * math/s_ccoshf.c: Likewise.
57308         * math/s_ccoshl.c: Likewise.
57309         * math/s_cexp.c: Likewise.
57310         * math/s_cexpf.c: Likewise.
57311         * math/s_cexpl.c: Likewise.
57312         * math/s_clog.c: Likewise.
57313         * math/s_clog10.c: Likewise.
57314         * math/s_clog10f.c: Likewise.
57315         * math/s_clog10l.c: Likewise.
57316         * math/s_clogf.c: Likewise.
57317         * math/s_clogl.c: Likewise.
57318         * math/s_csin.c: Likewise.
57319         * math/s_csinf.c: Likewise.
57320         * math/s_csinh.c: Likewise.
57321         * math/s_csinhf.c: Likewise.
57322         * math/s_csinhl.c: Likewise.
57323         * math/s_csinl.c: Likewise.
57324         * math/s_csqrt.c: Likewise.
57325         * math/s_csqrtf.c: Likewise.
57326         * math/s_csqrtl.c: Likewise.
57327         * math/s_ctan.c: Likewise.
57328         * math/s_ctanf.c: Likewise.
57329         * math/s_ctanh.c: Likewise.
57330         * math/s_ctanhf.c: Likewise.
57331         * math/s_ctanhl.c: Likewise.
57332         * math/s_ctanl.c: Likewise.
57333         * math/s_ldexp.c: Likewise.
57334         * math/s_ldexpf.c: Likewise.
57335         * math/s_ldexpl.c: Likewise.
57336         * math/s_significand.c: Likewise.
57337         * math/s_significandf.c: Likewise.
57338         * math/s_significandl.c: Likewise.
57339         * math/w_acos.c: Likewise.
57340         * math/w_acosf.c: Likewise.
57341         * math/w_acosh.c: Likewise.
57342         * math/w_acoshf.c: Likewise.
57343         * math/w_acoshl.c: Likewise.
57344         * math/w_acosl.c: Likewise.
57345         * math/w_asin.c: Likewise.
57346         * math/w_asinf.c: Likewise.
57347         * math/w_asinl.c: Likewise.
57348         * math/w_atan2.c: Likewise.
57349         * math/w_atan2f.c: Likewise.
57350         * math/w_atan2l.c: Likewise.
57351         * math/w_atanh.c: Likewise.
57352         * math/w_atanhf.c: Likewise.
57353         * math/w_atanhl.c: Likewise.
57354         * math/w_cosh.c: Likewise.
57355         * math/w_coshf.c: Likewise.
57356         * math/w_coshl.c: Likewise.
57357         * math/w_dremf.c: Likewise.
57358         * math/w_exp10.c: Likewise.
57359         * math/w_exp10f.c: Likewise.
57360         * math/w_exp10l.c: Likewise.
57361         * math/w_exp2.c: Likewise.
57362         * math/w_exp2f.c: Likewise.
57363         * math/w_fmod.c: Likewise.
57364         * math/w_fmodf.c: Likewise.
57365         * math/w_fmodl.c: Likewise.
57366         * math/w_hypot.c: Likewise.
57367         * math/w_hypotf.c: Likewise.
57368         * math/w_hypotl.c: Likewise.
57369         * math/w_j0.c: Likewise.
57370         * math/w_j0f.c: Likewise.
57371         * math/w_j0l.c: Likewise.
57372         * math/w_j1.c: Likewise.
57373         * math/w_j1f.c: Likewise.
57374         * math/w_j1l.c: Likewise.
57375         * math/w_jn.c: Likewise.
57376         * math/w_jnf.c: Likewise.
57377         * math/w_jnl.c: Likewise.
57378         * math/w_lgamma.c: Likewise.
57379         * math/w_lgamma_r.c: Likewise.
57380         * math/w_lgammaf.c: Likewise.
57381         * math/w_lgammaf_r.c: Likewise.
57382         * math/w_lgammal.c: Likewise.
57383         * math/w_lgammal_r.c: Likewise.
57384         * math/w_log.c: Likewise.
57385         * math/w_log10.c: Likewise.
57386         * math/w_log10f.c: Likewise.
57387         * math/w_log10l.c: Likewise.
57388         * math/w_log2.c: Likewise.
57389         * math/w_log2f.c: Likewise.
57390         * math/w_log2l.c: Likewise.
57391         * math/w_logf.c: Likewise.
57392         * math/w_logl.c: Likewise.
57393         * math/w_pow.c: Likewise.
57394         * math/w_powf.c: Likewise.
57395         * math/w_powl.c: Likewise.
57396         * math/w_remainder.c: Likewise.
57397         * math/w_remainderf.c: Likewise.
57398         * math/w_remainderl.c: Likewise.
57399         * math/w_scalb.c: Likewise.
57400         * math/w_scalbf.c: Likewise.
57401         * math/w_scalbl.c: Likewise.
57402         * math/w_sinh.c: Likewise.
57403         * math/w_sinhf.c: Likewise.
57404         * math/w_sinhl.c: Likewise.
57405         * math/w_sqrt.c: Likewise.
57406         * math/w_sqrtf.c: Likewise.
57407         * math/w_sqrtl.c: Likewise.
57408         * math/w_tgamma.c: Likewise.
57409         * math/w_tgammaf.c: Likewise.
57410         * math/w_tgammal.c: Likewise.
57412         * po/ja.po: Update from translation team.
57414 2011-09-29  Andreas Jaeger  <aj@suse.de>
57416         [BZ #13179]
57417         * sunrpc/netname.c (netname2host): Fix logic.
57419         [BZ #6779]
57420         [BZ #6783]
57421         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57422         correctly.
57423         * math/w_remainder.c (__remainder): Likewise.
57424         * math/w_remainderf.c (__remainderf): Likewise.
57425         * math/libm-test.inc (remainder_test): Add test cases.
57427 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57429         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57430         sdiv_qrnnd.
57432 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57434         * string/test-memcmp.c: Avoid unncessary #defines.
57435         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57437 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57439         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57440         Use new sse2 version for core i3 - i7 as it's faster
57441         than sse42 version.
57442         (bit_Prefer_PMINUB_for_stringop): New.
57443         * sysdeps/x86_64/rawmemchr.S: Update.
57444         Replace with faster SSE2 version.
57445         * sysdeps/x86_64/memrchr.S: New file.
57446         * sysdeps/x86_64/memchr.S: Update.
57447         Replace with faster SSE2 version.
57449 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57451         * elf/dl-load.c (lose): Add cast to avoid warning.
57453 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57455         * po/ca.po: Update from translation team.
57457         * inet/getnetgrent_r.c: Hook up nscd.
57458         * nscd/Makefile (routines): Add nscd_netgroup.
57459         (nscd-modules): Add netgroupcache.
57460         (CFLAGS-netgroupcache.c): Define.
57461         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57462         (cache_search): Add const to second parameter.
57463         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57464         INNETGR.
57465         (dbs): Add netgrdb entry.
57466         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57467         (verify_persistent_db): Handle netgrdb.
57468         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57469         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57470         GETFDNETGR.
57471         (netgroup_response_header): Define.
57472         (innetgroup_response_header): Define.
57473         (datahead): Add netgroup_response_header and innetgroup_response_header
57474         elements.
57475         * nscd/nscd.conf: Add entries for netgroup cache.
57476         * nscd/nscd.h (dbtype): Add netgrdb.
57477         (_PATH_NSCD_NETGROUP_DB): Define.
57478         (netgroup_iov_disabled): Declare.
57479         (xmalloc, xcalloc, xrealloc): Move declarations here.
57480         (cache_search): Adjust prototype.
57481         Add netgroup-related prototypes.
57482         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57483         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57484         (__nscd_innetgr): Declare.
57485         * nscd/selinux.c (perms): Use access_vector_t as element type and
57486         add netgroup-related initializers.
57487         * nscd/netgroupcache.c: New file.
57488         * nscd/nscd_netgroup.c: New file.
57489         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57490         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57491         For four parameters use innetgr.
57492         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57493         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57494         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57495         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57497         * nscd/connections.c (register_traced_file): Don't register file
57498         for disabled databases.
57500 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57502         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57504         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57505         from tree and freeing node.
57507 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57509         * nss/nsswitch.c (__nss_database_lookup): Handle
57510         nss_parse_service_list out of memory case.
57512 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57514         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57515         out of memory case.
57517 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57519         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57520         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57521         pass it down.
57522         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57523         elf_machine_rela, elf_machine_lazy_rel.
57524         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57525         (ELF_DYNAMIC_DO_REL): Likewise.
57526         (ELF_DYNAMIC_DO_RELA): Likewise.
57527         (ELF_DYNAMIC_RELOCATE): Likewise.
57528         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57529         to ELF_DYNAMIC_DO_REL.
57530         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57531         (dl_main): In trace mode always set __RTLD_NOIFUNC.
57532         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57533         elf_machine_rela.
57534         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57535         skip_ifunc, don't call ifunc function if non-zero.
57536         (elf_machine_rela): Likewise.
57537         (elf_machine_lazy_rel): Likewise.
57538         (elf_machine_lazy_rela): Likewise.
57539         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57540         (elf_machine_lazy_rel): Likewise.
57541         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57542         Likewise.
57543         (elf_machine_lazy_rel): Likewise.
57544         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57545         Likewise.
57546         (elf_machine_lazy_rel): Likewise.
57547         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57548         (elf_machine_lazy_rel): Likewise.
57549         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57550         (elf_machine_lazy_rel): Likewise.
57551         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57552         (elf_machine_lazy_rel): Likewise.
57553         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57554         (elf_machine_lazy_rel): Likewise.
57555         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57556         (elf_machine_lazy_rel): Likewise.
57557         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57558         (elf_machine_lazy_rel): Likewise.
57560 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57562         * nss/nss_files/files-init.c (_nss_files_init): Use static
57563         initialization for all the *_traced_file variables.
57565 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57567         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57569 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57571         [BZ #13226]
57572         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57574 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57576         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57577         Reread the line before reparsing it.
57579 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57581         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57583 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57584             Maxim Kuvyrkov  <maxim@codesourcery.com>
57585             Joseph Myers  <joseph@codesourcery.com>
57587         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57588         if needed for __stack_chk_guard.
57590 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57592         * sysdeps/posix/spawni.c (script_execute): Always define it.
57593         It will be optimized away if unused.
57594         (maybe_script_execute): New function.
57595         (__spawni): Call it.
57597         * Makerules: Don't include tls.make.
57598         (config-tls): Always set to thread.
57599         * tls.make.c: File removed.
57601 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57603         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57604         * config.make.in (CPPFLAGS-config): New substituted variable.
57606 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57608         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57610         [BZ #13192]
57611         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57612         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57614 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57616         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57617         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57618         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57619         (CALL_FAIL): Likewise.
57620         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57621         (CALL_FAIL): Macro removed.
57622         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57624 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57626         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57627         for __FINITE_MATH_ONLY__ == 1.
57629 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57631         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57632         __ieee754_sqrt instead of sqrt.
57633         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57634         __ieee754_sqrtf instead of sqrtf.
57635         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57636         __floorf instead of floorf.
57637         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57638         __floorf, __truncf instead of floorf, truncf.
57640 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57642         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57644         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57645         __extern_always_inline.
57646         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57647         32-bit.
57649 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57651         * elf/rtld.c (dl_main): Also relocate in dependency order when
57652         doing symbol dependency testing.
57654 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57656         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57657         Always define `refsym'.
57659 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57661         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57662         (__FD_ELT): Renamed from __FDELT.
57663         * misc/bits/select2.h (__FD_ELT): Likewise.
57664         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57665         __FD_MASK instead of __FDELT, __FDMASK.
57666         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57667         Likewise.
57668         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57669         Likewise.
57671         * elf/Makefile (gen-ldd): Fix pattern.
57673         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57674         (init_tls): Likewise.
57676 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
57678         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57680 2011-09-12  Andreas Schwab  <schwab@redhat.com>
57682         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57683         `struct cmsghdr *' instead of `void *'.
57684         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57685         Likewise.
57687 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
57689         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57690         if non-absolute.
57691         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57692         ldd_rewrite_script.
57694 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
57696         * configure.in: Remove --with-tls option.
57697         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57698         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57699         out in case it is missing.
57700         * sysdeps/ia64/elf/configure.in: Likewise.
57701         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57702         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57703         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57704         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57705         * sysdeps/sh/elf/configure.in: Likewise.
57706         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57707         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57708         * sysdeps/x86_64/elf/configure.in: Likewise.
57709         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57710         * sysdeps/mach/hurd/tls.h: Likewise.
57712         [BZ #13067]
57713         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57715         [BZ #13090]
57716         * configure.in: Fix use of AC_INIT.
57718         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57720 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
57722         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57723         __set_errno.
57724         * malloc/hooks.c: Likewise.
57726         [BZ #11929]
57727         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
57728         variables statically.
57729         (narenas): Initialize.
57730         (list_lock): Initialize.
57731         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
57732         initializtion of main_arena and list_lock.  Small cleanups.
57733         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57734         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
57735         Add initializers to main_arena and mp_.
57736         (malloc_state): Remove pagesize member.  Change all users to use
57737         GLRO(dl_pagesize).
57739         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57740         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
57741         is always initialized.
57743         * malloc/malloc.c: Removed unused configurations and dead code.
57744         * malloc/arena.c: Likewise.
57745         * malloc/hooks.c: Likewise.
57746         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57748         * include/tls.h: Removed.  USE___THREAD must always be defined.
57749         * bits/libc-tsd.h: Don't handle !USE___THREAD.
57750         * elf/dl-libc.c: Likewise.
57751         * elf/dl-tsd.c: Likewise.
57752         * include/errno.h: Likewise.
57753         * include/netdb.h: Likewise.
57754         * include/resolv.h: Likewise.
57755         * inet/herrno-loc.c: Likewise.
57756         * inet/herrno.c: Likewise.
57757         * malloc/arena.c: Likewise.
57758         * malloc/hooks.c: Likewise.
57759         * malloc/malloc.c: Likewise.
57760         * resolv/res-state.c: Likewise.
57761         * resolv/res_libc.c: Likewise.
57762         * sysdeps/i386/dl-machine.h: Likewise.
57763         * sysdeps/ia64/dl-machine.h: Likewise.
57764         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57765         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57766         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57767         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57768         * sysdeps/sh/dl-machine.h: Likewise.
57769         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57770         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57771         * sysdeps/unix/i386/sysdep.S: Likewise.
57772         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57773         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57774         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57775         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57776         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57777         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57778         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57779         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57780         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57781         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57782         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57783         * sysdeps/x86_64/dl-machine.h: Likewise.
57784         * tls.make.c: Likewise.
57786         * configure.in: Remove --with-__thread option.  Make tests for
57787         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57788         tls_model attribute fail if no support is available.  Remove
57789         USE_IN_LIBIO.
57790         * Makeconfig: Adjust for dropped configure option.  All features are
57791         now mandatory.
57792         * Makerules: Likewise.
57793         * Versions.def: Likewise.
57794         * argp/argp-fmtstream.c: Likewise.
57795         * argp/argp-fmtstream.h: Likewise.
57796         * argp/argp-help.c: Likewise.
57797         * assert/assert.c: Likewise.
57798         * config.h.in: Likewise.
57799         * config.make.in: Likewise.
57800         * configure: Likewise.
57801         * configure.in: Likewise.
57802         * csu/Versions: Likewise.
57803         * csu/init.c: Likewise.
57804         * elf/tst-audit2.c: Likewise.
57805         * elf/tst-tls10.c: Likewise.
57806         * elf/tst-tls10.h: Likewise.
57807         * elf/tst-tls11.c: Likewise.
57808         * elf/tst-tls12.c: Likewise.
57809         * elf/tst-tls14.c: Likewise.
57810         * elf/tst-tlsmod11.c: Likewise.
57811         * elf/tst-tlsmod12.c: Likewise.
57812         * elf/tst-tlsmod13.c: Likewise.
57813         * elf/tst-tlsmod13a.c: Likewise.
57814         * elf/tst-tlsmod14a.c: Likewise.
57815         * elf/tst-tlsmod15b.c: Likewise.
57816         * elf/tst-tlsmod16a.c: Likewise.
57817         * elf/tst-tlsmod16b.c: Likewise.
57818         * elf/tst-tlsmod7.c: Likewise.
57819         * elf/tst-tlsmod8.c: Likewise.
57820         * elf/tst-tlsmod9.c: Likewise.
57821         * gmon/gmon.c: Likewise.
57822         * grp/fgetgrent_r.c: Likewise.
57823         * grp/putgrent.c: Likewise.
57824         * hurd/fopenport.c: Likewise.
57825         * include/libc-symbols.h: Likewise.
57826         * include/tls.h: Likewise.
57827         * intl/gettextP.h: Likewise.
57828         * intl/loadinfo.h: Likewise.
57829         * locale/global-locale.c: Likewise.
57830         * locale/localeinfo.h: Likewise.
57831         * mach/devstream.c: Likewise.
57832         * malloc/arena.c: Likewise.
57833         * malloc/set-freeres.c: Likewise.
57834         * misc/err.c: Likewise.
57835         * misc/getttyent.c: Likewise.
57836         * misc/mntent_r.c: Likewise.
57837         * posix/getopt.c: Likewise.
57838         * posix/wordexp.c: Likewise.
57839         * pwd/fgetpwent_r.c: Likewise.
57840         * resolv/Versions: Likewise.
57841         * resolv/res_hconf.c: Likewise.
57842         * shadow/fgetspent_r.c: Likewise.
57843         * shadow/putspent.c: Likewise.
57844         * stdio-common/printf_fphex.c: Likewise.
57845         * stdio-common/tmpfile.c: Likewise.
57846         * stdlib/abort.c: Likewise.
57847         * stdlib/fmtmsg.c: Likewise.
57848         * sunrpc/auth_unix.c: Likewise.
57849         * sunrpc/clnt_perr.c: Likewise.
57850         * sunrpc/clnt_tcp.c: Likewise.
57851         * sunrpc/clnt_udp.c: Likewise.
57852         * sunrpc/clnt_unix.c: Likewise.
57853         * sunrpc/openchild.c: Likewise.
57854         * sunrpc/svc_simple.c: Likewise.
57855         * sunrpc/svc_tcp.c: Likewise.
57856         * sunrpc/svc_udp.c: Likewise.
57857         * sunrpc/svc_unix.c: Likewise.
57858         * sunrpc/xdr.c: Likewise.
57859         * sunrpc/xdr_array.c: Likewise.
57860         * sunrpc/xdr_rec.c: Likewise.
57861         * sunrpc/xdr_ref.c: Likewise.
57862         * sunrpc/xdr_stdio.c: Likewise.
57864 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57866         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57868 2011-07-03  Andreas Jaeger  <aj@suse.de>
57870         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57871         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57872         regenerate with gen-libm-tests.pl.
57874 2010-05-12  Petr Baudis  <pasky@suse.cz>
57876         [BZ #11589]
57877         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57878         around j0() zero points by switching to j1().
57879         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57880         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57881         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57882         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57884 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57886         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57887         instead of 0.
57888         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57889         instead of 0.
57890         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57891         Patch in part by Pavel Roskin <proski@gnu.org>.
57893         [BZ #13138]
57894         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57895         realloc.
57896         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
57897         Free memory block if necessary.
57899         [BZ #12847]
57900         * libio/genops.c (INTDEF): For string streams the _lock pointer can
57901         be NULL.  Don't lock in this case.
57903 2011-09-09  Roland McGrath  <roland@hack.frob.com>
57905         * elf/elf.h (ELFOSABI_GNU): New macro.
57906         (ELFOSABI_LINUX): Define to that.
57908 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
57910         * string/strncat.c (strncat): Undef the symbol in case it has been
57911         defined in bits/string.h.
57913 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57915         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57917         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57918         link map.
57920 2011-08-17  Andreas Jaeger  <aj@suse.de>
57922         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57924 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57925             Ian Lance Taylor  <iant@google.com>
57927         * math/libm-test.inc (lround_test): New testcase.
57928         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57930 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
57932         * Makefile: Remove support for automatic cvs check-ins.
57933         * Makerules: Likewise.
57934         * config.make.in: Likewise.
57935         * configure.in: Likewise.
57936         * intl/Makefile: Likewise.
57937         * locale/Makefile: Likewise.
57938         * po/Makefile: Likewise.
57939         * posix/Makefile: Likewise.
57940         * sysdeps/gnu/Makefile: Likewise.
57941         * sysdeps/mach/hurd/Makefile: Likewise.
57942         * sysdeps/sparc/sparc32/Makefile: Likewise.
57944         [BZ #13118]
57945         * posix/Makefile (bug-regex32-ENV): Define.
57946         Patch by John Stanley <jpsinthemix@verizon.net>.
57948         * misc/Makefile (headers): Add bits/select2.h.
57949         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57950         * misc/bits/select2.h: New file.
57951         * include/bits/select2.h: New file.
57952         * debug/Makefile (routines): Add fdelt_chk.
57953         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57954         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57955         FD_ISSET.
57956         * debug/fdelt_chk.c: New file.
57958         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
57959         * wcsmbs/test-wmemcmp.c: Likewise.
57960         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57961         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57963 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57965         * string/Makefile (strop-tests): Add memcmp.
57966         * string/test-wmemcmp.c: New file.
57967         * string/test-memcmp.c: Add wmemcmp support.
57969 2011-09-08  Roland McGrath  <roland@hack.frob.com>
57971         [BZ #13153]
57972         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57973         2011-07-19 change.
57975         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57976         garbage value in a __mach_port_mod_refs call in the cases of the
57977         task-self and thread-self ports.
57979 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57981         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57983 2011-09-08  Andreas Schwab  <schwab@redhat.com>
57985         * elf/dl-load.c (lose): Check for non-null L.
57987 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57989         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57991         * elf/dl-libc.c (dlerror_run): Pass back error code from
57992         dl_catch_error.
57994         [BZ #13123]
57995         * elf/dl-load.c (lose): Free l_origin if it is valid.
57997         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57998         names.
57999         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58000         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58001         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58002         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58003         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58004         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58006 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58008         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58009         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58010         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58011         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58012         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58013         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58014         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58015         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58016         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58017         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58019 2011-08-15  Alan Modra  <amodra@gmail.com>
58021         [BZ #13092]
58022         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58023         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58024         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58025         ppc_mcount to static-only-routines.
58026         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58027         __mcount_internal.
58028         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58029         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58031 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58033         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58034         for finite and infinity parameters.
58036 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58038         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58039         and add nop instructions for throughput optimization.
58040         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58042 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58044         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58045         aligned copy for power7 with vector-scalar instructions.
58046         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58048 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58050         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58051         AVX check.
58053 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58055         [BZ #13144]
58056         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58057         last change.
58059 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58061         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58062         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58063         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58064         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58065         clock_gettime.
58067 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58069         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58070         Forgot to demangle the pointer.
58072         * sysdeps/i386/sysdep.h: Define atom_text_section.
58073         * sysdeps/x86_64/sysdep.h: Likewise.
58074         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58075         section with atom_text_section.
58076         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58077         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58078         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58079         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58080         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58082         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58083         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58084         already be defined.  Change to take two parameters and don't assign
58085         result to variable.  Adjust all users.
58086         Define INTERNAL_GETTIME if not already defined.
58087         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58088         call.
58089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58090         HAVE_CLOCK_GETTIME_VSYSCALL.
58091         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58093         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58094         gettimeofday vsyscall, just use time.
58096 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58098         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58099         <errno.h>.
58101 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58103         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58104         syscall on x86-64.
58105         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58106         syscall.
58107         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58108         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58109         syscall if possible.
58111 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58113         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58114         e_ident.  Don't pass to find_mapsXX.
58115         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58117 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58119         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58120         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58121         * sysdeps/x86_64/multiarch/strchr.S: Update.
58122         Check bit_slow_BSF bit.
58123         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58124         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58125         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58127 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58129         [BZ #13134]
58130         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58131         before glibc 2.15.
58132         (tryshell): Define.
58133         (__spawni): Change last parameter to be flag.  Test
58134         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58135         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58136         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58137         * posix/spawni.c: Likewise.
58138         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58139         * posix/spawnp.c: Likewise.  Change normal version to use
58140         SPAWN_XFLAGS_USE_PATH.
58141         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58142         SPAWN_XFLAGS_TRY_SHELL.
58144         [BZ #13150]
58145         * posix/glob.h: Remove gcc 1.x support.
58147         [BZ #13068]
58148         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58150 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58152         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58153         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58154         strrchr-sse2-bsf
58155         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58156         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58157         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58158         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58159         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58160         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58162 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58164         * sysdeps/x86_64/wcscmp.S: New file.
58166         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58167         wcscmp-c wcscmp-sse2
58168         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58169         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58170         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58171         * wcsmbs/wcscmp.c: Allow renaming.
58173 2011-09-05  David S. Miller  <davem@davemloft.net>
58175         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58176         stack slot, rather than the struct return pointer slot.
58177         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58178         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58180         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58182 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58184         * po/ja.po: Update from translation team.
58186         [BZ #13144]
58187         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58188         kernel in 64-bit binaries.
58190 2011-09-01  David S. Miller  <davem@davemloft.net>
58192         * elf/elf.h (HWCAP_SPARC_*): Move to..
58193         * sysdeps/sparc/sysdep.h: this new file and add new values.
58194         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58195         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58196         _DL_HWCAP_COUNT to 24.
58197         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58198         entries.
58199         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58200         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58201         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58202         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58203         instead of magic constants.
58204         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58206 2011-08-31  David S. Miller  <davem@davemloft.net>
58208         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58209         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58210         Reimplement to do errno handling inline.
58211         (SYSCALL_ERROR_HANDLER): New macro.
58212         (__SYSCALL_STRING): Do not do errno handling in asm.
58213         (__CLONE_SYSCALL_STRING): Delete.
58214         (__INTERNAL_SYSCALL_STRING): Delete.
58215         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58216         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58217         (PSEUDO): Reimplement to do errno handling inline.
58218         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58219         (SYSCALL_ERROR_HANDLER): New macro.
58220         (__SYSCALL_STRING): Do not do errno handling in asm.
58221         (__CLONE_SYSCALL_STRING): Delete.
58222         (__INTERNAL_SYSCALL_STRING): Delete.
58223         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58224         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58225         i386.
58226         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58227         (inline_syscall*): Add 'err' argument.
58228         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58229         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58230         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58231         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58233         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58234         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58236 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58238         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58240 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58242         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58243         directive.
58245 2011-08-24  David S. Miller  <davem@davemloft.net>
58247         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58249 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58251         * elf/Makefile: Add rules to build and run unload8 test.
58252         * elf/unload8.c: New file.
58253         * elf/unload8mod1.c: New file.
58254         * elf/unload8mod1x.c: New file.
58255         * elf/unload8mod2.c: New file.
58256         * elf/unload8mod3.c: New file.
58258         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58259         it wasn't used.
58261 2011-08-23  David S. Miller  <davem@davemloft.net>
58263         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58264         subtract stack bias.
58265         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58266         %sp not %fp in calculations.
58267         (_JMPBUF_UNWINDS_ADJ): Likewise.
58269         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58270         (aio_suspend): Call it to force an exception region around the
58271         AIO_MISC_WAIT() invocation.
58273 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58275         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58276         backslash.
58278 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58280         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58281         protection macro.
58282         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58283         and <dl-machine.h>.
58284         (Elf64_FuncDesc): Remove.
58286 2011-08-22  David S. Miller  <davem@davemloft.net>
58288         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58289         sigaltstack check, add missing cfi directives.
58290         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58291         missing cfi directives, and sigaltstack handling.
58293 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58295         [BZ #11724]
58296         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58297         object is seen twice.
58298         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58300         * elf/Makefile (distribute): Add tst-initorder2.c.
58301         (tests): Add tst-initorder2.
58302         (modules-names): Add tst-initorder2a tst-initorder2b
58303         tst-initorder2c tst-initorder2d.  Add rules to build them.
58304         ($(objpfx)tst-initorder2.out): New rule.
58305         * elf/tst-initorder2.c: New file.
58306         * elf/tst-initorder2.exp: New file.
58308 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58310         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58312         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58313         dependencies back to end of function.
58315         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58316         $(elfobjdir)/ld.so.
58318 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58320         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58321         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58322         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58323         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58324         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58325         of __vdso_gettimeofday.
58326         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58327         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58328         attribute_hidden.
58329         (_libc_vdso_platform_setup): Remove initialization of
58330         __vdso_gettimeofday and __vdso_time.
58332 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58334         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58335         and fgetc_unlocked.
58336         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58337         getc_unlocked.
58339         * elf/dl-open.c (add_to_global): Report additions to the global scope
58340         for LD_DEBUG=scopes.
58341         (dl_open_worker): Also print scope of newly loaded dependencies.
58342         (_dl_show_scope): Indicate if there is no scope.
58344         [BZ #13114]
58345         * stdio-common/Makefile (tests): Add bug24.
58346         * stdio-common/bug24.c: New file.
58348 2011-08-19  Andreas Jaeger  <aj@suse.de>
58350         [BZ #13114]
58351         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58352         non-existant file when using close-on-exec mode.
58354 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58356         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58357         the very first instruction.
58359         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58360         the CFI state in the end.
58361         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58362         inclusion of dl-trampoline.h.
58363         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58365 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58367         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58368         expectations for long double.
58370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58371         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58373 2011-08-14  David S. Miller  <davem@davemloft.net>
58375         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58376         artificual limit depends upon the system page size.
58378 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58380         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58381         * resolv/Makefile: Define CFLAGS-libresolv.
58383 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58385         * nss/makedb.c (compute_tables): Make variables used in nested
58386         function static.
58388 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58390         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58391         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58392         if buffer was too small.
58394         * elf/pldd.c (main): Attach to all threads in the process.
58395         Rewrite /proc handling to use *at functions.
58397 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58399         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58400         specifies first scope to show.
58401         (dl_open_worker): Update callers.  Move printing scope of new
58402         object to before the relocation.
58403         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58404         * sysdeps/generic/ldsodefs.h: Update declaration.
58406         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58407         string for the scope number.
58409 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58411         * nscd/servicescache.c (cache_addserv): Make sure written is always
58412         initialized.
58414 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58416         * sysdeps/i386/i486/bits/atomic.h
58417         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58418         statement expression, so as to suppress "set but not used" warning.
58419         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58421         * string/strncat.c (STRNCAT): Use prototype definition.
58423         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58424         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58425         -Iprograms here.
58426         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58427         (localedef-modules): Add localedef.
58428         (locale-modules): Add locale.
58430         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58431         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58432         to avoid a warning.
58434 2011-08-14  David S. Miller  <davem@davemloft.net>
58436         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58437         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58439 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58441         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58442         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58443         * elf/rtld.c (dl_main): Set l_name of vDSO.
58444         Call _dl_show_scope when DL_DEBUG_SCOPES.
58445         (process_dl_debug): Recognize scopes flag and also set it for all.
58446         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58447         Declare _dl_show_scope.
58449         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58450         (do_dlopen): Pass caller_dlopen to dl_open.
58451         (__libc_dlopen_mode): Initialize caller_dlopen.
58453         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58454         of libc.  Make tolower call locale-independent.  Optimize a bit by
58455         using isdigit instead of isalnum.
58456         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58458 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58460         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58461         was a dependency or dynamically loaded.
58463 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58465         * intl/l10nflist.c: Allow architecture-specific pop function.
58466         * sysdeps/x86_64/l10nflist.c: New file.
58468         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58469         classification.
58471 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58473         * include/dirent.h: Add libc_hidden_proto for scandirat and
58474         scandirat64.  Don't declare __scandirat64.
58475         * dirent/scandirat.c: Add libc_hidden_def.
58476         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58477         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58479 2011-08-10  David S. Miller  <davem@davemloft.net>
58481         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58482         enum.
58483         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58484         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58485         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58487 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58489         * Versions.def [libc]: Add GLIBC_2.15.
58490         * dirent/Makefile (routines): Add scandirat and scandirat64.
58491         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58492         GLIBC_2.15.
58493         * dirent/dirent.h: Declare scandirat and scandirat64.
58494         * dirent/scandirat.c: New file.
58495         * dirent/scandirat64.c: New file.
58496         * sysdeps/wordsize-64/scandirat.c: New file.
58497         * sysdeps/wordsize-64/scandirat64.c: New file.
58498         * dirent/opendir.c: Define opendirat.
58499         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58500         using scandirat.
58501         * dirent/scandir64.c: Adjust for scandir.c change.
58502         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58503         __scandirat64, and __scandir_cancel_handler.
58504         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58505         additional parameter and use openat instead of open (outside of ld.so).
58506         Add new __opendir as wrapper around __opendirat.
58507         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58508         here without requiring old scandirat implementation.
58510 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58512         * dirent/scandir.c (cancel_handler): Renamed to
58513         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58514         defined.  Adjust users.
58515         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58516         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58518 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58520         * string/test-string.h (IMPL): Use __STRING to expand name and then
58521         stringify it.
58523         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58524         of cleanups.
58526 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58528         * string/Makefile: Update.
58529         (strop-tests): Append strncat.
58530         * string/test-wcscmp.c: New file.
58531         New comprehensive test for wcscmp.
58532         * string/test-strcmp.c: Update.
58533         (WIDE): New define.
58535 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58537         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58538         line.
58540 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58542         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58543         encoding to ACE if AI_IDN.
58545 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58547         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58548         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58550 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58552         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58553         Fix overflow bug in strncat.
58554         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58556         * string/test-strncat.c: Update.
58557         Add new tests for checking overflow bugs.
58559 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58561         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58562         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58563         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58564         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58565         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58566         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58567         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58568         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58569         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58571         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58572         (USE_AS_STRCAT): Define.
58573         Add strcat and strncat support.
58574         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58576 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58578         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58579         __n bigger than INT_MAX+1.
58580         (__strncmp_g): Likewise.
58582 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58584         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58585         * libio/stido.h: Likewise.
58587         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58588         (AF_NFC): Define.
58589         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58590         (AF_NFC): Define.
58592         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58593         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58594         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58595         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58596         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58598         [BZ #13021]
58599         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58600         installed.
58602         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58603         typo.
58604         (_dl_x86_64_save_sse): Likewise.
58606 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58608         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58609         OSXSAVE.
58610         (_dl_x86_64_save_sse): Likewise.
58612         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58614         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58616 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58618         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58619         change.
58620         (_dl_x86_64_save_sse): Use correct AVX check.
58622 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58624         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58625         bug in strncpy/strncat.
58626         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58628 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58630         * string/tester.c (test_strcat): Add tests for different alignments
58631         of source and destination.
58632         (test_strncat): Likewise.
58634 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58636         [BZ #12852]
58637         * posix/glob.c (glob): Check passed in values before using them in
58638         expressions to avoid some overflows.
58639         (glob_in_dir): Likewise.
58641         [BZ #13007]
58642         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58643         check for AVX enablement so that we don't crash with old kernels and
58644         new hardware.
58645         * elf/tst-audit4.c: Add same checks here.
58646         * elf/tst-audit6.c: Likewise.
58648         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58650 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58652         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58654 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58656         * po/cs.po: Update from translation team.
58657         * po/bg.po: Likewise.
58659 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58661         * misc/sys/cdefs.h: Add support for const attribute.
58662         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58663         to gnu_dev_{major,minor,makedev} functions.
58665 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58667         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58669 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58671         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58672         strlen results.
58674 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58676         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58677         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58678         register in order to avoid conflicts with the soft frame pointer
58679         being held in r11 when necessary.
58680         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58681         (INTERNAL_VSYSCALL_NCS): Likewise.
58683 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
58685         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58686         * elf/dl-fini.c (_dl_fini): Adjust caller.
58687         * elf/dl-close.c (_dl_close_worker): Likewise.
58688         * sysdeps/generic/ldsodefs.h: Adjust declaration.
58690 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58692         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58693         "aux_cache->nlibs < 0".
58695         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58696         in the reload-count case.
58698 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58700         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58701         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58702         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58703         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58704         * sysdeps/x86_64/multiarch/strcat.S: New file.
58705         * sysdeps/x86_64/multiarch/strncat.S: New file.
58706         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58707         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58708         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58709         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58710         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58711         (USE_AS_STRCAT): Define.
58712         Add strcat and strncat support.
58713         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58714         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58715         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58716         * string/strncat.c: Update.
58717         (USE_AS_STRNCAT): Define.
58718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58719         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58720         and i7.
58721         * sysdeps/x86_64/multiarch/init-arch.h
58722         (bit_Prefer_PMINUB_for_stringop): New.
58723         (index_Prefer_PMINUB_for_stringop): Likewise.
58724         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58725         bit_Prefer_PMINUB_for_stringop.
58727 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58729         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58730         buffer64.
58731         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58732         of casting of buffer.
58733         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58734         buffer32 and buffer64.
58735         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58736         writes instead of casting of buffer.
58737         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58738         buffer32.
58739         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58740         casting of buffer.
58742 2011-07-19  Andreas Schwab  <schwab@redhat.com>
58744         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58746 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58748         * nscd/nscd.c (termination_handler): Don't do anything for a database
58749         if it has not yet been initialized.
58751 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58753         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58755 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58757         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58759 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58761         * po/nl.po: Update from translation team.
58762         * po/sv.po: Likewise.
58764 2011-07-16  Roland McGrath  <roland@hack.frob.com>
58766         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58767         now disallowed by GCC.
58769         * configure.in (use-default-link): Default to yes if a test -shared
58770         link meets our qualifications.
58771         * configure: Regenerated.
58773         * config.make.in (output-format): New variable.
58774         * configure.in: Check for ld --print-output-format support.
58775         * configure: Regenerated.
58776         * Makerules ($(common-objpfx)format.lds)
58777         [$(output-format) != unknown]: Just use $(output-format),
58778         instead of the linker-script munging.
58780 2011-07-14  Roland McGrath  <roland@hack.frob.com>
58782         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58783         of $(common-objpfx)shlib.lds.
58784         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58786         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58787         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58789         * configure.in (-z relro check): Adjust test code to add a large
58790         writable data section after it.
58791         * configure: Regenerated.
58793 2011-07-11  Roland McGrath  <roland@hack.frob.com>
58795         * configure.in (-z relro check): Fix test code to make the variable
58796         truly const.
58797         * configure: Regenerated.
58799 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
58801         * nscd/nscd.h (struct traced_file): Define.
58802         (struct database_dyn): Remove inotify_descr, reset_res, and filename
58803         elements.  Add traced_files.
58804         (inotify_fd): Declare.
58805         (register_traced_file): Declare.
58806         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58807         (inotify_fd): Export.
58808         (resolv_conf_descr): Remove.
58809         (nscd_init): Move inotify descriptor creation to main.
58810         Don't register files for notification here.
58811         (register_traced_file): New function.
58812         (invalidate_cache): Don't use reset_res to determine whether to call
58813         res_init, go through the list of registered files.
58814         (main_loop_poll): The inotify descriptors are now stored in the
58815         structures for the traced files.
58816         (main_loop_epoll): Likewise
58817         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
58818         to __nss_disable_nscd.
58819         * nscd/cache.c (prune_cache): There is no single inotify descriptor
58820         for a database anymore.  Check the records for all the registered
58821         files instead.
58822         * nss/Makefile (libnss_files-routines): Add files-init.
58823         (libnss_db-routines): Add db-init.
58824         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58825         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58826         * nss/nss_db/db-init.c: New file.
58827         * nss/nss_files/files-init.c: New file.
58828         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
58829         __nss_lookup_function.
58830         (__nss_lookup_function): Call nss_load_library.
58831         (nss_load_all_libraries): New function.
58832         (__nss_disable_nscd): Take parameter with callback function for files
58833         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
58834         used for the cached services.
58835         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58836         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58837         options for features to all the files in nscd.
58839         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58841 2011-07-10  Roland McGrath  <roland@hack.frob.com>
58843         * csu/elf-init.c (__libc_csu_init): Comment typo.
58845 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
58847         * po/pl.po: Update from translation team.
58848         * po/ja.po: Likewise.
58849         * po/ru.po: Likewise.
58850         * po/ko.po: Likewise.
58851         * po/fr.po: Likewise.
58853 2011-07-09  Roland McGrath  <roland@hack.frob.com>
58855         * configure.in (.ctors/.dtors header and trailer check):
58856         Use an empirical test on a built program.
58857         * configure: Regenerated.
58859         * configure.in (-z relro check): Use an empirical test on a built DSO.
58860         Detect, but do not require, on ia64.
58861         * configure: Regenerated.
58863         * configure.in (READELF): Find it with AC_CHECK_TOOL.
58864         Update tests that use readelf to use $READELF instead.
58865         * configure: Regenerated.
58867 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
58869         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58870         if the result is not used.
58872 2011-07-05  Andreas Jaeger  <aj@suse.de>
58874         [BZ#9696]
58875         * stdlib/tst-strtod.c: Add testcase.
58877 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
58879         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58880         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58881         The latter has a higher limit.  Take additional parameter to pass to
58882         the new function.
58883         (__pathconf): Pass file to __statfs_link_max.
58884         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58885         __statfs_link_max.
58886         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58887         __statfs_link_max.
58889         [BZ #12868]
58890         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58891         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58892         Handle Lustre.
58893         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58894         (__statfs_filesize_max): Likewise.
58895         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58897 2011-07-05  Andreas Jaeger  <aj@suse.de>
58899         * resolv/res_comp.c (dn_skipname): Remove unused variable.
58901 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
58903         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58904         `status' variable.
58905         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58906         Likewise.
58908 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
58910         * Makefile (strop-tests): Add strncat.
58911         * string/test-strncat.c: New file.
58913 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
58915         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58917 2011-06-21  Andreas Jaeger  <aj@suse.de>
58919         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58920         Copy rule from iconvdata/Makefile.
58922 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58924         [BZ #12922]
58925         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58926         but no long options are defined, just return 'W'.
58928 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
58930         [BZ #9696]
58931         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58933 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58935         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58936         netgroups to read.
58937         (innetgr): Likewise.
58939 2011-07-05  Roland McGrath  <roland@hack.frob.com>
58941         * config.make.in (install_root): Default to $(DESTDIR).
58943 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
58945         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58947 2011-07-02  Roland McGrath  <roland@hack.frob.com>
58949         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58951         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58952         containing directory rather than embedding absolute directory names.
58954         * scripts/check-local-headers.sh: Rewritten using awk.
58955         Match by word, not by line.  Print error messages for matches.
58956         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58958         * Makerules [shlib-lds-flags empty]:
58959         ($(common-objpfx)libc_pic.opts): New target.
58960         ($(common-objpfx)libc_pic.os.clean): New target.
58961         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58963         * config.make.in (OBJCOPY): New variable.
58964         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58965         * configure: Regenerated.
58967         * config.make.in (use-default-link): New variable.
58968         * configure.in (use_default_link): Grok --with-default-link to set it.
58969         * configure: Regenerated.
58970         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58971         (shlib-lds, shlib-lds-flags): Define to empty.
58973         * Makerules (shlib-lds): New variable.
58974         (shlib-lds-flags): New variable.
58975         (build-shlib, build-moduile, build-module-asneeded): Use it.
58976         ($(common-objpfx)libc.so): Use $(shlib-lds).
58977         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58978         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58980         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58981         DT_FLAGS/DT_FLAGS_1 with zero flags.
58983         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58984         linker script munging.
58986 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
58988         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58989         as 128-bit value.
58990         * crypt/sha512.c (sha512_process_block): Perform total addition using
58991         128-bit if possible.
58992         (__sha512_finish_ctx): Likewise.
58993         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58994         as 64-bit value.
58995         * crypt/sha256.c (SWAP64): Define.
58996         (sha256_process_block): Perform total addition using 64-bit if
58997         possible.
58998         (__sha256_finish_ctx): Likewise.
59000 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59002         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59003         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59004         * nscd/hstcache.c (cache_addhst): Likewise.
59005         * nscd/grpcache.c (cache_addgr): Likewise.
59006         * nscd/aicache.c (addhstaiX): Likewise
59007         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59009 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59011         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59012         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59013         * nscd/hstcache.c (cache_addhst): Likewise.
59014         * nscd/grpcache.c (cache_addgr): Likewise.
59015         * nscd/aicache.c (addhstaiX): Likewise
59017 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59019         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59020         domain only when needed.
59022 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59025         is always restored.
59027 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59029         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59030         are re-adding the entry.
59031         * nscd/servicescache.c (cache_addserv): Likewise.
59033 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59035         * sysdeps/generic/dl-irel.h: fix protection against multiple
59036         inclusions.
59037         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59039 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59041         [BZ #12935]
59042         * malloc/memusage.sh: Fix quoting in message.
59043         * debug/xtrace.sh: Likewise.
59045         * configure.in: Remove support for --experimental-malloc option, make
59046         it the default.
59047         * config.make.in: Likewise.
59048         * malloc/Makefile: Likewise.
59050 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59052         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59053         two-byte characters.
59055 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59057         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59058         AC_CACHE_CHECK invocation.
59059         * configure: Regenerated.
59061         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59063 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59065         [BZ #12350]
59066         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59067         bit from old_res_options.
59069         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59071         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59072         value type for setfct.
59074 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59076         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59077         __gettimeofday instead of gettimeofday.
59079 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59081         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59083 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59085         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59087         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59088         info.
59090 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59092         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59093         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59094         strcpy-sse2-unaligned strncpy-sse2-unaligned
59095         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59096         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59097         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59098         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59099         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59100         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59101         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59102         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59103         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59104         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59105         (STRCPY): Support SSE2 and SSSE3 versions.
59107 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59109         [BZ #12874]
59110         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59111         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59112         kernels which artificially limit size of requests.
59114 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59116         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59117         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59118         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59119         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59120         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59121         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59122         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59123         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59124         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59125         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59126         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59127         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59128         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59129         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59130         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59131         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59132         Enable unaligned load optimization for Intel Core i3, i5 and i7
59133         processors.
59134         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59135         Define.
59136         (index_Fast_Unaligned_Load): Define.
59137         (HAS_FAST_UNALIGNED_LOAD): Define.
59139 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59141         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59143 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59145         [BZ #12907]
59146         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59147         until it is clear that the information is realy needed.
59148         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59150 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59152         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59154 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59156         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59157         /sys/devices/system/cpu/online if it is usable.
59159         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59160         reading the information from the /proc filesystem to once a second.
59162 2011-06-21  Andreas Jaeger  <aj@suse.de>
59164         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59165         NULL after inclusion of kernel headers.
59167 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59169         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59170         calls to internal_setent.
59172         [BZ #12885]
59173         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59174         addresses using gethostbyname4_r ignore IPv4 addresses.
59176         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59177         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59179         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59181 2011-06-20  David S. Miller  <davem@davemloft.net>
59183         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59184         inclusions.
59185         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59187         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59188         (elf_irel): Use it.
59189         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59190         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59191         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59192         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59193         * sysdeps/x86_64/dl-irel.h: Likewise.
59195         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59196         * elf/dl-sym.c: Likewise.
59198 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59200         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59201         need to dereference resplen2.
59203 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59205         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59207 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59209         * Makeconfig: Define vardbdir and inst_vardbdir.
59210         * nss/Makefile: Add rules to install db-Makefile.
59212         * nss/nss_db/db-XXX.c: Cleanup.
59214         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59215         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59216         GLIBC_PRIVATE.
59217         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59218         * nss/makedb.c: Implement -g option to specify that value strings
59219         are generated and should not be added to table iterated over for
59220         get*ent calls.
59221         * nss/nss_db/db-initgroups.c: New file.
59223         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59224         interface.
59226         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59227         (internal_getgrouplist): Adjust to name change.
59228         Update use_initgroups_entry if this is not the first call.
59229         * nss/databases.def: Add initgroups entry.
59231         * nss/makedb.c (compute_tables): Check result of multiple hash table
59232         sizes to minimize maximum chain length.
59234 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59236         * Versions.def: Add entry for libnss_db.
59237         * shlib-versions: Likewise.
59238         * nss/Makefile: Add rules to build libnss_db.
59239         * nss/Versions: Add libnss_db information.  Organize libnss_files
59240         entries better.
59241         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59242         makedb progra.  Some minor improvements to generate smaller files.
59243         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59244         here from...
59245         * nss/makedb.c: ...here.
59246         Improve database format to be smaller and require less memory at
59247         runtime.
59248         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59249         db anymore.
59250         * nss/nss_db/db-netgrp.c: Likewise.
59251         * nss/nss_db/db-open.c: Likewise.
59252         * nss/nss_files/flies-XXX.x: Adjust comments.
59253         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59254         * nss/nss_files/files-grp.c: Likewise.
59255         * nss/nss_files/files-hosts.c: Likewise.
59256         * nss/nss_files/files-network.c: Likewise.
59257         * nss/nss_files/files-proto.c: Likewise.
59258         * nss/nss_files/files-pwd.c: Likewise.
59259         * nss/nss_files/files-rpc.c: Likewise.
59260         * nss/nss_files/files-service.c: Likewise.
59261         * nss/nss_files/files-sgrp.c: Likewise.
59262         * nss/nss_files/files-spwd.c: Likewise.
59263         * nss/nss_db/db-alias.c: Removed.
59264         * nss/nss_db/dummy-db.h: Removed.
59266 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59268         * nss/makedb.c: Rewritten to not use database library.
59269         * nss/Makefile: Update to build new makedb program.
59271 2011-06-14  Andreas Jaeger  <aj@suse.de>
59273         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59274         memset declaration.
59276 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59278         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59279         tmpbuf.
59281 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59283         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59284         * elf/Makefile ($(objpfx)ld.so): Likewise.
59286         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59287         Don't list ld.so twice in dependencies.
59289         * posix/bug-regex31.c: Include <stdlib.h>.
59291         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59293         * nis/nss_compat/compat-spwd.c
59294         (getspent_next_nss_netgr): Remove unused variable.
59295         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59297         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59298         nonmembers" output to use the right array.
59300         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59302         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59304         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59305         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59306         * catgets/gencat.c (read_input_file): Likewise.
59307         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59309         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59310         variable definition inside #if's controlling its use.
59312         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59314         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59316         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59318         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59319         unreachable code.
59321         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59323         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59324         * configure: Regenerated.
59326         * Makerules: Revert last change.
59327         * elf/Makefile: Likewise.
59329 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59331         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59332         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59333         (reloc-link): Likewise.
59335 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59337         * elf/Makefile: Add rules to build pldd.
59338         * elf/pldd.c: New file.
59339         * elf/pldd-xx.c: New file.
59341 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59343         * version.h: Update for 2.15 development version.
59345 2011-06-07  David S. Miller  <davem@davemloft.net>
59347         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59348         ifuncs.
59349         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59350         elf_machine_lazy_rel): Likewise.
59351         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59352         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59353         elf_machine_lazy_rel): Likewise.
59354         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59355         dl_hwcap via passed in argument.
59356         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59357         Likewise.
59359 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59361         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59363 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59365         [BZ #12849]
59366         * manual/fdl-1.1.texi: New file, verbatim from:
59367         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59368         * manual/lgpl-2.1.texi: New file, verbatim from:
59369         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59370         * manual/Makefile (licenses): New variable, list those new file names.
59371         (texis): Use it.
59372         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59374         * manual/fdl.texi: File removed.
59375         * manual/lesser.texi: File removed.
59376         * manual/libc.texinfo (Copying, Documentation License):
59377         Use new @include file names, put @appendix directive before @include.
59379 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59381         [BZ #12841]
59382         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59383         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59384         (mq_open): Add __NTH.
59386 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59388         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59389         Assume Intel Core i3/i5/i7 processor if AVX is available.
59391 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59393         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59394         typo.
59396 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59398         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59399         memory.  Use alloca_account.  Fix memory leak when retrying.
59401 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59403         * version.h (RELEASE): Bump for 2.14 release.
59404         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59406         * config.make.in (RANLIB): Remove entry.
59408 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59410         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59411         (libc.pot): Work around missing support for .ksh extension in xgettext.
59413         [BZ #12684]
59414         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59415         if both request failed.
59416         (send_dg): In case of server errors clear resplen or *resplen2.
59418         [BZ #12454]
59419         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59420         when there are multiple maps.
59421         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59422         (_dl_fini): Remove test here.
59424         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59426 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59428         [BZ #12350]
59429         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59430         bit from old_res_options.
59431         (gaih_inet): Likewise.
59433         [BZ #11099]
59434         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59435         as signed.
59437         * resolv/res_init.c (res_setoptions): Make the code more compact.
59439         [BZ #11558]
59440         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59441         set RES_USEVC.
59443         [BZ #11634]
59444         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59446         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59448         [BZ #11781]
59449         * malloc/malloc.h: Declare malloc hook variables as volatile.
59451         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59452         in last patch.
59454         [BZ #11799]
59455         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59456         raise in the comment.
59457         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59458         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59459         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59461 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59463         [BZ #12811]
59464         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59465         grow the buffers more if it already has to be sufficient.
59466         (build_wcs_upper_buffer): Likewise.
59467         * posix/regexec.c (check_matching): Likewise.
59468         (clean_state_log_if_needed): Likewise.
59469         (extend_buffers): Don't enlarge buffers beyond size of the input
59470         buffer.
59471         Patches mostly by Emil Wojak <emil@wojak.eu>.
59472         * posix/bug-regex32.c: New file.
59473         * posix/Makefile (tests): Add bug-regex32.
59475         * locale/findlocale.c (_nl_find_locale): Return right away if
59476         _nl_explode_name failed.
59477         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59479         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59481         * debug/xtrace.sh: Unify messages.
59482         * malloc/memusage.sh: Likewise.
59484         [BZ #12813]
59485         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59486         time symbol from vDSO.  Substitute with vsyscall if not available.
59487         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59488         __vdso_time.
59490         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59491         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59492         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59493         Add sendmmsg and internal_sendmmsg.
59494         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59495         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59496         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59498         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59499         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59500         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59502 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59504         [BZ #12813]
59505         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59506         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59507         available.
59508         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59509         __vdso_getcpu.
59511         [BZ #12814]
59512         * iconvdata/Makefile (tests): Add bug-iconv9.
59513         * iconvdata/bug-iconv9.c: New file.
59515 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59517         [BZ #12814]
59518         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59520 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59522         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59523         (struct user_regs_struct): Change intcs field back to cs.
59525 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
59527         * po/ja.po: Update from translation team.
59529 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
59531         [BZ #12795]
59532         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59533         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59535 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59537         * stdlib/longlong.h: Update from GCC.
59539 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59541         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59542         parameter name.
59543         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59544         Add parameter name.
59545         (__sysconf): Pass it down.
59547 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59549         [BZ #12671]
59550         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59551         some situations.
59552         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59553         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59554         add in in __libc_use_alloca calls.  Adjust callers.
59555         (glob): Use malloc in some situations.
59557         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59558         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59559         pltexit.
59561 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59563         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59564         and CLOCK_BOOTTIME_ALARM.
59566         [BZ #12782]
59567         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59568         is returned.
59570         * string/_strerror.c (__strerror_r): Print negative errors as signed
59571         numbers.
59573         [BZ #12777]
59574         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59575         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59576         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59578         * configure.in: Fix typo in redirection and correct removal of test
59579         files in two cases.
59581         [BZ #12788]
59582         * locale/setlocale.c (new_composite_name): Fix test to check for
59583         identical name of all categories.
59585         [BZ #12792]
59586         * libio/filedoalloc.c (local_isatty): New function.
59587         (_IO_file_doallocate): Use local_isatty.
59588         * stdio-common/perror.c (perror): In case a new stream is used
59589         forward the stream error.
59590         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59591         error flag.
59593 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59595         [BZ #11869]
59596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59597         alloca.
59598         * include/alloca.h (extend_alloca_account): Define.
59600         [BZ #11857]
59601         * posix/regex.h: Fix comments with documentation of user-accessible
59602         fields after compilation and describe correct free'ing of pattern
59603         after re_compile_pattern.
59604         Patch by Reuben Thomas <rrt@sc3d.org>.
59606 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59608         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59609         and -mno-altivec to prevent the compiler from using Altivec and/or
59610         VSX instructions when the corresponding registers are not available.
59612 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59614         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59616 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59618         * libio/freopen.c (freopen): Use __dup2, not dup2.
59619         * libio/freopen64.c (freopen64): Likewise.
59621 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59623         [BZ #12775]
59624         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59625         * math/Makefile (tests): Add test-powl.
59626         (CFLAGS-test-powl.c): Define.
59627         * math/test-powl.c: New file.
59629 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59631         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59633 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59635         [BZ #11837]
59636         * iconvdata/gb18030.c: Update to GB18020-2005.
59638 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59640         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59641         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59642         Patch by Aharon Robbins <arnold@skeeve.com>.
59644         [BZ #11892]
59645         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59646         on the stack.
59648         [BZ #11895]
59649         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59650         through underflows.
59652         [BZ #12766]
59653         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59654         point to strings before performing equality test for error_one_per_line
59655         mode.
59657         [BZ #11697]
59658         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59660         [BZ #11820]
59661         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59662         (struct user_fpregs_struct): Avoid __uint*_t types.
59664         [BZ #6420]
59665         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59666         symbol info.  Use it instead of calling _dl_addr locally.
59667         (lock_and_info): New function.
59668         (tr_freehook): Call lock_and_info and pass symbol info as additional
59669         parameter to tr_where.
59670         (tr_mallochook): Likewise.
59671         (tr_reallochook): Likewise.
59672         (tr_memalignhook): Likewise.
59674         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
59675         used and couldn't be at all thread-safe.
59677 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
59679         * libio/freopen.c (freopen): Don't close old file descriptor
59680         before the new one is opened.  Instead dup the new file descriptor
59681         to the old one after the new stream is created.
59682         * libio/freopen64.c (freopen64): Likewise.
59683         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59684         * libio/fileops.c (_IO_new_file_close_it): Handle new
59685         _IO_FLAGS2_NOCLOSE flag.
59686         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59687         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59688         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59689         _IO_FLAGS2_NOCLOSE flag.
59690         * include/unistd.h: Add hidden_proto for dup3.
59691         Define __have_dup3.
59692         * io/dup3.c: Define hidden symbol.
59693         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59695         [BZ #7101]
59696         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59697         when an incomplete long option is used.
59698         * posix/tst-getopt_long1.c: New file.
59699         * posix/Makefile (tests): Add tst-getopt_long1.
59701         [BZ #10138]
59702         * scripts/config.guess: Update from autoconf-2.68.
59703         * scripts/config.sub: Likewise.
59705         [BZ #10157]
59706         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59707         tests into ...
59708         (has_cpuclock): ...this.  New function.
59709         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59710         macro here based on has_cpuclock code.
59712         [BZ #10149]
59713         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59714         First byte (not low byte) is now always NUL.
59715         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59717         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59718         Use non-cancelable interfaces.
59720         [BZ #9809]
59721         * locale/iso-639.def: Add entry for Sorani.
59723         [BZ #11901]
59724         * include/stdlib.h: Move include protection to the right place.
59725         Define abort_msg_s.  Declare __abort_msg with it.
59726         * stdlib/abort.c (__abort_msg): Adjust type.
59727         * assert/assert.c (__assert_fail_base): New function.  Majority
59728         of code from __assert_fail.  Allocate memory for __abort_msg with
59729         mmap.
59730         (__assert_fail): Now call __assert_fail_base.
59731         * assert/assert-perr.c: Remove bulk of implementation.  Use
59732         __assert_fail_base.
59733         * include/assert.hL Declare __assert_fail_base.
59734         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59735         mmap.
59736         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59738 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
59740         [BZ #11952]
59741         [BZ #12453]
59742         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59743         until all modules are registered in the DTV.
59744         * elf/Makefile: Add rules to build and run tst-tls19.
59745         * elf/tst-tls19.c: New file.
59746         * elf/tst-tls19mod1.c: New file.
59747         * elf/tst-tls19mod2.c: New file.
59748         * elf/tst-tls19mod3.c: New file.
59749         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59751         [BZ #12083]
59752         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59753         correctly.
59755         [BZ #12601]
59756         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59757         two-byte sequence errors.
59758         * iconvdata/Makefile (tests): Add bug-iconv8.
59759         * iconvdata/bug-iconv8.c: New file.
59761         [BZ #12626]
59762         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59763         buf2 definition.
59765         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59767         [BZ #12432]
59768         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59769         (dummy_getcfa): New function.
59770         (init): Get _Unwind_GetCFA address, use dummy if not found.
59771         (backtrace_helper): In recursion check, also check whether CFA changes.
59772         (__backtrace): Completely initialize arg.
59774         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59775         storing incomplete byte sequence in state object.  Avoid testing for
59776         guaranteed too small input if we know there is enough data available.
59778 2011-05-11  Andreas Schwab  <schwab@redhat.com>
59780         * Makeconfig (+link-pie): Indent.
59781         * Rules (binaries-pie): Define if $(have-fpie) and
59782         $(build-shared).
59783         (binaries-shared): Also filter out $(binaries-pie).
59784         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59785         * nscd/Makefile (others-pie): Add nscd.
59786         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59787         ($(objpfx)nscd): Remove command override.
59788         * login/Makefile (others-pie): Add pt_chown.
59789         ($(objpfx)pt_chown): Remove command override.
59790         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59791         remove command overrides.
59793 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
59795         * libio/tst_putwc.c: Fix error messages.
59797         [BZ #12724]
59798         * libio/fileops.c (_IO_new_file_close_it): Always flush when
59799         currently writing and seek to current position when not.
59800         * libio/Makefile (tests): Add bug-fclose1.
59801         * libio/bug-fclose1.c: New file.
59803 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
59805         [BZ #12511]
59806         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59807         don't set DF_1_NODELETE here.
59808         (do_lookup_x): When entering new entry test for copy relocation
59809         and if necessary set DF_1_NODELETE flag.
59810         * elf/tst-unique4.cc: New file.
59811         * elf/tst-unique4.h: New file.
59812         * elf/tst-unique4lib.cc: New file.
59813         * elf/Makefile: Add rules to build and run tst-unique4.
59814         Patch by Piotr Bury <pbury@goahead.com>.
59816 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
59818         [BZ #12052]
59819         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59821         [BZ #12625]
59822         * misc/mntent_r.c (addmntent): Flush the stream after the output
59824         [BZ #12393]
59825         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59826         (is_trusted_path_normalize): Skip initial colon.  Append slash
59827         to empty buffer.  Duplicate is_trusted_path code but allow
59828         constructed patch to be prefix.
59829         (is_dst): Allow $ORIGIN followed by /.
59830         (_dl_dst_substitute): Correct clearing of check_for_trusted.
59831         Correct testing of result of is_trusted_path_normalize
59832         (decompose_rpath): Fix warning.
59834 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
59836         [BZ #11257]
59837         * grp/initgroups.c (internal_getgrouplist): When we found the service
59838         list through the initgroups entry in nsswitch.conf do not always
59839         continue on a successful lookup.  Don't always use the
59840         __nss_group_database value if it is set.
59841         * nss/nsswitch.conf (initgroups): Change action for successful db
59842         lookup to continue for compatibility.
59844 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
59846         [BZ #11532]
59847         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59848         and CP774 modules.
59849         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59850         and CP774 modules.
59851         * iconvdata/tst-tables.sh: Likewise.
59852         * iconvdata/cp770.c: New file.
59853         * iconvdata/cp771.c: New file.
59854         * iconvdata/cp772.c: New file.
59855         * iconvdata/cp773.c: New file.
59856         * iconvdata/cp774.c: New file.
59857         * iconvdata/testdata/CP770: New file.
59858         * iconvdata/testdata/CP770..UTF8: New file.
59859         * iconvdata/testdata/CP771: New file.
59860         * iconvdata/testdata/CP771..UTF8: New file.
59861         * iconvdata/testdata/CP772: New file.
59862         * iconvdata/testdata/CP772..UTF8: New file.
59863         * iconvdata/testdata/CP773: New file.
59864         * iconvdata/testdata/CP773..UTF8: New file.
59865         * iconvdata/testdata/CP774: New file.
59866         * iconvdata/testdata/CP774..UTF8: New file.
59868         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59869         END CHARMAP line.
59870         * iconvdata/gen-8bit-gap.sh: Likewise.
59871         * iconvdata/gen-8bit.sh: Likewise.
59873         * locale/iso-639.def: Add ary entry.
59875         [BZ #11258]
59876         * locale/C-translit.h.in: Add U20A1 transliteration.
59878         [BZ #12178]
59879         * locale/iso-639.def: Add wae entry.
59880         Patch by Kevin Bortis <bortis@translate-wae.ch>.
59882         [BZ #12545]
59883         * locale/programs/localedef.c (construct_output_path): Use ssize_t
59884         for n.
59886         [BZ #12711]
59887         * locale/C-translit.h.in: Add entry for U20B9.
59888         Patch by pravin.d.s@gmail.com.
59890 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
59892         [BZ #12713]
59893         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59894         ENAMETOOLONG use generic getcwd.
59895         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
59896         in rtld.  Use *stat64.
59897         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59898         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59899         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59900         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59901         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59902         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59903         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59904         __fstatat64 macros.
59905         * include/dirent.h: Add libc_hidden_proto for rewinddir.
59906         * dirent/rewinddir.c: Add libc_hidden_def.
59907         * sysdeps/mach/hurd/rewinddir.c: Likewise.
59908         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
59910         * include/dirent.h (__alloc_dir): Add flags parameter.
59911         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59912         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59913         __alloc_dir.
59914         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
59915         from fdopendir if O_CLOEXEC is already set.
59917 2011-03-15  Alan Modra  <amodra@gmail.com>
59919         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59920         l_tls_firstbyte_offset non-zero.  Save padding offset in
59921         l_tls_firstbyte_offset for later use.
59922         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59923         freeing static tls block.
59925 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
59927         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59928         where #ifdef was intended.  The intent is to prevent ARG_MAX from
59929         being defined by the kernel headers.
59931 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
59933         [BZ #12734]
59934         * resolv/resolv.h: Define RES_NOTLDQUERY.
59935         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59936         no-tld-query and set RES_NOTLDQUERY.
59937         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59938         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59939         modern BIND to search name as TLD unless forbidden.
59941 2011-05-07  Petr Baudis  <pasky@suse.cz>
59942             Ulrich Drepper  <drepper@gmail.com>
59944         [BZ #12393]
59945         * elf/dl-load.c (fillin_rpath): Move trusted path check...
59946         (is_trusted_path): ...to here.
59947         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59948         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59949         using is_trusted_path_normalize() in setuid scripts.
59951 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59953         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59954         __BEGIN/__END_DECLS.
59956 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
59958         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59959         NSS_STATUS_NOTFOUND if no record was found.
59961 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59963         * sunrpc/Makefile (headers): Add rpc/netdb.h.
59964         (headers-not-in-tirpc): Remove rpc/netdb.h
59965         * resolv/netdb.h: Revert last change.
59967 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59969         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59970         circular dependency between libgcc.a and libc.a.
59972 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59974         * resolv/netdb.h: Don't include <rpc/netdb.h>.
59975         * nis/Makefile: Don't install rpcsvc/*.
59976         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59977         instead of <rpc/types.h>.
59978         (MAXHOSTNAMELEN): Define.
59980 2011-05-03  Andreas Schwab  <schwab@redhat.com>
59982         * elf/ldconfig.c (add_dir): Don't crash on empty path.
59984 2011-04-28  Maciej Babinski  <mbabinski@google.com>
59986         [BZ #12714]
59987         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59988         gethostbyname4_r when IPv6 results are possible.
59990 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
59992         [BZ #12723]
59993         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59994         _PC_PIPE_BUF handling.
59996 2011-04-30  Bruno Haible  <bruno@clisp.org>
59998         [BZ #12717]
59999         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60000         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60001         to 'int'.
60002         * inet/getnameinfo.c (getnameinfo): Likewise.
60004 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60006         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60007         to groups setting in database lookup.
60008         * nss/nsswitch.conf: Add initgroups entry.
60010 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60012         [BZ #12685]
60013         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60014         mode string.
60015         Patch by Eric Blake <eblake@redhat.com>.
60017 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60019         * sunrpc/Makefile (need-export-routines): Add svc_run.
60020         (routines): Remove svc_run.
60021         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60022         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60023         * sunrpc/svc_run.c (svc_run): Likewise.
60024         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60026 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60028         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60029         problem in reallocation in last patch.
60031 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60033         * sunrpc/Makefile: Move inclusion of Rules.
60035 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60037         * nss/nss_files/files-initgroups.c: New file.
60038         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60039         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60040         _nss_files_initgroups_dyn.
60042 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60044         * elf/elf.h (R_ARM_IRELATIVE): Define.
60046 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60048         * po/ru.po: Update from translation team.
60050 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60052         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60053         dependencies.
60055 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60057         [BZ #12653]
60058         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60059         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60060         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60061         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60062         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60064 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60066         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60067         differing bytes.
60068         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60069         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60070         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60072 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60074         [BZ #12420]
60075         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60076         storing it.
60077         * stdlib/bug-getcontext.c: New file.
60078         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60080 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60082         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60083         instructions into .machine "z9-109".
60084         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60085         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60087 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60089         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60090         between environment variables and auxiliary vector.
60092 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60094         * Makefile: Add rules to build linkobj/libc.so.
60095         * include/libc-symbols.h: Define libc_hidden_nolink.
60096         * include/rpc/auth.h: Mark functions which are to be hidden.
60097         * include/rpc/auth_des.h: Likewise.
60098         * include/rpc/auth_unix.h: Likewise.
60099         * include/rpc/clnt.h: Likewise.
60100         * include/rpc/des_crypt.h: Likewise.
60101         * include/rpc/key_prot.h: Likewise.
60102         * include/rpc/pmap_clnt.h: Likewise.
60103         * include/rpc/pmap_prot.h: Likewise.
60104         * include/rpc/pmap_rmt.h: Likewise.
60105         * include/rpc/rpc_msg.h: Likewise.
60106         * include/rpc/svc.h: Likewise.
60107         * include/rpc/svc_auth.h: Likewise.
60108         * include/rpc/xdr.h: Likewise.
60109         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60110         * nss/Makefile: Likewise.
60111         * sunrpc/Makefile: Don't install headers.  Build library with normal
60112         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60113         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60114         for the compat linking library.  Remove use of INTDEF/INTUSE.
60115         * sunrpc/auth_none.c: Likewise.
60116         * sunrpc/auth_unix.c: Likewise.
60117         * sunrpc/authdes_prot.c: Likewise.
60118         * sunrpc/authuxprot.c: Likewise.
60119         * sunrpc/clnt_gen.c: Likewise.
60120         * sunrpc/clnt_perr.c: Likewise.
60121         * sunrpc/clnt_raw.c: Likewise.
60122         * sunrpc/clnt_simp.c: Likewise.
60123         * sunrpc/clnt_tcp.c: Likewise.
60124         * sunrpc/clnt_udp.c: Likewise.
60125         * sunrpc/clnt_unix.c: Likewise.
60126         * sunrpc/des_crypt.c: Likewise.
60127         * sunrpc/des_soft.c: Likewise.
60128         * sunrpc/get_myaddr.c: Likewise.
60129         * sunrpc/key_call.c: Likewise.
60130         * sunrpc/key_prot.c: Likewise.
60131         * sunrpc/netname.c: Likewise.
60132         * sunrpc/pm_getmaps.c: Likewise.
60133         * sunrpc/pm_getport.c: Likewise.
60134         * sunrpc/pmap_clnt.c: Likewise.
60135         * sunrpc/pmap_prot.c: Likewise.
60136         * sunrpc/pmap_prot2.c: Likewise.
60137         * sunrpc/pmap_rmt.c: Likewise.
60138         * sunrpc/publickey.c: Likewise.
60139         * sunrpc/rpc_cmsg.c: Likewise.
60140         * sunrpc/rpc_common.c: Likewise.
60141         * sunrpc/rpc_dtable.c: Likewise.
60142         * sunrpc/rpc_prot.c: Likewise.
60143         * sunrpc/rpc_thread.c: Likewise.
60144         * sunrpc/rtime.c: Likewise.
60145         * sunrpc/svc.c: Likewise.
60146         * sunrpc/svc_auth.c: Likewise.
60147         * sunrpc/svc_authux.c: Likewise.
60148         * sunrpc/svc_raw.c: Likewise.
60149         * sunrpc/svc_run.c: Likewise.
60150         * sunrpc/svc_simple.c: Likewise.
60151         * sunrpc/svc_tcp.c: Likewise.
60152         * sunrpc/svc_udp.c: Likewise.
60153         * sunrpc/svc_unix.c: Likewise.
60154         * sunrpc/svcauth_des.c: Likewise.
60155         * sunrpc/xcrypt.c: Likewise.
60156         * sunrpc/xdr.c: Likewise.
60157         * sunrpc/xdr_array.c: Likewise.
60158         * sunrpc/xdr_float.c: Likewise.
60159         * sunrpc/xdr_intXX_t.c: Likewise.
60160         * sunrpc/xdr_mem.c: Likewise.
60161         * sunrpc/xdr_rec.c: Likewise.
60162         * sunrpc/xdr_ref.c: Likewise.
60163         * sunrpc/xdr_sizeof.c: Likewise.
60164         * sunrpc/xdr_stdio.c: Likewise.
60166 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60168         [BZ #12650]
60169         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60170         * sysdeps/ia64/dl-tls.h: Likewise.
60171         * sysdeps/powerpc/dl-tls.h: Likewise.
60172         * sysdeps/s390/dl-tls.h: Likewise.
60173         * sysdeps/sh/dl-tls.h: Likewise.
60174         * sysdeps/sparc/dl-tls.h: Likewise.
60175         * sysdeps/x86_64/dl-tls.h: Likewise.
60176         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60178 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60180         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60181         rpath element also skip the following colon.
60182         (expand_dynamic_string_token): Add is_path parameter and pass
60183         down to DL_DST_REQUIRED and _dl_dst_substitute.
60184         (decompose_rpath): Call expand_dynamic_string_token with
60185         non-zero is_path.  Ignore empty rpaths.
60186         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60187         with zero is_path.
60189 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60192         Make cancelable.
60194 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60196         [BZ #12655]
60197         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60198         Patch by Filipe David Manana <fdmanana@apache.org>.
60200 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60202         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60203         Maintain aligned stack.
60204         (CHECK_RSP): Remove unused macro.
60206 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60208         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60209         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60211 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60213         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60215         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60217 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60219         [BZ #12518]
60220         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60221         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60222         * sysdeps/x86_64/memmove.c: New file.
60223         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60224         (memcpy): Renamed to ...
60225         (__new_memcpy): This.
60226         (memcpy): Provide GLIBC_2_14 memcpy.
60227         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60228         (memcpy): Provide GLIBC_2_2_5 memcpy.
60230 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60232         [BZ #12631]
60233         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60235 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60237         * misc/syncfs.c: New file.
60238         * misc/Makefile (routines): Add syncfs.
60239         * posix/unistd.h: Declare syncfs.
60240         * sysdeps/unix/syscalls.list: Add syncfs.
60242 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60244         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60245         open_by_handle_at.
60246         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60247         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60248         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60249         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60250         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60251         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60252         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60254 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60256         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60257         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60258         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60259         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60260         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60261         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60262         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60264         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60265         sync_file_range.c with -fexceptions.
60266         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60267         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60268         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60269         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60270         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60271         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60272         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60273         sync_file_range as cancellation point
60274         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60275         now a wrapper around __call_sync_file_range with cancellation handling.
60276         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60277         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60278         function name to __call_sync_file_range.
60279         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60280         Add call_sync_file_range.
60282 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60284         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60285         bits/timex.h.
60287 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60289         * iconv/iconv.h: Fix typo in comment.
60290         * io/fcntl.h: Likewise.
60291         * libio/stdio.h: Likewise.
60292         * posix/spawn.h: Likewise.
60293         * posix/unistd.h: Likewise.
60294         * stdlib/stdlib.h: Likewise.
60295         * time/time.h: Likewise.
60296         * wcsmbs/wchar.h: Likewise.
60298         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60299         open_by_handle): Add.
60300         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60301         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60302         Augment a few comments.
60303         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60304         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60305         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60306         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60307         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60308         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60309         open_by_handle.
60311         * io/fcntl.h (AT_EMPTY_PATH): Define.
60313 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60315         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60316         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60317         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60318         to...
60319         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60320         * Versions.def: Add GLIBC_2.14.
60321         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60322         Export.
60324 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60326         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60327         round counter.
60328         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60330 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60332         [BZ #12597]
60333         * string/test-strncmp.c (do_page_test): New function.
60334         (check2): Likewise.
60335         (test_main): Call check2.
60336         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60338 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60340         [BZ #12587]
60341         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60342         Handle cache information in CPU leaf 4.
60343         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60345 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60347         [BZ #12583]
60348         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60349         character representation.
60350         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60352 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60354         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60355         END(__isnan) to END(__isnanf) to match function entry point/label
60356         EALIGN(__isnanf,...).
60358 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60360         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60362 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60364         [BZ #12510]
60365         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60366         copy from the symbol referenced in the relocation to initialize the
60367         used variable.
60368         Patch by Piotr Bury <pbury@goahead.com>.
60369         * elf/Makefile: Add rules to build and tst-unique3.
60370         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60371         * elf/tst-unique3.cc: New file.
60372         * elf/tst-unique3.h: New file.
60373         * elf/tst-unique3lib.cc: New file.
60374         * elf/tst-unique3lib2.cc: New file.
60376         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60378 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60380         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60381         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60382         to _start.
60384 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60386         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60387         to-be-loaded object along a path to loader is ld.so.
60389 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60390             Ulrich Drepper  <drepper@gmail.com>
60392         * sysdeps/x86_64/memset.S: After aligning destination, code
60393         branches to different locations depending on the value of
60394         misalignment, when multiarch is enabled. Fix this.
60396 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60398         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60399         Set _x86_64_preferred_memory_instruction for AMD processsors.
60400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60401         Set bit_Prefer_SSE_for_memop for AMD processors.
60403 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60405         * libio/fmemopen.c (fmemopen): Optimize a bit.
60407 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60409         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60411 2011-03-03  Roland McGrath  <roland@redhat.com>
60413         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60415 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60417         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60418         __bzero_ultra1 instead of __memset_ultra1.
60420 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60421             Ulrich Drepper  <drepper@gmail.com>
60423         [BZ #12509]
60424         * include/link.h (struct link_map): Add l_orig_initfini.
60425         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60426         returning unsuccessfully.
60427         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60428         close of a file loaded at startup, restore the original l_initfini
60429         list.
60430         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60431         list, store the pointer.
60432         * elf/Makefile ($(objpfx)noload-mem): New rule.
60433         (noload-ENV): Define.
60434         (tests): Add $(objpfx)noload-mem.
60435         * elf/noload.c: Include <memcheck.h>.
60436         (main): Call mtrace.  Close all opened handles.
60438 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60440         [BZ #12454]
60441         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60442         dependencies are missing.
60444 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60446         Fix __if_freereq crash: Unlike the generic version which uses free,
60447         Hurd needs munmap.
60448         * sysdeps/mach/hurd/ifreq.h: New file.
60450 2011-01-27  Petr Baudis  <pasky@suse.cz>
60451             Ulrich Drepper  <drepper@gmail.com>
60453         [BZ 12445]#
60454         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60455         to extend_alloca().
60456         * stdio-common/bug23.c: New file.
60457         * stdio-common/Makefile (tests): Add bug23.
60459 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60460             Ulrich Drepper  <drepper@gmail.com>
60462         [BZ #12489]
60463         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60464         before performing relro protection.  At old place add assertion
60465         to make sure nothing changed.
60467 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60468             Glauber de Oliveira Costa  <glommer@gmail.com>
60470         * elf/elf.h: Add new ARM TLS relocs.
60472 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60475         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60476         cast from r3.
60477         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60478         'tests' variable.
60479         * sysdeps/wordsize-64/tst-writev.c: New file.
60481 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60483         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60484         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60485         insns in _dl_start to prevent a TOC reference before relocs are
60486         resolved.
60488 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60490         [BZ #12469]
60491         * Makeconfig: Remove RANLIB definition.
60492         * Makerules: Don't use RANLIB.
60493         * aclocal.m4: Remove ranlib test.
60494         * configure.in: No need to check for ranlib.
60495         * elf/rtld-Rules: Don't use RANLIB.
60497 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60499         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60500         protection macro.
60501         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60502         inclusion protection macro.
60504         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60505         SIGRTMIN and SIGRTMAX and print information in that case only when
60506         SIGRTMIN is defined.
60508 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60510         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60511         arginfo fn returning -1.
60513         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60514         and thousands string is zero terminated.
60516 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60518         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60519         sysdeps/unix/sysv/linux/bits/socket.h.
60521 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60523         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60524         (__CPU_COUNT): Remove old macros.
60525         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60526         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60527         (__CPU_ALLOC, __CPU_FREE): Add macros.
60528         (__sched_cpualloc, __sched_cpufree): Add declarations.
60530 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
60532         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60533         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60534         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60535         (readdhstai): Return value of addhstaiX call.
60536         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60537         (addgrbyX): Return value returned by cache_addgr.
60538         (readdgrbyname): Return value returned by addgrbyX.
60539         (readdgrbygid): Likewise.
60540         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60541         (addpwbyX): Return value returned by cache_addpw.
60542         (readdpwbyname): Return value returned by addhstbyX.
60543         (readdpwbyuid): Likewise.
60544         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60545         (addservbyX): Return value returned by cache_addserv.
60546         (readdservbyname): Return value returned by addservbyX:
60547         (readdservbyport): Likewise.
60548         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60549         (addhstbyX): Return value returned by cache_addhst.
60550         (readdhstbyname): Return value returned by addhstbyX.
60551         (readdhstbyaddr): Likewise.
60552         (readdhstbynamev6): Likewise.
60553         (readdhstbyaddrv6): Likewise.
60554         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60555         (readdinitgroups): Return value returned by addinitgroupsX.
60556         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60557         (prune_cache): Keep track of timeout value of re-added entries.
60558         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60559         * nscd/nscd.h: Adjust prototypes of readd* functions.
60561 2011-02-04  Roland McGrath  <roland@redhat.com>
60563         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60564         (nis_stats): Likewise.
60565         * nis/nis_modify.c (nis_modify): Likewise.
60566         * nis/nis_remove.c (nis_remove): Likewise.
60567         * nis/nis_add.c (nis_add): Likewise.
60569         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60571         * posix/fnmatch_loop.c: Add some consts.
60573         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60575 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60577         [BZ #12460]
60578         * config.make.in (config-cflags-novzeroupper): Define.
60579         * configure.in: Substitute libc_cv_cc_novzeroupper.
60580         * elf/Makefile (AVX-CFLAGS): Define.
60581         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60582         (CFLAGS-tst-auditmod4a.c): Likewise.
60583         (CFLAGS-tst-auditmod4b.c): Likewise.
60584         (CFLAGS-tst-auditmod6b.c): Likewise.
60585         (CFLAGS-tst-auditmod6c.c): Likewise.
60586         (CFLAGS-tst-auditmod7b.c): Likewise.
60587         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60589 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60591         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60592         function to the callback.
60593         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60595 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60597         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60598         of errno.
60600 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60602         [BZ #11724]
60603         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60604         of constructors.
60605         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60606         of destructors.
60607         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60609         [BZ #11724]
60610         * elf/Makefile: Add rules to build and run new test.
60611         * elf/tst-initorder.c: New file.
60612         * elf/tst-initorder.exp: New file.
60613         * elf/tst-initordera1.c: New file.
60614         * elf/tst-initordera2.c: New file.
60615         * elf/tst-initordera3.c: New file.
60616         * elf/tst-initordera4.c: New file.
60617         * elf/tst-initorderb1.c: New file.
60618         * elf/tst-initorderb2.c: New file.
60619         * elf/tst-order-a1.c: New file.
60620         * elf/tst-order-a2.c: New file.
60621         * elf/tst-order-a3.c: New file.
60622         * elf/tst-order-a4.c: New file.
60623         * elf/tst-order-b1.c: New file.
60624         * elf/tst-order-b2.c: New file.
60625         * elf/tst-order-main.c: New file.
60626         New test case by George Gensure <werkt0@gmail.com>.
60628 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60630         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60631         decoding ACE if AI_CANONIDN.
60633 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60635         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60637 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60639         * version.h (RELEASE): Bump for 2.13 release.
60640         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60642         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60644         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60645         MADV_NOHUGEPAGE.
60646         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60647         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60648         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60649         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60650         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60651         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60653         * posix/getconf.c: Update copyright year.
60654         * catgets/gencat.c: Likewise.
60655         * csu/version.c: Likewise.
60656         * debug/catchsegv.sh: Likewise.
60657         * debug/xtrace.sh: Likewise.
60658         * elf/ldconfig.c: Likewise.
60659         * elf/ldd.bash.in: Likewise.
60660         * elf/sprof.c (print_version): Likewise.
60661         * iconv/iconv_prog.c: Likewise.
60662         * iconv/iconvconfig.c: Likewise.
60663         * locale/programs/locale.c: Likewise.
60664         * locale/programs/localedef.c: Likewise.
60665         * malloc/memusage.sh: Likewise.
60666         * malloc/mtrace.pl: Likewise.
60667         * nscd/nscd.c (print_version): Likewise.
60668         * nss/getent.c: Likewise.
60670         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60671         PF_CAIF, and PF_ALG.
60672         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60674 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
60676         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60677         (modules-names): Use them.
60678         (ifunc-test-modules, ifunc-pie-tests): Define.
60679         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60680         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60681         (test-extras): Likewise.
60682         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60683         $(compile-command.c).
60684         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60685         (all-built-dso): Define.
60686         (check-textrel.out, check-execstack.out): Depend on it.
60688         * configure.in: Don't override --enable-multi-arch.
60690 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
60692         [BZ #6812]
60693         * nscd/hstcache.c (tryagain): Define.
60694         (cache_addhst): Return tryagain not notfound for temporary errors.
60695         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60696         failed.
60698 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
60700         [BZ #10563]
60701         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60702         to make the syscall.
60703         * sysdeps/unix/sysv/linux/setgroups.c: New file.
60705         [BZ #12378]
60706         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60707         and fall back to matching as normal character if the string ends before
60708         the matching ']' is found.  This is what POSIX requires.
60709         * posix/testfnm.c: Adjust test result.
60710         * posix/globtest.sh: Adjust test result.  Add new test.
60711         * posix/tst-fnmatch.input: Likewise.
60712         * posix/tst-fnmatch2.c: Add new test.
60714 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
60716         * elf/Makefile (check-execstack): Revert last change.  Depend on
60717         check-execstack.h.
60718         (check-execstack.h): New target.
60719         (generated): Add check-execstack.h.
60720         * elf/check-execstack.c: Include "check-execstack.h".
60721         (main): Revert last change.
60722         (handle_file): Return zero if GNU_STACK is absent and
60723         DEFAULT_STACK_PERMS doesn't include PF_X.
60725 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
60727         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60728         in child fails because the descriptor is already closed.
60729         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60730         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60731         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60733         [BZ #12397]
60734         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60735         syscall.
60737         [BZ #10484]
60738         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60739         temporary buffer used to handle multi lookups locally.
60740         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60742 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60744         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60745         loader is ld.so.
60747 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
60749         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60750         alignment for SSE2.
60752 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60754         [BZ #12394]
60755         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60756         characters.  When rounding increased number of integer digits recompute
60757         number of groups.
60758         * stdio-common/tst-grouping.c: New file.
60759         * stdio-common/Makefile: Add rules to build and run tst-grouping.
60761 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
60763         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60764         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
60766         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60767         void.
60768         * bits/select.h: Likewise.
60770 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
60772         * po/ja.po: Update from translation team.
60774 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
60776         [BZ #11155]
60777         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60778         implementation just like for lxstat, fxstatat, et al.
60780 2010-12-27  Jim Meyering  <meyering@redhat.com>
60782         [BZ #12348]
60783         * posix/regexec.c (build_trtable): Return failure indication upon
60784         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
60786 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
60788         [BZ #12201]
60789         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60790         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60791         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60792         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60794         [BZ #12207]
60795         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60797         [BZ #12204]
60798         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60799         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60801 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
60803         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60804         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60805         script has SORT_BY_INIT_PRIORITY.
60806         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60807         NO_CTORS_DTORS_SECTIONS is defined.
60808         * elf/soinit.c: Likewise.
60809         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60810         NO_CTORS_DTORS_SECTIONS is defined.
60811         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60812         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60813         * sysdeps/sh/init-first.c: Likewise.
60814         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60816 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
60818         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60819         always use the slow path.
60821 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
60823         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60824         similar rule which adds the sysdep directories to the header search in
60825         order to pick up the correct platform stackinfo.h.
60826         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60827         perform test if it is, otherwise return successfully without testing.
60828         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60829         DEFAULT_STACK_PERMS define in stackinfo.h.
60830         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60831         defined in stackinfo.h.
60832         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60833         DEFAULT_STACK_PERMS defined in stackinfo.h.
60834         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60835         * sysdeps/ia64/stackinfo.h: Likewise.
60836         * sysdeps/s390/stackinfo.h: Likewise.
60837         * sysdeps/sh/stackinfo.h: Likewise.
60838         * sysdeps/sparc/stackinfo.h: Likewise.
60839         * sysdeps/x86_64/stackinfo.h: Likewise.
60840         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60841         PF_X for powerpc64.  Retain PF_X for powerpc32.
60843 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
60845         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60846         accurately.
60847         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60848         GETDENTS_64BIT_ALIGNED.
60850 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
60852         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60854 2010-12-10  Andreas Schwab  <schwab@redhat.com>
60856         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60857         _GNU_SOURCE.
60859         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60860         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60861         Remove __restrict.
60862         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60863         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60865 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
60867         [BZ #11655]
60868         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60869         are initialized.
60871 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
60873         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60875 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
60877         * po/it.po: Update from translation team.
60879 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
60881         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60882         unused codes.
60884 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
60886         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60888 2010-11-24  Andreas Schwab  <schwab@redhat.com>
60890         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60891         specially.
60892         (gaih_getanswer_slice): Likewise.
60894 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
60896         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60898 2010-05-31  Petr Baudis  <pasky@suse.cz>
60900         [BZ #11149]
60901         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60902         silently even in the chroot mode.
60904 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
60906         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60907         last patch a bit.  Pretty printing
60909 2010-05-31  Petr Baudis <pasky@suse.cz>
60911         [BZ #10085]
60912         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60913         initialization of skip_initgroups_dyn.
60915 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
60917         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60918         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60920 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
60922         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60924 2010-11-11  Andreas Schwab  <schwab@redhat.com>
60926         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60927         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60928         (tst-fnmatch-ENV): Set MALLOC_TRACE.
60929         ($(objpfx)tst-fnmatch-mem): New rule.
60930         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60931         * posix/tst-fnmatch.c (main): Call mtrace.
60933 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
60935         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60936         Support Intel processor model 6 and model 0x2c.
60938 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
60940         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60941           signed comparison.
60943 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
60945         [BZ #12205]
60946         * string/test-strncasecmp.c (check_result): New function.
60947         (do_one_test): Use it.
60948         (check1): New function.
60949         (test_main): Use it.
60950         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60951         Support strcasecmp and strncasecmp.
60953 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
60955         [BZ #12194]
60956         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60957         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60959 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60961         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60962         IFUNC support.
60963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60964         memset-x86-64.
60965         * sysdeps/x86_64/multiarch/bzero.S: New file.
60966         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60967         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60968         * sysdeps/x86_64/multiarch/memset.S: New file.
60969         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60971         Set bit_Prefer_SSE_for_memop for Intel processors.
60972         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60973         Define.
60974         (index_Prefer_SSE_for_memop): Define.
60975         (HAS_PREFER_SSE_FOR_MEMOP): Define.
60977 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
60979         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60980         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60982 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
60984         [BZ #12191]
60985         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60986         (__x86_64_raw_data_cache_size_half): Likewise.
60987         (__x86_64_raw_shared_cache_size): Likewise.
60988         (__x86_64_raw_shared_cache_size_half): Likewise.
60990         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60991         (__x86_64_raw_data_cache_size_half): Likewise.
60992         (__x86_64_raw_shared_cache_size): Likewise.
60993         (__x86_64_raw_shared_cache_size_half): Likewise.
60994         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60995         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60996         and __x86_64_raw_shared_cache_size_half.  Round
60997         __x86_64_data_cache_size_half, __x86_64_data_cache_size
60998         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60999         to multiple of 256 bytes.
61001 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61003         [BZ #12167]
61004         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61005         of inacessible symlinks.  Verify result of symlink before returning it.
61006         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61007         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61009 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61011         * math/math.h (isinf): Fix typo in comment.
61013 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61015         * po/da.po: Update from translation team.
61017 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61019         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61020         is added to the list.
61022 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61023             Ulrich Drepper  <drepper@gmail.com>
61025         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61026         the global list here.  Move code to...
61027         (_dl_add_to_namespace_list): ...here.  New function.
61028         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61029         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61030         * elf/dl-load.c (lose): Don't remove the element from the list.
61031         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61032         (_dl_map_object): Likewise.
61034 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61036         [BZ #12159]
61037         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61038         into all bytes of SSE register.
61039         Patch by Richard Li <richardpku@gmail.com>.
61041 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61043         [BZ #12140]
61044         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61045         perturbing.
61047 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61049         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61050         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61051         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61052         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61054         submachine.
61055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61057 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61059         * include/dlfcn.h (__RTLD_SECURE): Define.
61060         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61061         mode & __RTLD_SECURE instead.
61062         (open_path): Rename preloaded parameter to secure.
61063         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61064         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61065         * elf/dl-deps.c (openaux): Likewise.
61066         * elf/rtld.c (struct map_args): Remove is_preloaded.
61067         (map_doit): Don't use it.
61068         (dl_main): Likewise.
61069         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61070         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61072 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61074         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61075         (sysd-rules-targets): Remove duplicates.
61076         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61077         rtld-%.$o dependency.
61079 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61081         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61082         _dl_map_object do it.
61084 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61086         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61087         fast fma builtins, define the macros in the C99 standard.
61088         (FP_FAST_FMAF): Likewise.
61089         (FP_FAST_FMAL): Likewise.
61090         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61092         * bits/mathdef.h: Update copyright year.
61093         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61095 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61097         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61098         builtins, define the macros in the C99 standard.
61099         (FP_FAST_FMAF): Likewise.
61100         (FP_FAST_FMAL): Likewise.
61101         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61102         multiply/add.
61103         (FP_FAST_FMAF): Likewise.
61105 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61107         [BZ #3268]
61108         * math/libm-test.inc (fma_test): Some new testcases.
61109         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61110         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61111         y and infinite z.  Do multiplication by C already in long double.
61112         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61113         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61114         y and infinite z.  Do bitwise or of inexact bit into u.d.
61115         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61116         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61117         * sysdeps/i386/fpu/s_fma.S: Removed.
61118         * sysdeps/i386/fpu/s_fmal.S: Removed.
61120 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61122         [BZ #3268]
61123         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61124         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61125         computation is not scheduled after fetestexcept.  Fix value
61126         of minimum denormal long double.
61128 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61130         [BZ #3268]
61131         * math/libm-test.inc (fma_test): Add some more tests.
61132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61133         correctly.
61135 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61137         * scripts/data/localplt-s390-linux-gnu.data: New file.
61138         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61140 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61142         [BZ #3268]
61143         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61144         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61145         instead of dbl-64.
61146         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61147         inlines.
61148         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61149         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61150         if one of x and y is very large and the other is subnormal.
61151         * sysdeps/s390/fpu/s_fmaf.c: New file.
61152         * sysdeps/s390/fpu/s_fma.c: New file.
61153         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61154         * sysdeps/powerpc/fpu/s_fma.S: New file.
61155         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61156         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61157         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61159 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61161         [BZ #3268]
61162         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61163         fma tests.
61164         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61165         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61166         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61167         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61168         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61169         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61170         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61172 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61174         [BZ #12078]
61175         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61176         * posix/bug-regex31.input: Add test case.
61178 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61180         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61181         * posix/bug-regex31.input: New file.
61183         [BZ #12078]
61184         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61185         (parse_sub_exp): Fix last change, use postorder.
61187         * posix/bug-regex31.c: New file.
61188         * posix/Makefile: Add rules to build and run bug-regex31.
61190         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61192         [BZ #12078]
61193         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61195         [BZ #12108]
61196         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61197         to have entries in sys_siglist.
61199         [BZ #12093]
61200         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61201         be NULL.
61203 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61205         [BZ #3268]
61206         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61207         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61208         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61209         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61210         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61211         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61212         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61213         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61214         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61215         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61216         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61217         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61218         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61219         * math/ftestexcept.c (fetestexcept): Likewise.
61220         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61221         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61222         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61223         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61224         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61225         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61226         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61228 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61230         [BZ #12107]
61231         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61232         newline.
61234 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61236         * string/bug-strstr1.c: New file.
61237         * string/Makefile: Add rules to build and run bug-strstr1.
61239 2010-10-05  Eric Blake  <eblake@redhat.com>
61241         [BZ #12092]
61242         * string/str-two-way.h (two_way_long_needle): Always clear memory
61243         when skipping input due to the shift table.
61245 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61247         [BZ #12005]
61248         * malloc/mcheck.c: Handle large requests.
61250         [BZ #12077]
61251         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61252         for strncmp and strncasecmp.
61253         * string/stratcliff.c: Add tests for strcmp and strncmp.
61254         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61256 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61258         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61259         __set_fpscr.
61261 2010-09-30  Andreas Jaeger  <aj@suse.de>
61263         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61264         (CGROUP_SUPER_MAGIC): Define.
61265         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61266         Handle btrfs and cgroup file systems.
61267         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61268         Likewise.
61270 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61272         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61273         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61275 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61277         [BZ #12067]
61278         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61279         trying to locate the ELF header.
61281 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61283         [BZ #11611]
61284         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61285         Mask out sign-bit copies when constructing f_fsid.
61287 2010-09-24  Petr Baudis <pasky@suse.cz>
61289         * debug/stack_chk_fail_local.c: Add missing licence exception.
61290         * debug/warning-nop.c: Likewise.
61292 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61294         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61295         implementing getdents64 using getdents syscall, set d_type if
61296         __ASSUME_GETDENTS32_D_TYPE.
61298 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61300         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61301         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61303 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61305         [BZ #12037]
61306         * posix/unistd.h: Undo change of feature selection for ftruncate from
61307         2010-01-11.
61309 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61311         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61312         detection.
61314 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61316         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61317         fanotify_mark.
61318         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61320 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61322         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61323         variables after CHECK_SP call.
61324         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61326 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61327             Ulrich Drepper  <drepper@redhat.com>
61329         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61330         re-relocationg ld.so.
61331         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61332         _dl_init_paths call.
61333         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61334         here anymore.
61336 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61338         * resolv/res_init.c (__res_vinit): Count the default server we added.
61340 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61341             Ulrich Drepper  <drepper@redhat.com>
61343         [BZ #11968]
61344         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61345         (____longjmp_chk): Use %ebx for saving value across system call.
61346         Add unwind info.
61348 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61350         * manual/Makefile: Don't mix pattern rules with normal rules.
61352 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61354         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61355         operation.
61356         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61357         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61358         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61359         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61360         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61361         Likewise.
61363 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61365         [BZ #11979]
61366         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61367         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61369 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61371         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61372         * sysdeps/x86_64/addmul_1.S: Likewise.
61373         * sysdeps/x86_64/lshift.S: Likewise.
61374         * sysdeps/x86_64/mul_1.S: Likewise.
61375         * sysdeps/x86_64/rshift.S: Likewise.
61376         * sysdeps/x86_64/sub_n.S: Likewise.
61377         * sysdeps/x86_64/submul_1.S: Likewise.
61379 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61381         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61382         Define __sched_param instead of SCHED_* and sched_param when
61383         <bits/sched.h> is included with __need_schedparam defined.
61384         * bits/sched.h [__need_schedparam]
61385         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61386         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61387         (__defined_schedparam): Define to 1.
61388         (__sched_param): New structure, identical to sched_param.
61389         (__need_schedparam): Undefine.
61391 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61393         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61394         (epoll_create1): Declare.
61396         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61398 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61400         [BZ #7066]
61401         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61402         shifting retval into place.
61404 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61406         * nis/rpcsvc/nis.h: Update copyright notice.
61407         * nis/rpcsvc/nis.x: Likewise.
61408         * nis/rpcsvc/nis_callback.h: Likewise.
61409         * nis/rpcsvc/nis_callback.x: Likewise.
61410         * nis/rpcsvc/nis_object.x: Likewise.
61411         * nis/rpcsvc/nis_tags.h: Likewise.
61412         * nis/rpcsvc/yp.h: Likewise.
61413         * nis/rpcsvc/yp.x: Likewise.
61414         * nis/rpcsvc/ypupd.h: Likewise.
61415         * nis/yp_xdr.c: Likewise.
61416         * nis/ypupdate_xdr.c: Likewise.
61418         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61419         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61420         (pmap_getport): Use __libc_rpc_getport.
61421         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61422         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61423         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61425 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61428         fanotify_mark.
61430 2010-08-27  Roland McGrath  <roland@redhat.com>
61432         * sysdeps/i386/i686/multiarch/Makefile
61433         (CFLAGS-varshift.c): New variable.
61435 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61437         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61438         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61440         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61442         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61444 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61446         * sysdeps/x86_64/strlen.S: Unroll the loop.
61447         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61448         strlen-sse2 strlen-sse2-bsf.
61449         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61450         __strlen_no_bsf if bit_Slow_BSF is set.
61451         (__strlen_sse42): Removed.
61452         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61453         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61455 2010-08-25  Roland McGrath  <roland@redhat.com>
61457         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61458         * sysdeps/x86_64/multiarch/varshift.c: New file.
61459         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61460         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61461         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61462         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61464 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61466         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61467         strlen-sse2 strlen-sse2-bsf.
61468         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61469         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61470         (__strlen_sse2): Removed.
61471         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61472         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61473         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61474         bit_Slow_BSF for Atom.
61475         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61476         (index_Slow_BSF): Define.
61477         (HAS_SLOW_BSF): Define.
61479 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61481         [BZ #10851]
61482         * resolv/res_init.c (__res_vinit): When no server address at all
61483         is given default to loopback.
61485 2010-08-24  Roland McGrath  <roland@redhat.com>
61487         * configure.in: Remove config-name.h generation.
61488         * configure: Regenerated.
61489         * config-name.in: File removed.
61490         * scripts/config-uname.sh: New file.
61491         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61492         ($(objdir)config-name.h): New target.
61494         * sunrpc/rpc_parse.h: Avoid nested comment.
61496 2010-08-24  Richard Henderson  <rth@redhat.com>
61497             Ulrich Drepper  <drepper@redhat.com>
61498             H.J. Lu  <hongjiu.lu@intel.com>
61500         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61501         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61502         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61503         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61504         _mm_alignr_epi8 with _mm_loadu_si128.
61505         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61506         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61507         (__m128i_shift_right): Removed.
61508         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61509         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61510         * sysdeps/x86_64/multiarch/varshift.h: New file.
61511         * sysdeps/x86_64/multiarch/varshift.S: New file.
61513 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61515         * configure.in: Move assembler checks to before sysdep dir checking.
61517 2010-08-20  Petr Baudis  <pasky@suse.cz>
61519         * LICENSES: Sync the sunrpc license.
61521 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61523         * sunrpc/auth_des.c: Update copyright notice once again.
61524         * sunrpc/auth_none.c: Likewise.
61525         * sunrpc/auth_unix.c: Likewise.
61526         * sunrpc/authdes_prot.c: Likewise.
61527         * sunrpc/authuxprot.c: Likewise.
61528         * sunrpc/bindrsvprt.c: Likewise.
61529         * sunrpc/clnt_gen.c: Likewise.
61530         * sunrpc/clnt_perr.c: Likewise.
61531         * sunrpc/clnt_raw.c: Likewise.
61532         * sunrpc/clnt_simp.c: Likewise.
61533         * sunrpc/clnt_tcp.c: Likewise.
61534         * sunrpc/clnt_udp.c: Likewise.
61535         * sunrpc/clnt_unix.c: Likewise.
61536         * sunrpc/des_crypt.c: Likewise.
61537         * sunrpc/des_soft.c: Likewise.
61538         * sunrpc/get_myaddr.c: Likewise.
61539         * sunrpc/getrpcport.c: Likewise.
61540         * sunrpc/key_call.c: Likewise.
61541         * sunrpc/key_prot.c: Likewise.
61542         * sunrpc/openchild.c: Likewise.
61543         * sunrpc/pm_getmaps.c: Likewise.
61544         * sunrpc/pm_getport.c: Likewise.
61545         * sunrpc/pmap_clnt.c: Likewise.
61546         * sunrpc/pmap_prot.c: Likewise.
61547         * sunrpc/pmap_prot2.c: Likewise.
61548         * sunrpc/pmap_rmt.c: Likewise.
61549         * sunrpc/rpc/auth.h: Likewise.
61550         * sunrpc/rpc/auth_unix.h: Likewise.
61551         * sunrpc/rpc/clnt.h: Likewise.
61552         * sunrpc/rpc/des_crypt.h: Likewise.
61553         * sunrpc/rpc/key_prot.h: Likewise.
61554         * sunrpc/rpc/netdb.h: Likewise.
61555         * sunrpc/rpc/pmap_clnt.h: Likewise.
61556         * sunrpc/rpc/pmap_prot.h: Likewise.
61557         * sunrpc/rpc/pmap_rmt.h: Likewise.
61558         * sunrpc/rpc/rpc.h: Likewise.
61559         * sunrpc/rpc/rpc_des.h: Likewise.
61560         * sunrpc/rpc/rpc_msg.h: Likewise.
61561         * sunrpc/rpc/svc.h: Likewise.
61562         * sunrpc/rpc/svc_auth.h: Likewise.
61563         * sunrpc/rpc/types.h: Likewise.
61564         * sunrpc/rpc/xdr.h: Likewise.
61565         * sunrpc/rpc_clntout.c: Likewise.
61566         * sunrpc/rpc_cmsg.c: Likewise.
61567         * sunrpc/rpc_common.c: Likewise.
61568         * sunrpc/rpc_cout.c: Likewise.
61569         * sunrpc/rpc_dtable.c: Likewise.
61570         * sunrpc/rpc_hout.c: Likewise.
61571         * sunrpc/rpc_main.c: Likewise.
61572         * sunrpc/rpc_parse.c: Likewise.
61573         * sunrpc/rpc_parse.h: Likewise.
61574         * sunrpc/rpc_prot.c: Likewise.
61575         * sunrpc/rpc_sample.c: Likewise.
61576         * sunrpc/rpc_scan.c: Likewise.
61577         * sunrpc/rpc_scan.h: Likewise.
61578         * sunrpc/rpc_svcout.c: Likewise.
61579         * sunrpc/rpc_tblout.c: Likewise.
61580         * sunrpc/rpc_util.c: Likewise.
61581         * sunrpc/rpc_util.h: Likewise.
61582         * sunrpc/rpcinfo.c: Likewise.
61583         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61584         * sunrpc/rpcsvc/key_prot.x: Likewise.
61585         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61586         * sunrpc/rpcsvc/mount.x: Likewise.
61587         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61588         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61589         * sunrpc/rpcsvc/rex.x: Likewise.
61590         * sunrpc/rpcsvc/rstat.x: Likewise.
61591         * sunrpc/rpcsvc/rusers.x: Likewise.
61592         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61593         * sunrpc/rpcsvc/spray.x: Likewise.
61594         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61595         * sunrpc/rtime.c: Likewise.
61596         * sunrpc/svc.c: Likewise.
61597         * sunrpc/svc_auth.c: Likewise.
61598         * sunrpc/svc_authux.c: Likewise.
61599         * sunrpc/svc_raw.c: Likewise.
61600         * sunrpc/svc_run.c: Likewise.
61601         * sunrpc/svc_simple.c: Likewise.
61602         * sunrpc/svc_tcp.c: Likewise.
61603         * sunrpc/svc_udp.c: Likewise.
61604         * sunrpc/svc_unix.c: Likewise.
61605         * sunrpc/svcauth_des.c: Likewise.
61606         * sunrpc/xcrypt.c: Likewise.
61607         * sunrpc/xdr.c: Likewise.
61608         * sunrpc/xdr_array.c: Likewise.
61609         * sunrpc/xdr_float.c: Likewise.
61610         * sunrpc/xdr_mem.c: Likewise.
61611         * sunrpc/xdr_rec.c: Likewise.
61612         * sunrpc/xdr_ref.c: Likewise.
61613         * sunrpc/xdr_sizeof.c: Likewise.
61614         * sunrpc/xdr_stdio.c: Likewise.
61616         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61617         handling.
61619 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61621         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61623 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61625         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61626         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61627         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61628         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61629         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61630         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61631         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61632         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61633         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61634         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61635         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61636         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61637         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61638         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61640 2010-07-26  Anton Blanchard  <anton@samba.org>
61642         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61643         * malloc/arena.c (heap_trim): Likewise.
61645 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61647         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61648         here.  Not...
61649         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61650         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61652 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61654         * sysdeps/i386/elf/Makefile: New file.
61656 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61658         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61659         from fanotify_init.
61660         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61661         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61663 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61665         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61666         of strncasecmp_l.
61667         * sysdeps/multiarch/strcmp.S: Likewise.
61669 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61671         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61672         strncase_l-nonascii.
61673         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61674         Add strncase_l-ssse3.
61675         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61676         * sysdeps/x86_64/strcmp.S: Likewise.
61677         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61678         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61679         * sysdeps/x86_64/strncase.S: New file.
61680         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61681         * sysdeps/x86_64/strncase_l.S: New file.
61682         * string/Makefile (strop-tests): Add strncasecmp.
61683         * string/test-strncasecmp.c: New file.
61685         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61686         warning.
61688         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61689         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61691 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61693         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61695 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
61697         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61698         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61699         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61701 2010-05-01  Alan Modra  <amodra@gmail.com>
61703         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61704         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61705         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61706         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61707         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61708         tidying.  Don't tail-call __sigjmp_save for static lib.
61709         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61710         save location.
61711         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61712         (CALL_MCOUNT): Add eh info, and nop after bl.
61713         (TAIL_CALL_SYSCALL_ERROR): New macro.
61714         (PSEUDO_RET): Use it.
61715         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61716         Correct save location of integer regs and cr.
61717         (_dl_profile_resolve): Correct cr save location.  Delete nops
61718         after bl when SHARED.  Reduce cfi size a little by better
61719         placement of cfi directives.
61720         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61721         make a stack frame.  Instead use parm save area as a temp.
61722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61723         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
61724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61725         Don't make a stack frame for parent, use parm save area.
61726         Increase child stack frame to 112 bytes.  Don't save unused reg,
61727         and adjust reg usage.  Set up cfi on error recovery and
61728         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61730         (__makecontext): Add dummy nop after jump to exit.
61731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61732         Use correct parm save area and cr save, reduce stack frame.
61733         Correct cfi for possible PSEUDO_RET frame setup.
61734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61735         Branch to local label emitted by PSEUDO_RET rather than
61736         __syscall_error.
61738 2010-08-12  Andreas Schwab  <schwab@redhat.com>
61740         [BZ #11904]
61741         * locale/programs/locale.c (print_assignment): New function.
61742         (show_locale_vars): Use it.
61744 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
61746         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61747         field.
61748         (struct statfs64): Likewise.
61749         (_STATFS_F_FLAGS): Define.
61750         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61751         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61752         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61753         (ST_VALID): Define locally.
61754         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61755         __statvfs_getflags, use the provided value.
61756         * sysdeps/unix/sysv/linux/kernel-features.h: Define
61757         __ASSUME_STATFS_F_FLAGS.
61759         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61761         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61762         Add sys/fanotify.h.
61763         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61764         fanotify_mask for GLIBC_2.13.
61765         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61766         fanotify_init and fanotify_mark.
61767         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61768         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61770         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61771         Add prlimit.
61772         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61773         prlimit64 for GLIBC_2.13.
61774         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61775         prlimit64.
61776         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61777         syscall.
61778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61779         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61780         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61781         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61782         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
61783         add prlimit alias.
61784         * sysdeps/unix/sysv/linux/prlimit.c: New file.
61786         [BZ #11903]
61787         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61788         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61790         * nss/Makefile: Add rules to build and run tst-nss-test1.
61791         * shlib-versions: Add entry for libnss_test1.
61792         * nss/nss_test1.c: New file.
61793         * nss/tst-nss-test1.c: New file.
61795         * nss/nsswitch.c (__nss_database_custom): Define new variable.
61796         (__nss_configure_lookup): Set appropriate entry in
61797         __nss_configure_lookup to true.
61798         * nss/nsswitch.h: Define enum with indeces of databases in
61799         databases and __nss_database_custom arrays.  Declare
61800         __nss_database_custom.
61801         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61802         to avoid using nscd when custom rules are installed.
61803         * nss/getXXbyYY_r.c: Likewise.
61804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61806         * nss/nss_files/files-parse.c: Whitespace fixes.
61808 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
61810         [BZ #11883]
61811         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61812         * posix/fnmatch_loop.c: Likewise.
61814 2010-07-17  Andi Kleen  <ak@linux.intel.com>
61816         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61817         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61818         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61819         * Versions.def [GLIBC_2.13]: Add.
61821 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
61823         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61824         Also fail if tpwd after pwuid call is NULL.
61826 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61828         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61829         when converting to ms.
61831 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61833         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61834         EOPNOTSUPP errors with ENOTTY.
61835         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61836         EOPNOTSUPP errors with ENOTTY.
61838 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
61840         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61841         Add strcasecmp_l-ssse3.
61842         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61843         strcasecmp.
61844         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61845         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61846         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61848 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
61850         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61852         * string/Makefile (strop-tests): Add strcasecmp.
61853         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61854         strcasecmp_l-nonascii.
61855         (gen-as-const-headers): Add locale-defines.sym.
61856         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61857         * sysdeps/x86_64/strcasecmp.S: New file.
61858         * sysdeps/x86_64/strcasecmp_l.S: New file.
61859         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61860         * sysdeps/x86_64/locale-defines.sym: New file.
61861         * string/test-strcasecmp.c: New file.
61863         * string/test-strcasestr.c: Test both ends of the range of characters.
61864         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61866 2010-07-29  Roland McGrath  <roland@redhat.com>
61868         [BZ #11856]
61869         * manual/locale.texi (Yes-or-No Questions): Fix example code.
61871 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
61873         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61874         for ld.so.
61876 2010-07-27  Andreas Schwab  <schwab@redhat.com>
61878         * manual/memory.texi (Malloc Tunable Parameters): Document
61879         M_PERTURB.
61881 2010-07-26  Roland McGrath  <roland@redhat.com>
61883         [BZ #11840]
61884         * configure.in (-fgnu89-inline check): Set and substitute
61885         gnu89_inline, not libc_cv_gnu89_inline.
61886         * configure: Regenerated.
61887         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61889 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
61891         * string/test-strnlen.c: New file.
61892         * string/Makefile (strop-tests): Add strnlen.
61893         * string/tester.c (test_strnlen): Add a few more test cases.
61894         * string/tst-strlen.c: Better error reporting.
61896         * sysdeps/x86_64/strnlen.S: New file.
61898 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
61900         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61901         lower-latency instructions.
61903 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
61905         * string/test-strcasestr.c: New file.
61906         * string/test-strstr.c: New file.
61907         * string/Makefile (strop-tests): Add strstr and strcasestr.
61908         * string/str-two-way.h: Don't undefine MAX.
61909         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61911 2010-07-21  Andreas Schwab  <schwab@redhat.com>
61913         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61914         strcasestr-nonascii.
61915         (CFLAGS-strcasestr-nonascii.c): Define.
61916         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61917         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61918         Remove unused attribute.
61920 2010-07-20  Roland McGrath  <roland@redhat.com>
61922         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61923         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
61924         ld.so.cache was broken.  With it, there is no way to disable dsocaps
61925         like LD_HWCAP_MASK can disable hwcaps.
61927 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61929         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61931 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
61933         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61934         call in strcasestr.
61935         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61936         __strcasestr_sse42_nonascii.
61937         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61938         strcasestr-nonascii.c.
61939         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61941 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
61943         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61944         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61945         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61946         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61948 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
61950         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61951         fcntl.
61953 2010-07-06  Andreas Schwab  <schwab@redhat.com>
61955         [BZ #11577]
61956         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61957         dl_signal_cerror.
61959 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
61961         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61962         _PC_PIPE_BUF using F_GETPIPE_SZ.
61964 2010-07-05  Roland McGrath  <roland@redhat.com>
61966         * manual/arith.texi (Rounding Functions): Fix rint description
61967         implicit in round description.
61969 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
61971         * elf/Makefile: Fix linking for a few tests to make recent linker
61972         happy.
61974 2010-06-30  Andreas Schwab  <schwab@redhat.com>
61976         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61977         $(common-objpfx)libc_nonshared.a.
61979 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
61981         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61982         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61983         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61984         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61985         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61986         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61987         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61988         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62003         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62004         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62005         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62006         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62007         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62008         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62009         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62010         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62011         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62012         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62013         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62014         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62030 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62032         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62033         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62034         * string/memmove.c (memmove): Renamed to ...
62035         (MEMMOVE): ...this.  Default to memmove.
62036         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62037         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62038         (END_CHK): Define.
62039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62040         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62041         mempcpy-ssse3-back memmove-ssse3-back.
62042         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62043         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62044         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62045         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62046         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62047         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62048         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62049         * sysdeps/x86_64/multiarch/memmove.c: New file.
62050         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62051         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62052         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62053         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62054         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62055         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62056         Define.
62057         (index_Fast_Copy_Backward): Define.
62058         (HAS_ARCH_FEATURE): Define.
62059         (HAS_FAST_REP_STRING): Define.
62060         (HAS_FAST_COPY_BACKWARD): Define.
62062 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62064         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62065         Restore proper fallback handling.
62067 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62069         [BZ #11701]
62070         * posix/group_member.c (__group_member): Correct checking loop.
62072         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62073         OOM in getpwuid_r correctly.  Return error number when the caller
62074         should return, otherwise -1.
62075         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62076         call returning > 0 value.
62077         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62079 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62081         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62082         libc_nonshared.a from targets in modules-names.
62084 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62086         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62087         requires it.
62089 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62091         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62092         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62093         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62094         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62096 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62098         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62100 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62102         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62103         and F_GETPIPE_SZ.
62104         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62105         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62106         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62107         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62108         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62109         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62111 2010-06-14  Roland McGrath  <roland@redhat.com>
62113         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62115 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62117         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62118         __REDIRECT followed by __THROW.
62119         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62120         * posix/getopt.h (getopt): Likewise.
62122 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62124         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62125         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62126         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62127         in AT_FLAGS.
62128         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62129         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62131 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62133         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62135 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62137         [BZ #11640]
62138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62139         Properly check family and model.
62141 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62143         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62145 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62147         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62149 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62151         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62152         symbol reference.
62154 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62156         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62157         symbol reference.
62159 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62161         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62162         and internal_recvmmsg.
62163         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62164         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62165         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62166         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62168         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62169         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62170         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62172 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62174         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62176 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62178         POWER7 optimizations.
62179         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62180         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62182 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62184         * version.h: Update for 2.13 development version.
62186 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62188         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62189         exceptions.  Return 0.
62191 2010-05-07  Roland McGrath  <roland@redhat.com>
62193         * elf/ldconfig.c (main): Add a const.
62195 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62197         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62198         (args_options): Add no-idn option.
62199         (ahosts_keys_int): Add idn_flags to ai_flags.
62200         (parse_option): Handle 'i' option to clear idn_flags.
62202         * malloc/malloc.c (_int_free): Possible race in the most recently
62203         added check.  Only act on the data if no current modification
62204         happened.
62206 See ChangeLog.17 for earlier changes.